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 Erik, reference 5.1.0 (109a13), with Swift 6.2 (beta) for Wasm on 19 Jun 2025 09:57:44 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/phimage/Erik.git
Reference: 5.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/phimage/Erik
 * tag               5.1.0      -> FETCH_HEAD
HEAD is now at 109a130 Update package swift
Cloned https://github.com/phimage/Erik.git
Revision (git rev-parse @):
109a130e9cdb00789a43a7a625293eeb12d22989
SUCCESS checkout https://github.com/phimage/Erik.git at 5.1.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/phimage/Erik.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/nvzqz/FileKit.git
Fetching https://github.com/Thomvis/BrightFutures.git
Fetching https://github.com/tid-kijyun/Kanna.git
[1/3123] Fetching filekit
[1813/5480] Fetching filekit, kanna
[2921/9547] Fetching filekit, kanna, brightfutures
Fetched https://github.com/tid-kijyun/Kanna.git from cache (0.39s)
[5575/7190] Fetching filekit, brightfutures
Fetched https://github.com/nvzqz/FileKit.git from cache (0.85s)
Fetched https://github.com/Thomvis/BrightFutures.git from cache (0.87s)
Computing version for https://github.com/nvzqz/FileKit.git
Computed https://github.com/nvzqz/FileKit.git at 6.1.0 (1.66s)
Computing version for https://github.com/Thomvis/BrightFutures.git
Computed https://github.com/Thomvis/BrightFutures.git at 8.2.0 (0.69s)
Computing version for https://github.com/tid-kijyun/Kanna.git
Computed https://github.com/tid-kijyun/Kanna.git at 5.3.0 (0.46s)
Creating working copy for https://github.com/Thomvis/BrightFutures.git
Working copy of https://github.com/Thomvis/BrightFutures.git resolved at 8.2.0
Creating working copy for https://github.com/tid-kijyun/Kanna.git
Working copy of https://github.com/tid-kijyun/Kanna.git resolved at 5.3.0
Creating working copy for https://github.com/nvzqz/FileKit.git
Working copy of https://github.com/nvzqz/FileKit.git resolved at 6.1.0
Building for debugging...
[0/5] Copying PrivacyInfo.xcprivacy
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/29] Emitting module Kanna
/host/spi-builder-workspace/.build/checkouts/Kanna/Sources/Kanna/CSS.swift:25:8: error: no such module 'Foundation'
 23 | SOFTWARE.
 24 | */
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 | import libxml2
 27 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2-kanna.h"
  |          `- note: in file included from <module-includes>:1:
2 |
[7/29] Compiling Kanna CSS.swift
/host/spi-builder-workspace/.build/checkouts/Kanna/Sources/Kanna/CSS.swift:25:8: error: no such module 'Foundation'
 23 | SOFTWARE.
 24 | */
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 | import libxml2
 27 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2-kanna.h"
  |          `- note: in file included from <module-includes>:1:
2 |
[8/29] Compiling BrightFutures Result+BrightFutures.swift
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Implementation of the `AsyncType` protocol
[9/29] Compiling BrightFutures ResultProtocol.swift
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Implementation of the `AsyncType` protocol
[10/31] Compiling BrightFutures SequenceType+BrightFutures.swift
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Implementation of the `AsyncType` protocol
[11/31] Compiling BrightFutures SwiftConcurrency+BrightFutures.swift
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Implementation of the `AsyncType` protocol
[12/31] Compiling Kanna resource_bundle_accessor.swift
/host/spi-builder-workspace/.build/checkouts/Kanna/Sources/Kanna/CSS.swift:25:8: error: no such module 'Foundation'
 23 | SOFTWARE.
 24 | */
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 | import libxml2
 27 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2-kanna.h"
  |          `- note: in file included from <module-includes>:1:
2 |
[13/31] Compiling Kanna libxmlParserOption.swift
/host/spi-builder-workspace/.build/checkouts/Kanna/Sources/Kanna/CSS.swift:25:8: error: no such module 'Foundation'
 23 | SOFTWARE.
 24 | */
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 | import libxml2
 27 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2-kanna.h"
  |          `- note: in file included from <module-includes>:1:
2 |
[14/31] Compiling BrightFutures NSOperationQueue+BrightFutures.swift
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Implementation of the `AsyncType` protocol
[15/31] Compiling BrightFutures Promise.swift
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Implementation of the `AsyncType` protocol
[16/31] Compiling Kanna libxmlHTMLNode.swift
/host/spi-builder-workspace/.build/checkouts/Kanna/Sources/Kanna/CSS.swift:25:8: error: no such module 'Foundation'
 23 | SOFTWARE.
 24 | */
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 | import libxml2
 27 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2-kanna.h"
  |          `- note: in file included from <module-includes>:1:
2 |
[17/31] Compiling BrightFutures MutableAsyncType+ResultType.swift
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Implementation of the `AsyncType` protocol
[18/31] Compiling BrightFutures MutableAsyncType.swift
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Implementation of the `AsyncType` protocol
[19/31] Compiling BrightFutures AsyncType.swift
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Implementation of the `AsyncType` protocol
[20/31] Compiling BrightFutures Dispatch+BrightFutures.swift
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Implementation of the `AsyncType` protocol
[21/31] Compiling BrightFutures Errors.swift
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Implementation of the `AsyncType` protocol
[22/31] Compiling BrightFutures ExecutionContext.swift
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Implementation of the `AsyncType` protocol
[23/31] Compiling BrightFutures Future.swift
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Implementation of the `AsyncType` protocol
[24/31] Compiling BrightFutures InvalidationToken.swift
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Implementation of the `AsyncType` protocol
[25/31] Compiling Kanna Kanna.swift
/host/spi-builder-workspace/.build/checkouts/Kanna/Sources/Kanna/CSS.swift:25:8: error: no such module 'Foundation'
 23 | SOFTWARE.
 24 | */
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 | import libxml2
 27 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2-kanna.h"
  |          `- note: in file included from <module-includes>:1:
2 |
[26/31] Compiling Kanna Deprecated.swift
/host/spi-builder-workspace/.build/checkouts/Kanna/Sources/Kanna/CSS.swift:25:8: error: no such module 'Foundation'
 23 | SOFTWARE.
 24 | */
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 | import libxml2
 27 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2-kanna.h"
  |          `- note: in file included from <module-includes>:1:
2 |
[27/31] Compiling Kanna libxmlHTMLDocument.swift
/host/spi-builder-workspace/.build/checkouts/Kanna/Sources/Kanna/CSS.swift:25:8: error: no such module 'Foundation'
 23 | SOFTWARE.
 24 | */
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 | import libxml2
 27 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "libxml2-kanna.h"
  |          `- note: in file included from <module-includes>:1:
2 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[28/31] Emitting module BrightFutures
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Implementation of the `AsyncType` protocol
[29/31] Compiling BrightFutures Async.swift
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Implementation of the `AsyncType` protocol
[30/31] Compiling BrightFutures AsyncType+Debug.swift
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Implementation of the `AsyncType` protocol
[31/31] Compiling BrightFutures AsyncType+ResultType.swift
/host/spi-builder-workspace/.build/checkouts/BrightFutures/Sources/BrightFutures/Async.swift:9:8: error: no such module 'Foundation'
  7 | //
  8 |
  9 | import Foundation
    |        `- error: no such module 'Foundation'
 10 |
 11 | /// Implementation of the `AsyncType` protocol
BUILD FAILURE 6.2 wasm