The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Cache, reference master (86165d), with Swift 6.1 for Linux on 30 Aug 2025 21:36:51 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hyperoslo/Cache.git
Reference: master
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/hyperoslo/Cache
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 86165db Merge pull request #346 from lazyvar/master
Cloned https://github.com/hyperoslo/Cache.git
Revision (git rev-parse @):
86165db6a184874611c532a7422511270b2f549a
SUCCESS checkout https://github.com/hyperoslo/Cache.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/hyperoslo/Cache.git
https://github.com/hyperoslo/Cache.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Cache",
  "name" : "Cache",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Cache",
      "targets" : [
        "Cache"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "CacheTests",
      "module_type" : "SwiftTarget",
      "name" : "CacheTests",
      "path" : "Tests",
      "sources" : [
        "Mac/Helpers/NSImage+ExtensionsTests.swift",
        "Mac/Helpers/TestHelper+OSX.swift",
        "Shared/TestCase+Extensions.swift",
        "Shared/TestHelper.swift",
        "Shared/User.swift",
        "iOS/Helpers/TestHelper+iOS.swift",
        "iOS/Helpers/UIImage+ExtensionsTests.swift",
        "iOS/Tests/Extensions/Date+ExtensionsTests.swift",
        "iOS/Tests/Extensions/Hasher+constantAccrossExecutions+Tests.swift",
        "iOS/Tests/Library/ExpiryTests.swift",
        "iOS/Tests/Library/ImageWrapperTests.swift",
        "iOS/Tests/Library/JSONWrapperTests.swift",
        "iOS/Tests/Library/MD5Tests.swift",
        "iOS/Tests/Library/MemoryCapsuleTests.swift",
        "iOS/Tests/Library/ObjectConverterTests.swift",
        "iOS/Tests/Library/ObservationTokenTests.swift",
        "iOS/Tests/Library/TypeWrapperTests.swift",
        "iOS/Tests/Storage/AsyncStorageTests.swift",
        "iOS/Tests/Storage/DiskStorageTests.swift",
        "iOS/Tests/Storage/HybridStorageTests.swift",
        "iOS/Tests/Storage/MemoryStorageTests.swift",
        "iOS/Tests/Storage/StorageSupportTests.swift",
        "iOS/Tests/Storage/StorageTests.swift",
        "iOS/Tests/Storage/SyncStorageTests.swift"
      ],
      "target_dependencies" : [
        "Cache"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Cache",
      "module_type" : "SwiftTarget",
      "name" : "Cache",
      "path" : "Source",
      "product_memberships" : [
        "Cache"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Source/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Mac/NSImage+Extensions.swift",
        "Shared/Configuration/DiskConfig.swift",
        "Shared/Configuration/MemoryConfig.swift",
        "Shared/Extensions/Date+Extensions.swift",
        "Shared/Extensions/FileManager+Extensions.swift",
        "Shared/Extensions/Hasher+constantAccrossExecutions.swift",
        "Shared/Extensions/JSONDecoder+Extensions.swift",
        "Shared/Extensions/URL+Extensions.swift",
        "Shared/Library/DataSerializer.swift",
        "Shared/Library/Entry.swift",
        "Shared/Library/ExpirationMode.swift",
        "Shared/Library/Expiry.swift",
        "Shared/Library/ImageWrapper.swift",
        "Shared/Library/JSONArrayWrapper.swift",
        "Shared/Library/JSONDictionaryWrapper.swift",
        "Shared/Library/MD5.swift",
        "Shared/Library/MemoryCapsule.swift",
        "Shared/Library/ObservationToken.swift",
        "Shared/Library/Optional+Extension.swift",
        "Shared/Library/StorageError.swift",
        "Shared/Library/Transformer.swift",
        "Shared/Library/TransformerFactory.swift",
        "Shared/Library/TypeWrapper.swift",
        "Shared/Library/Types.swift",
        "Shared/Storage/AsyncStorage.swift",
        "Shared/Storage/DiskStorage.swift",
        "Shared/Storage/HybridStorage.swift",
        "Shared/Storage/KeyObservationRegistry.swift",
        "Shared/Storage/MemoryStorage.swift",
        "Shared/Storage/Storage+Transform.swift",
        "Shared/Storage/Storage.swift",
        "Shared/Storage/StorageAware.swift",
        "Shared/Storage/StorageObservationRegistry.swift",
        "Shared/Storage/SyncStorage.swift",
        "iOS/UIImage+Extensions.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:99ea6d26ace67c023f359493a2ac553a612b92a7f2dee009657225f46f43aa0e
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/3] Copying PrivacyInfo.xcprivacy
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/36] Compiling Cache AsyncStorage.swift
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:19:26: warning: capture of 'self' with non-sendable type 'AsyncStorage<Key, Value>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  4 | /// Manipulate storage in a "all async" manner.
  5 | /// The completion closure will be called when operation completes.
  6 | public class AsyncStorage<Key: Hashable, Value> {
    |              `- note: generic class 'AsyncStorage' does not conform to the 'Sendable' protocol
  7 |   public let innerStorage: HybridStorage<Key, Value>
  8 |   public let serialQueue: DispatchQueue
    :
 17 |   public func entry(forKey key: Key, completion: @escaping (Result<Entry<Value>, Error>) -> Void) {
 18 |     serialQueue.async { [weak self] in
 19 |       guard let `self` = self else {
    |                          `- warning: capture of 'self' with non-sendable type 'AsyncStorage<Key, Value>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 20 |         completion(.failure(StorageError.deallocated))
 21 |         return
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:20:9: warning: capture of 'completion' with non-sendable type '(Result<Entry<Value>, any Error>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 18 |     serialQueue.async { [weak self] in
 19 |       guard let `self` = self else {
 20 |         completion(.failure(StorageError.deallocated))
    |         |- warning: capture of 'completion' with non-sendable type '(Result<Entry<Value>, any Error>) -> Void' 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'
 21 |         return
 22 |       }
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:25:59: warning: capture of 'key' with non-sendable type 'Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  4 | /// Manipulate storage in a "all async" manner.
  5 | /// The completion closure will be called when operation completes.
  6 | public class AsyncStorage<Key: Hashable, Value> {
    |                           `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
  7 |   public let innerStorage: HybridStorage<Key, Value>
  8 |   public let serialQueue: DispatchQueue
    :
 23 |
 24 |       do {
 25 |         let anEntry = try self.innerStorage.entry(forKey: key)
    |                                                           `- warning: capture of 'key' with non-sendable type 'Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 26 |         completion(.success(anEntry))
 27 |       } catch {
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:35:26: warning: capture of 'self' with non-sendable type 'AsyncStorage<Key, Value>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  4 | /// Manipulate storage in a "all async" manner.
  5 | /// The completion closure will be called when operation completes.
  6 | public class AsyncStorage<Key: Hashable, Value> {
    |              `- note: generic class 'AsyncStorage' does not conform to the 'Sendable' protocol
  7 |   public let innerStorage: HybridStorage<Key, Value>
  8 |   public let serialQueue: DispatchQueue
    :
 33 |   public func removeObject(forKey key: Key, completion: @escaping (Result<(), Error>) -> Void) {
 34 |     serialQueue.async { [weak self] in
 35 |       guard let `self` = self else {
    |                          `- warning: capture of 'self' with non-sendable type 'AsyncStorage<Key, Value>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 36 |         completion(.failure(StorageError.deallocated))
 37 |         return
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:36:9: warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 34 |     serialQueue.async { [weak self] in
 35 |       guard let `self` = self else {
 36 |         completion(.failure(StorageError.deallocated))
    |         |- warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' 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'
 37 |         return
 38 |       }
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:41:52: warning: capture of 'key' with non-sendable type 'Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  4 | /// Manipulate storage in a "all async" manner.
  5 | /// The completion closure will be called when operation completes.
  6 | public class AsyncStorage<Key: Hashable, Value> {
    |                           `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
  7 |   public let innerStorage: HybridStorage<Key, Value>
  8 |   public let serialQueue: DispatchQueue
    :
 39 |
 40 |       do {
 41 |         try self.innerStorage.removeObject(forKey: key)
    |                                                    `- warning: capture of 'key' with non-sendable type 'Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 42 |         completion(.success(()))
 43 |       } catch {
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:55:26: warning: capture of 'self' with non-sendable type 'AsyncStorage<Key, Value>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  4 | /// Manipulate storage in a "all async" manner.
  5 | /// The completion closure will be called when operation completes.
  6 | public class AsyncStorage<Key: Hashable, Value> {
    |              `- note: generic class 'AsyncStorage' does not conform to the 'Sendable' protocol
  7 |   public let innerStorage: HybridStorage<Key, Value>
  8 |   public let serialQueue: DispatchQueue
    :
 53 |     completion: @escaping (Result<(), Error>) -> Void) {
 54 |     serialQueue.async { [weak self] in
 55 |       guard let `self` = self else {
    |                          `- warning: capture of 'self' with non-sendable type 'AsyncStorage<Key, Value>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 56 |         completion(.failure(StorageError.deallocated))
 57 |         return
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:56:9: warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 54 |     serialQueue.async { [weak self] in
 55 |       guard let `self` = self else {
 56 |         completion(.failure(StorageError.deallocated))
    |         |- warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' 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'
 57 |         return
 58 |       }
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:61:41: warning: capture of 'object' with non-sendable type 'Value' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  4 | /// Manipulate storage in a "all async" manner.
  5 | /// The completion closure will be called when operation completes.
  6 | public class AsyncStorage<Key: Hashable, Value> {
    |                                          `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
  7 |   public let innerStorage: HybridStorage<Key, Value>
  8 |   public let serialQueue: DispatchQueue
    :
 59 |
 60 |       do {
 61 |         try self.innerStorage.setObject(object, forKey: key, expiry: expiry)
    |                                         `- warning: capture of 'object' with non-sendable type 'Value' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 62 |         completion(.success(()))
 63 |       } catch {
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:61:57: warning: capture of 'key' with non-sendable type 'Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  4 | /// Manipulate storage in a "all async" manner.
  5 | /// The completion closure will be called when operation completes.
  6 | public class AsyncStorage<Key: Hashable, Value> {
    |                           `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
  7 |   public let innerStorage: HybridStorage<Key, Value>
  8 |   public let serialQueue: DispatchQueue
    :
 59 |
 60 |       do {
 61 |         try self.innerStorage.setObject(object, forKey: key, expiry: expiry)
    |                                                         `- warning: capture of 'key' with non-sendable type 'Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 62 |         completion(.success(()))
 63 |       } catch {
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:61:70: warning: capture of 'expiry' with non-sendable type 'Expiry?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 59 |
 60 |       do {
 61 |         try self.innerStorage.setObject(object, forKey: key, expiry: expiry)
    |                                                                      `- warning: capture of 'expiry' with non-sendable type 'Expiry?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 62 |         completion(.success(()))
 63 |       } catch {
/host/spi-builder-workspace/Source/Shared/Library/Expiry.swift:6:13: note: consider making enum 'Expiry' conform to the 'Sendable' protocol
 4 |  Helper enum to set the expiration date
 5 |  */
 6 | public enum Expiry {
   |             `- note: consider making enum 'Expiry' conform to the 'Sendable' protocol
 7 |   /// Object will be expired in the nearest future
 8 |   case never
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:71:26: warning: capture of 'self' with non-sendable type 'AsyncStorage<Key, Value>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  4 | /// Manipulate storage in a "all async" manner.
  5 | /// The completion closure will be called when operation completes.
  6 | public class AsyncStorage<Key: Hashable, Value> {
    |              `- note: generic class 'AsyncStorage' does not conform to the 'Sendable' protocol
  7 |   public let innerStorage: HybridStorage<Key, Value>
  8 |   public let serialQueue: DispatchQueue
    :
 69 |   public func removeAll(completion: @escaping (Result<(), Error>) -> Void) {
 70 |     serialQueue.async { [weak self] in
 71 |       guard let `self` = self else {
    |                          `- warning: capture of 'self' with non-sendable type 'AsyncStorage<Key, Value>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 72 |         completion(.failure(StorageError.deallocated))
 73 |         return
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:72:9: warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 70 |     serialQueue.async { [weak self] in
 71 |       guard let `self` = self else {
 72 |         completion(.failure(StorageError.deallocated))
    |         |- warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' 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'
 73 |         return
 74 |       }
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:87:26: warning: capture of 'self' with non-sendable type 'AsyncStorage<Key, Value>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  4 | /// Manipulate storage in a "all async" manner.
  5 | /// The completion closure will be called when operation completes.
  6 | public class AsyncStorage<Key: Hashable, Value> {
    |              `- note: generic class 'AsyncStorage' does not conform to the 'Sendable' protocol
  7 |   public let innerStorage: HybridStorage<Key, Value>
  8 |   public let serialQueue: DispatchQueue
    :
 85 |   public func removeExpiredObjects(completion: @escaping (Result<(), Error>) -> Void) {
 86 |     serialQueue.async { [weak self] in
 87 |       guard let `self` = self else {
    |                          `- warning: capture of 'self' with non-sendable type 'AsyncStorage<Key, Value>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 88 |         completion(.failure(StorageError.deallocated))
 89 |         return
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:88:9: warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 86 |     serialQueue.async { [weak self] in
 87 |       guard let `self` = self else {
 88 |         completion(.failure(StorageError.deallocated))
    |         |- warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' 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'
 89 |         return
 90 |       }
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:147:22: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
145 |     try await withCheckedThrowingContinuation { continuation in
146 |       entry(forKey: key) {
147 |         continuation.resume(with: $0)
    |                      |- warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: task-isolated '$0' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
148 |       }
149 |     }
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:190:22: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
188 |     try await withCheckedThrowingContinuation { continuation in
189 |       object(forKey: key) {
190 |         continuation.resume(with: $0)
    |                      |- warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: task-isolated '$0' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
191 |       }
192 |     }
[5/36] Compiling Cache DiskStorage.swift
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:19:26: warning: capture of 'self' with non-sendable type 'AsyncStorage<Key, Value>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  4 | /// Manipulate storage in a "all async" manner.
  5 | /// The completion closure will be called when operation completes.
  6 | public class AsyncStorage<Key: Hashable, Value> {
    |              `- note: generic class 'AsyncStorage' does not conform to the 'Sendable' protocol
  7 |   public let innerStorage: HybridStorage<Key, Value>
  8 |   public let serialQueue: DispatchQueue
    :
 17 |   public func entry(forKey key: Key, completion: @escaping (Result<Entry<Value>, Error>) -> Void) {
 18 |     serialQueue.async { [weak self] in
 19 |       guard let `self` = self else {
    |                          `- warning: capture of 'self' with non-sendable type 'AsyncStorage<Key, Value>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 20 |         completion(.failure(StorageError.deallocated))
 21 |         return
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:20:9: warning: capture of 'completion' with non-sendable type '(Result<Entry<Value>, any Error>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 18 |     serialQueue.async { [weak self] in
 19 |       guard let `self` = self else {
 20 |         completion(.failure(StorageError.deallocated))
    |         |- warning: capture of 'completion' with non-sendable type '(Result<Entry<Value>, any Error>) -> Void' 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'
 21 |         return
 22 |       }
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:25:59: warning: capture of 'key' with non-sendable type 'Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  4 | /// Manipulate storage in a "all async" manner.
  5 | /// The completion closure will be called when operation completes.
  6 | public class AsyncStorage<Key: Hashable, Value> {
    |                           `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
  7 |   public let innerStorage: HybridStorage<Key, Value>
  8 |   public let serialQueue: DispatchQueue
    :
 23 |
 24 |       do {
 25 |         let anEntry = try self.innerStorage.entry(forKey: key)
    |                                                           `- warning: capture of 'key' with non-sendable type 'Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 26 |         completion(.success(anEntry))
 27 |       } catch {
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:35:26: warning: capture of 'self' with non-sendable type 'AsyncStorage<Key, Value>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  4 | /// Manipulate storage in a "all async" manner.
  5 | /// The completion closure will be called when operation completes.
  6 | public class AsyncStorage<Key: Hashable, Value> {
    |              `- note: generic class 'AsyncStorage' does not conform to the 'Sendable' protocol
  7 |   public let innerStorage: HybridStorage<Key, Value>
  8 |   public let serialQueue: DispatchQueue
    :
 33 |   public func removeObject(forKey key: Key, completion: @escaping (Result<(), Error>) -> Void) {
 34 |     serialQueue.async { [weak self] in
 35 |       guard let `self` = self else {
    |                          `- warning: capture of 'self' with non-sendable type 'AsyncStorage<Key, Value>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 36 |         completion(.failure(StorageError.deallocated))
 37 |         return
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:36:9: warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 34 |     serialQueue.async { [weak self] in
 35 |       guard let `self` = self else {
 36 |         completion(.failure(StorageError.deallocated))
    |         |- warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' 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'
 37 |         return
 38 |       }
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:41:52: warning: capture of 'key' with non-sendable type 'Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  4 | /// Manipulate storage in a "all async" manner.
  5 | /// The completion closure will be called when operation completes.
  6 | public class AsyncStorage<Key: Hashable, Value> {
    |                           `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
  7 |   public let innerStorage: HybridStorage<Key, Value>
  8 |   public let serialQueue: DispatchQueue
    :
 39 |
 40 |       do {
 41 |         try self.innerStorage.removeObject(forKey: key)
    |                                                    `- warning: capture of 'key' with non-sendable type 'Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 42 |         completion(.success(()))
 43 |       } catch {
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:55:26: warning: capture of 'self' with non-sendable type 'AsyncStorage<Key, Value>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  4 | /// Manipulate storage in a "all async" manner.
  5 | /// The completion closure will be called when operation completes.
  6 | public class AsyncStorage<Key: Hashable, Value> {
    |              `- note: generic class 'AsyncStorage' does not conform to the 'Sendable' protocol
  7 |   public let innerStorage: HybridStorage<Key, Value>
  8 |   public let serialQueue: DispatchQueue
    :
 53 |     completion: @escaping (Result<(), Error>) -> Void) {
 54 |     serialQueue.async { [weak self] in
 55 |       guard let `self` = self else {
    |                          `- warning: capture of 'self' with non-sendable type 'AsyncStorage<Key, Value>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 56 |         completion(.failure(StorageError.deallocated))
 57 |         return
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:56:9: warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 54 |     serialQueue.async { [weak self] in
 55 |       guard let `self` = self else {
 56 |         completion(.failure(StorageError.deallocated))
    |         |- warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' 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'
 57 |         return
 58 |       }
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:61:41: warning: capture of 'object' with non-sendable type 'Value' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  4 | /// Manipulate storage in a "all async" manner.
  5 | /// The completion closure will be called when operation completes.
  6 | public class AsyncStorage<Key: Hashable, Value> {
    |                                          `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
  7 |   public let innerStorage: HybridStorage<Key, Value>
  8 |   public let serialQueue: DispatchQueue
    :
 59 |
 60 |       do {
 61 |         try self.innerStorage.setObject(object, forKey: key, expiry: expiry)
    |                                         `- warning: capture of 'object' with non-sendable type 'Value' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 62 |         completion(.success(()))
 63 |       } catch {
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:61:57: warning: capture of 'key' with non-sendable type 'Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  4 | /// Manipulate storage in a "all async" manner.
  5 | /// The completion closure will be called when operation completes.
  6 | public class AsyncStorage<Key: Hashable, Value> {
    |                           `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
  7 |   public let innerStorage: HybridStorage<Key, Value>
  8 |   public let serialQueue: DispatchQueue
    :
 59 |
 60 |       do {
 61 |         try self.innerStorage.setObject(object, forKey: key, expiry: expiry)
    |                                                         `- warning: capture of 'key' with non-sendable type 'Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 62 |         completion(.success(()))
 63 |       } catch {
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:61:70: warning: capture of 'expiry' with non-sendable type 'Expiry?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 59 |
 60 |       do {
 61 |         try self.innerStorage.setObject(object, forKey: key, expiry: expiry)
    |                                                                      `- warning: capture of 'expiry' with non-sendable type 'Expiry?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 62 |         completion(.success(()))
 63 |       } catch {
/host/spi-builder-workspace/Source/Shared/Library/Expiry.swift:6:13: note: consider making enum 'Expiry' conform to the 'Sendable' protocol
 4 |  Helper enum to set the expiration date
 5 |  */
 6 | public enum Expiry {
   |             `- note: consider making enum 'Expiry' conform to the 'Sendable' protocol
 7 |   /// Object will be expired in the nearest future
 8 |   case never
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:71:26: warning: capture of 'self' with non-sendable type 'AsyncStorage<Key, Value>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  4 | /// Manipulate storage in a "all async" manner.
  5 | /// The completion closure will be called when operation completes.
  6 | public class AsyncStorage<Key: Hashable, Value> {
    |              `- note: generic class 'AsyncStorage' does not conform to the 'Sendable' protocol
  7 |   public let innerStorage: HybridStorage<Key, Value>
  8 |   public let serialQueue: DispatchQueue
    :
 69 |   public func removeAll(completion: @escaping (Result<(), Error>) -> Void) {
 70 |     serialQueue.async { [weak self] in
 71 |       guard let `self` = self else {
    |                          `- warning: capture of 'self' with non-sendable type 'AsyncStorage<Key, Value>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 72 |         completion(.failure(StorageError.deallocated))
 73 |         return
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:72:9: warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 70 |     serialQueue.async { [weak self] in
 71 |       guard let `self` = self else {
 72 |         completion(.failure(StorageError.deallocated))
    |         |- warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' 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'
 73 |         return
 74 |       }
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:87:26: warning: capture of 'self' with non-sendable type 'AsyncStorage<Key, Value>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  4 | /// Manipulate storage in a "all async" manner.
  5 | /// The completion closure will be called when operation completes.
  6 | public class AsyncStorage<Key: Hashable, Value> {
    |              `- note: generic class 'AsyncStorage' does not conform to the 'Sendable' protocol
  7 |   public let innerStorage: HybridStorage<Key, Value>
  8 |   public let serialQueue: DispatchQueue
    :
 85 |   public func removeExpiredObjects(completion: @escaping (Result<(), Error>) -> Void) {
 86 |     serialQueue.async { [weak self] in
 87 |       guard let `self` = self else {
    |                          `- warning: capture of 'self' with non-sendable type 'AsyncStorage<Key, Value>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 88 |         completion(.failure(StorageError.deallocated))
 89 |         return
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:88:9: warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 86 |     serialQueue.async { [weak self] in
 87 |       guard let `self` = self else {
 88 |         completion(.failure(StorageError.deallocated))
    |         |- warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' 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'
 89 |         return
 90 |       }
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:147:22: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
145 |     try await withCheckedThrowingContinuation { continuation in
146 |       entry(forKey: key) {
147 |         continuation.resume(with: $0)
    |                      |- warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: task-isolated '$0' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
148 |       }
149 |     }
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:190:22: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
188 |     try await withCheckedThrowingContinuation { continuation in
189 |       object(forKey: key) {
190 |         continuation.resume(with: $0)
    |                      |- warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: task-isolated '$0' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
191 |       }
192 |     }
[6/36] Compiling Cache HybridStorage.swift
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:19:26: warning: capture of 'self' with non-sendable type 'AsyncStorage<Key, Value>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  4 | /// Manipulate storage in a "all async" manner.
  5 | /// The completion closure will be called when operation completes.
  6 | public class AsyncStorage<Key: Hashable, Value> {
    |              `- note: generic class 'AsyncStorage' does not conform to the 'Sendable' protocol
  7 |   public let innerStorage: HybridStorage<Key, Value>
  8 |   public let serialQueue: DispatchQueue
    :
 17 |   public func entry(forKey key: Key, completion: @escaping (Result<Entry<Value>, Error>) -> Void) {
 18 |     serialQueue.async { [weak self] in
 19 |       guard let `self` = self else {
    |                          `- warning: capture of 'self' with non-sendable type 'AsyncStorage<Key, Value>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 20 |         completion(.failure(StorageError.deallocated))
 21 |         return
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:20:9: warning: capture of 'completion' with non-sendable type '(Result<Entry<Value>, any Error>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 18 |     serialQueue.async { [weak self] in
 19 |       guard let `self` = self else {
 20 |         completion(.failure(StorageError.deallocated))
    |         |- warning: capture of 'completion' with non-sendable type '(Result<Entry<Value>, any Error>) -> Void' 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'
 21 |         return
 22 |       }
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:25:59: warning: capture of 'key' with non-sendable type 'Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  4 | /// Manipulate storage in a "all async" manner.
  5 | /// The completion closure will be called when operation completes.
  6 | public class AsyncStorage<Key: Hashable, Value> {
    |                           `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
  7 |   public let innerStorage: HybridStorage<Key, Value>
  8 |   public let serialQueue: DispatchQueue
    :
 23 |
 24 |       do {
 25 |         let anEntry = try self.innerStorage.entry(forKey: key)
    |                                                           `- warning: capture of 'key' with non-sendable type 'Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 26 |         completion(.success(anEntry))
 27 |       } catch {
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:35:26: warning: capture of 'self' with non-sendable type 'AsyncStorage<Key, Value>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  4 | /// Manipulate storage in a "all async" manner.
  5 | /// The completion closure will be called when operation completes.
  6 | public class AsyncStorage<Key: Hashable, Value> {
    |              `- note: generic class 'AsyncStorage' does not conform to the 'Sendable' protocol
  7 |   public let innerStorage: HybridStorage<Key, Value>
  8 |   public let serialQueue: DispatchQueue
    :
 33 |   public func removeObject(forKey key: Key, completion: @escaping (Result<(), Error>) -> Void) {
 34 |     serialQueue.async { [weak self] in
 35 |       guard let `self` = self else {
    |                          `- warning: capture of 'self' with non-sendable type 'AsyncStorage<Key, Value>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 36 |         completion(.failure(StorageError.deallocated))
 37 |         return
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:36:9: warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 34 |     serialQueue.async { [weak self] in
 35 |       guard let `self` = self else {
 36 |         completion(.failure(StorageError.deallocated))
    |         |- warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' 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'
 37 |         return
 38 |       }
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:41:52: warning: capture of 'key' with non-sendable type 'Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  4 | /// Manipulate storage in a "all async" manner.
  5 | /// The completion closure will be called when operation completes.
  6 | public class AsyncStorage<Key: Hashable, Value> {
    |                           `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
  7 |   public let innerStorage: HybridStorage<Key, Value>
  8 |   public let serialQueue: DispatchQueue
    :
 39 |
 40 |       do {
 41 |         try self.innerStorage.removeObject(forKey: key)
    |                                                    `- warning: capture of 'key' with non-sendable type 'Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 42 |         completion(.success(()))
 43 |       } catch {
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:55:26: warning: capture of 'self' with non-sendable type 'AsyncStorage<Key, Value>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  4 | /// Manipulate storage in a "all async" manner.
  5 | /// The completion closure will be called when operation completes.
  6 | public class AsyncStorage<Key: Hashable, Value> {
    |              `- note: generic class 'AsyncStorage' does not conform to the 'Sendable' protocol
  7 |   public let innerStorage: HybridStorage<Key, Value>
  8 |   public let serialQueue: DispatchQueue
    :
 53 |     completion: @escaping (Result<(), Error>) -> Void) {
 54 |     serialQueue.async { [weak self] in
 55 |       guard let `self` = self else {
    |                          `- warning: capture of 'self' with non-sendable type 'AsyncStorage<Key, Value>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 56 |         completion(.failure(StorageError.deallocated))
 57 |         return
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:56:9: warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 54 |     serialQueue.async { [weak self] in
 55 |       guard let `self` = self else {
 56 |         completion(.failure(StorageError.deallocated))
    |         |- warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' 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'
 57 |         return
 58 |       }
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:61:41: warning: capture of 'object' with non-sendable type 'Value' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  4 | /// Manipulate storage in a "all async" manner.
  5 | /// The completion closure will be called when operation completes.
  6 | public class AsyncStorage<Key: Hashable, Value> {
    |                                          `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
  7 |   public let innerStorage: HybridStorage<Key, Value>
  8 |   public let serialQueue: DispatchQueue
    :
 59 |
 60 |       do {
 61 |         try self.innerStorage.setObject(object, forKey: key, expiry: expiry)
    |                                         `- warning: capture of 'object' with non-sendable type 'Value' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 62 |         completion(.success(()))
 63 |       } catch {
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:61:57: warning: capture of 'key' with non-sendable type 'Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  4 | /// Manipulate storage in a "all async" manner.
  5 | /// The completion closure will be called when operation completes.
  6 | public class AsyncStorage<Key: Hashable, Value> {
    |                           `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
  7 |   public let innerStorage: HybridStorage<Key, Value>
  8 |   public let serialQueue: DispatchQueue
    :
 59 |
 60 |       do {
 61 |         try self.innerStorage.setObject(object, forKey: key, expiry: expiry)
    |                                                         `- warning: capture of 'key' with non-sendable type 'Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 62 |         completion(.success(()))
 63 |       } catch {
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:61:70: warning: capture of 'expiry' with non-sendable type 'Expiry?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 59 |
 60 |       do {
 61 |         try self.innerStorage.setObject(object, forKey: key, expiry: expiry)
    |                                                                      `- warning: capture of 'expiry' with non-sendable type 'Expiry?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 62 |         completion(.success(()))
 63 |       } catch {
/host/spi-builder-workspace/Source/Shared/Library/Expiry.swift:6:13: note: consider making enum 'Expiry' conform to the 'Sendable' protocol
 4 |  Helper enum to set the expiration date
 5 |  */
 6 | public enum Expiry {
   |             `- note: consider making enum 'Expiry' conform to the 'Sendable' protocol
 7 |   /// Object will be expired in the nearest future
 8 |   case never
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:71:26: warning: capture of 'self' with non-sendable type 'AsyncStorage<Key, Value>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  4 | /// Manipulate storage in a "all async" manner.
  5 | /// The completion closure will be called when operation completes.
  6 | public class AsyncStorage<Key: Hashable, Value> {
    |              `- note: generic class 'AsyncStorage' does not conform to the 'Sendable' protocol
  7 |   public let innerStorage: HybridStorage<Key, Value>
  8 |   public let serialQueue: DispatchQueue
    :
 69 |   public func removeAll(completion: @escaping (Result<(), Error>) -> Void) {
 70 |     serialQueue.async { [weak self] in
 71 |       guard let `self` = self else {
    |                          `- warning: capture of 'self' with non-sendable type 'AsyncStorage<Key, Value>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 72 |         completion(.failure(StorageError.deallocated))
 73 |         return
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:72:9: warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 70 |     serialQueue.async { [weak self] in
 71 |       guard let `self` = self else {
 72 |         completion(.failure(StorageError.deallocated))
    |         |- warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' 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'
 73 |         return
 74 |       }
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:87:26: warning: capture of 'self' with non-sendable type 'AsyncStorage<Key, Value>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  4 | /// Manipulate storage in a "all async" manner.
  5 | /// The completion closure will be called when operation completes.
  6 | public class AsyncStorage<Key: Hashable, Value> {
    |              `- note: generic class 'AsyncStorage' does not conform to the 'Sendable' protocol
  7 |   public let innerStorage: HybridStorage<Key, Value>
  8 |   public let serialQueue: DispatchQueue
    :
 85 |   public func removeExpiredObjects(completion: @escaping (Result<(), Error>) -> Void) {
 86 |     serialQueue.async { [weak self] in
 87 |       guard let `self` = self else {
    |                          `- warning: capture of 'self' with non-sendable type 'AsyncStorage<Key, Value>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 88 |         completion(.failure(StorageError.deallocated))
 89 |         return
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:88:9: warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 86 |     serialQueue.async { [weak self] in
 87 |       guard let `self` = self else {
 88 |         completion(.failure(StorageError.deallocated))
    |         |- warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' 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'
 89 |         return
 90 |       }
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:147:22: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
145 |     try await withCheckedThrowingContinuation { continuation in
146 |       entry(forKey: key) {
147 |         continuation.resume(with: $0)
    |                      |- warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: task-isolated '$0' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
148 |       }
149 |     }
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:190:22: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
188 |     try await withCheckedThrowingContinuation { continuation in
189 |       object(forKey: key) {
190 |         continuation.resume(with: $0)
    |                      |- warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: task-isolated '$0' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
191 |       }
192 |     }
[7/36] Compiling Cache KeyObservationRegistry.swift
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:19:26: warning: capture of 'self' with non-sendable type 'AsyncStorage<Key, Value>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  4 | /// Manipulate storage in a "all async" manner.
  5 | /// The completion closure will be called when operation completes.
  6 | public class AsyncStorage<Key: Hashable, Value> {
    |              `- note: generic class 'AsyncStorage' does not conform to the 'Sendable' protocol
  7 |   public let innerStorage: HybridStorage<Key, Value>
  8 |   public let serialQueue: DispatchQueue
    :
 17 |   public func entry(forKey key: Key, completion: @escaping (Result<Entry<Value>, Error>) -> Void) {
 18 |     serialQueue.async { [weak self] in
 19 |       guard let `self` = self else {
    |                          `- warning: capture of 'self' with non-sendable type 'AsyncStorage<Key, Value>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 20 |         completion(.failure(StorageError.deallocated))
 21 |         return
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:20:9: warning: capture of 'completion' with non-sendable type '(Result<Entry<Value>, any Error>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 18 |     serialQueue.async { [weak self] in
 19 |       guard let `self` = self else {
 20 |         completion(.failure(StorageError.deallocated))
    |         |- warning: capture of 'completion' with non-sendable type '(Result<Entry<Value>, any Error>) -> Void' 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'
 21 |         return
 22 |       }
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:25:59: warning: capture of 'key' with non-sendable type 'Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  4 | /// Manipulate storage in a "all async" manner.
  5 | /// The completion closure will be called when operation completes.
  6 | public class AsyncStorage<Key: Hashable, Value> {
    |                           `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
  7 |   public let innerStorage: HybridStorage<Key, Value>
  8 |   public let serialQueue: DispatchQueue
    :
 23 |
 24 |       do {
 25 |         let anEntry = try self.innerStorage.entry(forKey: key)
    |                                                           `- warning: capture of 'key' with non-sendable type 'Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 26 |         completion(.success(anEntry))
 27 |       } catch {
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:35:26: warning: capture of 'self' with non-sendable type 'AsyncStorage<Key, Value>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  4 | /// Manipulate storage in a "all async" manner.
  5 | /// The completion closure will be called when operation completes.
  6 | public class AsyncStorage<Key: Hashable, Value> {
    |              `- note: generic class 'AsyncStorage' does not conform to the 'Sendable' protocol
  7 |   public let innerStorage: HybridStorage<Key, Value>
  8 |   public let serialQueue: DispatchQueue
    :
 33 |   public func removeObject(forKey key: Key, completion: @escaping (Result<(), Error>) -> Void) {
 34 |     serialQueue.async { [weak self] in
 35 |       guard let `self` = self else {
    |                          `- warning: capture of 'self' with non-sendable type 'AsyncStorage<Key, Value>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 36 |         completion(.failure(StorageError.deallocated))
 37 |         return
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:36:9: warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 34 |     serialQueue.async { [weak self] in
 35 |       guard let `self` = self else {
 36 |         completion(.failure(StorageError.deallocated))
    |         |- warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' 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'
 37 |         return
 38 |       }
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:41:52: warning: capture of 'key' with non-sendable type 'Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  4 | /// Manipulate storage in a "all async" manner.
  5 | /// The completion closure will be called when operation completes.
  6 | public class AsyncStorage<Key: Hashable, Value> {
    |                           `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
  7 |   public let innerStorage: HybridStorage<Key, Value>
  8 |   public let serialQueue: DispatchQueue
    :
 39 |
 40 |       do {
 41 |         try self.innerStorage.removeObject(forKey: key)
    |                                                    `- warning: capture of 'key' with non-sendable type 'Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 42 |         completion(.success(()))
 43 |       } catch {
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:55:26: warning: capture of 'self' with non-sendable type 'AsyncStorage<Key, Value>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  4 | /// Manipulate storage in a "all async" manner.
  5 | /// The completion closure will be called when operation completes.
  6 | public class AsyncStorage<Key: Hashable, Value> {
    |              `- note: generic class 'AsyncStorage' does not conform to the 'Sendable' protocol
  7 |   public let innerStorage: HybridStorage<Key, Value>
  8 |   public let serialQueue: DispatchQueue
    :
 53 |     completion: @escaping (Result<(), Error>) -> Void) {
 54 |     serialQueue.async { [weak self] in
 55 |       guard let `self` = self else {
    |                          `- warning: capture of 'self' with non-sendable type 'AsyncStorage<Key, Value>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 56 |         completion(.failure(StorageError.deallocated))
 57 |         return
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:56:9: warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 54 |     serialQueue.async { [weak self] in
 55 |       guard let `self` = self else {
 56 |         completion(.failure(StorageError.deallocated))
    |         |- warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' 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'
 57 |         return
 58 |       }
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:61:41: warning: capture of 'object' with non-sendable type 'Value' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  4 | /// Manipulate storage in a "all async" manner.
  5 | /// The completion closure will be called when operation completes.
  6 | public class AsyncStorage<Key: Hashable, Value> {
    |                                          `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
  7 |   public let innerStorage: HybridStorage<Key, Value>
  8 |   public let serialQueue: DispatchQueue
    :
 59 |
 60 |       do {
 61 |         try self.innerStorage.setObject(object, forKey: key, expiry: expiry)
    |                                         `- warning: capture of 'object' with non-sendable type 'Value' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 62 |         completion(.success(()))
 63 |       } catch {
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:61:57: warning: capture of 'key' with non-sendable type 'Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  4 | /// Manipulate storage in a "all async" manner.
  5 | /// The completion closure will be called when operation completes.
  6 | public class AsyncStorage<Key: Hashable, Value> {
    |                           `- note: consider making generic parameter 'Key' conform to the 'Sendable' protocol
  7 |   public let innerStorage: HybridStorage<Key, Value>
  8 |   public let serialQueue: DispatchQueue
    :
 59 |
 60 |       do {
 61 |         try self.innerStorage.setObject(object, forKey: key, expiry: expiry)
    |                                                         `- warning: capture of 'key' with non-sendable type 'Key' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 62 |         completion(.success(()))
 63 |       } catch {
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:61:70: warning: capture of 'expiry' with non-sendable type 'Expiry?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 59 |
 60 |       do {
 61 |         try self.innerStorage.setObject(object, forKey: key, expiry: expiry)
    |                                                                      `- warning: capture of 'expiry' with non-sendable type 'Expiry?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 62 |         completion(.success(()))
 63 |       } catch {
/host/spi-builder-workspace/Source/Shared/Library/Expiry.swift:6:13: note: consider making enum 'Expiry' conform to the 'Sendable' protocol
 4 |  Helper enum to set the expiration date
 5 |  */
 6 | public enum Expiry {
   |             `- note: consider making enum 'Expiry' conform to the 'Sendable' protocol
 7 |   /// Object will be expired in the nearest future
 8 |   case never
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:71:26: warning: capture of 'self' with non-sendable type 'AsyncStorage<Key, Value>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  4 | /// Manipulate storage in a "all async" manner.
  5 | /// The completion closure will be called when operation completes.
  6 | public class AsyncStorage<Key: Hashable, Value> {
    |              `- note: generic class 'AsyncStorage' does not conform to the 'Sendable' protocol
  7 |   public let innerStorage: HybridStorage<Key, Value>
  8 |   public let serialQueue: DispatchQueue
    :
 69 |   public func removeAll(completion: @escaping (Result<(), Error>) -> Void) {
 70 |     serialQueue.async { [weak self] in
 71 |       guard let `self` = self else {
    |                          `- warning: capture of 'self' with non-sendable type 'AsyncStorage<Key, Value>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 72 |         completion(.failure(StorageError.deallocated))
 73 |         return
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:72:9: warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 70 |     serialQueue.async { [weak self] in
 71 |       guard let `self` = self else {
 72 |         completion(.failure(StorageError.deallocated))
    |         |- warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' 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'
 73 |         return
 74 |       }
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:87:26: warning: capture of 'self' with non-sendable type 'AsyncStorage<Key, Value>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  4 | /// Manipulate storage in a "all async" manner.
  5 | /// The completion closure will be called when operation completes.
  6 | public class AsyncStorage<Key: Hashable, Value> {
    |              `- note: generic class 'AsyncStorage' does not conform to the 'Sendable' protocol
  7 |   public let innerStorage: HybridStorage<Key, Value>
  8 |   public let serialQueue: DispatchQueue
    :
 85 |   public func removeExpiredObjects(completion: @escaping (Result<(), Error>) -> Void) {
 86 |     serialQueue.async { [weak self] in
 87 |       guard let `self` = self else {
    |                          `- warning: capture of 'self' with non-sendable type 'AsyncStorage<Key, Value>?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 88 |         completion(.failure(StorageError.deallocated))
 89 |         return
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:88:9: warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 86 |     serialQueue.async { [weak self] in
 87 |       guard let `self` = self else {
 88 |         completion(.failure(StorageError.deallocated))
    |         |- warning: capture of 'completion' with non-sendable type '(Result<(), any Error>) -> Void' 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'
 89 |         return
 90 |       }
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:147:22: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
145 |     try await withCheckedThrowingContinuation { continuation in
146 |       entry(forKey: key) {
147 |         continuation.resume(with: $0)
    |                      |- warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: task-isolated '$0' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
148 |       }
149 |     }
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:190:22: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
188 |     try await withCheckedThrowingContinuation { continuation in
189 |       object(forKey: key) {
190 |         continuation.resume(with: $0)
    |                      |- warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: task-isolated '$0' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
191 |       }
192 |     }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/40] Emitting module Cache
/host/spi-builder-workspace/Source/Shared/Library/ImageWrapper.swift:8:21: error: cannot find type 'Image' in scope
 6 |
 7 | public struct ImageWrapper: Codable {
 8 |   public let image: Image
   |                     `- error: cannot find type 'Image' in scope
 9 |
10 |   public enum CodingKeys: String, CodingKey {
/host/spi-builder-workspace/Source/Shared/Library/ImageWrapper.swift:14:22: error: cannot find type 'Image' in scope
12 |   }
13 |
14 |   public init(image: Image) {
   |                      `- error: cannot find type 'Image' in scope
15 |     self.image = image
16 |   }
/host/spi-builder-workspace/Source/Shared/Library/TransformerFactory.swift:16:48: error: cannot find type 'Image' in scope
14 |   }
15 |
16 |   public static func forImage() -> Transformer<Image> {
   |                                                `- error: cannot find type 'Image' in scope
17 |     let toData: (Image) throws -> Data = { image in
18 |       return try image.cache_toData().unwrapOrThrow(error: StorageError.transformerFail)
/host/spi-builder-workspace/Source/Shared/Storage/Storage+Transform.swift:14:41: error: cannot find type 'Image' in scope
12 |
13 |
14 |   func transformImage() -> Storage<Key, Image> {
   |                                         `- error: cannot find type 'Image' in scope
15 |     let storage = transform(transformer: TransformerFactory.forImage())
16 |     return storage
[9/40] Compiling Cache MemoryStorage.swift
/host/spi-builder-workspace/Source/Shared/Storage/Storage+Transform.swift:14:41: error: cannot find type 'Image' in scope
12 |
13 |
14 |   func transformImage() -> Storage<Key, Image> {
   |                                         `- error: cannot find type 'Image' in scope
15 |     let storage = transform(transformer: TransformerFactory.forImage())
16 |     return storage
/host/spi-builder-workspace/Source/Shared/Library/TransformerFactory.swift:16:48: error: cannot find type 'Image' in scope
14 |   }
15 |
16 |   public static func forImage() -> Transformer<Image> {
   |                                                `- error: cannot find type 'Image' in scope
17 |     let toData: (Image) throws -> Data = { image in
18 |       return try image.cache_toData().unwrapOrThrow(error: StorageError.transformerFail)
/host/spi-builder-workspace/Source/Shared/Storage/Storage+Transform.swift:15:19: error: generic parameter 'U' could not be inferred
13 |
14 |   func transformImage() -> Storage<Key, Image> {
15 |     let storage = transform(transformer: TransformerFactory.forImage())
   |                   `- error: generic parameter 'U' could not be inferred
16 |     return storage
17 |   }
/host/spi-builder-workspace/Source/Shared/Storage/Storage.swift:80:8: note: in call to function 'transform(transformer:)'
 78 |
 79 | public extension Storage {
 80 |   func transform<U>(transformer: Transformer<U>) -> Storage<Key, U> {
    |        `- note: in call to function 'transform(transformer:)'
 81 |     return Storage<Key, U>(hybridStorage: hybridStorage.transform(transformer: transformer))
 82 |   }
[10/40] Compiling Cache Storage+Transform.swift
/host/spi-builder-workspace/Source/Shared/Storage/Storage+Transform.swift:14:41: error: cannot find type 'Image' in scope
12 |
13 |
14 |   func transformImage() -> Storage<Key, Image> {
   |                                         `- error: cannot find type 'Image' in scope
15 |     let storage = transform(transformer: TransformerFactory.forImage())
16 |     return storage
/host/spi-builder-workspace/Source/Shared/Library/TransformerFactory.swift:16:48: error: cannot find type 'Image' in scope
14 |   }
15 |
16 |   public static func forImage() -> Transformer<Image> {
   |                                                `- error: cannot find type 'Image' in scope
17 |     let toData: (Image) throws -> Data = { image in
18 |       return try image.cache_toData().unwrapOrThrow(error: StorageError.transformerFail)
/host/spi-builder-workspace/Source/Shared/Storage/Storage+Transform.swift:15:19: error: generic parameter 'U' could not be inferred
13 |
14 |   func transformImage() -> Storage<Key, Image> {
15 |     let storage = transform(transformer: TransformerFactory.forImage())
   |                   `- error: generic parameter 'U' could not be inferred
16 |     return storage
17 |   }
/host/spi-builder-workspace/Source/Shared/Storage/Storage.swift:80:8: note: in call to function 'transform(transformer:)'
 78 |
 79 | public extension Storage {
 80 |   func transform<U>(transformer: Transformer<U>) -> Storage<Key, U> {
    |        `- note: in call to function 'transform(transformer:)'
 81 |     return Storage<Key, U>(hybridStorage: hybridStorage.transform(transformer: transformer))
 82 |   }
[11/40] Compiling Cache Storage.swift
/host/spi-builder-workspace/Source/Shared/Storage/Storage+Transform.swift:14:41: error: cannot find type 'Image' in scope
12 |
13 |
14 |   func transformImage() -> Storage<Key, Image> {
   |                                         `- error: cannot find type 'Image' in scope
15 |     let storage = transform(transformer: TransformerFactory.forImage())
16 |     return storage
/host/spi-builder-workspace/Source/Shared/Library/TransformerFactory.swift:16:48: error: cannot find type 'Image' in scope
14 |   }
15 |
16 |   public static func forImage() -> Transformer<Image> {
   |                                                `- error: cannot find type 'Image' in scope
17 |     let toData: (Image) throws -> Data = { image in
18 |       return try image.cache_toData().unwrapOrThrow(error: StorageError.transformerFail)
/host/spi-builder-workspace/Source/Shared/Storage/Storage+Transform.swift:15:19: error: generic parameter 'U' could not be inferred
13 |
14 |   func transformImage() -> Storage<Key, Image> {
15 |     let storage = transform(transformer: TransformerFactory.forImage())
   |                   `- error: generic parameter 'U' could not be inferred
16 |     return storage
17 |   }
/host/spi-builder-workspace/Source/Shared/Storage/Storage.swift:80:8: note: in call to function 'transform(transformer:)'
 78 |
 79 | public extension Storage {
 80 |   func transform<U>(transformer: Transformer<U>) -> Storage<Key, U> {
    |        `- note: in call to function 'transform(transformer:)'
 81 |     return Storage<Key, U>(hybridStorage: hybridStorage.transform(transformer: transformer))
 82 |   }
[12/40] Compiling Cache StorageAware.swift
/host/spi-builder-workspace/Source/Shared/Storage/Storage+Transform.swift:14:41: error: cannot find type 'Image' in scope
12 |
13 |
14 |   func transformImage() -> Storage<Key, Image> {
   |                                         `- error: cannot find type 'Image' in scope
15 |     let storage = transform(transformer: TransformerFactory.forImage())
16 |     return storage
/host/spi-builder-workspace/Source/Shared/Library/TransformerFactory.swift:16:48: error: cannot find type 'Image' in scope
14 |   }
15 |
16 |   public static func forImage() -> Transformer<Image> {
   |                                                `- error: cannot find type 'Image' in scope
17 |     let toData: (Image) throws -> Data = { image in
18 |       return try image.cache_toData().unwrapOrThrow(error: StorageError.transformerFail)
/host/spi-builder-workspace/Source/Shared/Storage/Storage+Transform.swift:15:19: error: generic parameter 'U' could not be inferred
13 |
14 |   func transformImage() -> Storage<Key, Image> {
15 |     let storage = transform(transformer: TransformerFactory.forImage())
   |                   `- error: generic parameter 'U' could not be inferred
16 |     return storage
17 |   }
/host/spi-builder-workspace/Source/Shared/Storage/Storage.swift:80:8: note: in call to function 'transform(transformer:)'
 78 |
 79 | public extension Storage {
 80 |   func transform<U>(transformer: Transformer<U>) -> Storage<Key, U> {
    |        `- note: in call to function 'transform(transformer:)'
 81 |     return Storage<Key, U>(hybridStorage: hybridStorage.transform(transformer: transformer))
 82 |   }
[13/40] Compiling Cache Transformer.swift
/host/spi-builder-workspace/Source/Shared/Library/TransformerFactory.swift:16:48: error: cannot find type 'Image' in scope
14 |   }
15 |
16 |   public static func forImage() -> Transformer<Image> {
   |                                                `- error: cannot find type 'Image' in scope
17 |     let toData: (Image) throws -> Data = { image in
18 |       return try image.cache_toData().unwrapOrThrow(error: StorageError.transformerFail)
/host/spi-builder-workspace/Source/Shared/Library/TransformerFactory.swift:17:18: error: cannot find type 'Image' in scope
15 |
16 |   public static func forImage() -> Transformer<Image> {
17 |     let toData: (Image) throws -> Data = { image in
   |                  `- error: cannot find type 'Image' in scope
18 |       return try image.cache_toData().unwrapOrThrow(error: StorageError.transformerFail)
19 |     }
/host/spi-builder-workspace/Source/Shared/Library/TransformerFactory.swift:21:36: error: cannot find type 'Image' in scope
19 |     }
20 |
21 |     let fromData: (Data) throws -> Image = { data in
   |                                    `- error: cannot find type 'Image' in scope
22 |       return try Image(data: data).unwrapOrThrow(error: StorageError.transformerFail)
23 |     }
[14/40] Compiling Cache TransformerFactory.swift
/host/spi-builder-workspace/Source/Shared/Library/TransformerFactory.swift:16:48: error: cannot find type 'Image' in scope
14 |   }
15 |
16 |   public static func forImage() -> Transformer<Image> {
   |                                                `- error: cannot find type 'Image' in scope
17 |     let toData: (Image) throws -> Data = { image in
18 |       return try image.cache_toData().unwrapOrThrow(error: StorageError.transformerFail)
/host/spi-builder-workspace/Source/Shared/Library/TransformerFactory.swift:17:18: error: cannot find type 'Image' in scope
15 |
16 |   public static func forImage() -> Transformer<Image> {
17 |     let toData: (Image) throws -> Data = { image in
   |                  `- error: cannot find type 'Image' in scope
18 |       return try image.cache_toData().unwrapOrThrow(error: StorageError.transformerFail)
19 |     }
/host/spi-builder-workspace/Source/Shared/Library/TransformerFactory.swift:21:36: error: cannot find type 'Image' in scope
19 |     }
20 |
21 |     let fromData: (Data) throws -> Image = { data in
   |                                    `- error: cannot find type 'Image' in scope
22 |       return try Image(data: data).unwrapOrThrow(error: StorageError.transformerFail)
23 |     }
[15/40] Compiling Cache TypeWrapper.swift
/host/spi-builder-workspace/Source/Shared/Library/TransformerFactory.swift:16:48: error: cannot find type 'Image' in scope
14 |   }
15 |
16 |   public static func forImage() -> Transformer<Image> {
   |                                                `- error: cannot find type 'Image' in scope
17 |     let toData: (Image) throws -> Data = { image in
18 |       return try image.cache_toData().unwrapOrThrow(error: StorageError.transformerFail)
/host/spi-builder-workspace/Source/Shared/Library/TransformerFactory.swift:17:18: error: cannot find type 'Image' in scope
15 |
16 |   public static func forImage() -> Transformer<Image> {
17 |     let toData: (Image) throws -> Data = { image in
   |                  `- error: cannot find type 'Image' in scope
18 |       return try image.cache_toData().unwrapOrThrow(error: StorageError.transformerFail)
19 |     }
/host/spi-builder-workspace/Source/Shared/Library/TransformerFactory.swift:21:36: error: cannot find type 'Image' in scope
19 |     }
20 |
21 |     let fromData: (Data) throws -> Image = { data in
   |                                    `- error: cannot find type 'Image' in scope
22 |       return try Image(data: data).unwrapOrThrow(error: StorageError.transformerFail)
23 |     }
[16/40] Compiling Cache Types.swift
/host/spi-builder-workspace/Source/Shared/Library/TransformerFactory.swift:16:48: error: cannot find type 'Image' in scope
14 |   }
15 |
16 |   public static func forImage() -> Transformer<Image> {
   |                                                `- error: cannot find type 'Image' in scope
17 |     let toData: (Image) throws -> Data = { image in
18 |       return try image.cache_toData().unwrapOrThrow(error: StorageError.transformerFail)
/host/spi-builder-workspace/Source/Shared/Library/TransformerFactory.swift:17:18: error: cannot find type 'Image' in scope
15 |
16 |   public static func forImage() -> Transformer<Image> {
17 |     let toData: (Image) throws -> Data = { image in
   |                  `- error: cannot find type 'Image' in scope
18 |       return try image.cache_toData().unwrapOrThrow(error: StorageError.transformerFail)
19 |     }
/host/spi-builder-workspace/Source/Shared/Library/TransformerFactory.swift:21:36: error: cannot find type 'Image' in scope
19 |     }
20 |
21 |     let fromData: (Data) throws -> Image = { data in
   |                                    `- error: cannot find type 'Image' in scope
22 |       return try Image(data: data).unwrapOrThrow(error: StorageError.transformerFail)
23 |     }
[17/40] Compiling Cache ExpirationMode.swift
/host/spi-builder-workspace/Source/Shared/Library/ImageWrapper.swift:8:21: error: cannot find type 'Image' in scope
 6 |
 7 | public struct ImageWrapper: Codable {
 8 |   public let image: Image
   |                     `- error: cannot find type 'Image' in scope
 9 |
10 |   public enum CodingKeys: String, CodingKey {
/host/spi-builder-workspace/Source/Shared/Library/ImageWrapper.swift:14:22: error: cannot find type 'Image' in scope
12 |   }
13 |
14 |   public init(image: Image) {
   |                      `- error: cannot find type 'Image' in scope
15 |     self.image = image
16 |   }
/host/spi-builder-workspace/Source/Shared/Library/ImageWrapper.swift:21:23: error: cannot find 'Image' in scope
19 |     let container = try decoder.container(keyedBy: CodingKeys.self)
20 |     let data = try container.decode(Data.self, forKey: CodingKeys.image)
21 |     guard let image = Image(data: data) else {
   |                       `- error: cannot find 'Image' in scope
22 |       throw StorageError.decodingFailed
23 |     }
[18/40] Compiling Cache Expiry.swift
/host/spi-builder-workspace/Source/Shared/Library/ImageWrapper.swift:8:21: error: cannot find type 'Image' in scope
 6 |
 7 | public struct ImageWrapper: Codable {
 8 |   public let image: Image
   |                     `- error: cannot find type 'Image' in scope
 9 |
10 |   public enum CodingKeys: String, CodingKey {
/host/spi-builder-workspace/Source/Shared/Library/ImageWrapper.swift:14:22: error: cannot find type 'Image' in scope
12 |   }
13 |
14 |   public init(image: Image) {
   |                      `- error: cannot find type 'Image' in scope
15 |     self.image = image
16 |   }
/host/spi-builder-workspace/Source/Shared/Library/ImageWrapper.swift:21:23: error: cannot find 'Image' in scope
19 |     let container = try decoder.container(keyedBy: CodingKeys.self)
20 |     let data = try container.decode(Data.self, forKey: CodingKeys.image)
21 |     guard let image = Image(data: data) else {
   |                       `- error: cannot find 'Image' in scope
22 |       throw StorageError.decodingFailed
23 |     }
[19/40] Compiling Cache ImageWrapper.swift
/host/spi-builder-workspace/Source/Shared/Library/ImageWrapper.swift:8:21: error: cannot find type 'Image' in scope
 6 |
 7 | public struct ImageWrapper: Codable {
 8 |   public let image: Image
   |                     `- error: cannot find type 'Image' in scope
 9 |
10 |   public enum CodingKeys: String, CodingKey {
/host/spi-builder-workspace/Source/Shared/Library/ImageWrapper.swift:14:22: error: cannot find type 'Image' in scope
12 |   }
13 |
14 |   public init(image: Image) {
   |                      `- error: cannot find type 'Image' in scope
15 |     self.image = image
16 |   }
/host/spi-builder-workspace/Source/Shared/Library/ImageWrapper.swift:21:23: error: cannot find 'Image' in scope
19 |     let container = try decoder.container(keyedBy: CodingKeys.self)
20 |     let data = try container.decode(Data.self, forKey: CodingKeys.image)
21 |     guard let image = Image(data: data) else {
   |                       `- error: cannot find 'Image' in scope
22 |       throw StorageError.decodingFailed
23 |     }
[20/40] Compiling Cache JSONArrayWrapper.swift
/host/spi-builder-workspace/Source/Shared/Library/ImageWrapper.swift:8:21: error: cannot find type 'Image' in scope
 6 |
 7 | public struct ImageWrapper: Codable {
 8 |   public let image: Image
   |                     `- error: cannot find type 'Image' in scope
 9 |
10 |   public enum CodingKeys: String, CodingKey {
/host/spi-builder-workspace/Source/Shared/Library/ImageWrapper.swift:14:22: error: cannot find type 'Image' in scope
12 |   }
13 |
14 |   public init(image: Image) {
   |                      `- error: cannot find type 'Image' in scope
15 |     self.image = image
16 |   }
/host/spi-builder-workspace/Source/Shared/Library/ImageWrapper.swift:21:23: error: cannot find 'Image' in scope
19 |     let container = try decoder.container(keyedBy: CodingKeys.self)
20 |     let data = try container.decode(Data.self, forKey: CodingKeys.image)
21 |     guard let image = Image(data: data) else {
   |                       `- error: cannot find 'Image' in scope
22 |       throw StorageError.decodingFailed
23 |     }
[21/40] Compiling Cache JSONDictionaryWrapper.swift
/host/spi-builder-workspace/Source/Shared/Library/ImageWrapper.swift:8:21: error: cannot find type 'Image' in scope
 6 |
 7 | public struct ImageWrapper: Codable {
 8 |   public let image: Image
   |                     `- error: cannot find type 'Image' in scope
 9 |
10 |   public enum CodingKeys: String, CodingKey {
/host/spi-builder-workspace/Source/Shared/Library/ImageWrapper.swift:14:22: error: cannot find type 'Image' in scope
12 |   }
13 |
14 |   public init(image: Image) {
   |                      `- error: cannot find type 'Image' in scope
15 |     self.image = image
16 |   }
/host/spi-builder-workspace/Source/Shared/Library/ImageWrapper.swift:21:23: error: cannot find 'Image' in scope
19 |     let container = try decoder.container(keyedBy: CodingKeys.self)
20 |     let data = try container.decode(Data.self, forKey: CodingKeys.image)
21 |     guard let image = Image(data: data) else {
   |                       `- error: cannot find 'Image' in scope
22 |       throw StorageError.decodingFailed
23 |     }
[22/40] Compiling Cache MD5.swift
[23/40] Compiling Cache MemoryCapsule.swift
[24/40] Compiling Cache ObservationToken.swift
[25/40] Compiling Cache Optional+Extension.swift
[26/40] Compiling Cache StorageError.swift
[27/40] Compiling Cache Hasher+constantAccrossExecutions.swift
[28/40] Compiling Cache JSONDecoder+Extensions.swift
[29/40] Compiling Cache URL+Extensions.swift
[30/40] Compiling Cache DataSerializer.swift
[31/40] Compiling Cache Entry.swift
[32/40] Compiling Cache NSImage+Extensions.swift
[33/40] Compiling Cache DiskConfig.swift
[34/40] Compiling Cache MemoryConfig.swift
[35/40] Compiling Cache Date+Extensions.swift
[36/40] Compiling Cache FileManager+Extensions.swift
[37/40] Compiling Cache StorageObservationRegistry.swift
[38/40] Compiling Cache SyncStorage.swift
[39/40] Compiling Cache UIImage+Extensions.swift
[40/40] Compiling Cache resource_bundle_accessor.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:99ea6d26ace67c023f359493a2ac553a612b92a7f2dee009657225f46f43aa0e
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
warning: 'spi-builder-workspace': found 3 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Tests/iOS/Info.plist
    /host/spi-builder-workspace/Tests/tvOS/Info.plist
    /host/spi-builder-workspace/Tests/Mac/Info.plist
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/34] Compiling Cache MemoryStorage.swift
/host/spi-builder-workspace/Source/Shared/Storage/Storage+Transform.swift:14:41: error: cannot find type 'Image' in scope
12 |
13 |
14 |   func transformImage() -> Storage<Key, Image> {
   |                                         `- error: cannot find type 'Image' in scope
15 |     let storage = transform(transformer: TransformerFactory.forImage())
16 |     return storage
/host/spi-builder-workspace/Source/Shared/Library/TransformerFactory.swift:16:48: error: cannot find type 'Image' in scope
14 |   }
15 |
16 |   public static func forImage() -> Transformer<Image> {
   |                                                `- error: cannot find type 'Image' in scope
17 |     let toData: (Image) throws -> Data = { image in
18 |       return try image.cache_toData().unwrapOrThrow(error: StorageError.transformerFail)
/host/spi-builder-workspace/Source/Shared/Storage/Storage+Transform.swift:15:19: error: generic parameter 'U' could not be inferred
13 |
14 |   func transformImage() -> Storage<Key, Image> {
15 |     let storage = transform(transformer: TransformerFactory.forImage())
   |                   `- error: generic parameter 'U' could not be inferred
16 |     return storage
17 |   }
/host/spi-builder-workspace/Source/Shared/Storage/Storage.swift:80:8: note: in call to function 'transform(transformer:)'
 78 |
 79 | public extension Storage {
 80 |   func transform<U>(transformer: Transformer<U>) -> Storage<Key, U> {
    |        `- note: in call to function 'transform(transformer:)'
 81 |     return Storage<Key, U>(hybridStorage: hybridStorage.transform(transformer: transformer))
 82 |   }
[3/34] Compiling Cache Storage+Transform.swift
/host/spi-builder-workspace/Source/Shared/Storage/Storage+Transform.swift:14:41: error: cannot find type 'Image' in scope
12 |
13 |
14 |   func transformImage() -> Storage<Key, Image> {
   |                                         `- error: cannot find type 'Image' in scope
15 |     let storage = transform(transformer: TransformerFactory.forImage())
16 |     return storage
/host/spi-builder-workspace/Source/Shared/Library/TransformerFactory.swift:16:48: error: cannot find type 'Image' in scope
14 |   }
15 |
16 |   public static func forImage() -> Transformer<Image> {
   |                                                `- error: cannot find type 'Image' in scope
17 |     let toData: (Image) throws -> Data = { image in
18 |       return try image.cache_toData().unwrapOrThrow(error: StorageError.transformerFail)
/host/spi-builder-workspace/Source/Shared/Storage/Storage+Transform.swift:15:19: error: generic parameter 'U' could not be inferred
13 |
14 |   func transformImage() -> Storage<Key, Image> {
15 |     let storage = transform(transformer: TransformerFactory.forImage())
   |                   `- error: generic parameter 'U' could not be inferred
16 |     return storage
17 |   }
/host/spi-builder-workspace/Source/Shared/Storage/Storage.swift:80:8: note: in call to function 'transform(transformer:)'
 78 |
 79 | public extension Storage {
 80 |   func transform<U>(transformer: Transformer<U>) -> Storage<Key, U> {
    |        `- note: in call to function 'transform(transformer:)'
 81 |     return Storage<Key, U>(hybridStorage: hybridStorage.transform(transformer: transformer))
 82 |   }
[4/34] Compiling Cache Storage.swift
/host/spi-builder-workspace/Source/Shared/Storage/Storage+Transform.swift:14:41: error: cannot find type 'Image' in scope
12 |
13 |
14 |   func transformImage() -> Storage<Key, Image> {
   |                                         `- error: cannot find type 'Image' in scope
15 |     let storage = transform(transformer: TransformerFactory.forImage())
16 |     return storage
/host/spi-builder-workspace/Source/Shared/Library/TransformerFactory.swift:16:48: error: cannot find type 'Image' in scope
14 |   }
15 |
16 |   public static func forImage() -> Transformer<Image> {
   |                                                `- error: cannot find type 'Image' in scope
17 |     let toData: (Image) throws -> Data = { image in
18 |       return try image.cache_toData().unwrapOrThrow(error: StorageError.transformerFail)
/host/spi-builder-workspace/Source/Shared/Storage/Storage+Transform.swift:15:19: error: generic parameter 'U' could not be inferred
13 |
14 |   func transformImage() -> Storage<Key, Image> {
15 |     let storage = transform(transformer: TransformerFactory.forImage())
   |                   `- error: generic parameter 'U' could not be inferred
16 |     return storage
17 |   }
/host/spi-builder-workspace/Source/Shared/Storage/Storage.swift:80:8: note: in call to function 'transform(transformer:)'
 78 |
 79 | public extension Storage {
 80 |   func transform<U>(transformer: Transformer<U>) -> Storage<Key, U> {
    |        `- note: in call to function 'transform(transformer:)'
 81 |     return Storage<Key, U>(hybridStorage: hybridStorage.transform(transformer: transformer))
 82 |   }
[5/34] Compiling Cache StorageAware.swift
/host/spi-builder-workspace/Source/Shared/Storage/Storage+Transform.swift:14:41: error: cannot find type 'Image' in scope
12 |
13 |
14 |   func transformImage() -> Storage<Key, Image> {
   |                                         `- error: cannot find type 'Image' in scope
15 |     let storage = transform(transformer: TransformerFactory.forImage())
16 |     return storage
/host/spi-builder-workspace/Source/Shared/Library/TransformerFactory.swift:16:48: error: cannot find type 'Image' in scope
14 |   }
15 |
16 |   public static func forImage() -> Transformer<Image> {
   |                                                `- error: cannot find type 'Image' in scope
17 |     let toData: (Image) throws -> Data = { image in
18 |       return try image.cache_toData().unwrapOrThrow(error: StorageError.transformerFail)
/host/spi-builder-workspace/Source/Shared/Storage/Storage+Transform.swift:15:19: error: generic parameter 'U' could not be inferred
13 |
14 |   func transformImage() -> Storage<Key, Image> {
15 |     let storage = transform(transformer: TransformerFactory.forImage())
   |                   `- error: generic parameter 'U' could not be inferred
16 |     return storage
17 |   }
/host/spi-builder-workspace/Source/Shared/Storage/Storage.swift:80:8: note: in call to function 'transform(transformer:)'
 78 |
 79 | public extension Storage {
 80 |   func transform<U>(transformer: Transformer<U>) -> Storage<Key, U> {
    |        `- note: in call to function 'transform(transformer:)'
 81 |     return Storage<Key, U>(hybridStorage: hybridStorage.transform(transformer: transformer))
 82 |   }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/38] Emitting module Cache
/host/spi-builder-workspace/Source/Shared/Library/ImageWrapper.swift:8:21: error: cannot find type 'Image' in scope
 6 |
 7 | public struct ImageWrapper: Codable {
 8 |   public let image: Image
   |                     `- error: cannot find type 'Image' in scope
 9 |
10 |   public enum CodingKeys: String, CodingKey {
/host/spi-builder-workspace/Source/Shared/Library/ImageWrapper.swift:14:22: error: cannot find type 'Image' in scope
12 |   }
13 |
14 |   public init(image: Image) {
   |                      `- error: cannot find type 'Image' in scope
15 |     self.image = image
16 |   }
/host/spi-builder-workspace/Source/Shared/Library/TransformerFactory.swift:16:48: error: cannot find type 'Image' in scope
14 |   }
15 |
16 |   public static func forImage() -> Transformer<Image> {
   |                                                `- error: cannot find type 'Image' in scope
17 |     let toData: (Image) throws -> Data = { image in
18 |       return try image.cache_toData().unwrapOrThrow(error: StorageError.transformerFail)
/host/spi-builder-workspace/Source/Shared/Storage/Storage+Transform.swift:14:41: error: cannot find type 'Image' in scope
12 |
13 |
14 |   func transformImage() -> Storage<Key, Image> {
   |                                         `- error: cannot find type 'Image' in scope
15 |     let storage = transform(transformer: TransformerFactory.forImage())
16 |     return storage
[7/38] Compiling Cache StorageObservationRegistry.swift
[8/38] Compiling Cache SyncStorage.swift
[9/38] Compiling Cache UIImage+Extensions.swift
[10/38] Compiling Cache resource_bundle_accessor.swift
[11/38] Compiling Cache Hasher+constantAccrossExecutions.swift
[12/38] Compiling Cache JSONDecoder+Extensions.swift
[13/38] Compiling Cache URL+Extensions.swift
[14/38] Compiling Cache DataSerializer.swift
[15/38] Compiling Cache Entry.swift
[16/38] Compiling Cache NSImage+Extensions.swift
[17/38] Compiling Cache DiskConfig.swift
[18/38] Compiling Cache MemoryConfig.swift
[19/38] Compiling Cache Date+Extensions.swift
[20/38] Compiling Cache FileManager+Extensions.swift
[21/38] Compiling Cache MD5.swift
[22/38] Compiling Cache MemoryCapsule.swift
[23/38] Compiling Cache ObservationToken.swift
[24/38] Compiling Cache Optional+Extension.swift
[25/38] Compiling Cache StorageError.swift
[26/38] Compiling Cache Transformer.swift
/host/spi-builder-workspace/Source/Shared/Library/TransformerFactory.swift:16:48: error: cannot find type 'Image' in scope
14 |   }
15 |
16 |   public static func forImage() -> Transformer<Image> {
   |                                                `- error: cannot find type 'Image' in scope
17 |     let toData: (Image) throws -> Data = { image in
18 |       return try image.cache_toData().unwrapOrThrow(error: StorageError.transformerFail)
/host/spi-builder-workspace/Source/Shared/Library/TransformerFactory.swift:17:18: error: cannot find type 'Image' in scope
15 |
16 |   public static func forImage() -> Transformer<Image> {
17 |     let toData: (Image) throws -> Data = { image in
   |                  `- error: cannot find type 'Image' in scope
18 |       return try image.cache_toData().unwrapOrThrow(error: StorageError.transformerFail)
19 |     }
/host/spi-builder-workspace/Source/Shared/Library/TransformerFactory.swift:21:36: error: cannot find type 'Image' in scope
19 |     }
20 |
21 |     let fromData: (Data) throws -> Image = { data in
   |                                    `- error: cannot find type 'Image' in scope
22 |       return try Image(data: data).unwrapOrThrow(error: StorageError.transformerFail)
23 |     }
[27/38] Compiling Cache TransformerFactory.swift
/host/spi-builder-workspace/Source/Shared/Library/TransformerFactory.swift:16:48: error: cannot find type 'Image' in scope
14 |   }
15 |
16 |   public static func forImage() -> Transformer<Image> {
   |                                                `- error: cannot find type 'Image' in scope
17 |     let toData: (Image) throws -> Data = { image in
18 |       return try image.cache_toData().unwrapOrThrow(error: StorageError.transformerFail)
/host/spi-builder-workspace/Source/Shared/Library/TransformerFactory.swift:17:18: error: cannot find type 'Image' in scope
15 |
16 |   public static func forImage() -> Transformer<Image> {
17 |     let toData: (Image) throws -> Data = { image in
   |                  `- error: cannot find type 'Image' in scope
18 |       return try image.cache_toData().unwrapOrThrow(error: StorageError.transformerFail)
19 |     }
/host/spi-builder-workspace/Source/Shared/Library/TransformerFactory.swift:21:36: error: cannot find type 'Image' in scope
19 |     }
20 |
21 |     let fromData: (Data) throws -> Image = { data in
   |                                    `- error: cannot find type 'Image' in scope
22 |       return try Image(data: data).unwrapOrThrow(error: StorageError.transformerFail)
23 |     }
[28/38] Compiling Cache TypeWrapper.swift
/host/spi-builder-workspace/Source/Shared/Library/TransformerFactory.swift:16:48: error: cannot find type 'Image' in scope
14 |   }
15 |
16 |   public static func forImage() -> Transformer<Image> {
   |                                                `- error: cannot find type 'Image' in scope
17 |     let toData: (Image) throws -> Data = { image in
18 |       return try image.cache_toData().unwrapOrThrow(error: StorageError.transformerFail)
/host/spi-builder-workspace/Source/Shared/Library/TransformerFactory.swift:17:18: error: cannot find type 'Image' in scope
15 |
16 |   public static func forImage() -> Transformer<Image> {
17 |     let toData: (Image) throws -> Data = { image in
   |                  `- error: cannot find type 'Image' in scope
18 |       return try image.cache_toData().unwrapOrThrow(error: StorageError.transformerFail)
19 |     }
/host/spi-builder-workspace/Source/Shared/Library/TransformerFactory.swift:21:36: error: cannot find type 'Image' in scope
19 |     }
20 |
21 |     let fromData: (Data) throws -> Image = { data in
   |                                    `- error: cannot find type 'Image' in scope
22 |       return try Image(data: data).unwrapOrThrow(error: StorageError.transformerFail)
23 |     }
[29/38] Compiling Cache Types.swift
/host/spi-builder-workspace/Source/Shared/Library/TransformerFactory.swift:16:48: error: cannot find type 'Image' in scope
14 |   }
15 |
16 |   public static func forImage() -> Transformer<Image> {
   |                                                `- error: cannot find type 'Image' in scope
17 |     let toData: (Image) throws -> Data = { image in
18 |       return try image.cache_toData().unwrapOrThrow(error: StorageError.transformerFail)
/host/spi-builder-workspace/Source/Shared/Library/TransformerFactory.swift:17:18: error: cannot find type 'Image' in scope
15 |
16 |   public static func forImage() -> Transformer<Image> {
17 |     let toData: (Image) throws -> Data = { image in
   |                  `- error: cannot find type 'Image' in scope
18 |       return try image.cache_toData().unwrapOrThrow(error: StorageError.transformerFail)
19 |     }
/host/spi-builder-workspace/Source/Shared/Library/TransformerFactory.swift:21:36: error: cannot find type 'Image' in scope
19 |     }
20 |
21 |     let fromData: (Data) throws -> Image = { data in
   |                                    `- error: cannot find type 'Image' in scope
22 |       return try Image(data: data).unwrapOrThrow(error: StorageError.transformerFail)
23 |     }
[30/38] Compiling Cache AsyncStorage.swift
[31/38] Compiling Cache DiskStorage.swift
[32/38] Compiling Cache HybridStorage.swift
[33/38] Compiling Cache KeyObservationRegistry.swift
[34/38] Compiling Cache ExpirationMode.swift
/host/spi-builder-workspace/Source/Shared/Library/ImageWrapper.swift:8:21: error: cannot find type 'Image' in scope
 6 |
 7 | public struct ImageWrapper: Codable {
 8 |   public let image: Image
   |                     `- error: cannot find type 'Image' in scope
 9 |
10 |   public enum CodingKeys: String, CodingKey {
/host/spi-builder-workspace/Source/Shared/Library/ImageWrapper.swift:14:22: error: cannot find type 'Image' in scope
12 |   }
13 |
14 |   public init(image: Image) {
   |                      `- error: cannot find type 'Image' in scope
15 |     self.image = image
16 |   }
/host/spi-builder-workspace/Source/Shared/Library/ImageWrapper.swift:21:23: error: cannot find 'Image' in scope
19 |     let container = try decoder.container(keyedBy: CodingKeys.self)
20 |     let data = try container.decode(Data.self, forKey: CodingKeys.image)
21 |     guard let image = Image(data: data) else {
   |                       `- error: cannot find 'Image' in scope
22 |       throw StorageError.decodingFailed
23 |     }
[35/38] Compiling Cache Expiry.swift
/host/spi-builder-workspace/Source/Shared/Library/ImageWrapper.swift:8:21: error: cannot find type 'Image' in scope
 6 |
 7 | public struct ImageWrapper: Codable {
 8 |   public let image: Image
   |                     `- error: cannot find type 'Image' in scope
 9 |
10 |   public enum CodingKeys: String, CodingKey {
/host/spi-builder-workspace/Source/Shared/Library/ImageWrapper.swift:14:22: error: cannot find type 'Image' in scope
12 |   }
13 |
14 |   public init(image: Image) {
   |                      `- error: cannot find type 'Image' in scope
15 |     self.image = image
16 |   }
/host/spi-builder-workspace/Source/Shared/Library/ImageWrapper.swift:21:23: error: cannot find 'Image' in scope
19 |     let container = try decoder.container(keyedBy: CodingKeys.self)
20 |     let data = try container.decode(Data.self, forKey: CodingKeys.image)
21 |     guard let image = Image(data: data) else {
   |                       `- error: cannot find 'Image' in scope
22 |       throw StorageError.decodingFailed
23 |     }
[36/38] Compiling Cache ImageWrapper.swift
/host/spi-builder-workspace/Source/Shared/Library/ImageWrapper.swift:8:21: error: cannot find type 'Image' in scope
 6 |
 7 | public struct ImageWrapper: Codable {
 8 |   public let image: Image
   |                     `- error: cannot find type 'Image' in scope
 9 |
10 |   public enum CodingKeys: String, CodingKey {
/host/spi-builder-workspace/Source/Shared/Library/ImageWrapper.swift:14:22: error: cannot find type 'Image' in scope
12 |   }
13 |
14 |   public init(image: Image) {
   |                      `- error: cannot find type 'Image' in scope
15 |     self.image = image
16 |   }
/host/spi-builder-workspace/Source/Shared/Library/ImageWrapper.swift:21:23: error: cannot find 'Image' in scope
19 |     let container = try decoder.container(keyedBy: CodingKeys.self)
20 |     let data = try container.decode(Data.self, forKey: CodingKeys.image)
21 |     guard let image = Image(data: data) else {
   |                       `- error: cannot find 'Image' in scope
22 |       throw StorageError.decodingFailed
23 |     }
[37/38] Compiling Cache JSONArrayWrapper.swift
/host/spi-builder-workspace/Source/Shared/Library/ImageWrapper.swift:8:21: error: cannot find type 'Image' in scope
 6 |
 7 | public struct ImageWrapper: Codable {
 8 |   public let image: Image
   |                     `- error: cannot find type 'Image' in scope
 9 |
10 |   public enum CodingKeys: String, CodingKey {
/host/spi-builder-workspace/Source/Shared/Library/ImageWrapper.swift:14:22: error: cannot find type 'Image' in scope
12 |   }
13 |
14 |   public init(image: Image) {
   |                      `- error: cannot find type 'Image' in scope
15 |     self.image = image
16 |   }
/host/spi-builder-workspace/Source/Shared/Library/ImageWrapper.swift:21:23: error: cannot find 'Image' in scope
19 |     let container = try decoder.container(keyedBy: CodingKeys.self)
20 |     let data = try container.decode(Data.self, forKey: CodingKeys.image)
21 |     guard let image = Image(data: data) else {
   |                       `- error: cannot find 'Image' in scope
22 |       throw StorageError.decodingFailed
23 |     }
[38/38] Compiling Cache JSONDictionaryWrapper.swift
/host/spi-builder-workspace/Source/Shared/Library/ImageWrapper.swift:8:21: error: cannot find type 'Image' in scope
 6 |
 7 | public struct ImageWrapper: Codable {
 8 |   public let image: Image
   |                     `- error: cannot find type 'Image' in scope
 9 |
10 |   public enum CodingKeys: String, CodingKey {
/host/spi-builder-workspace/Source/Shared/Library/ImageWrapper.swift:14:22: error: cannot find type 'Image' in scope
12 |   }
13 |
14 |   public init(image: Image) {
   |                      `- error: cannot find type 'Image' in scope
15 |     self.image = image
16 |   }
/host/spi-builder-workspace/Source/Shared/Library/ImageWrapper.swift:21:23: error: cannot find 'Image' in scope
19 |     let container = try decoder.container(keyedBy: CodingKeys.self)
20 |     let data = try container.decode(Data.self, forKey: CodingKeys.image)
21 |     guard let image = Image(data: data) else {
   |                       `- error: cannot find 'Image' in scope
22 |       throw StorageError.decodingFailed
23 |     }
BUILD FAILURE 6.1 linux