Build Information
Failed to build ContextCore, reference v1.0.0 (0a5152), with Swift 6.2 for Wasm on 20 Mar 2026 08:00:45 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/christopherkarani/ContextCore.git
Reference: v1.0.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/christopherkarani/ContextCore
* tag v1.0.0 -> FETCH_HEAD
HEAD is now at 0a5152a chore(phase7): refresh checklist after simulator validation
Cloned https://github.com/christopherkarani/ContextCore.git
Revision (git rev-parse @):
0a5152a2dc3568cf3394b1b46c8e62d8b1d84198
SUCCESS checkout https://github.com/christopherkarani/ContextCore.git at v1.0.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/christopherkarani/ContextCore.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:33aba1b4ee401c56e0fd7ee42e05ab1ffc0b6f44277ad19cffda5d456eb09500
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/embedded-swift-sdk.json
Fetching https://github.com/christopherkarani/MetalANNS.git
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/1645] Fetching metalanns
[117/3816] Fetching metalanns, swift-docc-plugin
Fetched https://github.com/christopherkarani/MetalANNS.git from cache (0.39s)
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.40s)
Computing version for https://github.com/christopherkarani/MetalANNS.git
Computed https://github.com/christopherkarani/MetalANNS.git at 0.1.3 (0.75s)
Fetching https://github.com/groue/GRDB.swift.git
[1/113633] Fetching grdb.swift
Fetched https://github.com/groue/GRDB.swift.git from cache (45.66s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.6 (48.53s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3671] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.80s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.31s)
Computing version for https://github.com/groue/GRDB.swift.git
Computed https://github.com/groue/GRDB.swift.git at 7.10.0 (3.12s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.6
Creating working copy for https://github.com/christopherkarani/MetalANNS.git
Working copy of https://github.com/christopherkarani/MetalANNS.git resolved at 0.1.3
Creating working copy for https://github.com/groue/GRDB.swift.git
Working copy of https://github.com/groue/GRDB.swift.git resolved at 7.10.0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/39] Write sources
[2/39] Copying Sort.metal
[2/39] Write sources
[2/39] Copying SearchFloat16.metal
[2/39] Copying Search.metal
[2/39] Copying PQDistance.metal
[2/39] Copying NNDescentFloat16.metal
[2/39] Copying NNDescent.metal
[2/39] Copying HammingDistance.metal
[2/39] Copying Distance.metal
[2/39] Write sources
[2/39] Copying DistanceFloat16.metal
[2/39] Copying Info.plist
[2/39] Copying PrivacyInfo.xcprivacy
[2/39] Copying placeholder.txt
[2/39] Copying Relevance.metal
[2/39] Copying Recency.metal
[2/39] Copying Compression.metal
[2/39] Copying Consolidation.metal
[2/39] Write sources
[2/39] Copying Attention.metal
[4/39] Write sources
[5/39] Copying README.md
[14/39] Write sources
[28/39] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[30/47] Emitting module ContextCoreTypes
/host/spi-builder-workspace/Sources/ContextCoreTypes/Errors.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// Error surface for ContextCore operations.
[31/47] Compiling ContextCoreTypes ContextCoreTypes.swift
/host/spi-builder-workspace/Sources/ContextCoreTypes/Errors.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// Error surface for ContextCore operations.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[32/47] Emitting module ContextCoreShaders
/host/spi-builder-workspace/Sources/ContextCoreShaders/ContextCoreShaders.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | /// Accessor namespace for the ContextCore shader resource bundle.
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "shim.h"
| `- note: in file included from <module-includes>:1:
2 |
/host/spi-builder-workspace/.build/checkouts/GRDB.swift/Sources/GRDBSQLite/shim.h:1:10: error: 'sqlite3.h' file not found
1 | #include <sqlite3.h>
| `- error: 'sqlite3.h' file not found
2 |
3 | typedef void(*_errorLogCallback)(void *pArg, int iErrCode, const char *zMsg);
BUILD FAILURE 6.2 wasm