Build Information
Failed to build OCCTMCP, reference v1.2.0 (3f1a09), with Swift 6.2 for Wasm on 9 May 2026 15:18:09 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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: v1.2.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/gsdali/OCCTMCP
* tag v1.2.0 -> FETCH_HEAD
HEAD is now at 3f1a09c Cohort bump: full apply_feature history + visible point clouds (v1.2) (#26)
Cloned https://github.com/gsdali/OCCTMCP.git
Revision (git rev-parse @):
3f1a09cd8316019fd2c7a3812b825a533c9874c0
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/gsdali/OCCTMCP.git at v1.2.0
========================================
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-1":/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/OCCTSwiftViewport.git
Fetching https://github.com/gsdali/OCCTSwiftScripts.git
Fetching https://github.com/modelcontextprotocol/swift-sdk.git
Fetching https://github.com/gsdali/OCCTSwiftTools.git
Fetching https://github.com/gsdali/OCCTSwiftAIS.git
Fetching https://github.com/gsdali/OCCTSwiftMesh.git
[1/205] Fetching occtswifttools
[206/659] Fetching occtswifttools, occtswiftscripts
[660/898] Fetching occtswifttools, occtswiftscripts, occtswiftais
[727/982] Fetching occtswifttools, occtswiftscripts, occtswiftais, occtswiftmesh
[878/1970] Fetching occtswifttools, occtswiftscripts, occtswiftais, occtswiftmesh, occtswiftviewport
Fetched https://github.com/gsdali/OCCTSwiftScripts.git from cache (0.34s)
[756/1516] Fetching occtswifttools, occtswiftais, occtswiftmesh, occtswiftviewport
Fetching https://github.com/gsdali/OCCTSwift.git
Fetched https://github.com/gsdali/OCCTSwiftMesh.git from cache (0.35s)
[1136/1432] Fetching occtswifttools, occtswiftais, occtswiftviewport
[1325/4952] Fetching occtswifttools, occtswiftais, occtswiftviewport, swift-sdk
Fetched https://github.com/gsdali/OCCTSwiftViewport.git from cache (0.53s)
Fetched https://github.com/gsdali/OCCTSwiftTools.git from cache (0.61s)
Fetched https://github.com/gsdali/OCCTSwiftAIS.git from cache (0.61s)
Fetched https://github.com/modelcontextprotocol/swift-sdk.git from cache (0.62s)
[1/4501] Fetching occtswift
Fetched https://github.com/gsdali/OCCTSwift.git from cache (2.71s)
Computing version for https://github.com/gsdali/OCCTSwiftAIS.git
Computed https://github.com/gsdali/OCCTSwiftAIS.git at 1.0.1 (3.45s)
Computing version for https://github.com/gsdali/OCCTSwiftViewport.git
Computed https://github.com/gsdali/OCCTSwiftViewport.git at 1.0.2 (0.43s)
Computing version for https://github.com/gsdali/OCCTSwiftTools.git
Computed https://github.com/gsdali/OCCTSwiftTools.git at 1.1.0 (0.51s)
Fetching https://github.com/gsdali/OCCTSwiftIO.git
[1/53] Fetching occtswiftio
Fetched https://github.com/gsdali/OCCTSwiftIO.git from cache (0.29s)
Computing version for https://github.com/gsdali/OCCTSwiftScripts.git
Computed https://github.com/gsdali/OCCTSwiftScripts.git at 1.0.2 (0.86s)
Computing version for https://github.com/gsdali/OCCTSwiftMesh.git
Computed https://github.com/gsdali/OCCTSwiftMesh.git at 1.0.0 (0.52s)
Computing version for https://github.com/gsdali/OCCTSwift.git
Computed https://github.com/gsdali/OCCTSwift.git at 1.0.4 (3.64s)
Computing version for https://github.com/gsdali/OCCTSwiftIO.git
Computed https://github.com/gsdali/OCCTSwiftIO.git at 1.0.0 (0.46s)
Computing version for https://github.com/modelcontextprotocol/swift-sdk.git
Computed https://github.com/modelcontextprotocol/swift-sdk.git at 0.12.1 (3.25s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/mattt/eventsource.git
[1/271] Fetching eventsource
[272/5872] Fetching eventsource, swift-system
[1393/12726] Fetching eventsource, swift-system, swift-log
[12727/96040] Fetching eventsource, swift-system, swift-log, swift-nio
Fetched https://github.com/mattt/eventsource.git from cache (4.10s)
Fetched https://github.com/apple/swift-system.git from cache (4.10s)
[57676/90168] Fetching swift-log, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (8.87s)
Fetched https://github.com/apple/swift-nio.git from cache (9.00s)
Computing version for https://github.com/mattt/eventsource.git
Computed https://github.com/mattt/eventsource.git at 1.4.1 (9.40s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.52s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (0.45s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.99.0 (1.06s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
[1/1820] Fetching swift-atomics
[693/26324] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.49s)
Fetched https://github.com/apple/swift-collections.git from cache (1.54s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.91s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.5.0 (0.63s)
Creating working copy for https://github.com/gsdali/OCCTSwift.git
Working copy of https://github.com/gsdali/OCCTSwift.git resolved at 1.0.4
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/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/mattt/eventsource.git
Working copy of https://github.com/mattt/eventsource.git resolved at 1.4.1
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/gsdali/OCCTSwiftAIS.git
Working copy of https://github.com/gsdali/OCCTSwiftAIS.git resolved at 1.0.1
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/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/OCCTSwiftTools.git
Working copy of https://github.com/gsdali/OCCTSwiftTools.git resolved at 1.1.0
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/gsdali/OCCTSwiftViewport.git
Working copy of https://github.com/gsdali/OCCTSwiftViewport.git resolved at 1.0.2
Creating working copy for https://github.com/gsdali/OCCTSwiftScripts.git
Working copy of https://github.com/gsdali/OCCTSwiftScripts.git resolved at 1.0.2
Downloading binary artifact https://github.com/gsdali/OCCTSwift/releases/download/v1.0.0/OCCT.xcframework.zip
[870/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 (59.08s)
Building for debugging...
[0/67] Write sources
[9/67] Copying Shaders.metal
[9/67] Write sources
[12/67] Compiling allocator.cpp
[13/67] Compiling vfetchoptimizer.cpp
[14/67] Compiling vertexcodec.cpp
[15/67] Compiling vertexfilter.cpp
[16/67] Compiling vcacheoptimizer.cpp
[17/67] Compiling clusterizer.cpp
[18/67] Compiling stripifier.cpp
[19/67] Compiling spatialorder.cpp
[20/67] Compiling quantization.cpp
[21/67] Compiling rasterizer.cpp
[22/67] Compiling partition.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.
[23/67] Compiling OCCTBridge_Visualization.mm
[23/67] Compiling opacitymap.cpp
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>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[23/67] Compiling OCCTBridge_Surface.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>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[23/67] Compiling OCCTBridge_Topology.mm
[23/67] Compiling overdrawoptimizer.cpp
[23/67] Compiling simplifier.cpp
[23/67] Write swift-version-24593BA9C3E375BF.txt
[23/67] Compiling OCCTMeshOptimizerBridge.cpp
BUILD FAILURE 6.2 wasm