Build Information
Failed to build SpotCache, reference 1.0.1 (a4195c), with Swift 6.2 for Wasm on 17 Jun 2025 16:58:57 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/shawnclovie/spotcache.git
Reference: 1.0.1
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/shawnclovie/spotcache
* tag 1.0.1 -> FETCH_HEAD
HEAD is now at a4195ca remove scaleFactor of CacheOption since wasn't used. append connection to CacheOption for make request. change CacheFetchingInfo#task as weak.
Cloned https://github.com/shawnclovie/spotcache.git
Revision (git rev-parse @):
a4195ca246d6c228b1430bbc0076d74c8c9f496c
SUCCESS checkout https://github.com/shawnclovie/spotcache.git at 1.0.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/shawnclovie/spotcache.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/shawnclovie/Spot
[1/358] Fetching spot
Fetched https://github.com/shawnclovie/Spot from cache (0.28s)
Computing version for https://github.com/shawnclovie/Spot
Computed https://github.com/shawnclovie/Spot at 1.2.1 (1.48s)
Creating working copy for https://github.com/shawnclovie/Spot
Working copy of https://github.com/shawnclovie/Spot resolved at 1.2.1
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/46] Compiling Spot AppStoreProductViewController.swift
/host/spi-builder-workspace/.build/checkouts/Spot/Sources/Spot/Crypto/HashAlgorithm.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CommonCrypto
10 |
[5/46] Compiling Spot UIApplication+.swift
/host/spi-builder-workspace/.build/checkouts/Spot/Sources/Spot/Crypto/HashAlgorithm.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CommonCrypto
10 |
[6/46] Compiling Spot UIImage+.swift
/host/spi-builder-workspace/.build/checkouts/Spot/Sources/Spot/Crypto/HashAlgorithm.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CommonCrypto
10 |
[7/46] Compiling Spot NetworkObserver.swift
/host/spi-builder-workspace/.build/checkouts/Spot/Sources/Spot/Crypto/HashAlgorithm.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CommonCrypto
10 |
[8/46] Compiling Spot URLConnection.swift
/host/spi-builder-workspace/.build/checkouts/Spot/Sources/Spot/Crypto/HashAlgorithm.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CommonCrypto
10 |
[9/46] Compiling Spot URLParameters.swift
/host/spi-builder-workspace/.build/checkouts/Spot/Sources/Spot/Crypto/HashAlgorithm.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CommonCrypto
10 |
[10/52] Compiling Spot URLRequest+.swift
/host/spi-builder-workspace/.build/checkouts/Spot/Sources/Spot/Crypto/HashAlgorithm.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CommonCrypto
10 |
[11/52] Compiling Spot URLTask.swift
/host/spi-builder-workspace/.build/checkouts/Spot/Sources/Spot/Crypto/HashAlgorithm.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CommonCrypto
10 |
[12/52] Compiling Spot URLTaskFormFileItem.swift
/host/spi-builder-workspace/.build/checkouts/Spot/Sources/Spot/Crypto/HashAlgorithm.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CommonCrypto
10 |
[13/52] Compiling Spot AnyCodable.swift
/host/spi-builder-workspace/.build/checkouts/Spot/Sources/Spot/Crypto/HashAlgorithm.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CommonCrypto
10 |
[14/52] Compiling Spot AttributedError.swift
/host/spi-builder-workspace/.build/checkouts/Spot/Sources/Spot/Crypto/HashAlgorithm.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CommonCrypto
10 |
[15/52] Compiling Spot CollectionSerializable.swift
/host/spi-builder-workspace/.build/checkouts/Spot/Sources/Spot/Crypto/HashAlgorithm.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CommonCrypto
10 |
[16/52] Compiling Spot MD5Digest.swift
/host/spi-builder-workspace/.build/checkouts/Spot/Sources/Spot/Crypto/HashAlgorithm.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CommonCrypto
10 |
[17/52] Compiling Spot NotificationObserver.swift
/host/spi-builder-workspace/.build/checkouts/Spot/Sources/Spot/Crypto/HashAlgorithm.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CommonCrypto
10 |
[18/52] Compiling Spot Ref.swift
/host/spi-builder-workspace/.build/checkouts/Spot/Sources/Spot/Crypto/HashAlgorithm.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CommonCrypto
10 |
[19/52] Compiling Spot Status.swift
/host/spi-builder-workspace/.build/checkouts/Spot/Sources/Spot/Crypto/HashAlgorithm.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CommonCrypto
10 |
[20/52] Compiling Spot Suffix.swift
/host/spi-builder-workspace/.build/checkouts/Spot/Sources/Spot/Crypto/HashAlgorithm.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CommonCrypto
10 |
[21/52] Compiling Spot SynchronizableValue.swift
/host/spi-builder-workspace/.build/checkouts/Spot/Sources/Spot/Crypto/HashAlgorithm.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CommonCrypto
10 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[22/52] Emitting module Spot
/host/spi-builder-workspace/.build/checkouts/Spot/Sources/Spot/Crypto/HashAlgorithm.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CommonCrypto
10 |
[23/52] Compiling Spot CGImage+.swift
/host/spi-builder-workspace/.build/checkouts/Spot/Sources/Spot/Crypto/HashAlgorithm.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CommonCrypto
10 |
[24/52] Compiling Spot CGImageSource+.swift
/host/spi-builder-workspace/.build/checkouts/Spot/Sources/Spot/Crypto/HashAlgorithm.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CommonCrypto
10 |
[25/52] Compiling Spot CGSize+.swift
/host/spi-builder-workspace/.build/checkouts/Spot/Sources/Spot/Crypto/HashAlgorithm.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CommonCrypto
10 |
[26/52] Compiling Spot Collection+.swift
/host/spi-builder-workspace/.build/checkouts/Spot/Sources/Spot/Crypto/HashAlgorithm.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CommonCrypto
10 |
[27/52] Compiling Spot Data+.swift
/host/spi-builder-workspace/.build/checkouts/Spot/Sources/Spot/Crypto/HashAlgorithm.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CommonCrypto
10 |
[28/52] Compiling Spot DispatchQueue+.swift
/host/spi-builder-workspace/.build/checkouts/Spot/Sources/Spot/Crypto/HashAlgorithm.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CommonCrypto
10 |
[29/52] Compiling Spot HashAlgorithm.swift
/host/spi-builder-workspace/.build/checkouts/Spot/Sources/Spot/Crypto/HashAlgorithm.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CommonCrypto
10 |
[30/52] Compiling Spot SymmetricCryptor.swift
/host/spi-builder-workspace/.build/checkouts/Spot/Sources/Spot/Crypto/HashAlgorithm.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CommonCrypto
10 |
[31/52] Compiling Spot Bundle+.swift
/host/spi-builder-workspace/.build/checkouts/Spot/Sources/Spot/Crypto/HashAlgorithm.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CommonCrypto
10 |
[32/52] Compiling Spot CFDictionary+.swift
/host/spi-builder-workspace/.build/checkouts/Spot/Sources/Spot/Crypto/HashAlgorithm.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CommonCrypto
10 |
[33/52] Compiling Spot CGColor+.swift
/host/spi-builder-workspace/.build/checkouts/Spot/Sources/Spot/Crypto/HashAlgorithm.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CommonCrypto
10 |
[34/52] Compiling Spot CGContext+.swift
/host/spi-builder-workspace/.build/checkouts/Spot/Sources/Spot/Crypto/HashAlgorithm.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CommonCrypto
10 |
[35/52] Compiling Spot DecimalColor.swift
/host/spi-builder-workspace/.build/checkouts/Spot/Sources/Spot/Crypto/HashAlgorithm.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CommonCrypto
10 |
[36/52] Compiling Spot EventObservable.swift
/host/spi-builder-workspace/.build/checkouts/Spot/Sources/Spot/Crypto/HashAlgorithm.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CommonCrypto
10 |
[37/52] Compiling Spot GroupSharedData.swift
/host/spi-builder-workspace/.build/checkouts/Spot/Sources/Spot/Crypto/HashAlgorithm.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CommonCrypto
10 |
[38/52] Compiling Spot KeyValueObserver.swift
/host/spi-builder-workspace/.build/checkouts/Spot/Sources/Spot/Crypto/HashAlgorithm.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CommonCrypto
10 |
[39/52] Compiling Spot Localization.swift
/host/spi-builder-workspace/.build/checkouts/Spot/Sources/Spot/Crypto/HashAlgorithm.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CommonCrypto
10 |
[40/52] Compiling Spot Logger.swift
/host/spi-builder-workspace/.build/checkouts/Spot/Sources/Spot/Crypto/HashAlgorithm.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CommonCrypto
10 |
[41/52] Compiling Spot Error+.swift
/host/spi-builder-workspace/.build/checkouts/Spot/Sources/Spot/Crypto/HashAlgorithm.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CommonCrypto
10 |
[42/52] Compiling Spot Notification+.swift
/host/spi-builder-workspace/.build/checkouts/Spot/Sources/Spot/Crypto/HashAlgorithm.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CommonCrypto
10 |
[43/52] Compiling Spot String+.swift
/host/spi-builder-workspace/.build/checkouts/Spot/Sources/Spot/Crypto/HashAlgorithm.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CommonCrypto
10 |
[44/52] Compiling Spot Substring+.swift
/host/spi-builder-workspace/.build/checkouts/Spot/Sources/Spot/Crypto/HashAlgorithm.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CommonCrypto
10 |
[45/52] Compiling Spot UI+.swift
/host/spi-builder-workspace/.build/checkouts/Spot/Sources/Spot/Crypto/HashAlgorithm.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CommonCrypto
10 |
[46/52] Compiling Spot URL+.swift
/host/spi-builder-workspace/.build/checkouts/Spot/Sources/Spot/Crypto/HashAlgorithm.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CommonCrypto
10 |
[47/52] Compiling Spot TypeConvertion.swift
/host/spi-builder-workspace/.build/checkouts/Spot/Sources/Spot/Crypto/HashAlgorithm.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CommonCrypto
10 |
[48/52] Compiling Spot UserDefaultsItem.swift
/host/spi-builder-workspace/.build/checkouts/Spot/Sources/Spot/Crypto/HashAlgorithm.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CommonCrypto
10 |
[49/52] Compiling Spot Version.swift
/host/spi-builder-workspace/.build/checkouts/Spot/Sources/Spot/Crypto/HashAlgorithm.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CommonCrypto
10 |
[50/52] Compiling Spot WeakRef.swift
/host/spi-builder-workspace/.build/checkouts/Spot/Sources/Spot/Crypto/HashAlgorithm.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CommonCrypto
10 |
[51/52] Compiling Spot WeakTimer.swift
/host/spi-builder-workspace/.build/checkouts/Spot/Sources/Spot/Crypto/HashAlgorithm.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CommonCrypto
10 |
[52/52] Compiling Spot Zip.swift
/host/spi-builder-workspace/.build/checkouts/Spot/Sources/Spot/Crypto/HashAlgorithm.swift:8:8: error: no such module 'Foundation'
6 | //
7 |
8 | import Foundation
| `- error: no such module 'Foundation'
9 | import CommonCrypto
10 |
BUILD FAILURE 6.2 wasm