Build Information
Failed to build swift-blurhash, reference main (7fc727
), with Swift 6.2 (beta) for Wasm on 22 Jun 2025 09:20:08 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/valeriyvan/swift-blurhash.git
Reference: main
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/valeriyvan/swift-blurhash
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 7fc7276 Update README.md
Cloned https://github.com/valeriyvan/swift-blurhash.git
Revision (git rev-parse @):
7fc7276f5d11fdd4e46e7c67765ed87278c4c80d
SUCCESS checkout https://github.com/valeriyvan/swift-blurhash.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/valeriyvan/swift-blurhash.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/apple/swift-algorithms.git
[1/5959] Fetching swift-algorithms
Fetched https://github.com/apple/swift-algorithms.git from cache (0.47s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (4.26s)
Fetching https://github.com/apple/swift-numerics.git
[1/5757] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.90s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (2.10s)
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Building for debugging...
[0/5] Write sources
[3/5] Compiling _NumericsShims _NumericsShims.c
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/15] Compiling RealModule Float+Real.swift
[7/16] Compiling RealModule RealFunctions.swift
[8/16] Compiling RealModule Real.swift
[9/16] Compiling RealModule Float16+Real.swift
[10/16] Compiling RealModule Float80+Real.swift
[11/16] Compiling RealModule ElementaryFunctions.swift
[12/16] Compiling RealModule AugmentedArithmetic.swift
[13/16] Compiling RealModule Double+Real.swift
[14/16] Emitting module RealModule
[15/16] Compiling RealModule AlgebraicField.swift
[16/16] Compiling RealModule ApproximateEquality.swift
[18/42] Compiling Algorithms Joined.swift
[19/42] Compiling Algorithms Keyed.swift
[20/42] Compiling Algorithms MinMax.swift
[21/45] Compiling Algorithms Compacted.swift
[22/45] Compiling Algorithms Cycle.swift
[23/45] Compiling Algorithms EitherSequence.swift
[24/45] Compiling Algorithms FirstNonNil.swift
[25/45] Compiling Algorithms RandomSample.swift
[26/45] Compiling Algorithms Reductions.swift
[27/45] Compiling Algorithms Rotate.swift
[28/45] Compiling Algorithms FlattenCollection.swift
[29/45] Compiling Algorithms Grouped.swift
[30/45] Compiling Algorithms Indexed.swift
[31/45] Compiling Algorithms Intersperse.swift
[32/45] Compiling Algorithms Split.swift
[33/45] Compiling Algorithms Stride.swift
[34/45] Compiling Algorithms Suffix.swift
[35/45] Compiling Algorithms Partition.swift
[36/45] Compiling Algorithms Permutations.swift
[37/45] Compiling Algorithms Product.swift
[38/45] Compiling Algorithms Trim.swift
[39/45] Compiling Algorithms Unique.swift
[40/45] Compiling Algorithms Windows.swift
[41/45] Compiling Algorithms AdjacentPairs.swift
[42/45] Compiling Algorithms Chain.swift
[43/45] Compiling Algorithms Chunked.swift
[44/45] Compiling Algorithms Combinations.swift
[45/45] Emitting module Algorithms
error: emit-module command failed with exit code 1 (use -v to see invocation)
[47/56] Emitting module Blurhash
/host/spi-builder-workspace/Sources/Blurhash/Data(ext).swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public extension Data {
[48/56] Compiling Blurhash CustomBase83EncodingDecoding.swift
/host/spi-builder-workspace/Sources/Blurhash/Data(ext).swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public extension Data {
[49/56] Compiling Blurhash Data(ext).swift
/host/spi-builder-workspace/Sources/Blurhash/Data(ext).swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public extension Data {
[50/57] Compiling Blurhash pow.swift
/host/spi-builder-workspace/Sources/Blurhash/Data(ext).swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public extension Data {
[51/57] Compiling Blurhash signPow.swift
/host/spi-builder-workspace/Sources/Blurhash/Data(ext).swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public extension Data {
[52/57] Compiling Blurhash UnsafeMutableRawBufferPointer(ext).swift
/host/spi-builder-workspace/Sources/Blurhash/Data(ext).swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public extension Data {
[53/57] Compiling Blurhash UnsafeRawBufferPointer(ext).swift
/host/spi-builder-workspace/Sources/Blurhash/Data(ext).swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public extension Data {
[54/57] Compiling Blurhash FloatingPoint.swift
/host/spi-builder-workspace/Sources/Blurhash/Data(ext).swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public extension Data {
[55/57] Compiling Blurhash RGBFloat.swift
/host/spi-builder-workspace/Sources/Blurhash/Data(ext).swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public extension Data {
[56/57] Compiling Blurhash UIImage(ext).swift
/host/spi-builder-workspace/Sources/Blurhash/Data(ext).swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public extension Data {
[57/57] Compiling Blurhash sRGBLinear.swift
/host/spi-builder-workspace/Sources/Blurhash/Data(ext).swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public extension Data {
BUILD FAILURE 6.2 wasm