Build Information
Failed to build OCCTMCP, reference main (ec345b), with Swift 6.2 for Wasm on 9 May 2026 05:52:38 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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 swift-6.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/gsdali/OCCTMCP.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/gsdali/OCCTMCP
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at ec345b1 docs(README): add ecosystem-map cross-link + note SemVer-stable from v1.0.0
Cloned https://github.com/gsdali/OCCTMCP.git
Revision (git rev-parse @):
ec345b12f023431eb25bfd8f1609da9e9f9c3862
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/gsdali/OCCTMCP.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/gsdali/OCCTMCP.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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 swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:2a8b2d9e022a9894c61e0736af7cdaa1ee64c002dbb133a55c0d7e8980b3ad16
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest
Fetching https://github.com/gsdali/OCCTSwift.git
Fetching https://github.com/gsdali/OCCTSwiftScripts.git
Fetching https://github.com/gsdali/OCCTSwiftTools.git
Fetching https://github.com/gsdali/OCCTSwiftMesh.git
Fetching https://github.com/gsdali/OCCTSwiftViewport.git
Fetching https://github.com/gsdali/OCCTSwiftAIS.git
[1/84] Fetching occtswiftmesh
[19/268] Fetching occtswiftmesh, occtswifttools
[266/502] Fetching occtswiftmesh, occtswifttools, occtswiftais
[431/944] Fetching occtswiftmesh, occtswifttools, occtswiftais, occtswiftscripts
[658/1916] Fetching occtswiftmesh, occtswifttools, occtswiftais, occtswiftscripts, occtswiftviewport
Fetched https://github.com/gsdali/OCCTSwiftAIS.git from cache (0.35s)
[858/1682] Fetching occtswiftmesh, occtswifttools, occtswiftscripts, occtswiftviewport
Fetching https://github.com/modelcontextprotocol/swift-sdk.git
[1683/6147] Fetching occtswiftmesh, occtswifttools, occtswiftscripts, occtswiftviewport, occtswift
Fetched https://github.com/gsdali/OCCTSwiftTools.git from cache (0.63s)
Fetched https://github.com/gsdali/OCCTSwiftMesh.git from cache (0.63s)
Fetched https://github.com/gsdali/OCCTSwiftScripts.git from cache (0.63s)
Fetched https://github.com/gsdali/OCCTSwiftViewport.git from cache (0.64s)
[45/4465] Fetching occtswift
[671/7985] Fetching occtswift, swift-sdk
Fetched https://github.com/modelcontextprotocol/swift-sdk.git from cache (0.77s)
Fetched https://github.com/gsdali/OCCTSwift.git from cache (3.42s)
Computing version for https://github.com/gsdali/OCCTSwiftAIS.git
Computed https://github.com/gsdali/OCCTSwiftAIS.git at 1.0.0 (3.80s)
Computing version for https://github.com/gsdali/OCCTSwiftTools.git
Computed https://github.com/gsdali/OCCTSwiftTools.git at 1.0.1 (0.37s)
Fetching https://github.com/gsdali/OCCTSwiftIO.git
[1/53] Fetching occtswiftio
Fetched https://github.com/gsdali/OCCTSwiftIO.git from cache (0.52s)
Computing version for https://github.com/gsdali/OCCTSwiftScripts.git
Computed https://github.com/gsdali/OCCTSwiftScripts.git at 1.0.0 (0.95s)
Computing version for https://github.com/gsdali/OCCTSwiftMesh.git
Computed https://github.com/gsdali/OCCTSwiftMesh.git at 1.0.0 (0.36s)
Computing version for https://github.com/gsdali/OCCTSwiftIO.git
Computed https://github.com/gsdali/OCCTSwiftIO.git at 1.0.0 (0.37s)
Computing version for https://github.com/gsdali/OCCTSwiftViewport.git
Computed https://github.com/gsdali/OCCTSwiftViewport.git at 0.55.3 (0.38s)
Computing version for https://github.com/gsdali/OCCTSwift.git
Computed https://github.com/gsdali/OCCTSwift.git at 1.0.3 (2.85s)
Computing version for https://github.com/modelcontextprotocol/swift-sdk.git
Computed https://github.com/modelcontextprotocol/swift-sdk.git at 0.12.1 (0.53s)
Fetching https://github.com/mattt/eventsource.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-log.git
[1/271] Fetching eventsource
[272/5872] Fetching eventsource, swift-system
[2121/12726] Fetching eventsource, swift-system, swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.66s)
[1/83314] Fetching swift-nio
Fetched https://github.com/mattt/eventsource.git from cache (9.45s)
Fetched https://github.com/apple/swift-system.git from cache (9.46s)
Fetched https://github.com/apple/swift-nio.git from cache (9.64s)
Computing version for https://github.com/mattt/eventsource.git
Computed https://github.com/mattt/eventsource.git at 1.4.1 (10.62s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.55s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (0.42s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.99.0 (1.24s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
[1/1820] Fetching swift-atomics
[1530/26324] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (0.55s)
[1961/24504] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.76s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.40s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.5.0 (0.76s)
Creating working copy for https://github.com/gsdali/OCCTSwiftIO.git
Working copy of https://github.com/gsdali/OCCTSwiftIO.git resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.5.0
Creating working copy for https://github.com/modelcontextprotocol/swift-sdk.git
Working copy of https://github.com/modelcontextprotocol/swift-sdk.git resolved at 0.12.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.99.0
Creating working copy for https://github.com/gsdali/OCCTSwiftScripts.git
Working copy of https://github.com/gsdali/OCCTSwiftScripts.git resolved at 1.0.0
Creating working copy for https://github.com/gsdali/OCCTSwiftMesh.git
Working copy of https://github.com/gsdali/OCCTSwiftMesh.git resolved at 1.0.0
Creating working copy for https://github.com/gsdali/OCCTSwiftTools.git
Working copy of https://github.com/gsdali/OCCTSwiftTools.git resolved at 1.0.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.12.0
Creating working copy for https://github.com/mattt/eventsource.git
Working copy of https://github.com/mattt/eventsource.git resolved at 1.4.1
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/gsdali/OCCTSwift.git
Working copy of https://github.com/gsdali/OCCTSwift.git resolved at 1.0.3
Creating working copy for https://github.com/gsdali/OCCTSwiftAIS.git
Working copy of https://github.com/gsdali/OCCTSwiftAIS.git resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
Creating working copy for https://github.com/gsdali/OCCTSwiftViewport.git
Working copy of https://github.com/gsdali/OCCTSwiftViewport.git resolved at 0.55.3
Downloading binary artifact https://github.com/gsdali/OCCTSwift/releases/download/v1.0.0/OCCT.xcframework.zip
[898/341341773] Downloading https://github.com/gsdali/OCCTSwift/releases/download/v1.0.0/OCCT.xcframework.zip
Downloaded https://github.com/gsdali/OCCTSwift/releases/download/v1.0.0/OCCT.xcframework.zip (213.77s)
Building for debugging...
[0/67] Write sources
[0/67] Copying Shaders.metal
[1/67] Write sources
[10/67] Compiling stripifier.cpp
[11/67] Compiling vcacheoptimizer.cpp
[11/67] Compiling vfetchoptimizer.cpp
[13/67] Compiling spatialorder.cpp
[14/67] Write swift-version-24593BA9C3E375BF.txt
[15/67] Compiling vertexcodec.cpp
[16/67] Compiling quantization.cpp
[17/67] Compiling rasterizer.cpp
[18/103] Compiling opacitymap.cpp
[19/103] Compiling vertexfilter.cpp
[20/103] Compiling meshletcodec.cpp
[21/103] Compiling overdrawoptimizer.cpp
[21/103] Compiling indexgenerator.cpp
[23/103] Compiling allocator.cpp
[24/103] Compiling indexcodec.cpp
[25/103] Write sources
[27/103] Compiling indexanalyzer.cpp
[28/103] Compiling partition.cpp
[29/103] Compiling meshletutils.cpp
[30/103] Compiling simplifier.cpp
[31/103] Compiling clusterizer.cpp
In file included from /host/spi-builder-workspace/.build/checkouts/OCCTSwift/Sources/OCCTBridge/src/OCCTBridge_Visualization.mm:30:
/host/spi-builder-workspace/.build/checkouts/OCCTSwift/Sources/OCCTBridge/src/../include/OCCTBridge.h:17:9: fatal error: 'Foundation/Foundation.h' file not found
17 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[32/103] Compiling OCCTBridge_Visualization.mm
In file included from /host/spi-builder-workspace/.build/checkouts/OCCTSwift/Sources/OCCTBridge/src/OCCTBridge_Surface.mm:25:
/host/spi-builder-workspace/.build/checkouts/OCCTSwift/Sources/OCCTBridge/src/../include/OCCTBridge.h:17:9: fatal error: 'Foundation/Foundation.h' file not found
17 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[32/103] Compiling OCCTBridge_Surface.mm
In file included from /host/spi-builder-workspace/.build/checkouts/OCCTSwift/Sources/OCCTBridge/src/OCCTBridge_Spatial.mm:14:
/host/spi-builder-workspace/.build/checkouts/OCCTSwift/Sources/OCCTBridge/src/../include/OCCTBridge.h:17:9: fatal error: 'Foundation/Foundation.h' file not found
17 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[32/103] Compiling OCCTBridge_Spatial.mm
In file included from /host/spi-builder-workspace/.build/checkouts/OCCTSwift/Sources/OCCTBridge/src/OCCTBridge_ProjLib_NLPlate.mm:20:
/host/spi-builder-workspace/.build/checkouts/OCCTSwift/Sources/OCCTBridge/src/../include/OCCTBridge.h:17:9: fatal error: 'Foundation/Foundation.h' file not found
17 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[32/103] Compiling OCCTBridge_ProjLib_NLPlate.mm
[32/103] Compiling OCCTMeshOptimizerBridge.cpp
In file included from /host/spi-builder-workspace/.build/checkouts/OCCTSwift/Sources/OCCTBridge/src/OCCTBridge_Properties.mm:23:
/host/spi-builder-workspace/.build/checkouts/OCCTSwift/Sources/OCCTBridge/src/../include/OCCTBridge.h:17:9: fatal error: 'Foundation/Foundation.h' file not found
17 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[32/103] Compiling OCCTBridge_Properties.mm
In file included from /host/spi-builder-workspace/.build/checkouts/OCCTSwift/Sources/OCCTBridge/src/OCCTBridge_Topology.mm:19:
/host/spi-builder-workspace/.build/checkouts/OCCTSwift/Sources/OCCTBridge/src/../include/OCCTBridge.h:17:9: fatal error: 'Foundation/Foundation.h' file not found
17 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[32/103] Compiling OCCTBridge_Topology.mm
BUILD FAILURE 6.2 wasm