Build Information
Failed to build OCCTMCP, reference v1.37.0 (017cc6), with Swift 6.3 for Wasm on 2 Oct 2026 21:59:36 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SecondMouseAU/OCCTMCP.git
Reference: v1.37.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/SecondMouseAU/OCCTMCP
* tag v1.37.0 -> FETCH_HEAD
HEAD is now at 017cc6a Merge pull request #193 from SecondMouseAU/release/1.37.0
Cloned https://github.com/SecondMouseAU/OCCTMCP.git
Revision (git rev-parse @):
017cc6a4ad73f3d023f04e5c1b127932fdc16da7
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/SecondMouseAU/OCCTMCP.git at v1.37.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/SecondMouseAU/OCCTMCP.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:253aad7f5b11d25cf9eaef34120b94cd8a325782929c57fb304a7711494a3f9a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Fetching https://github.com/SecondMouseAU/OCCTSwiftMesh.git
Fetching https://github.com/SecondMouseAU/OCCTSwiftInteraction.git
Fetching https://github.com/SecondMouseAU/OCCTSwiftIO.git
Fetching https://github.com/SecondMouseAU/OCCTSwift.git
Fetching https://github.com/SecondMouseAU/OCCTSwiftScripts.git
[1/1980] Fetching occtswiftinteraction
[81/2591] Fetching occtswiftinteraction, occtswiftmesh
[106/4264] Fetching occtswiftinteraction, occtswiftmesh, occtswiftscripts
[324/4754] Fetching occtswiftinteraction, occtswiftmesh, occtswiftscripts, occtswiftio
Fetched https://github.com/SecondMouseAU/OCCTSwiftMesh.git from cache (0.52s)
[3826/4143] Fetching occtswiftinteraction, occtswiftscripts, occtswiftio
Fetched https://github.com/SecondMouseAU/OCCTSwiftIO.git from cache (0.52s)
Fetching https://github.com/modelcontextprotocol/swift-sdk.git
[3419/3653] Fetching occtswiftinteraction, occtswiftscripts
[3654/61374] Fetching occtswiftinteraction, occtswiftscripts, occtswift
[10581/65316] Fetching occtswiftinteraction, occtswiftscripts, occtswift, swift-sdk
Fetched https://github.com/modelcontextprotocol/swift-sdk.git from cache (0.77s)
[14043/61374] Fetching occtswiftinteraction, occtswiftscripts, occtswift
Fetching https://github.com/SecondMouseAU/OCCTSwiftViewport.git
Fetched https://github.com/SecondMouseAU/OCCTSwiftScripts.git from cache (6.52s)
Fetched https://github.com/SecondMouseAU/OCCTSwiftInteraction.git from cache (6.52s)
Fetched https://github.com/SecondMouseAU/OCCTSwift.git from cache (6.56s)
[1/2316] Fetching occtswiftviewport
Fetched https://github.com/SecondMouseAU/OCCTSwiftViewport.git from cache (0.78s)
Computing version for https://github.com/SecondMouseAU/OCCTSwiftIO.git
Computed https://github.com/SecondMouseAU/OCCTSwiftIO.git at 1.8.0 (7.67s)
Fetching https://github.com/schwa/SwiftGLTF.git
Fetching https://github.com/tomasf/ThreeMF.git
[1/397] Fetching swiftgltf
[121/1217] Fetching swiftgltf, threemf
Fetching https://github.com/SecondMouseAU/SwiftJWW.git
Fetching https://github.com/SecondMouseAU/SwiftX.git
Fetching https://github.com/SecondMouseAU/SwiftPMX.git
Fetching https://github.com/SecondMouseAU/SwiftDXF.git
Fetched https://github.com/schwa/SwiftGLTF.git from cache (0.97s)
Fetched https://github.com/tomasf/ThreeMF.git from cache (0.96s)
[1/160] Fetching swiftjww
[13/279] Fetching swiftjww, swiftx
Fetched https://github.com/SecondMouseAU/SwiftJWW.git from cache (0.42s)
Fetched https://github.com/SecondMouseAU/SwiftX.git from cache (0.42s)
[1/148] Fetching swiftpmx
[149/303] Fetching swiftpmx, swiftdxf
Fetched https://github.com/SecondMouseAU/SwiftPMX.git from cache (0.34s)
[31/155] Fetching swiftdxf
Fetched https://github.com/SecondMouseAU/SwiftDXF.git from cache (0.36s)
Computing version for https://github.com/SecondMouseAU/OCCTSwiftInteraction.git
Computed https://github.com/SecondMouseAU/OCCTSwiftInteraction.git at 2.0.0 (1.53s)
Computing version for https://github.com/SecondMouseAU/OCCTSwiftScripts.git
Computed https://github.com/SecondMouseAU/OCCTSwiftScripts.git at 1.7.0 (0.19s)
Computing version for https://github.com/SecondMouseAU/OCCTSwiftMesh.git
Computed https://github.com/SecondMouseAU/OCCTSwiftMesh.git at 1.7.5 (0.29s)
Computing version for https://github.com/SecondMouseAU/OCCTSwift.git
Computed https://github.com/SecondMouseAU/OCCTSwift.git at 3.0.0 (0.33s)
Computing version for https://github.com/schwa/SwiftGLTF.git
Computed https://github.com/schwa/SwiftGLTF.git at 1.0.2 (1.29s)
Computing version for https://github.com/SecondMouseAU/OCCTSwiftViewport.git
Computed https://github.com/SecondMouseAU/OCCTSwiftViewport.git at 1.2.1 (0.17s)
Computing version for https://github.com/SecondMouseAU/SwiftDXF.git
Computed https://github.com/SecondMouseAU/SwiftDXF.git at 0.2.1 (0.16s)
Computing version for https://github.com/SecondMouseAU/SwiftJWW.git
Computed https://github.com/SecondMouseAU/SwiftJWW.git at 1.2.2 (0.17s)
Computing version for https://github.com/SecondMouseAU/SwiftX.git
Computed https://github.com/SecondMouseAU/SwiftX.git at 1.0.1 (0.17s)
Computing version for https://github.com/SecondMouseAU/SwiftPMX.git
Computed https://github.com/SecondMouseAU/SwiftPMX.git at 1.1.1 (0.18s)
Computing version for https://github.com/modelcontextprotocol/swift-sdk.git
Computed https://github.com/modelcontextprotocol/swift-sdk.git at 0.12.1 (0.20s)
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
[7/303] Fetching eventsource
[304/8535] Fetching eventsource, swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.61s)
[1/7098] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.88s)
[1/86265] Fetching swift-nio
Fetched https://github.com/mattt/eventsource.git from cache (5.03s)
Fetched https://github.com/apple/swift-nio.git from cache (5.11s)
Computing version for https://github.com/tomasf/ThreeMF.git
Computed https://github.com/tomasf/ThreeMF.git at 0.3.2 (5.58s)
Fetching https://github.com/tomasf/Zip.git
Fetching https://github.com/tomasf/Nodal.git
[1/216] Fetching zip
[200/1089] Fetching zip, nodal
Fetched https://github.com/tomasf/Zip.git from cache (0.49s)
[821/873] Fetching nodal
Fetched https://github.com/tomasf/Nodal.git from cache (0.56s)
Computing version for https://github.com/tomasf/Nodal.git
Computed https://github.com/tomasf/Nodal.git at 1.0.2 (0.80s)
Computing version for https://github.com/tomasf/Zip.git
Computed https://github.com/tomasf/Zip.git at 2.1.2 (0.18s)
Computing version for https://github.com/mattt/eventsource.git
Computed https://github.com/mattt/eventsource.git at 1.5.1 (0.14s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.15s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.21s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (0.35s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
[1/1885] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.54s)
[1/28538] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.44s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.61s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.1 (0.31s)
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/tomasf/Zip.git
Working copy of https://github.com/tomasf/Zip.git resolved at 2.1.2
Creating working copy for https://github.com/SecondMouseAU/OCCTSwiftViewport.git
Working copy of https://github.com/SecondMouseAU/OCCTSwiftViewport.git resolved at 1.2.1
Creating working copy for https://github.com/SecondMouseAU/OCCTSwift.git
Working copy of https://github.com/SecondMouseAU/OCCTSwift.git resolved at 3.0.0
Creating working copy for https://github.com/tomasf/Nodal.git
Working copy of https://github.com/tomasf/Nodal.git resolved at 1.0.2
Creating working copy for https://github.com/tomasf/ThreeMF.git
Working copy of https://github.com/tomasf/ThreeMF.git resolved at 0.3.2
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.1
Creating working copy for https://github.com/SecondMouseAU/SwiftX.git
Working copy of https://github.com/SecondMouseAU/SwiftX.git resolved at 1.0.1
Creating working copy for https://github.com/SecondMouseAU/OCCTSwiftInteraction.git
Working copy of https://github.com/SecondMouseAU/OCCTSwiftInteraction.git resolved at 2.0.0
Creating working copy for https://github.com/SecondMouseAU/SwiftDXF.git
Working copy of https://github.com/SecondMouseAU/SwiftDXF.git resolved at 0.2.1
Creating working copy for https://github.com/SecondMouseAU/OCCTSwiftIO.git
Working copy of https://github.com/SecondMouseAU/OCCTSwiftIO.git resolved at 1.8.0
Creating working copy for https://github.com/SecondMouseAU/SwiftPMX.git
Working copy of https://github.com/SecondMouseAU/SwiftPMX.git resolved at 1.1.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.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.1
Creating working copy for https://github.com/SecondMouseAU/OCCTSwiftScripts.git
Working copy of https://github.com/SecondMouseAU/OCCTSwiftScripts.git resolved at 1.7.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.15.1
Creating working copy for https://github.com/schwa/SwiftGLTF.git
Working copy of https://github.com/schwa/SwiftGLTF.git resolved at 1.0.2
Creating working copy for https://github.com/SecondMouseAU/SwiftJWW.git
Working copy of https://github.com/SecondMouseAU/SwiftJWW.git resolved at 1.2.2
Creating working copy for https://github.com/SecondMouseAU/OCCTSwiftMesh.git
Working copy of https://github.com/SecondMouseAU/OCCTSwiftMesh.git resolved at 1.7.5
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.103.0
Creating working copy for https://github.com/mattt/eventsource.git
Working copy of https://github.com/mattt/eventsource.git resolved at 1.5.1
Downloading binary artifact https://github.com/SecondMouseAU/OCCTSwift/releases/download/v3.0.0/OCCT.xcframework.zip
[16375/149067826] Downloading https://github.com/SecondMouseAU/OCCTSwift/releases/download/v3.0.0/OCCT.xcframework.zip
Downloaded https://github.com/SecondMouseAU/OCCTSwift/releases/download/v3.0.0/OCCT.xcframework.zip (12.38s)
warning: 'spi-builder-workspace': dependency 'occtswiftio' is not used by any target
Building for debugging...
[0/88] Write sources
[6/88] Copying Shaders.metal
[6/88] Write sources
[16/88] Compiling vfetchoptimizer.cpp
[17/88] Compiling vertexcodec.cpp
[18/88] Write swift-version-24593BA9C3E375BF.txt
[19/88] Compiling rasterizer.cpp
[20/88] Compiling quantization.cpp
[21/88] Compiling stripifier.cpp
[22/97] Compiling spatialorder.cpp
[23/97] Compiling simplifier.cpp
[24/100] Compiling vcacheoptimizer.cpp
[25/107] Compiling vertexfilter.cpp
[26/158] Compiling partition.cpp
[27/158] Compiling overdrawoptimizer.cpp
[28/158] Compiling opacitymap.cpp
[29/158] Compiling meshletutils.cpp
[30/158] Compiling meshletcodec.cpp
[31/158] Compiling indexgenerator.cpp
[32/158] Compiling indexcodec.cpp
[33/158] Compiling indexanalyzer.cpp
[34/158] Compiling clusterizer.cpp
[35/158] Compiling allocator.cpp
[36/158] Compiling pugixml.cpp
[37/158] Write sources
[39/158] Compiling OCCTMeshOptimizerBridge.cpp
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>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[40/158] Compiling OCCTBridge_Topology.mm
error: emit-module command failed with exit code 1 (use -v to see invocation)
[41/158] Emitting module SwiftGLTF
/host/spi-builder-workspace/.build/checkouts/SwiftGLTF/Sources/SwiftGLTF/CollectionScanner.swift:2:8: error: no such module 'os'
1 | import Foundation
2 | import os
| `- error: no such module 'os'
3 |
4 | public struct CollectionScanner<C> where C: Collection {
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>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[41/158] Compiling OCCTBridge_Visualization.mm
/host/spi-builder-workspace/.build/checkouts/SwiftJWW/Sources/SwiftJWW/JWW.swift:98:47: error: cannot find 'CFStringConvertEncodingToNSStringEncoding' in scope
96 | let data = Data(bytes)
97 | #if canImport(CoreFoundation)
98 | let cp932 = String.Encoding(rawValue: CFStringConvertEncodingToNSStringEncoding(CFStringEncoding(CFStringEncodings.dosJapanese.rawValue)))
| `- error: cannot find 'CFStringConvertEncodingToNSStringEncoding' in scope
99 | if let s = String(data: data, encoding: cp932) { return s }
100 | #endif
/host/spi-builder-workspace/.build/checkouts/SwiftJWW/Sources/SwiftJWW/JWW.swift:98:89: error: cannot find 'CFStringEncoding' in scope
96 | let data = Data(bytes)
97 | #if canImport(CoreFoundation)
98 | let cp932 = String.Encoding(rawValue: CFStringConvertEncodingToNSStringEncoding(CFStringEncoding(CFStringEncodings.dosJapanese.rawValue)))
| `- error: cannot find 'CFStringEncoding' in scope
99 | if let s = String(data: data, encoding: cp932) { return s }
100 | #endif
BUILD FAILURE 6.3 wasm