The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Cache, reference 7.4.0 (24e471), with Swift 6.2 (beta) for Android on 22 Jun 2025 00:20:00 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hyperoslo/Cache.git
Reference: 7.4.0
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
 * tag               7.4.0      -> FETCH_HEAD
HEAD is now at 24e4710 Merge pull request #304 from boduoduo/fix/sortedIssue
Cloned https://github.com/hyperoslo/Cache.git
Revision (git rev-parse @):
24e47109e31b2031cb26e25cc1b81b607496066c
SUCCESS checkout https://github.com/hyperoslo/Cache.git at 7.4.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/hyperoslo/Cache.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Building for debugging...
[0/3] Copying PrivacyInfo.xcprivacy
[1/3] Write sources
[2/3] Write swift-version-8C5A4AE7A8CE2BA.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/36] 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
[5/40] Compiling Cache MD5.swift
[6/40] Compiling Cache MemoryCapsule.swift
[7/40] Compiling Cache ObservationToken.swift
[8/40] Compiling Cache Optional+Extension.swift
[9/40] Compiling Cache StorageError.swift
[10/40] Compiling Cache Hasher+constantAccrossExecutions.swift
[11/40] Compiling Cache JSONDecoder+Extensions.swift
[12/40] Compiling Cache URL+Extensions.swift
[13/40] Compiling Cache DataSerializer.swift
[14/40] Compiling Cache Entry.swift
[15/40] Compiling Cache StorageObservationRegistry.swift
[16/40] Compiling Cache SyncStorage.swift
[17/40] Compiling Cache UIImage+Extensions.swift
[18/40] Compiling Cache resource_bundle_accessor.swift
[19/40] Compiling Cache NSImage+Extensions.swift
[20/40] Compiling Cache DiskConfig.swift
[21/40] Compiling Cache MemoryConfig.swift
[22/40] Compiling Cache Date+Extensions.swift
[23/40] Compiling Cache FileManager+Extensions.swift
[24/40] Compiling Cache AsyncStorage.swift
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:19:26: warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
 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 non-sendable type 'Key.Type' in an isolated 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:18:31: warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
 16 | extension AsyncStorage {
 17 |   public func entry(forKey key: Key, completion: @escaping (Result<Entry<Value>, Error>) -> Void) {
 18 |     serialQueue.async { [weak self] in
    |                               `- warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
 19 |       guard let `self` = self else {
 20 |         completion(.failure(StorageError.deallocated))
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:35:26: warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
 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 non-sendable type 'Key.Type' in an isolated 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:34:31: warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
 32 |
 33 |   public func removeObject(forKey key: Key, completion: @escaping (Result<(), Error>) -> Void) {
 34 |     serialQueue.async { [weak self] in
    |                               `- warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
 35 |       guard let `self` = self else {
 36 |         completion(.failure(StorageError.deallocated))
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:55:26: warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
 53 |     completion: @escaping (Result<(), Error>) -> Void) {
 54 |     serialQueue.async { [weak self] in
 55 |       guard let `self` = self else {
    |                          `- warning: capture of non-sendable type 'Key.Type' in an isolated 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:54:31: warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
 52 |     expiry: Expiry? = nil,
 53 |     completion: @escaping (Result<(), Error>) -> Void) {
 54 |     serialQueue.async { [weak self] in
    |                               `- warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
 55 |       guard let `self` = self else {
 56 |         completion(.failure(StorageError.deallocated))
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:71:26: warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
 69 |   public func removeAll(completion: @escaping (Result<(), Error>) -> Void) {
 70 |     serialQueue.async { [weak self] in
 71 |       guard let `self` = self else {
    |                          `- warning: capture of non-sendable type 'Key.Type' in an isolated 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:70:31: warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
 68 |
 69 |   public func removeAll(completion: @escaping (Result<(), Error>) -> Void) {
 70 |     serialQueue.async { [weak self] in
    |                               `- warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
 71 |       guard let `self` = self else {
 72 |         completion(.failure(StorageError.deallocated))
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:87:26: warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
 85 |   public func removeExpiredObjects(completion: @escaping (Result<(), Error>) -> Void) {
 86 |     serialQueue.async { [weak self] in
 87 |       guard let `self` = self else {
    |                          `- warning: capture of non-sendable type 'Key.Type' in an isolated 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:86:31: warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
 84 |
 85 |   public func removeExpiredObjects(completion: @escaping (Result<(), Error>) -> Void) {
 86 |     serialQueue.async { [weak self] in
    |                               `- warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
 87 |       guard let `self` = self else {
 88 |         completion(.failure(StorageError.deallocated))
[25/40] Compiling Cache DiskStorage.swift
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:19:26: warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
 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 non-sendable type 'Key.Type' in an isolated 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:18:31: warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
 16 | extension AsyncStorage {
 17 |   public func entry(forKey key: Key, completion: @escaping (Result<Entry<Value>, Error>) -> Void) {
 18 |     serialQueue.async { [weak self] in
    |                               `- warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
 19 |       guard let `self` = self else {
 20 |         completion(.failure(StorageError.deallocated))
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:35:26: warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
 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 non-sendable type 'Key.Type' in an isolated 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:34:31: warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
 32 |
 33 |   public func removeObject(forKey key: Key, completion: @escaping (Result<(), Error>) -> Void) {
 34 |     serialQueue.async { [weak self] in
    |                               `- warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
 35 |       guard let `self` = self else {
 36 |         completion(.failure(StorageError.deallocated))
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:55:26: warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
 53 |     completion: @escaping (Result<(), Error>) -> Void) {
 54 |     serialQueue.async { [weak self] in
 55 |       guard let `self` = self else {
    |                          `- warning: capture of non-sendable type 'Key.Type' in an isolated 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:54:31: warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
 52 |     expiry: Expiry? = nil,
 53 |     completion: @escaping (Result<(), Error>) -> Void) {
 54 |     serialQueue.async { [weak self] in
    |                               `- warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
 55 |       guard let `self` = self else {
 56 |         completion(.failure(StorageError.deallocated))
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:71:26: warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
 69 |   public func removeAll(completion: @escaping (Result<(), Error>) -> Void) {
 70 |     serialQueue.async { [weak self] in
 71 |       guard let `self` = self else {
    |                          `- warning: capture of non-sendable type 'Key.Type' in an isolated 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:70:31: warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
 68 |
 69 |   public func removeAll(completion: @escaping (Result<(), Error>) -> Void) {
 70 |     serialQueue.async { [weak self] in
    |                               `- warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
 71 |       guard let `self` = self else {
 72 |         completion(.failure(StorageError.deallocated))
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:87:26: warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
 85 |   public func removeExpiredObjects(completion: @escaping (Result<(), Error>) -> Void) {
 86 |     serialQueue.async { [weak self] in
 87 |       guard let `self` = self else {
    |                          `- warning: capture of non-sendable type 'Key.Type' in an isolated 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:86:31: warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
 84 |
 85 |   public func removeExpiredObjects(completion: @escaping (Result<(), Error>) -> Void) {
 86 |     serialQueue.async { [weak self] in
    |                               `- warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
 87 |       guard let `self` = self else {
 88 |         completion(.failure(StorageError.deallocated))
[26/40] Compiling Cache HybridStorage.swift
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:19:26: warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
 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 non-sendable type 'Key.Type' in an isolated 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:18:31: warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
 16 | extension AsyncStorage {
 17 |   public func entry(forKey key: Key, completion: @escaping (Result<Entry<Value>, Error>) -> Void) {
 18 |     serialQueue.async { [weak self] in
    |                               `- warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
 19 |       guard let `self` = self else {
 20 |         completion(.failure(StorageError.deallocated))
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:35:26: warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
 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 non-sendable type 'Key.Type' in an isolated 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:34:31: warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
 32 |
 33 |   public func removeObject(forKey key: Key, completion: @escaping (Result<(), Error>) -> Void) {
 34 |     serialQueue.async { [weak self] in
    |                               `- warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
 35 |       guard let `self` = self else {
 36 |         completion(.failure(StorageError.deallocated))
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:55:26: warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
 53 |     completion: @escaping (Result<(), Error>) -> Void) {
 54 |     serialQueue.async { [weak self] in
 55 |       guard let `self` = self else {
    |                          `- warning: capture of non-sendable type 'Key.Type' in an isolated 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:54:31: warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
 52 |     expiry: Expiry? = nil,
 53 |     completion: @escaping (Result<(), Error>) -> Void) {
 54 |     serialQueue.async { [weak self] in
    |                               `- warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
 55 |       guard let `self` = self else {
 56 |         completion(.failure(StorageError.deallocated))
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:71:26: warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
 69 |   public func removeAll(completion: @escaping (Result<(), Error>) -> Void) {
 70 |     serialQueue.async { [weak self] in
 71 |       guard let `self` = self else {
    |                          `- warning: capture of non-sendable type 'Key.Type' in an isolated 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:70:31: warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
 68 |
 69 |   public func removeAll(completion: @escaping (Result<(), Error>) -> Void) {
 70 |     serialQueue.async { [weak self] in
    |                               `- warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
 71 |       guard let `self` = self else {
 72 |         completion(.failure(StorageError.deallocated))
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:87:26: warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
 85 |   public func removeExpiredObjects(completion: @escaping (Result<(), Error>) -> Void) {
 86 |     serialQueue.async { [weak self] in
 87 |       guard let `self` = self else {
    |                          `- warning: capture of non-sendable type 'Key.Type' in an isolated 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:86:31: warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
 84 |
 85 |   public func removeExpiredObjects(completion: @escaping (Result<(), Error>) -> Void) {
 86 |     serialQueue.async { [weak self] in
    |                               `- warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
 87 |       guard let `self` = self else {
 88 |         completion(.failure(StorageError.deallocated))
[27/40] Compiling Cache KeyObservationRegistry.swift
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:19:26: warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
 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 non-sendable type 'Key.Type' in an isolated 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:18:31: warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
 16 | extension AsyncStorage {
 17 |   public func entry(forKey key: Key, completion: @escaping (Result<Entry<Value>, Error>) -> Void) {
 18 |     serialQueue.async { [weak self] in
    |                               `- warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
 19 |       guard let `self` = self else {
 20 |         completion(.failure(StorageError.deallocated))
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:35:26: warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
 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 non-sendable type 'Key.Type' in an isolated 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:34:31: warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
 32 |
 33 |   public func removeObject(forKey key: Key, completion: @escaping (Result<(), Error>) -> Void) {
 34 |     serialQueue.async { [weak self] in
    |                               `- warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
 35 |       guard let `self` = self else {
 36 |         completion(.failure(StorageError.deallocated))
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:55:26: warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
 53 |     completion: @escaping (Result<(), Error>) -> Void) {
 54 |     serialQueue.async { [weak self] in
 55 |       guard let `self` = self else {
    |                          `- warning: capture of non-sendable type 'Key.Type' in an isolated 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:54:31: warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
 52 |     expiry: Expiry? = nil,
 53 |     completion: @escaping (Result<(), Error>) -> Void) {
 54 |     serialQueue.async { [weak self] in
    |                               `- warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
 55 |       guard let `self` = self else {
 56 |         completion(.failure(StorageError.deallocated))
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:71:26: warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
 69 |   public func removeAll(completion: @escaping (Result<(), Error>) -> Void) {
 70 |     serialQueue.async { [weak self] in
 71 |       guard let `self` = self else {
    |                          `- warning: capture of non-sendable type 'Key.Type' in an isolated 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:70:31: warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
 68 |
 69 |   public func removeAll(completion: @escaping (Result<(), Error>) -> Void) {
 70 |     serialQueue.async { [weak self] in
    |                               `- warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
 71 |       guard let `self` = self else {
 72 |         completion(.failure(StorageError.deallocated))
/host/spi-builder-workspace/Source/Shared/Storage/AsyncStorage.swift:87:26: warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
 85 |   public func removeExpiredObjects(completion: @escaping (Result<(), Error>) -> Void) {
 86 |     serialQueue.async { [weak self] in
 87 |       guard let `self` = self else {
    |                          `- warning: capture of non-sendable type 'Key.Type' in an isolated 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:86:31: warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
 84 |
 85 |   public func removeExpiredObjects(completion: @escaping (Result<(), Error>) -> Void) {
 86 |     serialQueue.async { [weak self] in
    |                               `- warning: capture of non-sendable type 'Key.Type' in an isolated closure; this is an error in the Swift 6 language mode
 87 |       guard let `self` = self else {
 88 |         completion(.failure(StorageError.deallocated))
[28/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 |   }
[29/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 |   }
[30/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 |   }
[31/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 |   }
[32/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 |     }
[33/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 |     }
[34/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 |     }
[35/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 |     }
[36/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 |     }
[37/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 |     }
[38/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 |     }
[39/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 |     }
[40/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 |     }
BUILD FAILURE 6.2 android