Build Information
Failed to build OCCTMCP, reference v1.2.0 (3f1a09), with Swift 6.2 for Android on 9 May 2026 15:14:49 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/gsdali/OCCTMCP.git
Reference: v1.2.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/gsdali/OCCTMCP
* tag v1.2.0 -> FETCH_HEAD
HEAD is now at 3f1a09c Cohort bump: full apply_feature history + visible point clouds (v1.2) (#26)
Cloned https://github.com/gsdali/OCCTMCP.git
Revision (git rev-parse @):
3f1a09cd8316019fd2c7a3812b825a533c9874c0
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/gsdali/OCCTMCP.git at v1.2.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/gsdali/OCCTMCP.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:cb98f9856cb1288a0028ff0e63d4de86ca92d5e7890400e3e915f7ea3943ed55
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest
Fetching https://github.com/gsdali/OCCTSwiftViewport.git
Fetching https://github.com/gsdali/OCCTSwiftTools.git
Fetching https://github.com/gsdali/OCCTSwiftMesh.git
Fetching https://github.com/gsdali/OCCTSwiftScripts.git
Fetching https://github.com/gsdali/OCCTSwift.git
Fetching https://github.com/gsdali/OCCTSwiftAIS.git
[1/239] Fetching occtswiftais
[164/323] Fetching occtswiftais, occtswiftmesh
[324/777] Fetching occtswiftais, occtswiftmesh, occtswiftscripts
[778/982] Fetching occtswiftais, occtswiftmesh, occtswiftscripts, occtswifttools
Fetched https://github.com/gsdali/OCCTSwiftAIS.git from cache (0.32s)
Fetching https://github.com/modelcontextprotocol/swift-sdk.git
Fetched https://github.com/gsdali/OCCTSwiftMesh.git from cache (0.33s)
Fetched https://github.com/gsdali/OCCTSwiftScripts.git from cache (0.33s)
[1/988] Fetching occtswiftviewport
Fetched https://github.com/gsdali/OCCTSwiftViewport.git from cache (0.57s)
[1/4501] Fetching occtswift
[587/8021] Fetching occtswift, swift-sdk
Fetched https://github.com/modelcontextprotocol/swift-sdk.git from cache (0.78s)
[4231/4501] Fetching occtswift
Fetched https://github.com/gsdali/OCCTSwiftTools.git from cache (4.10s)
Fetched https://github.com/gsdali/OCCTSwift.git from cache (4.11s)
Computing version for https://github.com/gsdali/OCCTSwiftAIS.git
Computed https://github.com/gsdali/OCCTSwiftAIS.git at 1.0.1 (4.53s)
Computing version for https://github.com/gsdali/OCCTSwiftViewport.git
Computed https://github.com/gsdali/OCCTSwiftViewport.git at 1.0.2 (0.42s)
Computing version for https://github.com/gsdali/OCCTSwiftTools.git
Computed https://github.com/gsdali/OCCTSwiftTools.git at 1.1.0 (0.35s)
Fetching https://github.com/gsdali/OCCTSwiftIO.git
[1/53] Fetching occtswiftio
Fetched https://github.com/gsdali/OCCTSwiftIO.git from cache (0.27s)
Computing version for https://github.com/gsdali/OCCTSwiftScripts.git
Computed https://github.com/gsdali/OCCTSwiftScripts.git at 1.0.2 (0.72s)
Computing version for https://github.com/gsdali/OCCTSwiftMesh.git
Computed https://github.com/gsdali/OCCTSwiftMesh.git at 1.0.0 (0.43s)
Computing version for https://github.com/gsdali/OCCTSwift.git
Computed https://github.com/gsdali/OCCTSwift.git at 1.0.4 (3.27s)
Computing version for https://github.com/gsdali/OCCTSwiftIO.git
Computed https://github.com/gsdali/OCCTSwiftIO.git at 1.0.0 (0.42s)
Computing version for https://github.com/modelcontextprotocol/swift-sdk.git
Computed https://github.com/modelcontextprotocol/swift-sdk.git at 0.12.1 (0.63s)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/mattt/eventsource.git
[1/271] Fetching eventsource
[272/5872] Fetching eventsource, swift-system
[1897/12726] Fetching eventsource, swift-system, swift-log
Fetched https://github.com/mattt/eventsource.git from cache (0.68s)
Fetched https://github.com/apple/swift-system.git from cache (0.69s)
Fetched https://github.com/apple/swift-log.git from cache (0.69s)
[1/83314] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (8.25s)
Computing version for https://github.com/mattt/eventsource.git
Computed https://github.com/mattt/eventsource.git at 1.4.1 (8.65s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.47s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (0.42s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.99.0 (1.06s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
[1/1820] Fetching swift-atomics
[1821/26324] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (0.42s)
[1961/24504] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.56s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.95s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.5.0 (0.64s)
Creating working copy for https://github.com/gsdali/OCCTSwiftViewport.git
Working copy of https://github.com/gsdali/OCCTSwiftViewport.git resolved at 1.0.2
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/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.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/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/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/OCCTSwiftAIS.git
Working copy of https://github.com/gsdali/OCCTSwiftAIS.git resolved at 1.0.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.12.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
Creating working copy for https://github.com/mattt/eventsource.git
Working copy of https://github.com/mattt/eventsource.git resolved at 1.4.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.99.0
Creating working copy for https://github.com/gsdali/OCCTSwiftScripts.git
Working copy of https://github.com/gsdali/OCCTSwiftScripts.git resolved at 1.0.2
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/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.5.0
Downloading binary artifact https://github.com/gsdali/OCCTSwift/releases/download/v1.0.0/OCCT.xcframework.zip
[1397/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 (288.54s)
Building for debugging...
[0/67] Write sources
[12/67] Copying Shaders.metal
[14/67] Compiling vfetchoptimizer.cpp
[15/67] Write swift-version--11D90AFD9DD3AB2.txt
[16/67] Compiling CSystem shims.c
[17/67] Compiling vcacheoptimizer.cpp
[18/67] Compiling stripifier.cpp
[19/103] Compiling spatialorder.cpp
[20/140] Compiling simplifier.cpp
[21/140] Compiling vertexcodec.cpp
[22/140] Compiling quantization.cpp
[23/140] Compiling rasterizer.cpp
[24/140] Compiling vertexfilter.cpp
[25/140] Compiling overdrawoptimizer.cpp
[26/140] Compiling partition.cpp
[27/140] Compiling opacitymap.cpp
[28/140] Compiling meshletutils.cpp
[29/140] Compiling indexgenerator.cpp
In file included from /host/spi-builder-workspace/.build/checkouts/OCCTSwift/Sources/OCCTBridge/src/OCCTBridge_AIS.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>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[30/140] Compiling OCCTBridge_AIS.mm
[30/140] Compiling meshletcodec.cpp
[30/140] Compiling indexanalyzer.cpp
In file included from /host/spi-builder-workspace/.build/checkouts/OCCTSwift/Sources/OCCTBridge/src/OCCTBridge.mm:8:
/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>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[30/140] Compiling OCCTBridge.mm
[30/140] Compiling indexcodec.cpp
BUILD FAILURE 6.2 android