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 SofarKit, reference master (ff6808), with Swift 6.2 (beta) for Wasm on 17 Jun 2025 12:22:40 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: master
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
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
========================================
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/dreymonde/Light
Fetching https://github.com/scottrhoyt/SwiftyTextTable
Fetching https://github.com/scinfu/SwiftSoup
Fetching https://github.com/onevcat/Rainbow
[1/75] Fetching light
[76/1004] Fetching light, swiftytexttable
[1005/2200] Fetching light, swiftytexttable, rainbow
Fetched https://github.com/dreymonde/Light from cache (0.33s)
[1/3916] Fetching swiftsoup
Fetched https://github.com/scottrhoyt/SwiftyTextTable from cache (0.59s)
Fetched https://github.com/onevcat/Rainbow from cache (0.59s)
Fetched https://github.com/scinfu/SwiftSoup from cache (0.60s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.2.0 (1.37s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable
Computed https://github.com/scottrhoyt/SwiftyTextTable at 0.9.0 (0.44s)
Computing version for https://github.com/scinfu/SwiftSoup
Computed https://github.com/scinfu/SwiftSoup at 1.7.5 (0.50s)
Computing version for https://github.com/dreymonde/Light
Computed https://github.com/dreymonde/Light at 0.3.0 (0.47s)
Fetching https://github.com/dreymonde/Shallows.git
[1/1076] Fetching shallows
Fetched https://github.com/dreymonde/Shallows.git from cache (0.63s)
Computing version for https://github.com/dreymonde/Shallows.git
Computed https://github.com/dreymonde/Shallows.git at 0.13.4 (3.24s)
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/dreymonde/Shallows.git
Working copy of https://github.com/dreymonde/Shallows.git resolved at 0.13.4
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/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 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 {
[10/92] Compiling SwiftSoup Attribute.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)
[11/92] Compiling SwiftSoup Attributes.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)
[12/93] Compiling SwiftSoup BooleanAttribute.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)
[13/93] Compiling SwiftSoup CharacterExt.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)
[14/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)
[15/93] 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)
[16/93] Compiling SwiftSoup HtmlTreeBuilder.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 {
[17/93] Compiling SwiftSoup HtmlTreeBuilderState.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 {
[18/93] Compiling SwiftSoup HttpStatusException.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 {
[19/93] Compiling SwiftSoup Node.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/93] Compiling SwiftSoup NodeTraversor.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/93] Compiling SwiftSoup NodeVisitor.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/93] Compiling SwiftSoup OrderedDictionary.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/93] Compiling SwiftSoup Document.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)
[24/93] Compiling SwiftSoup ArrayExt.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)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[25/93] 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
[26/93] 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
[27/93] Compiling SwiftSoup Collector.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)
[28/93] Compiling SwiftSoup CombiningEvaluator.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)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[29/93] 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/93] Compiling SwiftSoup Comment.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/93] Compiling SwiftSoup Connection.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)
[32/93] Compiling Rainbow String+Rainbow.swift
/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? {
[33/93] Compiling Rainbow Rainbow.swift
/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? {
[34/93] Compiling Rainbow StringGenerator.swift
/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? {
/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? {
[35/93] 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 {
[36/93] 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 {
[37/93] 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 {
[38/93] 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 {
[39/93] 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 {
[40/93] 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 {
[41/93] 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 {
[42/93] Compiling SwiftSoup OrderedSet.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 {
[43/93] Compiling SwiftSoup ParseError.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 {
[44/93] Compiling SwiftSoup ParseErrorList.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 {
[45/93] Compiling SwiftSoup ParseSettings.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 {
[46/93] Compiling SwiftSoup Parser.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 {
[47/93] Compiling SwiftSoup Pattern.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 {
[48/93] Compiling SwiftSoup QueryParser.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 {
BUILD FAILURE 6.2 wasm