The Swift Package Index logo.Swift Package Index

Build Information

Failed to build OCCTSwiftIO, reference v1.8.0 (362fd5), with Swift 6.1 for Wasm on 22 Aug 2026 07:44:28 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-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.0.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SecondMouseAU/OCCTSwiftIO.git
Reference: v1.8.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/OCCTSwiftIO
 * tag               v1.8.0     -> FETCH_HEAD
HEAD is now at 362fd5d docs: sync the context-first policy with the ecosystem canonical
Cloned https://github.com/SecondMouseAU/OCCTSwiftIO.git
Revision (git rev-parse @):
362fd5d37d3d04d2474e16f6732589474e25c3c8
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/SecondMouseAU/OCCTSwiftIO.git at v1.8.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/SecondMouseAU/OCCTSwiftIO.git
https://github.com/SecondMouseAU/OCCTSwiftIO.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-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:290f441d1f5b7bf0dbbe61e8b7514208804cdcb507d57b3c762463ad036298f7
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Fetching https://github.com/SecondMouseAU/SwiftPMX.git
Fetching https://github.com/SecondMouseAU/SwiftDXF.git
Fetching https://github.com/schwa/SwiftGLTF.git
Fetching https://github.com/SecondMouseAU/SwiftJWW.git
Fetching https://github.com/tomasf/ThreeMF.git
Fetching https://github.com/SecondMouseAU/SwiftX.git
[1/148] Fetching swiftpmx
[27/303] Fetching swiftpmx, swiftdxf
[304/422] Fetching swiftpmx, swiftdxf, swiftx
[347/789] Fetching swiftpmx, swiftdxf, swiftx, swiftgltf
[541/949] Fetching swiftpmx, swiftdxf, swiftx, swiftgltf, swiftjww
[660/1622] Fetching swiftpmx, swiftdxf, swiftx, swiftgltf, swiftjww, threemf
Fetched https://github.com/SecondMouseAU/SwiftX.git from cache (0.70s)
Fetched https://github.com/SecondMouseAU/SwiftDXF.git from cache (0.70s)
Fetched https://github.com/SecondMouseAU/SwiftJWW.git from cache (0.70s)
Fetched https://github.com/SecondMouseAU/SwiftPMX.git from cache (0.70s)
Fetching https://github.com/SecondMouseAU/OCCTSwift.git
Fetched https://github.com/schwa/SwiftGLTF.git from cache (0.71s)
Fetched https://github.com/tomasf/ThreeMF.git from cache (0.71s)
[1/19509] Fetching occtswift
Fetched https://github.com/SecondMouseAU/OCCTSwift.git from cache (2.44s)
Computing version for https://github.com/schwa/SwiftGLTF.git
Computed https://github.com/schwa/SwiftGLTF.git at 1.0.2 (4.08s)
Computing version for https://github.com/SecondMouseAU/OCCTSwift.git
Computed https://github.com/SecondMouseAU/OCCTSwift.git at 3.0.0 (0.99s)
Computing version for https://github.com/SecondMouseAU/SwiftDXF.git
Computed https://github.com/SecondMouseAU/SwiftDXF.git at 0.2.1 (0.21s)
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.21s)
Computing version for https://github.com/SecondMouseAU/SwiftPMX.git
Computed https://github.com/SecondMouseAU/SwiftPMX.git at 1.1.1 (0.21s)
Computing version for https://github.com/tomasf/ThreeMF.git
Computed https://github.com/tomasf/ThreeMF.git at 0.2.5 (0.22s)
Fetching https://github.com/tomasf/Nodal.git
Fetching https://github.com/tomasf/Zip.git
[1/873] Fetching nodal
[115/1089] Fetching nodal, zip
Fetched https://github.com/tomasf/Zip.git from cache (0.44s)
Fetched https://github.com/tomasf/Nodal.git from cache (0.44s)
Computing version for https://github.com/tomasf/Nodal.git
Computed https://github.com/tomasf/Nodal.git at 1.0.2 (0.66s)
Computing version for https://github.com/tomasf/Zip.git
Computed https://github.com/tomasf/Zip.git at 2.1.2 (0.21s)
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/SwiftDXF.git
Working copy of https://github.com/SecondMouseAU/SwiftDXF.git resolved at 0.2.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/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.2.5
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 3.0.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/tomasf/Zip.git
Working copy of https://github.com/tomasf/Zip.git resolved at 2.1.2
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 (9.54s)
Building for debugging...
[0/31] Write sources
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.
[9/31] Compiling OCCTBridge_Visualization.mm
[9/31] Compiling pugixml.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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[9/31] 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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[9/31] Compiling OCCTBridge_Topology.mm
[9/31] Compiling OCCTBridge_Spatial.mm
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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[9/31] Compiling OCCTBridge_ProjLib_NLPlate.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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[9/31] Compiling OCCTBridge_Properties.mm
[9/31] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-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:290f441d1f5b7bf0dbbe61e8b7514208804cdcb507d57b3c762463ad036298f7
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/22] Compiling OCCTBridge_Properties.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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/22] Compiling OCCTBridge_Spatial.mm
[0/22] Compiling pugixml.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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/22] Compiling OCCTBridge_Surface.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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/22] Compiling OCCTBridge_ProjLib_NLPlate.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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/22] Compiling OCCTBridge_Visualization.mm
[0/22] Compiling OCCTBridge_Topology.mm
[0/22] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm