The Swift Package Index logo.Swift Package Index

Build Information

Failed to build OCCTMCP, reference main (05a7a5), with Swift 6.2 for Wasm on 24 Nov 2026 13:08:33 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SecondMouseAU/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/SecondMouseAU/OCCTMCP
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 05a7a5a Merge pull request #289 from SecondMouseAU/release/v1.37.1-beta.10
Cloned https://github.com/SecondMouseAU/OCCTMCP.git
Revision (git rev-parse @):
05a7a5a94f6fd99b4f4eaf6f70c0c590acdf61ad
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/SecondMouseAU/OCCTMCP.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/SecondMouseAU/OCCTMCP.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:0edccce2083c005c7cf1d4a8cd47fd86214ad7a39c32bca4f7db4cf90ab01f49
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/SecondMouseAU/OCCTSwiftViewport.git
Fetching https://github.com/SecondMouseAU/OCCTSwiftIO.git
Fetching https://github.com/SecondMouseAU/OCCTSwiftMesh.git
Fetching https://github.com/SecondMouseAU/OCCTSwift.git
Fetching https://github.com/SecondMouseAU/OCCTSwiftInteraction.git
Fetching https://github.com/SecondMouseAU/OCCTSwiftScripts.git
[1/1219] Fetching occtswiftio
[709/1855] Fetching occtswiftio, occtswiftmesh
[1856/3977] Fetching occtswiftio, occtswiftmesh, occtswiftscripts
[2472/9019] Fetching occtswiftio, occtswiftmesh, occtswiftscripts, occtswiftviewport
Fetched https://github.com/SecondMouseAU/OCCTSwiftScripts.git from cache (0.76s)
[6040/6897] Fetching occtswiftio, occtswiftmesh, occtswiftviewport
Fetching https://github.com/modelcontextprotocol/swift-sdk.git
[6898/9212] Fetching occtswiftio, occtswiftmesh, occtswiftviewport, occtswiftinteraction
Fetched https://github.com/SecondMouseAU/OCCTSwiftIO.git from cache (0.89s)
Fetched https://github.com/SecondMouseAU/OCCTSwiftInteraction.git from cache (0.90s)
Fetched https://github.com/SecondMouseAU/OCCTSwiftViewport.git from cache (0.90s)
[1/73377] Fetching occtswift
[9541/78369] Fetching occtswift, swift-sdk
Fetched https://github.com/modelcontextprotocol/swift-sdk.git from cache (0.82s)
[14676/73377] Fetching occtswift
Fetched https://github.com/SecondMouseAU/OCCTSwiftMesh.git from cache (4.87s)
Fetched https://github.com/SecondMouseAU/OCCTSwift.git from cache (4.93s)
Computing version for https://github.com/modelcontextprotocol/swift-sdk.git
Computed https://github.com/modelcontextprotocol/swift-sdk.git at 0.12.1 (5.09s)
Fetching https://github.com/mattt/eventsource.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-system.git
[1/333] Fetching eventsource
[118/8917] Fetching eventsource, swift-log
[8918/16518] Fetching eventsource, swift-log, swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.74s)
[1/87132] Fetching swift-nio
Fetched https://github.com/mattt/eventsource.git from cache (2.96s)
Fetched https://github.com/apple/swift-log.git from cache (2.97s)
Fetched https://github.com/apple/swift-nio.git from cache (3.00s)
Computing version for https://github.com/SecondMouseAU/OCCTSwiftViewport.git
Computed https://github.com/SecondMouseAU/OCCTSwiftViewport.git at 1.3.2 (3.14s)
Computing version for https://github.com/mattt/eventsource.git
Computed https://github.com/mattt/eventsource.git at 1.6.0 (0.14s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.9.0 (0.18s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.17.2 (0.15s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.105.2 (0.37s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
[1/1936] Fetching swift-atomics
[1937/32436] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.26s)
Fetched https://github.com/apple/swift-collections.git from cache (1.27s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.43s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.6 (0.23s)
Computing version for https://github.com/SecondMouseAU/OCCTSwiftIO.git
Computed https://github.com/SecondMouseAU/OCCTSwiftIO.git at 2.0.0-beta.10 (0.15s)
Fetching https://github.com/SecondMouseAU/SwiftPMX.git
Fetching https://github.com/SecondMouseAU/SwiftX.git
Fetching https://github.com/tomasf/ThreeMF.git
Fetching https://github.com/SecondMouseAU/SwiftDXF.git
Fetching https://github.com/schwa/SwiftGLTF.git
Fetching https://github.com/SecondMouseAU/SwiftDWG.git
[1/755] Fetching swiftdwg
[9/913] Fetching swiftdwg, swiftpmx
[635/1042] Fetching swiftdwg, swiftpmx, swiftx
[1002/2372] Fetching swiftdwg, swiftpmx, swiftx, swiftgltf
[1203/3776] Fetching swiftdwg, swiftpmx, swiftx, swiftgltf, swiftdxf
[1204/4601] Fetching swiftdwg, swiftpmx, swiftx, swiftgltf, swiftdxf, threemf
Fetched https://github.com/SecondMouseAU/SwiftX.git from cache (0.67s)
Fetched https://github.com/SecondMouseAU/SwiftDWG.git from cache (0.67s)
Fetching https://github.com/SecondMouseAU/SwiftJWW.git
Fetched https://github.com/schwa/SwiftGLTF.git from cache (0.68s)
[2297/2387] Fetching swiftpmx, swiftdxf, threemf
Fetched https://github.com/SecondMouseAU/SwiftPMX.git from cache (1.08s)
Fetched https://github.com/SecondMouseAU/SwiftDXF.git from cache (1.08s)
[1/708] Fetching swiftjww
Fetched https://github.com/tomasf/ThreeMF.git from cache (1.09s)
Fetched https://github.com/SecondMouseAU/SwiftJWW.git from cache (0.48s)
Computing version for https://github.com/SecondMouseAU/SwiftDWG.git
Computed https://github.com/SecondMouseAU/SwiftDWG.git at 0.2.0 (1.29s)
Computing version for https://github.com/SecondMouseAU/SwiftJWW.git
Computed https://github.com/SecondMouseAU/SwiftJWW.git at 1.5.0 (0.13s)
Computing version for https://github.com/SecondMouseAU/SwiftX.git
Computed https://github.com/SecondMouseAU/SwiftX.git at 1.0.1 (0.12s)
Computing version for https://github.com/SecondMouseAU/SwiftPMX.git
Computed https://github.com/SecondMouseAU/SwiftPMX.git at 1.1.1 (0.13s)
Computing version for https://github.com/SecondMouseAU/SwiftDXF.git
Computed https://github.com/SecondMouseAU/SwiftDXF.git at 0.6.1 (0.13s)
Computing version for https://github.com/schwa/SwiftGLTF.git
Computed https://github.com/schwa/SwiftGLTF.git at 1.0.7 (0.85s)
Fetching https://github.com/apple/swift-argument-parser.git
[1/19442] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.88s)
Computing version for https://github.com/tomasf/ThreeMF.git
Computed https://github.com/tomasf/ThreeMF.git at 0.3.3 (1.02s)
Fetching https://github.com/tomasf/Zip.git
Fetching https://github.com/tomasf/Nodal.git
[1/883] Fetching nodal
Fetched https://github.com/tomasf/Nodal.git from cache (0.39s)
[1/230] Fetching zip
Fetched https://github.com/tomasf/Zip.git from cache (0.46s)
Computing version for https://github.com/tomasf/Nodal.git
Computed https://github.com/tomasf/Nodal.git at 1.0.3 (0.61s)
Computing version for https://github.com/tomasf/Zip.git
Computed https://github.com/tomasf/Zip.git at 2.1.3 (0.13s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.8.2 (0.15s)
Computing version for https://github.com/SecondMouseAU/OCCTSwiftScripts.git
Computed https://github.com/SecondMouseAU/OCCTSwiftScripts.git at 1.7.1-beta.4 (0.23s)
Computing version for https://github.com/SecondMouseAU/OCCTSwiftMesh.git
Computed https://github.com/SecondMouseAU/OCCTSwiftMesh.git at 1.7.6-beta.4 (0.14s)
Computing version for https://github.com/SecondMouseAU/OCCTSwift.git
Computed https://github.com/SecondMouseAU/OCCTSwift.git at 4.0.0-beta.6 (0.27s)
Computing version for https://github.com/SecondMouseAU/OCCTSwiftInteraction.git
Computed https://github.com/SecondMouseAU/OCCTSwiftInteraction.git at 3.0.0-beta.7 (0.15s)
Creating working copy for https://github.com/SecondMouseAU/OCCTSwiftScripts.git
Working copy of https://github.com/SecondMouseAU/OCCTSwiftScripts.git resolved at 1.7.1-beta.4
Creating working copy for https://github.com/SecondMouseAU/SwiftJWW.git
Working copy of https://github.com/SecondMouseAU/SwiftJWW.git resolved at 1.5.0
Creating working copy for https://github.com/SecondMouseAU/OCCTSwiftMesh.git
Working copy of https://github.com/SecondMouseAU/OCCTSwiftMesh.git resolved at 1.7.6-beta.4
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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.17.2
Creating working copy for https://github.com/mattt/eventsource.git
Working copy of https://github.com/mattt/eventsource.git resolved at 1.6.0
Creating working copy for https://github.com/tomasf/ThreeMF.git
Working copy of https://github.com/tomasf/ThreeMF.git resolved at 0.3.3
Creating working copy for https://github.com/SecondMouseAU/OCCTSwiftInteraction.git
Working copy of https://github.com/SecondMouseAU/OCCTSwiftInteraction.git resolved at 3.0.0-beta.7
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.8.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.6
Creating working copy for https://github.com/SecondMouseAU/OCCTSwift.git
Working copy of https://github.com/SecondMouseAU/OCCTSwift.git resolved at 4.0.0-beta.6
Creating working copy for https://github.com/SecondMouseAU/OCCTSwiftIO.git
Working copy of https://github.com/SecondMouseAU/OCCTSwiftIO.git resolved at 2.0.0-beta.10
Creating working copy for https://github.com/SecondMouseAU/OCCTSwiftViewport.git
Working copy of https://github.com/SecondMouseAU/OCCTSwiftViewport.git resolved at 1.3.2
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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.105.2
Creating working copy for https://github.com/SecondMouseAU/SwiftDXF.git
Working copy of https://github.com/SecondMouseAU/SwiftDXF.git resolved at 0.6.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.9.0
Creating working copy for https://github.com/SecondMouseAU/SwiftDWG.git
Working copy of https://github.com/SecondMouseAU/SwiftDWG.git resolved at 0.2.0
Creating working copy for https://github.com/tomasf/Nodal.git
Working copy of https://github.com/tomasf/Nodal.git resolved at 1.0.3
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/tomasf/Zip.git
Working copy of https://github.com/tomasf/Zip.git resolved at 2.1.3
Creating working copy for https://github.com/schwa/SwiftGLTF.git
Working copy of https://github.com/schwa/SwiftGLTF.git resolved at 1.0.7
Downloading binary artifact https://github.com/SecondMouseAU/OCCTSwift/releases/download/v4.0.0-kernel.7/OCCT.xcframework.zip
[16375/149466554] Downloading https://github.com/SecondMouseAU/OCCTSwift/releases/download/v4.0.0-kernel.7/OCCT.xcframework.zip
Downloaded https://github.com/SecondMouseAU/OCCTSwift/releases/download/v4.0.0-kernel.7/OCCT.xcframework.zip (9.13s)
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/135] Write sources
[12/135] Copying Shaders.metal
[12/135] Write sources
[15/135] Compiling stripifier.cpp
[16/135] Compiling vfetchoptimizer.cpp
[17/135] Compiling spatialorder.cpp
[18/135] Compiling vcacheoptimizer.cpp
[19/135] Write swift-version-24593BA9C3E375BF.txt
[20/135] Compiling quantization.cpp
[21/135] Compiling vertexcodec.cpp
[22/135] Compiling rasterizer.cpp
[23/286] Compiling vertexfilter.cpp
[24/286] Compiling overdrawoptimizer.cpp
[24/286] Compiling opacitymap.cpp
[26/286] Compiling partition.cpp
[27/290] Compiling meshletcodec.cpp
[28/290] Compiling indexgenerator.cpp
[29/290] Compiling indexanalyzer.cpp
[30/290] Compiling indexcodec.cpp
[31/290] Compiling simplifier.cpp
[32/290] Compiling meshletutils.cpp
[33/290] Write sources
[35/290] Compiling allocator.cpp
[36/290] Compiling clusterizer.cpp
In file included from /host/spi-builder-workspace/.build/checkouts/OCCTSwift/Sources/OCCTBridge/src/OCCTBridge_Visualization_Camera.mm:41:
/host/spi-builder-workspace/.build/checkouts/OCCTSwift/Sources/OCCTBridge/src/OCCTBridge_Internal.h:36:12: fatal error: 'wasi-std-threading.hpp' file not found
   36 |   #include "wasi-std-threading.hpp"
      |            ^~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[37/290] Compiling OCCTBridge_Visualization_Camera.mm
In file included from /host/spi-builder-workspace/.build/checkouts/OCCTSwift/Sources/OCCTBridge/src/OCCTBridge_Visualization_Assets.mm:41:
/host/spi-builder-workspace/.build/checkouts/OCCTSwift/Sources/OCCTBridge/src/OCCTBridge_Internal.h:36:12: fatal error: 'wasi-std-threading.hpp' file not found
   36 |   #include "wasi-std-threading.hpp"
      |            ^~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[37/290] Compiling OCCTBridge_Visualization_Assets.mm
/host/spi-builder-workspace/.build/checkouts/OCCTSwift/Sources/OCCTPlatform/FoundationCompat.swift:28:76: error: cannot convert value of type 'CVaListPointer' to expected argument type '__isoc_va_list' (aka 'UnsafeMutableRawPointer')
 26 |             // site in this package today, which is exactly the kind of assumption a later call
 27 |             // site breaks silently.
 28 |             let needed = withVaList(arguments) { vsnprintf(nil, 0, format, $0) }
    |                                                                            `- error: cannot convert value of type 'CVaListPointer' to expected argument type '__isoc_va_list' (aka 'UnsafeMutableRawPointer')
 29 |             guard needed >= 0 else {
 30 |                 self = ""
[37/290] Compiling OCCTMeshOptimizerBridge.cpp
In file included from /host/spi-builder-workspace/.build/checkouts/OCCTSwift/Sources/OCCTBridge/src/OCCTBridge_Visualization_Presentation.mm:42:
/host/spi-builder-workspace/.build/checkouts/OCCTSwift/Sources/OCCTBridge/src/OCCTBridge_Internal.h:36:12: fatal error: 'wasi-std-threading.hpp' file not found
   36 |   #include "wasi-std-threading.hpp"
      |            ^~~~~~~~~~~~~~~~~~~~~~~~
[37/290] Compiling OCCTBridge_Visualization_Presentation.mm
BUILD FAILURE 6.2 wasm