Build Information
Failed to build OCCTSwiftScripts, reference v1.0.2 (be3c89), with Swift 6.1 for Wasm on 9 May 2026 15:18:20 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/gsdali/OCCTSwiftScripts.git
Reference: v1.0.2
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/OCCTSwiftScripts
* tag v1.0.2 -> FETCH_HEAD
HEAD is now at be3c89d chore: bump cohort floors — OCCTSwift 1.0.3, Viewport 1.0.1, Tools 1.0.2 (#46)
Cloned https://github.com/gsdali/OCCTSwiftScripts.git
Revision (git rev-parse @):
be3c89d651e6dcdfe0f0f52c08e4c520b90f3134
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/gsdali/OCCTSwiftScripts.git at v1.0.2
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/gsdali/OCCTSwiftScripts.git
https://github.com/gsdali/OCCTSwiftScripts.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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.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 swiftpackageindex/spi-images
Digest: sha256:276d66a16377d3ee059b2e3429cbc1154d9f01e42871e5d702fd5d8b9044d93d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
Fetching https://github.com/gsdali/OCCTSwiftIO.git
Fetching https://github.com/gsdali/OCCTSwiftAIS.git
Fetching https://github.com/gsdali/OCCTSwiftViewport.git
Fetching https://github.com/gsdali/OCCTSwiftMesh.git
Fetching https://github.com/gsdali/OCCTSwift.git
Fetching https://github.com/gsdali/OCCTSwiftTools.git
[1/84] Fetching occtswiftmesh
[85/323] Fetching occtswiftmesh, occtswiftais
[270/376] Fetching occtswiftmesh, occtswiftais, occtswiftio
[377/581] Fetching occtswiftmesh, occtswiftais, occtswiftio, occtswifttools
[582/1569] Fetching occtswiftmesh, occtswiftais, occtswiftio, occtswifttools, occtswiftviewport
[968/6070] Fetching occtswiftmesh, occtswiftais, occtswiftio, occtswifttools, occtswiftviewport, occtswift
Fetched https://github.com/gsdali/OCCTSwiftIO.git from cache (39.75s)
Fetched https://github.com/gsdali/OCCTSwiftTools.git from cache (39.75s)
Fetched https://github.com/gsdali/OCCTSwiftViewport.git from cache (39.75s)
Fetched https://github.com/gsdali/OCCTSwiftMesh.git from cache (39.76s)
Fetched https://github.com/gsdali/OCCTSwiftAIS.git from cache (39.76s)
Fetched https://github.com/gsdali/OCCTSwift.git from cache (39.77s)
Computing version for https://github.com/gsdali/OCCTSwiftIO.git
Computed https://github.com/gsdali/OCCTSwiftIO.git at 1.0.0 (40.41s)
Computing version for https://github.com/gsdali/OCCTSwiftMesh.git
Computed https://github.com/gsdali/OCCTSwiftMesh.git at 1.0.0 (0.89s)
Computing version for https://github.com/gsdali/OCCTSwiftAIS.git
Computed https://github.com/gsdali/OCCTSwiftAIS.git at 1.0.1 (0.72s)
Computing version for https://github.com/gsdali/OCCTSwiftTools.git
Computed https://github.com/gsdali/OCCTSwiftTools.git at 1.1.0 (0.67s)
Computing version for https://github.com/gsdali/OCCTSwiftViewport.git
Computed https://github.com/gsdali/OCCTSwiftViewport.git at 1.0.2 (0.70s)
Computing version for https://github.com/gsdali/OCCTSwift.git
Computed https://github.com/gsdali/OCCTSwift.git at 1.0.4 (3.40s)
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/OCCTSwiftIO.git
Working copy of https://github.com/gsdali/OCCTSwiftIO.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/OCCTSwift.git
Working copy of https://github.com/gsdali/OCCTSwift.git resolved at 1.0.4
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/gsdali/OCCTSwiftViewport.git
Working copy of https://github.com/gsdali/OCCTSwiftViewport.git resolved at 1.0.2
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 (63.07s)
Building for debugging...
[0/90] Write sources
[10/90] Copying Shaders.metal
[11/90] Compiling vfetchoptimizer.cpp
[12/90] Compiling spatialorder.cpp
[13/90] Compiling stripifier.cpp
[14/90] Write swift-version-24593BA9C3E375BF.txt
[15/90] Compiling vcacheoptimizer.cpp
[16/90] Compiling rasterizer.cpp
[17/90] Compiling quantization.cpp
[18/90] Compiling vertexcodec.cpp
[19/91] Compiling vertexfilter.cpp
[20/128] Compiling overdrawoptimizer.cpp
[21/128] Compiling simplifier.cpp
[22/128] Compiling partition.cpp
[23/128] Compiling meshletcodec.cpp
[24/128] Compiling meshletutils.cpp
[25/128] Compiling indexcodec.cpp
[26/128] Compiling indexgenerator.cpp
[27/128] Compiling allocator.cpp
[28/128] Compiling opacitymap.cpp
[29/128] Compiling indexanalyzer.cpp
[30/128] Compiling clusterizer.cpp
error: emit-module command failed with exit code 1 (use -v to see invocation)
[32/128] Emitting module OCCTSwiftViewport
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/.build/checkouts/OCCTSwiftViewport/Sources/OCCTSwiftViewport/Camera/CameraController.swift:8:8: error: no such module 'simd'
6 |
7 | import Foundation
8 | import simd
| `- error: no such module 'simd'
9 | import Combine
10 |
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>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[32/133] Compiling OCCTBridge_Spatial.mm
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[32/133] Compiling OCCTMeshOptimizerBridge.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>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[32/133] Compiling OCCTBridge_Surface.mm
[33/133] Emitting module OCCTRunner
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/OCCTRunner/main.swift:193:24: error: cannot find 'Process' in scope
191 |
192 | func buildAndRun() throws {
193 | let buildProcess = Process()
| `- error: cannot find 'Process' in scope
194 | buildProcess.executableURL = URL(fileURLWithPath: "/usr/bin/swift")
195 | buildProcess.arguments = ["build", "--package-path", workspaceDir.path]
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>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[33/133] Compiling OCCTBridge_Topology.mm
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>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[33/133] Compiling OCCTBridge_Visualization.mm
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>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[33/133] Compiling OCCTBridge_Properties.mm
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:276d66a16377d3ee059b2e3429cbc1154d9f01e42871e5d702fd5d8b9044d93d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/59] Write sources
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.
[4/60] Compiling OCCTBridge_Topology.mm
[4/60] Compiling OCCTMeshOptimizerBridge.cpp
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>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /host/spi-builder-workspace/.build/checkouts/OCCTSwift/Sources/OCCTBridge/src/OCCTBridge_Modeling.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>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[4/60] Compiling OCCTBridge_Modeling.mm
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>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[4/60] Compiling OCCTBridge_Visualization.mm
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>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[4/60] Compiling OCCTBridge_Properties.mm
[4/60] Compiling OCCTBridge_ProjLib_NLPlate.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>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[4/60] Compiling OCCTBridge_Spatial.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>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[4/60] Compiling OCCTBridge_Surface.mm
BUILD FAILURE 6.1 wasm