Build Information
Failed to build SofarKit, reference 0.1.0 (ff6808
), with Swift 6.2 (beta) for Wasm on 17 Jun 2025 12:23:51 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/dreymonde/sofarkit.git
Reference: 0.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/dreymonde/sofarkit
* tag 0.1.0 -> FETCH_HEAD
HEAD is now at ff68082 Drop 'Sofar' from type names
Cloned https://github.com/dreymonde/sofarkit.git
Revision (git rev-parse @):
ff6808234f96e4c29a1f586db16b759aff849180
SUCCESS checkout https://github.com/dreymonde/sofarkit.git at 0.1.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/dreymonde/sofarkit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/scottrhoyt/SwiftyTextTable
Fetching https://github.com/dreymonde/Light
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/scinfu/SwiftSoup
[1/1196] Fetching rainbow
[37/2125] Fetching rainbow, swiftytexttable
[1395/2200] Fetching rainbow, swiftytexttable, light
[2201/6116] Fetching rainbow, swiftytexttable, light, swiftsoup
Fetched https://github.com/dreymonde/Light from cache (0.61s)
[3888/6041] Fetching rainbow, swiftytexttable, swiftsoup
Fetched https://github.com/scottrhoyt/SwiftyTextTable from cache (0.62s)
[3037/5112] Fetching rainbow, swiftsoup
Fetched https://github.com/onevcat/Rainbow from cache (0.78s)
Fetched https://github.com/scinfu/SwiftSoup from cache (0.78s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.2.0 (1.60s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable
Computed https://github.com/scottrhoyt/SwiftyTextTable at 0.9.0 (0.79s)
Computing version for https://github.com/scinfu/SwiftSoup
Computed https://github.com/scinfu/SwiftSoup at 1.7.5 (0.97s)
Computing version for https://github.com/dreymonde/Light
Computed https://github.com/dreymonde/Light at 0.3.0 (0.58s)
Fetching https://github.com/dreymonde/Shallows.git
[1/1076] Fetching shallows
Fetched https://github.com/dreymonde/Shallows.git from cache (0.24s)
Computing version for https://github.com/dreymonde/Shallows.git
Computed https://github.com/dreymonde/Shallows.git at 0.13.4 (3.05s)
Creating working copy for https://github.com/dreymonde/Light
Working copy of https://github.com/dreymonde/Light resolved at 0.3.0
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 3.2.0
Creating working copy for https://github.com/scinfu/SwiftSoup
Working copy of https://github.com/scinfu/SwiftSoup resolved at 1.7.5
Creating working copy for https://github.com/dreymonde/Shallows.git
Working copy of https://github.com/dreymonde/Shallows.git resolved at 0.13.4
Creating working copy for https://github.com/scottrhoyt/SwiftyTextTable
Working copy of https://github.com/scottrhoyt/SwiftyTextTable resolved at 0.9.0
Building for debugging...
[0/8] Write sources
[7/8] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/85] Emitting module Rainbow
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:27:8: error: no such module 'Foundation'
25 | // THE SOFTWARE.
26 |
27 | import Foundation
| `- error: no such module 'Foundation'
28 |
29 | private func getEnvValue(_ key: String) -> String? {
[10/86] Compiling SwiftSoup StructuralEvaluator.swift
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/ArrayExt.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | extension Array where Element : Equatable {
[11/86] Compiling SwiftSoup SwiftSoup.swift
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/ArrayExt.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | extension Array where Element : Equatable {
[12/86] Compiling SwiftSoup Tag.swift
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/ArrayExt.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | extension Array where Element : Equatable {
[13/86] Compiling SwiftSoup TextNode.swift
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/ArrayExt.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | extension Array where Element : Equatable {
[14/86] Compiling SwiftSoup Token.swift
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/ArrayExt.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | extension Array where Element : Equatable {
[15/86] Compiling SwiftSoup TokenQueue.swift
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/ArrayExt.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | extension Array where Element : Equatable {
[16/86] Compiling SwiftSoup Tokeniser.swift
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/ArrayExt.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | extension Array where Element : Equatable {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/93] Emitting module SwiftSoup
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/ArrayExt.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | extension Array where Element : Equatable {
[18/93] Compiling Shallows WriteOnlyStorage.swift
/host/spi-builder-workspace/.build/checkouts/Shallows/Sources/Shallows/Async.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | #if swift(>=5.5)
[19/94] Compiling SwiftSoup Selector.swift
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/ArrayExt.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | extension Array where Element : Equatable {
[20/94] Compiling SwiftSoup SerializationException.swift
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/ArrayExt.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | extension Array where Element : Equatable {
[21/94] Compiling SwiftSoup SimpleDictionary.swift
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/ArrayExt.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | extension Array where Element : Equatable {
[22/94] Compiling SwiftSoup StreamReader.swift
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/ArrayExt.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | extension Array where Element : Equatable {
[23/94] Compiling SwiftSoup String.swift
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/ArrayExt.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | extension Array where Element : Equatable {
[24/94] Compiling SwiftSoup StringBuilder.swift
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/ArrayExt.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | extension Array where Element : Equatable {
[25/94] Compiling SwiftSoup StringUtil.swift
/host/spi-builder-workspace/.build/checkouts/SwiftSoup/Sources/ArrayExt.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | extension Array where Element : Equatable {
[26/94] Compiling Shallows Zip.swift
/host/spi-builder-workspace/.build/checkouts/Shallows/Sources/Shallows/Async.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | #if swift(>=5.5)
[27/94] Compiling SwiftyTextTable TextTable.swift
/host/spi-builder-workspace/.build/checkouts/SwiftyTextTable/Source/SwiftyTextTable/TextTable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | typealias Regex = NSRegularExpression
error: emit-module command failed with exit code 1 (use -v to see invocation)
[28/94] Emitting module SwiftyTextTable
/host/spi-builder-workspace/.build/checkouts/SwiftyTextTable/Source/SwiftyTextTable/TextTable.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 |
11 | typealias Regex = NSRegularExpression
error: emit-module command failed with exit code 1 (use -v to see invocation)
[29/94] Emitting module Shallows
/host/spi-builder-workspace/.build/checkouts/Shallows/Sources/Shallows/Async.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | #if swift(>=5.5)
[30/94] Compiling Rainbow BackgroundColor.swift
/host/spi-builder-workspace/.build/checkouts/Shallows/Sources/Shallows/Async.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | #if swift(>=5.5)
[31/94] Compiling Rainbow CodesParser.swift
/host/spi-builder-workspace/.build/checkouts/Shallows/Sources/Shallows/Async.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | #if swift(>=5.5)
BUILD FAILURE 6.2 wasm