The Swift Package Index logo.Swift Package Index

Build Information

Successful build of AsyncStorages, reference 0.1.2 (0cc0a0), with Swift 6.1 for Wasm on 19 Apr 2026 16:49:33 UTC.

Swift 6 data race errors: 6

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dreymonde/AsyncStorages.git
Reference: 0.1.2
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/dreymonde/AsyncStorages
 * tag               0.1.2      -> FETCH_HEAD
HEAD is now at 0cc0a09 fix backedStorage
Cloned https://github.com/dreymonde/AsyncStorages.git
Revision (git rev-parse @):
0cc0a098e626a8f07aab126f8b4d461fc8597b6d
SUCCESS checkout https://github.com/dreymonde/AsyncStorages.git at 0.1.2
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/dreymonde/AsyncStorages.git
https://github.com/dreymonde/AsyncStorages.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:276d66a16377d3ee059b2e3429cbc1154d9f01e42871e5d702fd5d8b9044d93d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/19] Emitting module AsyncStorages
/host/spi-builder-workspace/Sources/AsyncStorages/AsyncStorages.swift:9:23: warning: static property 'isEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 7 |
 8 | public enum ShallowsLog {
 9 |     public static var isEnabled = false
   |                       |- warning: static property 'isEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'isEnabled' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'isEnabled' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | }
11 |
/host/spi-builder-workspace/Sources/AsyncStorages/Storages/DiskStorage/DiskExtensions.swift:217:31: warning: stored property '_originalData' of 'Sendable'-conforming generic struct 'DecodingError' has non-sendable type 'StringPrinted'; this is an error in the Swift 6 language mode
215 |
216 | public struct DecodingError<T>: Error {
217 |     @StringPrinted public var originalData: Data
    |                               `- warning: stored property '_originalData' of 'Sendable'-conforming generic struct 'DecodingError' has non-sendable type 'StringPrinted'; this is an error in the Swift 6 language mode
218 |     public var rawError: Error
219 | }
220 |
221 | @propertyWrapper
222 | public struct StringPrinted: CustomStringConvertible {
    |               `- note: consider making struct 'StringPrinted' conform to the 'Sendable' protocol
223 |     public var wrappedValue: Data
224 |
/host/spi-builder-workspace/Sources/AsyncStorages/Storages/DiskStorage/DiskStorage.swift:14:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DiskStorage' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | public final class DiskStorage: Storage, UpdateableStorage {
   |                    `- note: class 'DiskStorage' does not conform to the 'Sendable' protocol
11 |
12 |     /// Shared disk storage serializes disk access, meaning two disk operations will
13 |     /// never run at the same time. This prevents race conditions
14 |     public static let shared = DiskStorage(creatingDirectories: true)
   |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DiskStorage' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 |     public typealias Key = URL
/host/spi-builder-workspace/Sources/AsyncStorages/Storages/DiskStorage/Filename.swift:56:27: warning: static property 'base64URL' is not concurrency-safe because non-'Sendable' type 'Filename.Encoder' may have shared mutable state; this is an error in the Swift 6 language mode
46 |     }
47 |
48 |     public struct Encoder {
   |                   `- note: consider making struct 'Encoder' conform to the 'Sendable' protocol
49 |
50 |         private let encode: (Filename) -> String
   :
54 |         }
55 |
56 |         public static let base64URL: Encoder = Encoder(encode: { $0.base64URLEncoded() })
   |                           |- warning: static property 'base64URL' is not concurrency-safe because non-'Sendable' type 'Filename.Encoder' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: add '@MainActor' to make static property 'base64URL' part of global actor 'MainActor'
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 |         public static let noEncoding: Encoder = Encoder(encode: { $0.rawValue })
58 |         public static func custom(_ encode: @escaping (Filename) -> String) -> Encoder {
/host/spi-builder-workspace/Sources/AsyncStorages/Storages/DiskStorage/Filename.swift:57:27: warning: static property 'noEncoding' is not concurrency-safe because non-'Sendable' type 'Filename.Encoder' may have shared mutable state; this is an error in the Swift 6 language mode
46 |     }
47 |
48 |     public struct Encoder {
   |                   `- note: consider making struct 'Encoder' conform to the 'Sendable' protocol
49 |
50 |         private let encode: (Filename) -> String
   :
55 |
56 |         public static let base64URL: Encoder = Encoder(encode: { $0.base64URLEncoded() })
57 |         public static let noEncoding: Encoder = Encoder(encode: { $0.rawValue })
   |                           |- warning: static property 'noEncoding' is not concurrency-safe because non-'Sendable' type 'Filename.Encoder' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: add '@MainActor' to make static property 'noEncoding' part of global actor 'MainActor'
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 |         public static func custom(_ encode: @escaping (Filename) -> String) -> Encoder {
59 |             return Encoder(encode: encode)
/host/spi-builder-workspace/Sources/AsyncStorages/Storages/MemoryStorage.swift:11:16: warning: stored property 'key' of 'Sendable'-conforming generic struct 'MemoryStorageValueMissingForKey' has non-sendable type 'Key'; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | public struct MemoryStorageValueMissingForKey<Key: Hashable>: Error {
   |                                               `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
11 |     public let key: Key
   |                `- warning: stored property 'key' of 'Sendable'-conforming generic struct 'MemoryStorageValueMissingForKey' has non-sendable type 'Key'; this is an error in the Swift 6 language mode
12 |
13 |     public init(key: Key) {
[4/21] Compiling AsyncStorages HTTPProxy.swift
[5/21] Compiling AsyncStorages URLSessionStorage.swift
[6/21] Compiling AsyncStorages ActorSafe.swift
/host/spi-builder-workspace/Sources/AsyncStorages/AsyncStorages.swift:9:23: warning: static property 'isEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 7 |
 8 | public enum ShallowsLog {
 9 |     public static var isEnabled = false
   |                       |- warning: static property 'isEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'isEnabled' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'isEnabled' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | }
11 |
[7/21] Compiling AsyncStorages AsyncQueue.swift
/host/spi-builder-workspace/Sources/AsyncStorages/AsyncStorages.swift:9:23: warning: static property 'isEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 7 |
 8 | public enum ShallowsLog {
 9 |     public static var isEnabled = false
   |                       |- warning: static property 'isEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'isEnabled' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'isEnabled' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | }
11 |
[8/21] Compiling AsyncStorages AsyncStorages.swift
/host/spi-builder-workspace/Sources/AsyncStorages/AsyncStorages.swift:9:23: warning: static property 'isEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 7 |
 8 | public enum ShallowsLog {
 9 |     public static var isEnabled = false
   |                       |- warning: static property 'isEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'isEnabled' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: add '@MainActor' to make static property 'isEnabled' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | }
11 |
[9/21] Compiling AsyncStorages WriteableStorage.swift
/host/spi-builder-workspace/Sources/AsyncStorages/ZipStorage.swift:48:34: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
46 |
47 |     public func retrieve(forKey key: S1.Key) async throws -> (S1.Value, S2.Value) {
48 |         async let value1 = await storage1.retrieve(forKey: key)
   |                                  |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
   |                                  `- note: sending task-isolated 'self' into async let risks causing data races between nonisolated and task-isolated uses
49 |         async let value2 = await storage2.retrieve(forKey: key)
50 |         return await (try value1, try value2)
/host/spi-builder-workspace/Sources/AsyncStorages/ZipStorage.swift:48:60: warning: sending 'key' risks causing data races; this is an error in the Swift 6 language mode
46 |
47 |     public func retrieve(forKey key: S1.Key) async throws -> (S1.Value, S2.Value) {
48 |         async let value1 = await storage1.retrieve(forKey: key)
   |                                                            |- warning: sending 'key' risks causing data races; this is an error in the Swift 6 language mode
   |                                                            `- note: sending task-isolated 'key' into async let risks causing data races between nonisolated and task-isolated uses
49 |         async let value2 = await storage2.retrieve(forKey: key)
50 |         return await (try value1, try value2)
/host/spi-builder-workspace/Sources/AsyncStorages/ZipStorage.swift:49:34: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
47 |     public func retrieve(forKey key: S1.Key) async throws -> (S1.Value, S2.Value) {
48 |         async let value1 = await storage1.retrieve(forKey: key)
49 |         async let value2 = await storage2.retrieve(forKey: key)
   |                                  |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
   |                                  `- note: sending task-isolated 'self' into async let risks causing data races between nonisolated and task-isolated uses
50 |         return await (try value1, try value2)
51 |     }
/host/spi-builder-workspace/Sources/AsyncStorages/ZipStorage.swift:49:60: warning: sending 'key' risks causing data races; this is an error in the Swift 6 language mode
47 |     public func retrieve(forKey key: S1.Key) async throws -> (S1.Value, S2.Value) {
48 |         async let value1 = await storage1.retrieve(forKey: key)
49 |         async let value2 = await storage2.retrieve(forKey: key)
   |                                                            |- warning: sending 'key' risks causing data races; this is an error in the Swift 6 language mode
   |                                                            `- note: sending task-isolated 'key' into async let risks causing data races between nonisolated and task-isolated uses
50 |         return await (try value1, try value2)
51 |     }
/host/spi-builder-workspace/Sources/AsyncStorages/ZipStorage.swift:72:36: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
70 |
71 |     public func set(_ value: (S1.Value, S2.Value), forKey key: S1.Key) async throws {
72 |         async let setResult1: () = storage1.set(value.0, forKey: key)
   |                                    |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
   |                                    `- note: sending task-isolated 'self' into async let risks causing data races between nonisolated and task-isolated uses
73 |         async let setResult2: () = storage2.set(value.1, forKey: key)
74 |         _ = try await (setResult1, setResult2)
/host/spi-builder-workspace/Sources/AsyncStorages/ZipStorage.swift:72:49: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
70 |
71 |     public func set(_ value: (S1.Value, S2.Value), forKey key: S1.Key) async throws {
72 |         async let setResult1: () = storage1.set(value.0, forKey: key)
   |                                                 |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
   |                                                 `- note: sending task-isolated 'value' into async let risks causing data races between nonisolated and task-isolated uses
73 |         async let setResult2: () = storage2.set(value.1, forKey: key)
74 |         _ = try await (setResult1, setResult2)
/host/spi-builder-workspace/Sources/AsyncStorages/ZipStorage.swift:72:66: warning: sending 'key' risks causing data races; this is an error in the Swift 6 language mode
70 |
71 |     public func set(_ value: (S1.Value, S2.Value), forKey key: S1.Key) async throws {
72 |         async let setResult1: () = storage1.set(value.0, forKey: key)
   |                                                                  |- warning: sending 'key' risks causing data races; this is an error in the Swift 6 language mode
   |                                                                  `- note: sending task-isolated 'key' into async let risks causing data races between nonisolated and task-isolated uses
73 |         async let setResult2: () = storage2.set(value.1, forKey: key)
74 |         _ = try await (setResult1, setResult2)
/host/spi-builder-workspace/Sources/AsyncStorages/ZipStorage.swift:73:36: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
71 |     public func set(_ value: (S1.Value, S2.Value), forKey key: S1.Key) async throws {
72 |         async let setResult1: () = storage1.set(value.0, forKey: key)
73 |         async let setResult2: () = storage2.set(value.1, forKey: key)
   |                                    |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
   |                                    `- note: sending task-isolated 'self' into async let risks causing data races between nonisolated and task-isolated uses
74 |         _ = try await (setResult1, setResult2)
75 |     }
/host/spi-builder-workspace/Sources/AsyncStorages/ZipStorage.swift:73:49: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
71 |     public func set(_ value: (S1.Value, S2.Value), forKey key: S1.Key) async throws {
72 |         async let setResult1: () = storage1.set(value.0, forKey: key)
73 |         async let setResult2: () = storage2.set(value.1, forKey: key)
   |                                                 |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
   |                                                 `- note: sending task-isolated 'value' into async let risks causing data races between nonisolated and task-isolated uses
74 |         _ = try await (setResult1, setResult2)
75 |     }
/host/spi-builder-workspace/Sources/AsyncStorages/ZipStorage.swift:73:66: warning: sending 'key' risks causing data races; this is an error in the Swift 6 language mode
71 |     public func set(_ value: (S1.Value, S2.Value), forKey key: S1.Key) async throws {
72 |         async let setResult1: () = storage1.set(value.0, forKey: key)
73 |         async let setResult2: () = storage2.set(value.1, forKey: key)
   |                                                                  |- warning: sending 'key' risks causing data races; this is an error in the Swift 6 language mode
   |                                                                  `- note: sending task-isolated 'key' into async let risks causing data races between nonisolated and task-isolated uses
74 |         _ = try await (setResult1, setResult2)
75 |     }
[10/21] Compiling AsyncStorages ZipStorage.swift
/host/spi-builder-workspace/Sources/AsyncStorages/ZipStorage.swift:48:34: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
46 |
47 |     public func retrieve(forKey key: S1.Key) async throws -> (S1.Value, S2.Value) {
48 |         async let value1 = await storage1.retrieve(forKey: key)
   |                                  |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
   |                                  `- note: sending task-isolated 'self' into async let risks causing data races between nonisolated and task-isolated uses
49 |         async let value2 = await storage2.retrieve(forKey: key)
50 |         return await (try value1, try value2)
/host/spi-builder-workspace/Sources/AsyncStorages/ZipStorage.swift:48:60: warning: sending 'key' risks causing data races; this is an error in the Swift 6 language mode
46 |
47 |     public func retrieve(forKey key: S1.Key) async throws -> (S1.Value, S2.Value) {
48 |         async let value1 = await storage1.retrieve(forKey: key)
   |                                                            |- warning: sending 'key' risks causing data races; this is an error in the Swift 6 language mode
   |                                                            `- note: sending task-isolated 'key' into async let risks causing data races between nonisolated and task-isolated uses
49 |         async let value2 = await storage2.retrieve(forKey: key)
50 |         return await (try value1, try value2)
/host/spi-builder-workspace/Sources/AsyncStorages/ZipStorage.swift:49:34: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
47 |     public func retrieve(forKey key: S1.Key) async throws -> (S1.Value, S2.Value) {
48 |         async let value1 = await storage1.retrieve(forKey: key)
49 |         async let value2 = await storage2.retrieve(forKey: key)
   |                                  |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
   |                                  `- note: sending task-isolated 'self' into async let risks causing data races between nonisolated and task-isolated uses
50 |         return await (try value1, try value2)
51 |     }
/host/spi-builder-workspace/Sources/AsyncStorages/ZipStorage.swift:49:60: warning: sending 'key' risks causing data races; this is an error in the Swift 6 language mode
47 |     public func retrieve(forKey key: S1.Key) async throws -> (S1.Value, S2.Value) {
48 |         async let value1 = await storage1.retrieve(forKey: key)
49 |         async let value2 = await storage2.retrieve(forKey: key)
   |                                                            |- warning: sending 'key' risks causing data races; this is an error in the Swift 6 language mode
   |                                                            `- note: sending task-isolated 'key' into async let risks causing data races between nonisolated and task-isolated uses
50 |         return await (try value1, try value2)
51 |     }
/host/spi-builder-workspace/Sources/AsyncStorages/ZipStorage.swift:72:36: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
70 |
71 |     public func set(_ value: (S1.Value, S2.Value), forKey key: S1.Key) async throws {
72 |         async let setResult1: () = storage1.set(value.0, forKey: key)
   |                                    |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
   |                                    `- note: sending task-isolated 'self' into async let risks causing data races between nonisolated and task-isolated uses
73 |         async let setResult2: () = storage2.set(value.1, forKey: key)
74 |         _ = try await (setResult1, setResult2)
/host/spi-builder-workspace/Sources/AsyncStorages/ZipStorage.swift:72:49: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
70 |
71 |     public func set(_ value: (S1.Value, S2.Value), forKey key: S1.Key) async throws {
72 |         async let setResult1: () = storage1.set(value.0, forKey: key)
   |                                                 |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
   |                                                 `- note: sending task-isolated 'value' into async let risks causing data races between nonisolated and task-isolated uses
73 |         async let setResult2: () = storage2.set(value.1, forKey: key)
74 |         _ = try await (setResult1, setResult2)
/host/spi-builder-workspace/Sources/AsyncStorages/ZipStorage.swift:72:66: warning: sending 'key' risks causing data races; this is an error in the Swift 6 language mode
70 |
71 |     public func set(_ value: (S1.Value, S2.Value), forKey key: S1.Key) async throws {
72 |         async let setResult1: () = storage1.set(value.0, forKey: key)
   |                                                                  |- warning: sending 'key' risks causing data races; this is an error in the Swift 6 language mode
   |                                                                  `- note: sending task-isolated 'key' into async let risks causing data races between nonisolated and task-isolated uses
73 |         async let setResult2: () = storage2.set(value.1, forKey: key)
74 |         _ = try await (setResult1, setResult2)
/host/spi-builder-workspace/Sources/AsyncStorages/ZipStorage.swift:73:36: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
71 |     public func set(_ value: (S1.Value, S2.Value), forKey key: S1.Key) async throws {
72 |         async let setResult1: () = storage1.set(value.0, forKey: key)
73 |         async let setResult2: () = storage2.set(value.1, forKey: key)
   |                                    |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
   |                                    `- note: sending task-isolated 'self' into async let risks causing data races between nonisolated and task-isolated uses
74 |         _ = try await (setResult1, setResult2)
75 |     }
/host/spi-builder-workspace/Sources/AsyncStorages/ZipStorage.swift:73:49: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
71 |     public func set(_ value: (S1.Value, S2.Value), forKey key: S1.Key) async throws {
72 |         async let setResult1: () = storage1.set(value.0, forKey: key)
73 |         async let setResult2: () = storage2.set(value.1, forKey: key)
   |                                                 |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
   |                                                 `- note: sending task-isolated 'value' into async let risks causing data races between nonisolated and task-isolated uses
74 |         _ = try await (setResult1, setResult2)
75 |     }
/host/spi-builder-workspace/Sources/AsyncStorages/ZipStorage.swift:73:66: warning: sending 'key' risks causing data races; this is an error in the Swift 6 language mode
71 |     public func set(_ value: (S1.Value, S2.Value), forKey key: S1.Key) async throws {
72 |         async let setResult1: () = storage1.set(value.0, forKey: key)
73 |         async let setResult2: () = storage2.set(value.1, forKey: key)
   |                                                                  |- warning: sending 'key' risks causing data races; this is an error in the Swift 6 language mode
   |                                                                  `- note: sending task-isolated 'key' into async let risks causing data races between nonisolated and task-isolated uses
74 |         _ = try await (setResult1, setResult2)
75 |     }
[11/21] Compiling AsyncStorages Storage.swift
[12/21] Compiling AsyncStorages StorageWrapper.swift
[13/21] Compiling AsyncStorages RawDiskStorage.swift
/host/spi-builder-workspace/Sources/AsyncStorages/Storages/MemoryStorage.swift:11:16: warning: stored property 'key' of 'Sendable'-conforming generic struct 'MemoryStorageValueMissingForKey' has non-sendable type 'Key'; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | public struct MemoryStorageValueMissingForKey<Key: Hashable>: Error {
   |                                               `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
11 |     public let key: Key
   |                `- warning: stored property 'key' of 'Sendable'-conforming generic struct 'MemoryStorageValueMissingForKey' has non-sendable type 'Key'; this is an error in the Swift 6 language mode
12 |
13 |     public init(key: Key) {
/host/spi-builder-workspace/Sources/AsyncStorages/Storages/MemoryStorage.swift:27:41: warning: non-sendable result type '[Key : Value]' cannot be sent from actor-isolated context in call to instance method 'get()'; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public final class MemoryStorage<Key: Hashable, Value>: UpdateableStorage {
   |                                  `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
19 |
20 |     private var dictionary: ActorSafe<[Key: Value]>
   :
25 |
26 |     public func retrieve(forKey key: Key) async throws -> Value {
27 |         if let value = await dictionary.get()[key] {
   |                                         `- warning: non-sendable result type '[Key : Value]' cannot be sent from actor-isolated context in call to instance method 'get()'; this is an error in the Swift 6 language mode
28 |             return value
29 |         } else {
/host/spi-builder-workspace/Sources/AsyncStorages/Storages/MemoryStorage.swift:27:41: warning: non-sendable result type '[Key : Value]' cannot be sent from actor-isolated context in call to instance method 'get()'; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public final class MemoryStorage<Key: Hashable, Value>: UpdateableStorage {
   |                                                 `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
19 |
20 |     private var dictionary: ActorSafe<[Key: Value]>
   :
25 |
26 |     public func retrieve(forKey key: Key) async throws -> Value {
27 |         if let value = await dictionary.get()[key] {
   |                                         `- warning: non-sendable result type '[Key : Value]' cannot be sent from actor-isolated context in call to instance method 'get()'; this is an error in the Swift 6 language mode
28 |             return value
29 |         } else {
/host/spi-builder-workspace/Sources/AsyncStorages/Storages/MemoryStorage.swift:40:30: warning: non-sendable result type 'Value' cannot be sent from actor-isolated context in call to instance method 'write(with:)'; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public final class MemoryStorage<Key: Hashable, Value>: UpdateableStorage {
   |                                                 `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
19 |
20 |     private var dictionary: ActorSafe<[Key: Value]>
   :
38 |     @discardableResult
39 |     public func update(forKey key: Key, _ modify: @escaping (inout Value) -> ()) async throws -> Value {
40 |         try await dictionary.write { dict in
   |                              `- warning: non-sendable result type 'Value' cannot be sent from actor-isolated context in call to instance method 'write(with:)'; this is an error in the Swift 6 language mode
41 |             if var existing = dict[key] {
42 |                 modify(&existing)
/host/spi-builder-workspace/Sources/AsyncStorages/Storages/MemoryStorage.swift:23:27: warning: sending 'dictionary' risks causing data races; this is an error in the Swift 6 language mode
21 |
22 |     public init(dictionary: [Key : Value] = [:]) {
23 |         self.dictionary = ActorSafe(dictionary)
   |                           |- warning: sending 'dictionary' risks causing data races; this is an error in the Swift 6 language mode
   |                           `- note: sending task-isolated 'dictionary' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
24 |     }
25 |
/host/spi-builder-workspace/Sources/AsyncStorages/Storages/MemoryStorage.swift:35:26: warning: sending value of non-Sendable type '(inout [Key : Value]) -> ()' risks causing data races; this is an error in the Swift 6 language mode
33 |
34 |     public func set(_ value: Value, forKey key: Key) async throws {
35 |         await dictionary.write(with: { $0[key] = value })
   |                          |- warning: sending value of non-Sendable type '(inout [Key : Value]) -> ()' risks causing data races; this is an error in the Swift 6 language mode
   |                          `- note: sending task-isolated value of non-Sendable type '(inout [Key : Value]) -> ()' to actor-isolated callee risks causing races in between task-isolated and actor-isolated uses
36 |     }
37 |
/host/spi-builder-workspace/Sources/AsyncStorages/Storages/MemoryStorage.swift:40:30: warning: sending value of non-Sendable type '(inout [Key : Value]) throws -> Value' risks causing data races; this is an error in the Swift 6 language mode
38 |     @discardableResult
39 |     public func update(forKey key: Key, _ modify: @escaping (inout Value) -> ()) async throws -> Value {
40 |         try await dictionary.write { dict in
   |                              |- warning: sending value of non-Sendable type '(inout [Key : Value]) throws -> Value' risks causing data races; this is an error in the Swift 6 language mode
   |                              `- note: sending task-isolated value of non-Sendable type '(inout [Key : Value]) throws -> Value' to actor-isolated callee risks causing races in between task-isolated and actor-isolated uses
41 |             if var existing = dict[key] {
42 |                 modify(&existing)
[14/21] Compiling AsyncStorages MemoryStorage.swift
/host/spi-builder-workspace/Sources/AsyncStorages/Storages/MemoryStorage.swift:11:16: warning: stored property 'key' of 'Sendable'-conforming generic struct 'MemoryStorageValueMissingForKey' has non-sendable type 'Key'; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | public struct MemoryStorageValueMissingForKey<Key: Hashable>: Error {
   |                                               `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
11 |     public let key: Key
   |                `- warning: stored property 'key' of 'Sendable'-conforming generic struct 'MemoryStorageValueMissingForKey' has non-sendable type 'Key'; this is an error in the Swift 6 language mode
12 |
13 |     public init(key: Key) {
/host/spi-builder-workspace/Sources/AsyncStorages/Storages/MemoryStorage.swift:27:41: warning: non-sendable result type '[Key : Value]' cannot be sent from actor-isolated context in call to instance method 'get()'; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public final class MemoryStorage<Key: Hashable, Value>: UpdateableStorage {
   |                                  `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
19 |
20 |     private var dictionary: ActorSafe<[Key: Value]>
   :
25 |
26 |     public func retrieve(forKey key: Key) async throws -> Value {
27 |         if let value = await dictionary.get()[key] {
   |                                         `- warning: non-sendable result type '[Key : Value]' cannot be sent from actor-isolated context in call to instance method 'get()'; this is an error in the Swift 6 language mode
28 |             return value
29 |         } else {
/host/spi-builder-workspace/Sources/AsyncStorages/Storages/MemoryStorage.swift:27:41: warning: non-sendable result type '[Key : Value]' cannot be sent from actor-isolated context in call to instance method 'get()'; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public final class MemoryStorage<Key: Hashable, Value>: UpdateableStorage {
   |                                                 `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
19 |
20 |     private var dictionary: ActorSafe<[Key: Value]>
   :
25 |
26 |     public func retrieve(forKey key: Key) async throws -> Value {
27 |         if let value = await dictionary.get()[key] {
   |                                         `- warning: non-sendable result type '[Key : Value]' cannot be sent from actor-isolated context in call to instance method 'get()'; this is an error in the Swift 6 language mode
28 |             return value
29 |         } else {
/host/spi-builder-workspace/Sources/AsyncStorages/Storages/MemoryStorage.swift:40:30: warning: non-sendable result type 'Value' cannot be sent from actor-isolated context in call to instance method 'write(with:)'; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public final class MemoryStorage<Key: Hashable, Value>: UpdateableStorage {
   |                                                 `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
19 |
20 |     private var dictionary: ActorSafe<[Key: Value]>
   :
38 |     @discardableResult
39 |     public func update(forKey key: Key, _ modify: @escaping (inout Value) -> ()) async throws -> Value {
40 |         try await dictionary.write { dict in
   |                              `- warning: non-sendable result type 'Value' cannot be sent from actor-isolated context in call to instance method 'write(with:)'; this is an error in the Swift 6 language mode
41 |             if var existing = dict[key] {
42 |                 modify(&existing)
/host/spi-builder-workspace/Sources/AsyncStorages/Storages/MemoryStorage.swift:23:27: warning: sending 'dictionary' risks causing data races; this is an error in the Swift 6 language mode
21 |
22 |     public init(dictionary: [Key : Value] = [:]) {
23 |         self.dictionary = ActorSafe(dictionary)
   |                           |- warning: sending 'dictionary' risks causing data races; this is an error in the Swift 6 language mode
   |                           `- note: sending task-isolated 'dictionary' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
24 |     }
25 |
/host/spi-builder-workspace/Sources/AsyncStorages/Storages/MemoryStorage.swift:35:26: warning: sending value of non-Sendable type '(inout [Key : Value]) -> ()' risks causing data races; this is an error in the Swift 6 language mode
33 |
34 |     public func set(_ value: Value, forKey key: Key) async throws {
35 |         await dictionary.write(with: { $0[key] = value })
   |                          |- warning: sending value of non-Sendable type '(inout [Key : Value]) -> ()' risks causing data races; this is an error in the Swift 6 language mode
   |                          `- note: sending task-isolated value of non-Sendable type '(inout [Key : Value]) -> ()' to actor-isolated callee risks causing races in between task-isolated and actor-isolated uses
36 |     }
37 |
/host/spi-builder-workspace/Sources/AsyncStorages/Storages/MemoryStorage.swift:40:30: warning: sending value of non-Sendable type '(inout [Key : Value]) throws -> Value' risks causing data races; this is an error in the Swift 6 language mode
38 |     @discardableResult
39 |     public func update(forKey key: Key, _ modify: @escaping (inout Value) -> ()) async throws -> Value {
40 |         try await dictionary.write { dict in
   |                              |- warning: sending value of non-Sendable type '(inout [Key : Value]) throws -> Value' risks causing data races; this is an error in the Swift 6 language mode
   |                              `- note: sending task-isolated value of non-Sendable type '(inout [Key : Value]) throws -> Value' to actor-isolated callee risks causing races in between task-isolated and actor-isolated uses
41 |             if var existing = dict[key] {
42 |                 modify(&existing)
[15/21] Compiling AsyncStorages DiskStorage.swift
/host/spi-builder-workspace/Sources/AsyncStorages/Storages/DiskStorage/DiskStorage.swift:14:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DiskStorage' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | public final class DiskStorage: Storage, UpdateableStorage {
   |                    `- note: class 'DiskStorage' does not conform to the 'Sendable' protocol
11 |
12 |     /// Shared disk storage serializes disk access, meaning two disk operations will
13 |     /// never run at the same time. This prevents race conditions
14 |     public static let shared = DiskStorage(creatingDirectories: true)
   |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DiskStorage' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 |     public typealias Key = URL
/host/spi-builder-workspace/Sources/AsyncStorages/Storages/DiskStorage/Filename.swift:56:27: warning: static property 'base64URL' is not concurrency-safe because non-'Sendable' type 'Filename.Encoder' may have shared mutable state; this is an error in the Swift 6 language mode
46 |     }
47 |
48 |     public struct Encoder {
   |                   `- note: consider making struct 'Encoder' conform to the 'Sendable' protocol
49 |
50 |         private let encode: (Filename) -> String
   :
54 |         }
55 |
56 |         public static let base64URL: Encoder = Encoder(encode: { $0.base64URLEncoded() })
   |                           |- warning: static property 'base64URL' is not concurrency-safe because non-'Sendable' type 'Filename.Encoder' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: add '@MainActor' to make static property 'base64URL' part of global actor 'MainActor'
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 |         public static let noEncoding: Encoder = Encoder(encode: { $0.rawValue })
58 |         public static func custom(_ encode: @escaping (Filename) -> String) -> Encoder {
/host/spi-builder-workspace/Sources/AsyncStorages/Storages/DiskStorage/Filename.swift:57:27: warning: static property 'noEncoding' is not concurrency-safe because non-'Sendable' type 'Filename.Encoder' may have shared mutable state; this is an error in the Swift 6 language mode
46 |     }
47 |
48 |     public struct Encoder {
   |                   `- note: consider making struct 'Encoder' conform to the 'Sendable' protocol
49 |
50 |         private let encode: (Filename) -> String
   :
55 |
56 |         public static let base64URL: Encoder = Encoder(encode: { $0.base64URLEncoded() })
57 |         public static let noEncoding: Encoder = Encoder(encode: { $0.rawValue })
   |                           |- warning: static property 'noEncoding' is not concurrency-safe because non-'Sendable' type 'Filename.Encoder' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: add '@MainActor' to make static property 'noEncoding' part of global actor 'MainActor'
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 |         public static func custom(_ encode: @escaping (Filename) -> String) -> Encoder {
59 |             return Encoder(encode: encode)
[16/21] Compiling AsyncStorages Filename.swift
/host/spi-builder-workspace/Sources/AsyncStorages/Storages/DiskStorage/DiskStorage.swift:14:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DiskStorage' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | public final class DiskStorage: Storage, UpdateableStorage {
   |                    `- note: class 'DiskStorage' does not conform to the 'Sendable' protocol
11 |
12 |     /// Shared disk storage serializes disk access, meaning two disk operations will
13 |     /// never run at the same time. This prevents race conditions
14 |     public static let shared = DiskStorage(creatingDirectories: true)
   |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DiskStorage' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 |     public typealias Key = URL
/host/spi-builder-workspace/Sources/AsyncStorages/Storages/DiskStorage/Filename.swift:56:27: warning: static property 'base64URL' is not concurrency-safe because non-'Sendable' type 'Filename.Encoder' may have shared mutable state; this is an error in the Swift 6 language mode
46 |     }
47 |
48 |     public struct Encoder {
   |                   `- note: consider making struct 'Encoder' conform to the 'Sendable' protocol
49 |
50 |         private let encode: (Filename) -> String
   :
54 |         }
55 |
56 |         public static let base64URL: Encoder = Encoder(encode: { $0.base64URLEncoded() })
   |                           |- warning: static property 'base64URL' is not concurrency-safe because non-'Sendable' type 'Filename.Encoder' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: add '@MainActor' to make static property 'base64URL' part of global actor 'MainActor'
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 |         public static let noEncoding: Encoder = Encoder(encode: { $0.rawValue })
58 |         public static func custom(_ encode: @escaping (Filename) -> String) -> Encoder {
/host/spi-builder-workspace/Sources/AsyncStorages/Storages/DiskStorage/Filename.swift:57:27: warning: static property 'noEncoding' is not concurrency-safe because non-'Sendable' type 'Filename.Encoder' may have shared mutable state; this is an error in the Swift 6 language mode
46 |     }
47 |
48 |     public struct Encoder {
   |                   `- note: consider making struct 'Encoder' conform to the 'Sendable' protocol
49 |
50 |         private let encode: (Filename) -> String
   :
55 |
56 |         public static let base64URL: Encoder = Encoder(encode: { $0.base64URLEncoded() })
57 |         public static let noEncoding: Encoder = Encoder(encode: { $0.rawValue })
   |                           |- warning: static property 'noEncoding' is not concurrency-safe because non-'Sendable' type 'Filename.Encoder' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: add '@MainActor' to make static property 'noEncoding' part of global actor 'MainActor'
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 |         public static func custom(_ encode: @escaping (Filename) -> String) -> Encoder {
59 |             return Encoder(encode: encode)
[17/21] Compiling AsyncStorages DiskExtensions.swift
/host/spi-builder-workspace/Sources/AsyncStorages/Storages/DiskStorage/DiskExtensions.swift:217:31: warning: stored property '_originalData' of 'Sendable'-conforming generic struct 'DecodingError' has non-sendable type 'StringPrinted'; this is an error in the Swift 6 language mode
215 |
216 | public struct DecodingError<T>: Error {
217 |     @StringPrinted public var originalData: Data
    |                               `- warning: stored property '_originalData' of 'Sendable'-conforming generic struct 'DecodingError' has non-sendable type 'StringPrinted'; this is an error in the Swift 6 language mode
218 |     public var rawError: Error
219 | }
220 |
221 | @propertyWrapper
222 | public struct StringPrinted: CustomStringConvertible {
    |               `- note: consider making struct 'StringPrinted' conform to the 'Sendable' protocol
223 |     public var wrappedValue: Data
224 |
[18/21] Compiling AsyncStorages DiskFolderStorage.swift
/host/spi-builder-workspace/Sources/AsyncStorages/Storages/DiskStorage/DiskExtensions.swift:217:31: warning: stored property '_originalData' of 'Sendable'-conforming generic struct 'DecodingError' has non-sendable type 'StringPrinted'; this is an error in the Swift 6 language mode
215 |
216 | public struct DecodingError<T>: Error {
217 |     @StringPrinted public var originalData: Data
    |                               `- warning: stored property '_originalData' of 'Sendable'-conforming generic struct 'DecodingError' has non-sendable type 'StringPrinted'; this is an error in the Swift 6 language mode
218 |     public var rawError: Error
219 | }
220 |
221 | @propertyWrapper
222 | public struct StringPrinted: CustomStringConvertible {
    |               `- note: consider making struct 'StringPrinted' conform to the 'Sendable' protocol
223 |     public var wrappedValue: Data
224 |
[19/21] Compiling AsyncStorages Composition.swift
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:50:23: warning: capture of 'self' with non-sendable type 'SerialStorage<Underlying>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 38 | }
 39 |
 40 | public final class SerialStorage<Underlying: Storage>: UpdateableStorage {
    |                    `- note: generic class 'SerialStorage' does not conform to the 'Sendable' protocol
 41 |     public let underlyingStorage: Underlying
 42 |     public let asyncQueue = StoragesAsyncQueue()
    :
 48 |     public func retrieve(forKey key: Underlying.Key) async throws -> Underlying.Value {
 49 |         try await asyncQueue.await {
 50 |             try await self.underlyingStorage.retrieve(forKey: key)
    |                       `- warning: capture of 'self' with non-sendable type 'SerialStorage<Underlying>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 51 |         }
 52 |     }
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:50:63: warning: capture of 'key' with non-sendable type 'Underlying.Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 48 |     public func retrieve(forKey key: Underlying.Key) async throws -> Underlying.Value {
 49 |         try await asyncQueue.await {
 50 |             try await self.underlyingStorage.retrieve(forKey: key)
    |                                                               `- warning: capture of 'key' with non-sendable type 'Underlying.Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 51 |         }
 52 |     }
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:56:23: warning: capture of 'self' with non-sendable type 'SerialStorage<Underlying>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 38 | }
 39 |
 40 | public final class SerialStorage<Underlying: Storage>: UpdateableStorage {
    |                    `- note: generic class 'SerialStorage' does not conform to the 'Sendable' protocol
 41 |     public let underlyingStorage: Underlying
 42 |     public let asyncQueue = StoragesAsyncQueue()
    :
 54 |     public func set(_ value: Underlying.Value, forKey key: Underlying.Key) async throws {
 55 |         try await asyncQueue.await {
 56 |             try await self.underlyingStorage.set(value, forKey: key)
    |                       `- warning: capture of 'self' with non-sendable type 'SerialStorage<Underlying>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 57 |         }
 58 |     }
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:56:50: warning: capture of 'value' with non-sendable type 'Underlying.Value' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 54 |     public func set(_ value: Underlying.Value, forKey key: Underlying.Key) async throws {
 55 |         try await asyncQueue.await {
 56 |             try await self.underlyingStorage.set(value, forKey: key)
    |                                                  `- warning: capture of 'value' with non-sendable type 'Underlying.Value' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 57 |         }
 58 |     }
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:56:65: warning: capture of 'key' with non-sendable type 'Underlying.Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 54 |     public func set(_ value: Underlying.Value, forKey key: Underlying.Key) async throws {
 55 |         try await asyncQueue.await {
 56 |             try await self.underlyingStorage.set(value, forKey: key)
    |                                                                 `- warning: capture of 'key' with non-sendable type 'Underlying.Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 57 |         }
 58 |     }
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:66:35: warning: capture of 'self' with non-sendable type 'SerialStorage<Underlying>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 38 | }
 39 |
 40 | public final class SerialStorage<Underlying: Storage>: UpdateableStorage {
    |                    `- note: generic class 'SerialStorage' does not conform to the 'Sendable' protocol
 41 |     public let underlyingStorage: Underlying
 42 |     public let asyncQueue = StoragesAsyncQueue()
    :
 64 |     ) async throws -> Underlying.Value {
 65 |         try await asyncQueue.await {
 66 |             var value = try await self.underlyingStorage.retrieve(forKey: key)
    |                                   `- warning: capture of 'self' with non-sendable type 'SerialStorage<Underlying>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 67 |             modify(&value)
 68 |             try await self.underlyingStorage.set(value, forKey: key)
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:66:75: warning: capture of 'key' with non-sendable type 'Underlying.Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 64 |     ) async throws -> Underlying.Value {
 65 |         try await asyncQueue.await {
 66 |             var value = try await self.underlyingStorage.retrieve(forKey: key)
    |                                                                           `- warning: capture of 'key' with non-sendable type 'Underlying.Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 67 |             modify(&value)
 68 |             try await self.underlyingStorage.set(value, forKey: key)
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:67:13: warning: capture of 'modify' with non-sendable type '(inout Underlying.Value) -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 65 |         try await asyncQueue.await {
 66 |             var value = try await self.underlyingStorage.retrieve(forKey: key)
 67 |             modify(&value)
    |             |- warning: capture of 'modify' with non-sendable type '(inout Underlying.Value) -> ()' 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'
 68 |             try await self.underlyingStorage.set(value, forKey: key)
 69 |             return value
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:77:23: warning: capture of 'perform' with non-sendable type '(Underlying) async throws -> ReturnValue' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 75 |     ) async throws -> ReturnValue {
 76 |         try await asyncQueue.await {
 77 |             try await perform(self.underlyingStorage)
    |                       |- warning: capture of 'perform' with non-sendable type '(Underlying) async throws -> ReturnValue' 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'
 78 |         }
 79 |     }
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:77:31: warning: capture of 'self' with non-sendable type 'SerialStorage<Underlying>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 38 | }
 39 |
 40 | public final class SerialStorage<Underlying: Storage>: UpdateableStorage {
    |                    `- note: generic class 'SerialStorage' does not conform to the 'Sendable' protocol
 41 |     public let underlyingStorage: Underlying
 42 |     public let asyncQueue = StoragesAsyncQueue()
    :
 75 |     ) async throws -> ReturnValue {
 76 |         try await asyncQueue.await {
 77 |             try await perform(self.underlyingStorage)
    |                               `- warning: capture of 'self' with non-sendable type 'SerialStorage<Underlying>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 78 |         }
 79 |     }
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:96:23: warning: capture of 'self' with non-sendable type 'SerialReadOnlyStorage<Underlying>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 84 | }
 85 |
 86 | public final class SerialReadOnlyStorage<Underlying: ReadableStorage>: ReadOnlyStorage {
    |                    `- note: generic class 'SerialReadOnlyStorage' does not conform to the 'Sendable' protocol
 87 |     public let underlyingStorage: Underlying
 88 |     public let asyncQueue = StoragesAsyncQueue()
    :
 94 |     public func retrieve(forKey key: Underlying.Key) async throws -> Underlying.Value {
 95 |         try await asyncQueue.await {
 96 |             try await self.underlyingStorage.retrieve(forKey: key)
    |                       `- warning: capture of 'self' with non-sendable type 'SerialReadOnlyStorage<Underlying>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 97 |         }
 98 |     }
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:96:63: warning: capture of 'key' with non-sendable type 'Underlying.Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 94 |     public func retrieve(forKey key: Underlying.Key) async throws -> Underlying.Value {
 95 |         try await asyncQueue.await {
 96 |             try await self.underlyingStorage.retrieve(forKey: key)
    |                                                               `- warning: capture of 'key' with non-sendable type 'Underlying.Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 97 |         }
 98 |     }
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:115:23: warning: capture of 'self' with non-sendable type 'SerialWriteOnlyStorage<Underlying>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
103 | }
104 |
105 | public final class SerialWriteOnlyStorage<Underlying: WritableStorage>: WriteOnlyStorage {
    |                    `- note: generic class 'SerialWriteOnlyStorage' does not conform to the 'Sendable' protocol
106 |     public let underlyingStorage: Underlying
107 |     public let asyncQueue = StoragesAsyncQueue()
    :
113 |     public func set(_ value: Underlying.Value, forKey key: Underlying.Key) async throws {
114 |         try await asyncQueue.await {
115 |             try await self.underlyingStorage.set(value, forKey: key)
    |                       `- warning: capture of 'self' with non-sendable type 'SerialWriteOnlyStorage<Underlying>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
116 |         }
117 |     }
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:115:50: warning: capture of 'value' with non-sendable type 'Underlying.Value' in a '@Sendable' closure; this is an error in the Swift 6 language mode
113 |     public func set(_ value: Underlying.Value, forKey key: Underlying.Key) async throws {
114 |         try await asyncQueue.await {
115 |             try await self.underlyingStorage.set(value, forKey: key)
    |                                                  `- warning: capture of 'value' with non-sendable type 'Underlying.Value' in a '@Sendable' closure; this is an error in the Swift 6 language mode
116 |         }
117 |     }
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:115:65: warning: capture of 'key' with non-sendable type 'Underlying.Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
113 |     public func set(_ value: Underlying.Value, forKey key: Underlying.Key) async throws {
114 |         try await asyncQueue.await {
115 |             try await self.underlyingStorage.set(value, forKey: key)
    |                                                                 `- warning: capture of 'key' with non-sendable type 'Underlying.Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
116 |         }
117 |     }
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:134:19: warning: capture of 'self' with non-sendable type 'SerialNonFallibleReadableStorage<Underlying>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
122 | }
123 |
124 | public final class SerialNonFallibleReadableStorage<Underlying: NonFallibleReadableStorage>: NonFallibleReadableStorage {
    |                    `- note: generic class 'SerialNonFallibleReadableStorage' does not conform to the 'Sendable' protocol
125 |     public let underlyingStorage: Underlying
126 |     public let asyncQueue = StoragesAsyncQueue()
    :
132 |     public func retrieve(forKey key: Underlying.Key) async -> Underlying.Value {
133 |         await asyncQueue.await {
134 |             await self.underlyingStorage.retrieve(forKey: key)
    |                   `- warning: capture of 'self' with non-sendable type 'SerialNonFallibleReadableStorage<Underlying>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
135 |         }
136 |     }
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:134:59: warning: capture of 'key' with non-sendable type 'Underlying.Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
132 |     public func retrieve(forKey key: Underlying.Key) async -> Underlying.Value {
133 |         await asyncQueue.await {
134 |             await self.underlyingStorage.retrieve(forKey: key)
    |                                                           `- warning: capture of 'key' with non-sendable type 'Underlying.Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
135 |         }
136 |     }
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:153:19: warning: capture of 'self' with non-sendable type 'SerialNonFallibleStorage<Underlying>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
141 | }
142 |
143 | public final class SerialNonFallibleStorage<Underlying: NonFallibleStorage>: NonFallibleStorage, UpdateableStorage {
    |                    `- note: generic class 'SerialNonFallibleStorage' does not conform to the 'Sendable' protocol
144 |     public let underlyingStorage: Underlying
145 |     public let asyncQueue = StoragesAsyncQueue()
    :
151 |     public func retrieve(forKey key: Underlying.Key) async -> Underlying.Value {
152 |         await asyncQueue.await {
153 |             await self.underlyingStorage.retrieve(forKey: key)
    |                   `- warning: capture of 'self' with non-sendable type 'SerialNonFallibleStorage<Underlying>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
154 |         }
155 |     }
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:153:59: warning: capture of 'key' with non-sendable type 'Underlying.Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
151 |     public func retrieve(forKey key: Underlying.Key) async -> Underlying.Value {
152 |         await asyncQueue.await {
153 |             await self.underlyingStorage.retrieve(forKey: key)
    |                                                           `- warning: capture of 'key' with non-sendable type 'Underlying.Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
154 |         }
155 |     }
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:159:23: warning: capture of 'self' with non-sendable type 'SerialNonFallibleStorage<Underlying>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
141 | }
142 |
143 | public final class SerialNonFallibleStorage<Underlying: NonFallibleStorage>: NonFallibleStorage, UpdateableStorage {
    |                    `- note: generic class 'SerialNonFallibleStorage' does not conform to the 'Sendable' protocol
144 |     public let underlyingStorage: Underlying
145 |     public let asyncQueue = StoragesAsyncQueue()
    :
157 |     public func set(_ value: Underlying.Value, forKey key: Underlying.Key) async throws {
158 |         try await asyncQueue.await {
159 |             try await self.underlyingStorage.set(value, forKey: key)
    |                       `- warning: capture of 'self' with non-sendable type 'SerialNonFallibleStorage<Underlying>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
160 |         }
161 |     }
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:159:50: warning: capture of 'value' with non-sendable type 'Underlying.Value' in a '@Sendable' closure; this is an error in the Swift 6 language mode
157 |     public func set(_ value: Underlying.Value, forKey key: Underlying.Key) async throws {
158 |         try await asyncQueue.await {
159 |             try await self.underlyingStorage.set(value, forKey: key)
    |                                                  `- warning: capture of 'value' with non-sendable type 'Underlying.Value' in a '@Sendable' closure; this is an error in the Swift 6 language mode
160 |         }
161 |     }
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:159:65: warning: capture of 'key' with non-sendable type 'Underlying.Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
157 |     public func set(_ value: Underlying.Value, forKey key: Underlying.Key) async throws {
158 |         try await asyncQueue.await {
159 |             try await self.underlyingStorage.set(value, forKey: key)
    |                                                                 `- warning: capture of 'key' with non-sendable type 'Underlying.Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
160 |         }
161 |     }
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:169:31: warning: capture of 'self' with non-sendable type 'SerialNonFallibleStorage<Underlying>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
141 | }
142 |
143 | public final class SerialNonFallibleStorage<Underlying: NonFallibleStorage>: NonFallibleStorage, UpdateableStorage {
    |                    `- note: generic class 'SerialNonFallibleStorage' does not conform to the 'Sendable' protocol
144 |     public let underlyingStorage: Underlying
145 |     public let asyncQueue = StoragesAsyncQueue()
    :
167 |     ) async throws -> Underlying.Value {
168 |         try await asyncQueue.await {
169 |             var value = await self.underlyingStorage.retrieve(forKey: key)
    |                               `- warning: capture of 'self' with non-sendable type 'SerialNonFallibleStorage<Underlying>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
170 |             modify(&value)
171 |             try await self.underlyingStorage.set(value, forKey: key)
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:169:71: warning: capture of 'key' with non-sendable type 'Underlying.Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
167 |     ) async throws -> Underlying.Value {
168 |         try await asyncQueue.await {
169 |             var value = await self.underlyingStorage.retrieve(forKey: key)
    |                                                                       `- warning: capture of 'key' with non-sendable type 'Underlying.Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
170 |             modify(&value)
171 |             try await self.underlyingStorage.set(value, forKey: key)
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:170:13: warning: capture of 'modify' with non-sendable type '(inout Underlying.Value) -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
168 |         try await asyncQueue.await {
169 |             var value = await self.underlyingStorage.retrieve(forKey: key)
170 |             modify(&value)
    |             |- warning: capture of 'modify' with non-sendable type '(inout Underlying.Value) -> ()' 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'
171 |             try await self.underlyingStorage.set(value, forKey: key)
172 |             return value
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:180:23: warning: capture of 'perform' with non-sendable type '(Underlying) async throws -> ReturnValue' in a '@Sendable' closure; this is an error in the Swift 6 language mode
178 |     ) async throws -> ReturnValue {
179 |         try await asyncQueue.await {
180 |             try await perform(self.underlyingStorage)
    |                       |- warning: capture of 'perform' with non-sendable type '(Underlying) async throws -> ReturnValue' 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'
181 |         }
182 |     }
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:180:31: warning: capture of 'self' with non-sendable type 'SerialNonFallibleStorage<Underlying>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
141 | }
142 |
143 | public final class SerialNonFallibleStorage<Underlying: NonFallibleStorage>: NonFallibleStorage, UpdateableStorage {
    |                    `- note: generic class 'SerialNonFallibleStorage' does not conform to the 'Sendable' protocol
144 |     public let underlyingStorage: Underlying
145 |     public let asyncQueue = StoragesAsyncQueue()
    :
178 |     ) async throws -> ReturnValue {
179 |         try await asyncQueue.await {
180 |             try await perform(self.underlyingStorage)
    |                               `- warning: capture of 'self' with non-sendable type 'SerialNonFallibleStorage<Underlying>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
181 |         }
182 |     }
[20/21] Compiling AsyncStorages ReadableStorage.swift
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:50:23: warning: capture of 'self' with non-sendable type 'SerialStorage<Underlying>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 38 | }
 39 |
 40 | public final class SerialStorage<Underlying: Storage>: UpdateableStorage {
    |                    `- note: generic class 'SerialStorage' does not conform to the 'Sendable' protocol
 41 |     public let underlyingStorage: Underlying
 42 |     public let asyncQueue = StoragesAsyncQueue()
    :
 48 |     public func retrieve(forKey key: Underlying.Key) async throws -> Underlying.Value {
 49 |         try await asyncQueue.await {
 50 |             try await self.underlyingStorage.retrieve(forKey: key)
    |                       `- warning: capture of 'self' with non-sendable type 'SerialStorage<Underlying>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 51 |         }
 52 |     }
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:50:63: warning: capture of 'key' with non-sendable type 'Underlying.Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 48 |     public func retrieve(forKey key: Underlying.Key) async throws -> Underlying.Value {
 49 |         try await asyncQueue.await {
 50 |             try await self.underlyingStorage.retrieve(forKey: key)
    |                                                               `- warning: capture of 'key' with non-sendable type 'Underlying.Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 51 |         }
 52 |     }
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:56:23: warning: capture of 'self' with non-sendable type 'SerialStorage<Underlying>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 38 | }
 39 |
 40 | public final class SerialStorage<Underlying: Storage>: UpdateableStorage {
    |                    `- note: generic class 'SerialStorage' does not conform to the 'Sendable' protocol
 41 |     public let underlyingStorage: Underlying
 42 |     public let asyncQueue = StoragesAsyncQueue()
    :
 54 |     public func set(_ value: Underlying.Value, forKey key: Underlying.Key) async throws {
 55 |         try await asyncQueue.await {
 56 |             try await self.underlyingStorage.set(value, forKey: key)
    |                       `- warning: capture of 'self' with non-sendable type 'SerialStorage<Underlying>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 57 |         }
 58 |     }
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:56:50: warning: capture of 'value' with non-sendable type 'Underlying.Value' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 54 |     public func set(_ value: Underlying.Value, forKey key: Underlying.Key) async throws {
 55 |         try await asyncQueue.await {
 56 |             try await self.underlyingStorage.set(value, forKey: key)
    |                                                  `- warning: capture of 'value' with non-sendable type 'Underlying.Value' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 57 |         }
 58 |     }
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:56:65: warning: capture of 'key' with non-sendable type 'Underlying.Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 54 |     public func set(_ value: Underlying.Value, forKey key: Underlying.Key) async throws {
 55 |         try await asyncQueue.await {
 56 |             try await self.underlyingStorage.set(value, forKey: key)
    |                                                                 `- warning: capture of 'key' with non-sendable type 'Underlying.Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 57 |         }
 58 |     }
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:66:35: warning: capture of 'self' with non-sendable type 'SerialStorage<Underlying>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 38 | }
 39 |
 40 | public final class SerialStorage<Underlying: Storage>: UpdateableStorage {
    |                    `- note: generic class 'SerialStorage' does not conform to the 'Sendable' protocol
 41 |     public let underlyingStorage: Underlying
 42 |     public let asyncQueue = StoragesAsyncQueue()
    :
 64 |     ) async throws -> Underlying.Value {
 65 |         try await asyncQueue.await {
 66 |             var value = try await self.underlyingStorage.retrieve(forKey: key)
    |                                   `- warning: capture of 'self' with non-sendable type 'SerialStorage<Underlying>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 67 |             modify(&value)
 68 |             try await self.underlyingStorage.set(value, forKey: key)
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:66:75: warning: capture of 'key' with non-sendable type 'Underlying.Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 64 |     ) async throws -> Underlying.Value {
 65 |         try await asyncQueue.await {
 66 |             var value = try await self.underlyingStorage.retrieve(forKey: key)
    |                                                                           `- warning: capture of 'key' with non-sendable type 'Underlying.Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 67 |             modify(&value)
 68 |             try await self.underlyingStorage.set(value, forKey: key)
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:67:13: warning: capture of 'modify' with non-sendable type '(inout Underlying.Value) -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 65 |         try await asyncQueue.await {
 66 |             var value = try await self.underlyingStorage.retrieve(forKey: key)
 67 |             modify(&value)
    |             |- warning: capture of 'modify' with non-sendable type '(inout Underlying.Value) -> ()' 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'
 68 |             try await self.underlyingStorage.set(value, forKey: key)
 69 |             return value
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:77:23: warning: capture of 'perform' with non-sendable type '(Underlying) async throws -> ReturnValue' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 75 |     ) async throws -> ReturnValue {
 76 |         try await asyncQueue.await {
 77 |             try await perform(self.underlyingStorage)
    |                       |- warning: capture of 'perform' with non-sendable type '(Underlying) async throws -> ReturnValue' 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'
 78 |         }
 79 |     }
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:77:31: warning: capture of 'self' with non-sendable type 'SerialStorage<Underlying>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 38 | }
 39 |
 40 | public final class SerialStorage<Underlying: Storage>: UpdateableStorage {
    |                    `- note: generic class 'SerialStorage' does not conform to the 'Sendable' protocol
 41 |     public let underlyingStorage: Underlying
 42 |     public let asyncQueue = StoragesAsyncQueue()
    :
 75 |     ) async throws -> ReturnValue {
 76 |         try await asyncQueue.await {
 77 |             try await perform(self.underlyingStorage)
    |                               `- warning: capture of 'self' with non-sendable type 'SerialStorage<Underlying>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 78 |         }
 79 |     }
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:96:23: warning: capture of 'self' with non-sendable type 'SerialReadOnlyStorage<Underlying>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 84 | }
 85 |
 86 | public final class SerialReadOnlyStorage<Underlying: ReadableStorage>: ReadOnlyStorage {
    |                    `- note: generic class 'SerialReadOnlyStorage' does not conform to the 'Sendable' protocol
 87 |     public let underlyingStorage: Underlying
 88 |     public let asyncQueue = StoragesAsyncQueue()
    :
 94 |     public func retrieve(forKey key: Underlying.Key) async throws -> Underlying.Value {
 95 |         try await asyncQueue.await {
 96 |             try await self.underlyingStorage.retrieve(forKey: key)
    |                       `- warning: capture of 'self' with non-sendable type 'SerialReadOnlyStorage<Underlying>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 97 |         }
 98 |     }
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:96:63: warning: capture of 'key' with non-sendable type 'Underlying.Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 94 |     public func retrieve(forKey key: Underlying.Key) async throws -> Underlying.Value {
 95 |         try await asyncQueue.await {
 96 |             try await self.underlyingStorage.retrieve(forKey: key)
    |                                                               `- warning: capture of 'key' with non-sendable type 'Underlying.Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 97 |         }
 98 |     }
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:115:23: warning: capture of 'self' with non-sendable type 'SerialWriteOnlyStorage<Underlying>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
103 | }
104 |
105 | public final class SerialWriteOnlyStorage<Underlying: WritableStorage>: WriteOnlyStorage {
    |                    `- note: generic class 'SerialWriteOnlyStorage' does not conform to the 'Sendable' protocol
106 |     public let underlyingStorage: Underlying
107 |     public let asyncQueue = StoragesAsyncQueue()
    :
113 |     public func set(_ value: Underlying.Value, forKey key: Underlying.Key) async throws {
114 |         try await asyncQueue.await {
115 |             try await self.underlyingStorage.set(value, forKey: key)
    |                       `- warning: capture of 'self' with non-sendable type 'SerialWriteOnlyStorage<Underlying>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
116 |         }
117 |     }
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:115:50: warning: capture of 'value' with non-sendable type 'Underlying.Value' in a '@Sendable' closure; this is an error in the Swift 6 language mode
113 |     public func set(_ value: Underlying.Value, forKey key: Underlying.Key) async throws {
114 |         try await asyncQueue.await {
115 |             try await self.underlyingStorage.set(value, forKey: key)
    |                                                  `- warning: capture of 'value' with non-sendable type 'Underlying.Value' in a '@Sendable' closure; this is an error in the Swift 6 language mode
116 |         }
117 |     }
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:115:65: warning: capture of 'key' with non-sendable type 'Underlying.Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
113 |     public func set(_ value: Underlying.Value, forKey key: Underlying.Key) async throws {
114 |         try await asyncQueue.await {
115 |             try await self.underlyingStorage.set(value, forKey: key)
    |                                                                 `- warning: capture of 'key' with non-sendable type 'Underlying.Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
116 |         }
117 |     }
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:134:19: warning: capture of 'self' with non-sendable type 'SerialNonFallibleReadableStorage<Underlying>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
122 | }
123 |
124 | public final class SerialNonFallibleReadableStorage<Underlying: NonFallibleReadableStorage>: NonFallibleReadableStorage {
    |                    `- note: generic class 'SerialNonFallibleReadableStorage' does not conform to the 'Sendable' protocol
125 |     public let underlyingStorage: Underlying
126 |     public let asyncQueue = StoragesAsyncQueue()
    :
132 |     public func retrieve(forKey key: Underlying.Key) async -> Underlying.Value {
133 |         await asyncQueue.await {
134 |             await self.underlyingStorage.retrieve(forKey: key)
    |                   `- warning: capture of 'self' with non-sendable type 'SerialNonFallibleReadableStorage<Underlying>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
135 |         }
136 |     }
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:134:59: warning: capture of 'key' with non-sendable type 'Underlying.Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
132 |     public func retrieve(forKey key: Underlying.Key) async -> Underlying.Value {
133 |         await asyncQueue.await {
134 |             await self.underlyingStorage.retrieve(forKey: key)
    |                                                           `- warning: capture of 'key' with non-sendable type 'Underlying.Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
135 |         }
136 |     }
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:153:19: warning: capture of 'self' with non-sendable type 'SerialNonFallibleStorage<Underlying>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
141 | }
142 |
143 | public final class SerialNonFallibleStorage<Underlying: NonFallibleStorage>: NonFallibleStorage, UpdateableStorage {
    |                    `- note: generic class 'SerialNonFallibleStorage' does not conform to the 'Sendable' protocol
144 |     public let underlyingStorage: Underlying
145 |     public let asyncQueue = StoragesAsyncQueue()
    :
151 |     public func retrieve(forKey key: Underlying.Key) async -> Underlying.Value {
152 |         await asyncQueue.await {
153 |             await self.underlyingStorage.retrieve(forKey: key)
    |                   `- warning: capture of 'self' with non-sendable type 'SerialNonFallibleStorage<Underlying>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
154 |         }
155 |     }
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:153:59: warning: capture of 'key' with non-sendable type 'Underlying.Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
151 |     public func retrieve(forKey key: Underlying.Key) async -> Underlying.Value {
152 |         await asyncQueue.await {
153 |             await self.underlyingStorage.retrieve(forKey: key)
    |                                                           `- warning: capture of 'key' with non-sendable type 'Underlying.Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
154 |         }
155 |     }
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:159:23: warning: capture of 'self' with non-sendable type 'SerialNonFallibleStorage<Underlying>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
141 | }
142 |
143 | public final class SerialNonFallibleStorage<Underlying: NonFallibleStorage>: NonFallibleStorage, UpdateableStorage {
    |                    `- note: generic class 'SerialNonFallibleStorage' does not conform to the 'Sendable' protocol
144 |     public let underlyingStorage: Underlying
145 |     public let asyncQueue = StoragesAsyncQueue()
    :
157 |     public func set(_ value: Underlying.Value, forKey key: Underlying.Key) async throws {
158 |         try await asyncQueue.await {
159 |             try await self.underlyingStorage.set(value, forKey: key)
    |                       `- warning: capture of 'self' with non-sendable type 'SerialNonFallibleStorage<Underlying>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
160 |         }
161 |     }
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:159:50: warning: capture of 'value' with non-sendable type 'Underlying.Value' in a '@Sendable' closure; this is an error in the Swift 6 language mode
157 |     public func set(_ value: Underlying.Value, forKey key: Underlying.Key) async throws {
158 |         try await asyncQueue.await {
159 |             try await self.underlyingStorage.set(value, forKey: key)
    |                                                  `- warning: capture of 'value' with non-sendable type 'Underlying.Value' in a '@Sendable' closure; this is an error in the Swift 6 language mode
160 |         }
161 |     }
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:159:65: warning: capture of 'key' with non-sendable type 'Underlying.Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
157 |     public func set(_ value: Underlying.Value, forKey key: Underlying.Key) async throws {
158 |         try await asyncQueue.await {
159 |             try await self.underlyingStorage.set(value, forKey: key)
    |                                                                 `- warning: capture of 'key' with non-sendable type 'Underlying.Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
160 |         }
161 |     }
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:169:31: warning: capture of 'self' with non-sendable type 'SerialNonFallibleStorage<Underlying>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
141 | }
142 |
143 | public final class SerialNonFallibleStorage<Underlying: NonFallibleStorage>: NonFallibleStorage, UpdateableStorage {
    |                    `- note: generic class 'SerialNonFallibleStorage' does not conform to the 'Sendable' protocol
144 |     public let underlyingStorage: Underlying
145 |     public let asyncQueue = StoragesAsyncQueue()
    :
167 |     ) async throws -> Underlying.Value {
168 |         try await asyncQueue.await {
169 |             var value = await self.underlyingStorage.retrieve(forKey: key)
    |                               `- warning: capture of 'self' with non-sendable type 'SerialNonFallibleStorage<Underlying>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
170 |             modify(&value)
171 |             try await self.underlyingStorage.set(value, forKey: key)
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:169:71: warning: capture of 'key' with non-sendable type 'Underlying.Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
167 |     ) async throws -> Underlying.Value {
168 |         try await asyncQueue.await {
169 |             var value = await self.underlyingStorage.retrieve(forKey: key)
    |                                                                       `- warning: capture of 'key' with non-sendable type 'Underlying.Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
170 |             modify(&value)
171 |             try await self.underlyingStorage.set(value, forKey: key)
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:170:13: warning: capture of 'modify' with non-sendable type '(inout Underlying.Value) -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
168 |         try await asyncQueue.await {
169 |             var value = await self.underlyingStorage.retrieve(forKey: key)
170 |             modify(&value)
    |             |- warning: capture of 'modify' with non-sendable type '(inout Underlying.Value) -> ()' 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'
171 |             try await self.underlyingStorage.set(value, forKey: key)
172 |             return value
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:180:23: warning: capture of 'perform' with non-sendable type '(Underlying) async throws -> ReturnValue' in a '@Sendable' closure; this is an error in the Swift 6 language mode
178 |     ) async throws -> ReturnValue {
179 |         try await asyncQueue.await {
180 |             try await perform(self.underlyingStorage)
    |                       |- warning: capture of 'perform' with non-sendable type '(Underlying) async throws -> ReturnValue' 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'
181 |         }
182 |     }
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:180:31: warning: capture of 'self' with non-sendable type 'SerialNonFallibleStorage<Underlying>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
141 | }
142 |
143 | public final class SerialNonFallibleStorage<Underlying: NonFallibleStorage>: NonFallibleStorage, UpdateableStorage {
    |                    `- note: generic class 'SerialNonFallibleStorage' does not conform to the 'Sendable' protocol
144 |     public let underlyingStorage: Underlying
145 |     public let asyncQueue = StoragesAsyncQueue()
    :
178 |     ) async throws -> ReturnValue {
179 |         try await asyncQueue.await {
180 |             try await perform(self.underlyingStorage)
    |                               `- warning: capture of 'self' with non-sendable type 'SerialNonFallibleStorage<Underlying>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
181 |         }
182 |     }
[21/21] Compiling AsyncStorages SerialStorage.swift
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:50:23: warning: capture of 'self' with non-sendable type 'SerialStorage<Underlying>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 38 | }
 39 |
 40 | public final class SerialStorage<Underlying: Storage>: UpdateableStorage {
    |                    `- note: generic class 'SerialStorage' does not conform to the 'Sendable' protocol
 41 |     public let underlyingStorage: Underlying
 42 |     public let asyncQueue = StoragesAsyncQueue()
    :
 48 |     public func retrieve(forKey key: Underlying.Key) async throws -> Underlying.Value {
 49 |         try await asyncQueue.await {
 50 |             try await self.underlyingStorage.retrieve(forKey: key)
    |                       `- warning: capture of 'self' with non-sendable type 'SerialStorage<Underlying>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 51 |         }
 52 |     }
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:50:63: warning: capture of 'key' with non-sendable type 'Underlying.Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 48 |     public func retrieve(forKey key: Underlying.Key) async throws -> Underlying.Value {
 49 |         try await asyncQueue.await {
 50 |             try await self.underlyingStorage.retrieve(forKey: key)
    |                                                               `- warning: capture of 'key' with non-sendable type 'Underlying.Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 51 |         }
 52 |     }
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:56:23: warning: capture of 'self' with non-sendable type 'SerialStorage<Underlying>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 38 | }
 39 |
 40 | public final class SerialStorage<Underlying: Storage>: UpdateableStorage {
    |                    `- note: generic class 'SerialStorage' does not conform to the 'Sendable' protocol
 41 |     public let underlyingStorage: Underlying
 42 |     public let asyncQueue = StoragesAsyncQueue()
    :
 54 |     public func set(_ value: Underlying.Value, forKey key: Underlying.Key) async throws {
 55 |         try await asyncQueue.await {
 56 |             try await self.underlyingStorage.set(value, forKey: key)
    |                       `- warning: capture of 'self' with non-sendable type 'SerialStorage<Underlying>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 57 |         }
 58 |     }
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:56:50: warning: capture of 'value' with non-sendable type 'Underlying.Value' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 54 |     public func set(_ value: Underlying.Value, forKey key: Underlying.Key) async throws {
 55 |         try await asyncQueue.await {
 56 |             try await self.underlyingStorage.set(value, forKey: key)
    |                                                  `- warning: capture of 'value' with non-sendable type 'Underlying.Value' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 57 |         }
 58 |     }
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:56:65: warning: capture of 'key' with non-sendable type 'Underlying.Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 54 |     public func set(_ value: Underlying.Value, forKey key: Underlying.Key) async throws {
 55 |         try await asyncQueue.await {
 56 |             try await self.underlyingStorage.set(value, forKey: key)
    |                                                                 `- warning: capture of 'key' with non-sendable type 'Underlying.Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 57 |         }
 58 |     }
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:66:35: warning: capture of 'self' with non-sendable type 'SerialStorage<Underlying>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 38 | }
 39 |
 40 | public final class SerialStorage<Underlying: Storage>: UpdateableStorage {
    |                    `- note: generic class 'SerialStorage' does not conform to the 'Sendable' protocol
 41 |     public let underlyingStorage: Underlying
 42 |     public let asyncQueue = StoragesAsyncQueue()
    :
 64 |     ) async throws -> Underlying.Value {
 65 |         try await asyncQueue.await {
 66 |             var value = try await self.underlyingStorage.retrieve(forKey: key)
    |                                   `- warning: capture of 'self' with non-sendable type 'SerialStorage<Underlying>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 67 |             modify(&value)
 68 |             try await self.underlyingStorage.set(value, forKey: key)
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:66:75: warning: capture of 'key' with non-sendable type 'Underlying.Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 64 |     ) async throws -> Underlying.Value {
 65 |         try await asyncQueue.await {
 66 |             var value = try await self.underlyingStorage.retrieve(forKey: key)
    |                                                                           `- warning: capture of 'key' with non-sendable type 'Underlying.Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 67 |             modify(&value)
 68 |             try await self.underlyingStorage.set(value, forKey: key)
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:67:13: warning: capture of 'modify' with non-sendable type '(inout Underlying.Value) -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 65 |         try await asyncQueue.await {
 66 |             var value = try await self.underlyingStorage.retrieve(forKey: key)
 67 |             modify(&value)
    |             |- warning: capture of 'modify' with non-sendable type '(inout Underlying.Value) -> ()' 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'
 68 |             try await self.underlyingStorage.set(value, forKey: key)
 69 |             return value
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:77:23: warning: capture of 'perform' with non-sendable type '(Underlying) async throws -> ReturnValue' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 75 |     ) async throws -> ReturnValue {
 76 |         try await asyncQueue.await {
 77 |             try await perform(self.underlyingStorage)
    |                       |- warning: capture of 'perform' with non-sendable type '(Underlying) async throws -> ReturnValue' 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'
 78 |         }
 79 |     }
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:77:31: warning: capture of 'self' with non-sendable type 'SerialStorage<Underlying>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 38 | }
 39 |
 40 | public final class SerialStorage<Underlying: Storage>: UpdateableStorage {
    |                    `- note: generic class 'SerialStorage' does not conform to the 'Sendable' protocol
 41 |     public let underlyingStorage: Underlying
 42 |     public let asyncQueue = StoragesAsyncQueue()
    :
 75 |     ) async throws -> ReturnValue {
 76 |         try await asyncQueue.await {
 77 |             try await perform(self.underlyingStorage)
    |                               `- warning: capture of 'self' with non-sendable type 'SerialStorage<Underlying>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 78 |         }
 79 |     }
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:96:23: warning: capture of 'self' with non-sendable type 'SerialReadOnlyStorage<Underlying>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 84 | }
 85 |
 86 | public final class SerialReadOnlyStorage<Underlying: ReadableStorage>: ReadOnlyStorage {
    |                    `- note: generic class 'SerialReadOnlyStorage' does not conform to the 'Sendable' protocol
 87 |     public let underlyingStorage: Underlying
 88 |     public let asyncQueue = StoragesAsyncQueue()
    :
 94 |     public func retrieve(forKey key: Underlying.Key) async throws -> Underlying.Value {
 95 |         try await asyncQueue.await {
 96 |             try await self.underlyingStorage.retrieve(forKey: key)
    |                       `- warning: capture of 'self' with non-sendable type 'SerialReadOnlyStorage<Underlying>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 97 |         }
 98 |     }
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:96:63: warning: capture of 'key' with non-sendable type 'Underlying.Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 94 |     public func retrieve(forKey key: Underlying.Key) async throws -> Underlying.Value {
 95 |         try await asyncQueue.await {
 96 |             try await self.underlyingStorage.retrieve(forKey: key)
    |                                                               `- warning: capture of 'key' with non-sendable type 'Underlying.Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 97 |         }
 98 |     }
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:115:23: warning: capture of 'self' with non-sendable type 'SerialWriteOnlyStorage<Underlying>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
103 | }
104 |
105 | public final class SerialWriteOnlyStorage<Underlying: WritableStorage>: WriteOnlyStorage {
    |                    `- note: generic class 'SerialWriteOnlyStorage' does not conform to the 'Sendable' protocol
106 |     public let underlyingStorage: Underlying
107 |     public let asyncQueue = StoragesAsyncQueue()
    :
113 |     public func set(_ value: Underlying.Value, forKey key: Underlying.Key) async throws {
114 |         try await asyncQueue.await {
115 |             try await self.underlyingStorage.set(value, forKey: key)
    |                       `- warning: capture of 'self' with non-sendable type 'SerialWriteOnlyStorage<Underlying>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
116 |         }
117 |     }
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:115:50: warning: capture of 'value' with non-sendable type 'Underlying.Value' in a '@Sendable' closure; this is an error in the Swift 6 language mode
113 |     public func set(_ value: Underlying.Value, forKey key: Underlying.Key) async throws {
114 |         try await asyncQueue.await {
115 |             try await self.underlyingStorage.set(value, forKey: key)
    |                                                  `- warning: capture of 'value' with non-sendable type 'Underlying.Value' in a '@Sendable' closure; this is an error in the Swift 6 language mode
116 |         }
117 |     }
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:115:65: warning: capture of 'key' with non-sendable type 'Underlying.Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
113 |     public func set(_ value: Underlying.Value, forKey key: Underlying.Key) async throws {
114 |         try await asyncQueue.await {
115 |             try await self.underlyingStorage.set(value, forKey: key)
    |                                                                 `- warning: capture of 'key' with non-sendable type 'Underlying.Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
116 |         }
117 |     }
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:134:19: warning: capture of 'self' with non-sendable type 'SerialNonFallibleReadableStorage<Underlying>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
122 | }
123 |
124 | public final class SerialNonFallibleReadableStorage<Underlying: NonFallibleReadableStorage>: NonFallibleReadableStorage {
    |                    `- note: generic class 'SerialNonFallibleReadableStorage' does not conform to the 'Sendable' protocol
125 |     public let underlyingStorage: Underlying
126 |     public let asyncQueue = StoragesAsyncQueue()
    :
132 |     public func retrieve(forKey key: Underlying.Key) async -> Underlying.Value {
133 |         await asyncQueue.await {
134 |             await self.underlyingStorage.retrieve(forKey: key)
    |                   `- warning: capture of 'self' with non-sendable type 'SerialNonFallibleReadableStorage<Underlying>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
135 |         }
136 |     }
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:134:59: warning: capture of 'key' with non-sendable type 'Underlying.Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
132 |     public func retrieve(forKey key: Underlying.Key) async -> Underlying.Value {
133 |         await asyncQueue.await {
134 |             await self.underlyingStorage.retrieve(forKey: key)
    |                                                           `- warning: capture of 'key' with non-sendable type 'Underlying.Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
135 |         }
136 |     }
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:153:19: warning: capture of 'self' with non-sendable type 'SerialNonFallibleStorage<Underlying>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
141 | }
142 |
143 | public final class SerialNonFallibleStorage<Underlying: NonFallibleStorage>: NonFallibleStorage, UpdateableStorage {
    |                    `- note: generic class 'SerialNonFallibleStorage' does not conform to the 'Sendable' protocol
144 |     public let underlyingStorage: Underlying
145 |     public let asyncQueue = StoragesAsyncQueue()
    :
151 |     public func retrieve(forKey key: Underlying.Key) async -> Underlying.Value {
152 |         await asyncQueue.await {
153 |             await self.underlyingStorage.retrieve(forKey: key)
    |                   `- warning: capture of 'self' with non-sendable type 'SerialNonFallibleStorage<Underlying>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
154 |         }
155 |     }
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:153:59: warning: capture of 'key' with non-sendable type 'Underlying.Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
151 |     public func retrieve(forKey key: Underlying.Key) async -> Underlying.Value {
152 |         await asyncQueue.await {
153 |             await self.underlyingStorage.retrieve(forKey: key)
    |                                                           `- warning: capture of 'key' with non-sendable type 'Underlying.Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
154 |         }
155 |     }
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:159:23: warning: capture of 'self' with non-sendable type 'SerialNonFallibleStorage<Underlying>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
141 | }
142 |
143 | public final class SerialNonFallibleStorage<Underlying: NonFallibleStorage>: NonFallibleStorage, UpdateableStorage {
    |                    `- note: generic class 'SerialNonFallibleStorage' does not conform to the 'Sendable' protocol
144 |     public let underlyingStorage: Underlying
145 |     public let asyncQueue = StoragesAsyncQueue()
    :
157 |     public func set(_ value: Underlying.Value, forKey key: Underlying.Key) async throws {
158 |         try await asyncQueue.await {
159 |             try await self.underlyingStorage.set(value, forKey: key)
    |                       `- warning: capture of 'self' with non-sendable type 'SerialNonFallibleStorage<Underlying>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
160 |         }
161 |     }
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:159:50: warning: capture of 'value' with non-sendable type 'Underlying.Value' in a '@Sendable' closure; this is an error in the Swift 6 language mode
157 |     public func set(_ value: Underlying.Value, forKey key: Underlying.Key) async throws {
158 |         try await asyncQueue.await {
159 |             try await self.underlyingStorage.set(value, forKey: key)
    |                                                  `- warning: capture of 'value' with non-sendable type 'Underlying.Value' in a '@Sendable' closure; this is an error in the Swift 6 language mode
160 |         }
161 |     }
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:159:65: warning: capture of 'key' with non-sendable type 'Underlying.Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
157 |     public func set(_ value: Underlying.Value, forKey key: Underlying.Key) async throws {
158 |         try await asyncQueue.await {
159 |             try await self.underlyingStorage.set(value, forKey: key)
    |                                                                 `- warning: capture of 'key' with non-sendable type 'Underlying.Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
160 |         }
161 |     }
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:169:31: warning: capture of 'self' with non-sendable type 'SerialNonFallibleStorage<Underlying>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
141 | }
142 |
143 | public final class SerialNonFallibleStorage<Underlying: NonFallibleStorage>: NonFallibleStorage, UpdateableStorage {
    |                    `- note: generic class 'SerialNonFallibleStorage' does not conform to the 'Sendable' protocol
144 |     public let underlyingStorage: Underlying
145 |     public let asyncQueue = StoragesAsyncQueue()
    :
167 |     ) async throws -> Underlying.Value {
168 |         try await asyncQueue.await {
169 |             var value = await self.underlyingStorage.retrieve(forKey: key)
    |                               `- warning: capture of 'self' with non-sendable type 'SerialNonFallibleStorage<Underlying>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
170 |             modify(&value)
171 |             try await self.underlyingStorage.set(value, forKey: key)
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:169:71: warning: capture of 'key' with non-sendable type 'Underlying.Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
167 |     ) async throws -> Underlying.Value {
168 |         try await asyncQueue.await {
169 |             var value = await self.underlyingStorage.retrieve(forKey: key)
    |                                                                       `- warning: capture of 'key' with non-sendable type 'Underlying.Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
170 |             modify(&value)
171 |             try await self.underlyingStorage.set(value, forKey: key)
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:170:13: warning: capture of 'modify' with non-sendable type '(inout Underlying.Value) -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
168 |         try await asyncQueue.await {
169 |             var value = await self.underlyingStorage.retrieve(forKey: key)
170 |             modify(&value)
    |             |- warning: capture of 'modify' with non-sendable type '(inout Underlying.Value) -> ()' 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'
171 |             try await self.underlyingStorage.set(value, forKey: key)
172 |             return value
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:180:23: warning: capture of 'perform' with non-sendable type '(Underlying) async throws -> ReturnValue' in a '@Sendable' closure; this is an error in the Swift 6 language mode
178 |     ) async throws -> ReturnValue {
179 |         try await asyncQueue.await {
180 |             try await perform(self.underlyingStorage)
    |                       |- warning: capture of 'perform' with non-sendable type '(Underlying) async throws -> ReturnValue' 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'
181 |         }
182 |     }
/host/spi-builder-workspace/Sources/AsyncStorages/SerialStorage.swift:180:31: warning: capture of 'self' with non-sendable type 'SerialNonFallibleStorage<Underlying>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
141 | }
142 |
143 | public final class SerialNonFallibleStorage<Underlying: NonFallibleStorage>: NonFallibleStorage, UpdateableStorage {
    |                    `- note: generic class 'SerialNonFallibleStorage' does not conform to the 'Sendable' protocol
144 |     public let underlyingStorage: Underlying
145 |     public let asyncQueue = StoragesAsyncQueue()
    :
178 |     ) async throws -> ReturnValue {
179 |         try await asyncQueue.await {
180 |             try await perform(self.underlyingStorage)
    |                               `- warning: capture of 'self' with non-sendable type 'SerialNonFallibleStorage<Underlying>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
181 |         }
182 |     }
Build complete! (12.20s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "AsyncStorages",
  "name" : "AsyncStorages",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "AsyncStorages",
      "targets" : [
        "AsyncStorages"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AsyncStoragesTests",
      "module_type" : "SwiftTarget",
      "name" : "AsyncStoragesTests",
      "path" : "Tests/AsyncStoragesTests",
      "sources" : [
        "AsyncStoragesTests.swift",
        "DiskStorageTests.swift",
        "TestSupport.swift",
        "URLSessionStorageTests.swift"
      ],
      "target_dependencies" : [
        "AsyncStorages"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AsyncStorages",
      "module_type" : "SwiftTarget",
      "name" : "AsyncStorages",
      "path" : "Sources/AsyncStorages",
      "product_memberships" : [
        "AsyncStorages"
      ],
      "sources" : [
        "ActorSafe.swift",
        "AsyncQueue.swift",
        "AsyncStorages.swift",
        "Composition.swift",
        "ReadableStorage.swift",
        "SerialStorage.swift",
        "Storage.swift",
        "StorageWrapper.swift",
        "Storages/DiskStorage/DiskExtensions.swift",
        "Storages/DiskStorage/DiskFolderStorage.swift",
        "Storages/DiskStorage/DiskStorage.swift",
        "Storages/DiskStorage/Filename.swift",
        "Storages/DiskStorage/RawDiskStorage.swift",
        "Storages/MemoryStorage.swift",
        "Storages/URLSessionStorage/HTTPProxy.swift",
        "Storages/URLSessionStorage/URLSessionStorage.swift",
        "WriteableStorage.swift",
        "ZipStorage.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:276d66a16377d3ee059b2e3429cbc1154d9f01e42871e5d702fd5d8b9044d93d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
Done.