The Swift Package Index logo.Swift Package Index

Build Information

Failed to build OCCTSwiftScripts, reference main (734c89), with Swift 6.1 for Wasm on 24 Oct 2026 04:32:29 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344846-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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SecondMouseAU/OCCTSwiftScripts.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/OCCTSwiftScripts
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 734c891 fix: ScriptContext stops wiping its directory and marks failed runs; manifests write atomically and merge (#143, #144) (#145)
Cloned https://github.com/SecondMouseAU/OCCTSwiftScripts.git
Revision (git rev-parse @):
734c8915bd2f22e43678479d9e4ad630d3666881
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/SecondMouseAU/OCCTSwiftScripts.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/SecondMouseAU/OCCTSwiftScripts.git
https://github.com/SecondMouseAU/OCCTSwiftScripts.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344846-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.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:f257c9b8465670613eb336f6def351d681b1d395aebdb231a45bac980c1f9d3c
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Fetching https://github.com/SecondMouseAU/OCCTSwift.git
Fetching https://github.com/SecondMouseAU/OCCTSwiftIO.git
Fetching https://github.com/SecondMouseAU/OCCTSwiftViewport.git
Fetching https://github.com/SecondMouseAU/OCCTSwiftInteraction.git
Fetching https://github.com/SecondMouseAU/OCCTSwiftMesh.git
[1/636] Fetching occtswiftmesh
[485/4582] Fetching occtswiftmesh, occtswiftviewport
[562/5134] Fetching occtswiftmesh, occtswiftviewport, occtswiftio
[5135/7198] Fetching occtswiftmesh, occtswiftviewport, occtswiftio, occtswiftinteraction
Fetched https://github.com/SecondMouseAU/OCCTSwiftIO.git from cache (0.70s)
[6027/6646] Fetching occtswiftmesh, occtswiftviewport, occtswiftinteraction
Fetched https://github.com/SecondMouseAU/OCCTSwiftMesh.git from cache (0.70s)
[5412/6010] Fetching occtswiftviewport, occtswiftinteraction
Fetched https://github.com/SecondMouseAU/OCCTSwiftInteraction.git from cache (0.75s)
Fetched https://github.com/SecondMouseAU/OCCTSwiftViewport.git from cache (0.75s)
[1/72666] Fetching occtswift
Fetched https://github.com/SecondMouseAU/OCCTSwift.git from cache (5.00s)
Computing version for https://github.com/SecondMouseAU/OCCTSwiftViewport.git
Computed https://github.com/SecondMouseAU/OCCTSwiftViewport.git at 1.2.3 (5.22s)
Computing version for https://github.com/SecondMouseAU/OCCTSwiftMesh.git
Computed https://github.com/SecondMouseAU/OCCTSwiftMesh.git at 1.7.6-beta.4 (0.22s)
Computing version for https://github.com/SecondMouseAU/OCCTSwift.git
Computed https://github.com/SecondMouseAU/OCCTSwift.git at 4.0.0-beta.6 (0.35s)
Computing version for https://github.com/SecondMouseAU/OCCTSwiftIO.git
Computed https://github.com/SecondMouseAU/OCCTSwiftIO.git at 2.0.0-beta.5 (0.24s)
Fetching https://github.com/tomasf/ThreeMF.git
Fetching https://github.com/SecondMouseAU/SwiftJWW.git
Fetching https://github.com/SecondMouseAU/SwiftPMX.git
Fetching https://github.com/schwa/SwiftGLTF.git
Fetching https://github.com/SecondMouseAU/SwiftX.git
Fetching https://github.com/SecondMouseAU/SwiftDXF.git
[1/170] Fetching swiftjww
[35/1475] Fetching swiftjww, swiftgltf
[250/2300] Fetching swiftjww, swiftgltf, threemf
[1919/2429] Fetching swiftjww, swiftgltf, threemf, swiftx
[2056/2587] Fetching swiftjww, swiftgltf, threemf, swiftx, swiftpmx
[2214/2859] Fetching swiftjww, swiftgltf, threemf, swiftx, swiftpmx, swiftdxf
Fetched https://github.com/SecondMouseAU/SwiftDXF.git from cache (0.56s)
[2300/2587] Fetching swiftjww, swiftgltf, threemf, swiftx, swiftpmx
Fetched https://github.com/SecondMouseAU/SwiftX.git from cache (0.86s)
Fetched https://github.com/SecondMouseAU/SwiftPMX.git from cache (0.86s)
Fetched https://github.com/SecondMouseAU/SwiftJWW.git from cache (0.86s)
Fetched https://github.com/schwa/SwiftGLTF.git from cache (0.87s)
Fetched https://github.com/tomasf/ThreeMF.git from cache (0.87s)
Computing version for https://github.com/SecondMouseAU/SwiftDXF.git
Computed https://github.com/SecondMouseAU/SwiftDXF.git at 0.3.0 (1.17s)
Computing version for https://github.com/SecondMouseAU/SwiftJWW.git
Computed https://github.com/SecondMouseAU/SwiftJWW.git at 1.2.2 (0.21s)
Computing version for https://github.com/SecondMouseAU/SwiftX.git
Computed https://github.com/SecondMouseAU/SwiftX.git at 1.0.1 (0.20s)
Computing version for https://github.com/SecondMouseAU/SwiftPMX.git
Computed https://github.com/SecondMouseAU/SwiftPMX.git at 1.1.1 (0.19s)
Computing version for https://github.com/schwa/SwiftGLTF.git
Computed https://github.com/schwa/SwiftGLTF.git at 1.0.5 (0.90s)
Fetching https://github.com/apple/swift-argument-parser.git
[1/19284] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.80s)
Computing version for https://github.com/tomasf/ThreeMF.git
Computed https://github.com/tomasf/ThreeMF.git at 0.3.3 (1.00s)
Fetching https://github.com/tomasf/Nodal.git
Fetching https://github.com/tomasf/Zip.git
[1/883] Fetching nodal
[107/1113] Fetching nodal, zip
Fetched https://github.com/tomasf/Zip.git from cache (0.35s)
Fetched https://github.com/tomasf/Nodal.git from cache (0.35s)
Computing version for https://github.com/tomasf/Nodal.git
Computed https://github.com/tomasf/Nodal.git at 1.0.3 (0.57s)
Computing version for https://github.com/tomasf/Zip.git
Computed https://github.com/tomasf/Zip.git at 2.1.3 (0.21s)
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.23s)
Computing version for https://github.com/SecondMouseAU/OCCTSwiftInteraction.git
Computed https://github.com/SecondMouseAU/OCCTSwiftInteraction.git at 3.0.0-beta.7 (0.22s)
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/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/SecondMouseAU/SwiftDXF.git
Working copy of https://github.com/SecondMouseAU/SwiftDXF.git resolved at 0.3.0
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.6-beta.4
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/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/SwiftX.git
Working copy of https://github.com/SecondMouseAU/SwiftX.git resolved at 1.0.1
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/schwa/SwiftGLTF.git
Working copy of https://github.com/schwa/SwiftGLTF.git resolved at 1.0.5
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/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/SecondMouseAU/OCCTSwiftIO.git
Working copy of https://github.com/SecondMouseAU/OCCTSwiftIO.git resolved at 2.0.0-beta.5
Creating working copy for https://github.com/SecondMouseAU/OCCTSwiftViewport.git
Working copy of https://github.com/SecondMouseAU/OCCTSwiftViewport.git resolved at 1.2.3
Downloading binary artifact https://github.com/SecondMouseAU/OCCTSwift/releases/download/v4.0.0-kernel.7/OCCT.xcframework.zip
[835/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.27s)
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/173] Write sources
In file included from /host/spi-builder-workspace/.build/checkouts/OCCTSwift/Sources/OCCTBridge/src/OCCTBridge_Curve3D_Conversion.mm:36:
/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.
[7/173] Compiling OCCTBridge_Curve3D_Conversion.mm
[7/173] Write swift-version-24593BA9C3E375BF.txt
In file included from /host/spi-builder-workspace/.build/checkouts/OCCTSwift/Sources/OCCTBridge/src/OCCTBridge_Curve3D_ArcLength.mm:36:
/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.
[7/173] Compiling OCCTBridge_Curve3D_ArcLength.mm
In file included from /host/spi-builder-workspace/.build/checkouts/OCCTSwift/Sources/OCCTBridge/src/OCCTBridge_Curve3D_Curves.mm:38:
/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.
[7/173] Compiling OCCTBridge_Curve3D_Curves.mm
In file included from /host/spi-builder-workspace/.build/checkouts/OCCTSwift/Sources/OCCTBridge/src/OCCTBridge_Curve3D_Adaptor.mm:36:
/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.
[7/173] Compiling OCCTBridge_Curve3D_Adaptor.mm
In file included from /host/spi-builder-workspace/.build/checkouts/OCCTSwift/Sources/OCCTBridge/src/OCCTBridge_Curve3D_Approximation.mm:37:
/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.
[7/173] Compiling OCCTBridge_Curve3D_Approximation.mm
[7/173] Compiling pugixml.cpp
In file included from /host/spi-builder-workspace/.build/checkouts/OCCTSwift/Sources/OCCTBridge/src/OCCTBridge_BRepGraph.mm:17:
/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"
      |            ^~~~~~~~~~~~~~~~~~~~~~~~
[7/173] Compiling OCCTBridge_BRepGraph.mm
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344846-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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:f257c9b8465670613eb336f6def351d681b1d395aebdb231a45bac980c1f9d3c
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/168] Write sources
[2/168] Copying Shaders.metal
[2/168] Write sources
[16/168] Compiling vfetchoptimizer.cpp
[17/168] Compiling stripifier.cpp
[18/168] Compiling vcacheoptimizer.cpp
[19/168] Compiling spatialorder.cpp
[20/168] Compiling vertexcodec.cpp
[21/168] Compiling quantization.cpp
[22/168] Compiling rasterizer.cpp
[23/168] Compiling vertexfilter.cpp
[24/168] Compiling meshletcodec.cpp
[25/168] Compiling overdrawoptimizer.cpp
[26/168] Compiling partition.cpp
[27/168] Compiling opacitymap.cpp
[28/168] Compiling meshletutils.cpp
[29/168] Compiling indexanalyzer.cpp
[30/168] Compiling allocator.cpp
[31/168] Compiling indexcodec.cpp
[32/168] Compiling indexgenerator.cpp
[33/168] Compiling simplifier.cpp
[34/168] 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.
[35/168] Compiling OCCTBridge_Visualization_Camera.mm
In file included from /host/spi-builder-workspace/.build/checkouts/OCCTSwift/Sources/OCCTBridge/src/OCCTBridge_Topology_ShapeQueries.mm:31:
/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"
      |            ^~~~~~~~~~~~~~~~~~~~~~~~
[35/168] Compiling OCCTBridge_Topology_ShapeQueries.mm
In file included from /host/spi-builder-workspace/.build/checkouts/OCCTSwift/Sources/OCCTBridge/src/OCCTBridge_Visualization_Appearance.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"
      |            ^~~~~~~~~~~~~~~~~~~~~~~~
[35/168] Compiling OCCTBridge_Visualization_Appearance.mm
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"
      |            ^~~~~~~~~~~~~~~~~~~~~~~~
[35/168] Compiling OCCTBridge_Visualization_Presentation.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"
      |            ^~~~~~~~~~~~~~~~~~~~~~~~
[35/168] Compiling OCCTBridge_Visualization_Assets.mm
[35/168] Compiling OCCTMeshOptimizerBridge.cpp
[35/168] Compiling pugixml.cpp
[35/168] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm