The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftCache, reference v2.1.0 (7c1f13), with Swift 6.1 for Wasm on 16 Feb 2026 22:11:11 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SudhirGadhvi/SwiftCache-SDK.git
Reference: v2.1.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/SudhirGadhvi/SwiftCache-SDK
 * tag               v2.1.0     -> FETCH_HEAD
HEAD is now at 7c1f135 Merge branch 'main' of https://github.com/SudhirGadhvi/SwiftCache-SDK
Cloned https://github.com/SudhirGadhvi/SwiftCache-SDK.git
Revision (git rev-parse @):
7c1f135fc613d0a41a06c5496530458b2f297ad3
SUCCESS checkout https://github.com/SudhirGadhvi/SwiftCache-SDK.git at v2.1.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/SudhirGadhvi/SwiftCache-SDK.git
https://github.com/SudhirGadhvi/SwiftCache-SDK.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftCache",
  "name" : "SwiftCache",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftCache",
      "targets" : [
        "SwiftCache"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftCacheTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftCacheTests",
      "path" : "Tests/SwiftCacheTests",
      "sources" : [
        "SwiftCacheTests.swift"
      ],
      "target_dependencies" : [
        "SwiftCache"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftCache",
      "module_type" : "SwiftTarget",
      "name" : "SwiftCache",
      "path" : "Sources/SwiftCache",
      "product_memberships" : [
        "SwiftCache"
      ],
      "sources" : [
        "Core/AdaptiveCachePolicy.swift",
        "Core/CacheAnalytics.swift",
        "Core/CacheLoader.swift",
        "Core/DiskLoader.swift",
        "Core/MemoryLoader.swift",
        "Core/NetworkLoader.swift",
        "Extensions/SwiftCache+Progressive.swift",
        "Extensions/UIImageView+SwiftCache.swift",
        "Models/CacheConfiguration.swift",
        "Models/CacheEntry.swift",
        "Models/CancellationToken.swift",
        "Models/SwiftCacheError.swift",
        "SwiftCache.swift",
        "SwiftUI/CachedImage.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/16] Emitting module SwiftCache
/host/spi-builder-workspace/Sources/SwiftCache/Core/DiskLoader.swift:10:8: error: no such module 'CryptoKit'
  8 |
  9 | import Foundation
 10 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 11 |
 12 | #if canImport(UIKit)
[4/17] Compiling SwiftCache CachedImage.swift
/host/spi-builder-workspace/Sources/SwiftCache/Core/DiskLoader.swift:10:8: error: no such module 'CryptoKit'
  8 |
  9 | import Foundation
 10 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 11 |
 12 | #if canImport(UIKit)
[5/17] Compiling SwiftCache CacheConfiguration.swift
/host/spi-builder-workspace/Sources/SwiftCache/Core/DiskLoader.swift:10:8: error: no such module 'CryptoKit'
  8 |
  9 | import Foundation
 10 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 11 |
 12 | #if canImport(UIKit)
[6/17] Compiling SwiftCache CacheEntry.swift
/host/spi-builder-workspace/Sources/SwiftCache/Core/DiskLoader.swift:10:8: error: no such module 'CryptoKit'
  8 |
  9 | import Foundation
 10 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 11 |
 12 | #if canImport(UIKit)
[7/17] Compiling SwiftCache SwiftCache.swift
/host/spi-builder-workspace/Sources/SwiftCache/Core/DiskLoader.swift:10:8: error: no such module 'CryptoKit'
  8 |
  9 | import Foundation
 10 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 11 |
 12 | #if canImport(UIKit)
[8/17] Compiling SwiftCache SwiftCache+Progressive.swift
/host/spi-builder-workspace/Sources/SwiftCache/Core/DiskLoader.swift:10:8: error: no such module 'CryptoKit'
  8 |
  9 | import Foundation
 10 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 11 |
 12 | #if canImport(UIKit)
[9/17] Compiling SwiftCache UIImageView+SwiftCache.swift
/host/spi-builder-workspace/Sources/SwiftCache/Core/DiskLoader.swift:10:8: error: no such module 'CryptoKit'
  8 |
  9 | import Foundation
 10 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 11 |
 12 | #if canImport(UIKit)
[10/17] Compiling SwiftCache MemoryLoader.swift
/host/spi-builder-workspace/Sources/SwiftCache/Core/DiskLoader.swift:10:8: error: no such module 'CryptoKit'
  8 |
  9 | import Foundation
 10 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 11 |
 12 | #if canImport(UIKit)
[11/17] Compiling SwiftCache NetworkLoader.swift
/host/spi-builder-workspace/Sources/SwiftCache/Core/DiskLoader.swift:10:8: error: no such module 'CryptoKit'
  8 |
  9 | import Foundation
 10 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 11 |
 12 | #if canImport(UIKit)
[12/17] Compiling SwiftCache AdaptiveCachePolicy.swift
/host/spi-builder-workspace/Sources/SwiftCache/Core/DiskLoader.swift:10:8: error: no such module 'CryptoKit'
  8 |
  9 | import Foundation
 10 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 11 |
 12 | #if canImport(UIKit)
[13/17] Compiling SwiftCache CacheAnalytics.swift
/host/spi-builder-workspace/Sources/SwiftCache/Core/DiskLoader.swift:10:8: error: no such module 'CryptoKit'
  8 |
  9 | import Foundation
 10 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 11 |
 12 | #if canImport(UIKit)
[14/17] Compiling SwiftCache CacheLoader.swift
/host/spi-builder-workspace/Sources/SwiftCache/Core/DiskLoader.swift:10:8: error: no such module 'CryptoKit'
  8 |
  9 | import Foundation
 10 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 11 |
 12 | #if canImport(UIKit)
[15/17] Compiling SwiftCache DiskLoader.swift
/host/spi-builder-workspace/Sources/SwiftCache/Core/DiskLoader.swift:10:8: error: no such module 'CryptoKit'
  8 |
  9 | import Foundation
 10 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 11 |
 12 | #if canImport(UIKit)
[16/17] Compiling SwiftCache CancellationToken.swift
/host/spi-builder-workspace/Sources/SwiftCache/Core/DiskLoader.swift:10:8: error: no such module 'CryptoKit'
  8 |
  9 | import Foundation
 10 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 11 |
 12 | #if canImport(UIKit)
[17/17] Compiling SwiftCache SwiftCacheError.swift
/host/spi-builder-workspace/Sources/SwiftCache/Core/DiskLoader.swift:10:8: error: no such module 'CryptoKit'
  8 |
  9 | import Foundation
 10 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 11 |
 12 | #if canImport(UIKit)
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/15] Compiling SwiftCache CacheConfiguration.swift
/host/spi-builder-workspace/Sources/SwiftCache/Core/DiskLoader.swift:10:8: error: no such module 'CryptoKit'
  8 |
  9 | import Foundation
 10 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 11 |
 12 | #if canImport(UIKit)
[3/15] Compiling SwiftCache CacheEntry.swift
/host/spi-builder-workspace/Sources/SwiftCache/Core/DiskLoader.swift:10:8: error: no such module 'CryptoKit'
  8 |
  9 | import Foundation
 10 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 11 |
 12 | #if canImport(UIKit)
[4/16] Compiling SwiftCache SwiftCache+Progressive.swift
/host/spi-builder-workspace/Sources/SwiftCache/Core/DiskLoader.swift:10:8: error: no such module 'CryptoKit'
  8 |
  9 | import Foundation
 10 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 11 |
 12 | #if canImport(UIKit)
[5/16] Compiling SwiftCache UIImageView+SwiftCache.swift
/host/spi-builder-workspace/Sources/SwiftCache/Core/DiskLoader.swift:10:8: error: no such module 'CryptoKit'
  8 |
  9 | import Foundation
 10 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 11 |
 12 | #if canImport(UIKit)
[6/16] Compiling SwiftCache CancellationToken.swift
/host/spi-builder-workspace/Sources/SwiftCache/Core/DiskLoader.swift:10:8: error: no such module 'CryptoKit'
  8 |
  9 | import Foundation
 10 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 11 |
 12 | #if canImport(UIKit)
[7/16] Compiling SwiftCache SwiftCacheError.swift
/host/spi-builder-workspace/Sources/SwiftCache/Core/DiskLoader.swift:10:8: error: no such module 'CryptoKit'
  8 |
  9 | import Foundation
 10 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 11 |
 12 | #if canImport(UIKit)
[8/16] Compiling SwiftCache SwiftCache.swift
/host/spi-builder-workspace/Sources/SwiftCache/Core/DiskLoader.swift:10:8: error: no such module 'CryptoKit'
  8 |
  9 | import Foundation
 10 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 11 |
 12 | #if canImport(UIKit)
[9/16] Compiling SwiftCache MemoryLoader.swift
/host/spi-builder-workspace/Sources/SwiftCache/Core/DiskLoader.swift:10:8: error: no such module 'CryptoKit'
  8 |
  9 | import Foundation
 10 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 11 |
 12 | #if canImport(UIKit)
[10/16] Compiling SwiftCache NetworkLoader.swift
/host/spi-builder-workspace/Sources/SwiftCache/Core/DiskLoader.swift:10:8: error: no such module 'CryptoKit'
  8 |
  9 | import Foundation
 10 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 11 |
 12 | #if canImport(UIKit)
[11/16] Compiling SwiftCache CacheLoader.swift
/host/spi-builder-workspace/Sources/SwiftCache/Core/DiskLoader.swift:10:8: error: no such module 'CryptoKit'
  8 |
  9 | import Foundation
 10 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 11 |
 12 | #if canImport(UIKit)
[12/16] Compiling SwiftCache DiskLoader.swift
/host/spi-builder-workspace/Sources/SwiftCache/Core/DiskLoader.swift:10:8: error: no such module 'CryptoKit'
  8 |
  9 | import Foundation
 10 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 11 |
 12 | #if canImport(UIKit)
[13/16] Compiling SwiftCache AdaptiveCachePolicy.swift
/host/spi-builder-workspace/Sources/SwiftCache/Core/DiskLoader.swift:10:8: error: no such module 'CryptoKit'
  8 |
  9 | import Foundation
 10 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 11 |
 12 | #if canImport(UIKit)
[14/16] Compiling SwiftCache CacheAnalytics.swift
/host/spi-builder-workspace/Sources/SwiftCache/Core/DiskLoader.swift:10:8: error: no such module 'CryptoKit'
  8 |
  9 | import Foundation
 10 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 11 |
 12 | #if canImport(UIKit)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/16] Emitting module SwiftCache
/host/spi-builder-workspace/Sources/SwiftCache/Core/DiskLoader.swift:10:8: error: no such module 'CryptoKit'
  8 |
  9 | import Foundation
 10 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 11 |
 12 | #if canImport(UIKit)
[16/16] Compiling SwiftCache CachedImage.swift
/host/spi-builder-workspace/Sources/SwiftCache/Core/DiskLoader.swift:10:8: error: no such module 'CryptoKit'
  8 |
  9 | import Foundation
 10 | import CryptoKit
    |        `- error: no such module 'CryptoKit'
 11 |
 12 | #if canImport(UIKit)
BUILD FAILURE 6.1 wasm