The Swift Package Index logo.Swift Package Index

Build Information

Failed to build OCCTSwiftScripts, reference v1.7.0 (b9a92c), with Swift 6.3 for Android on 2 Oct 2026 22:35:11 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:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SecondMouseAU/OCCTSwiftScripts.git
Reference: v1.7.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/OCCTSwiftScripts
 * tag               v1.7.0     -> FETCH_HEAD
HEAD is now at b9a92cd Merge pull request #124 from SecondMouseAU/release/1.7.0
Cloned https://github.com/SecondMouseAU/OCCTSwiftScripts.git
Revision (git rev-parse @):
b9a92cdca1c061a2dec0f674bf89981ff44d0224
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/SecondMouseAU/OCCTSwiftScripts.git at v1.7.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.3
Building package at path:  $PWD
https://github.com/SecondMouseAU/OCCTSwiftScripts.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:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:8ca9e1e6d70fd53f5b05e4f64d92569d697563f7f457a1485802bc9eb2cd1382
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.3-latest
Fetching https://github.com/SecondMouseAU/OCCTSwiftViewport.git
Fetching https://github.com/SecondMouseAU/OCCTSwiftInteraction.git
Fetching https://github.com/SecondMouseAU/OCCTSwift.git
Fetching https://github.com/SecondMouseAU/OCCTSwiftMesh.git
Fetching https://github.com/SecondMouseAU/OCCTSwiftIO.git
[1/611] Fetching occtswiftmesh
Fetched https://github.com/SecondMouseAU/OCCTSwiftMesh.git from cache (0.42s)
[1/1980] Fetching occtswiftinteraction
[2/4296] Fetching occtswiftinteraction, occtswiftviewport
[688/4786] Fetching occtswiftinteraction, occtswiftviewport, occtswiftio
Fetched https://github.com/SecondMouseAU/OCCTSwiftIO.git from cache (0.50s)
[1/57941] Fetching occtswift
Fetched https://github.com/SecondMouseAU/OCCTSwiftViewport.git from cache (0.58s)
Fetched https://github.com/SecondMouseAU/OCCTSwiftInteraction.git from cache (3.46s)
Fetched https://github.com/SecondMouseAU/OCCTSwift.git from cache (3.49s)
Computing version for https://github.com/SecondMouseAU/OCCTSwiftIO.git
Computed https://github.com/SecondMouseAU/OCCTSwiftIO.git at 1.8.0 (3.66s)
Fetching https://github.com/SecondMouseAU/SwiftX.git
Fetching https://github.com/SecondMouseAU/SwiftDXF.git
Fetching https://github.com/SecondMouseAU/SwiftPMX.git
Fetching https://github.com/schwa/SwiftGLTF.git
Fetching https://github.com/tomasf/ThreeMF.git
Fetching https://github.com/SecondMouseAU/SwiftJWW.git
[1/820] Fetching threemf
[731/968] Fetching threemf, swiftpmx
[896/1128] Fetching threemf, swiftpmx, swiftjww
[922/1247] Fetching threemf, swiftpmx, swiftjww, swiftx
Fetched https://github.com/SecondMouseAU/SwiftJWW.git from cache (0.43s)
[1023/1484] Fetching threemf, swiftpmx, swiftx, swiftgltf
[1143/1639] Fetching threemf, swiftpmx, swiftx, swiftgltf, swiftdxf
Fetched https://github.com/SecondMouseAU/SwiftX.git from cache (0.76s)
Fetched https://github.com/SecondMouseAU/SwiftPMX.git from cache (0.76s)
Fetched https://github.com/SecondMouseAU/SwiftDXF.git from cache (0.76s)
Fetched https://github.com/schwa/SwiftGLTF.git from cache (0.77s)
Fetched https://github.com/tomasf/ThreeMF.git from cache (0.77s)
Computing version for https://github.com/SecondMouseAU/OCCTSwiftInteraction.git
Computed https://github.com/SecondMouseAU/OCCTSwiftInteraction.git at 2.0.0 (0.94s)
Computing version for https://github.com/SecondMouseAU/OCCTSwift.git
Computed https://github.com/SecondMouseAU/OCCTSwift.git at 3.0.0 (1.50s)
Computing version for https://github.com/schwa/SwiftGLTF.git
Computed https://github.com/schwa/SwiftGLTF.git at 1.0.2 (1.18s)
Computing version for https://github.com/SecondMouseAU/OCCTSwiftViewport.git
Computed https://github.com/SecondMouseAU/OCCTSwiftViewport.git at 1.2.1 (0.14s)
Computing version for https://github.com/SecondMouseAU/SwiftDXF.git
Computed https://github.com/SecondMouseAU/SwiftDXF.git at 0.2.1 (0.13s)
Computing version for https://github.com/SecondMouseAU/SwiftJWW.git
Computed https://github.com/SecondMouseAU/SwiftJWW.git at 1.2.2 (0.13s)
Computing version for https://github.com/SecondMouseAU/SwiftX.git
Computed https://github.com/SecondMouseAU/SwiftX.git at 1.0.1 (0.13s)
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/tomasf/ThreeMF.git
Computed https://github.com/tomasf/ThreeMF.git at 0.3.2 (0.14s)
Fetching https://github.com/tomasf/Zip.git
Fetching https://github.com/tomasf/Nodal.git
[1/216] Fetching zip
[217/1089] Fetching zip, nodal
Fetched https://github.com/tomasf/Zip.git from cache (0.49s)
Fetched https://github.com/tomasf/Nodal.git from cache (0.49s)
Computing version for https://github.com/tomasf/Nodal.git
Computed https://github.com/tomasf/Nodal.git at 1.0.2 (0.65s)
Computing version for https://github.com/tomasf/Zip.git
Computed https://github.com/tomasf/Zip.git at 2.1.2 (0.13s)
Computing version for https://github.com/SecondMouseAU/OCCTSwiftMesh.git
Computed https://github.com/SecondMouseAU/OCCTSwiftMesh.git at 1.7.5 (0.20s)
Creating working copy for https://github.com/tomasf/Zip.git
Working copy of https://github.com/tomasf/Zip.git resolved at 2.1.2
Creating working copy for https://github.com/SecondMouseAU/OCCTSwiftInteraction.git
Working copy of https://github.com/SecondMouseAU/OCCTSwiftInteraction.git resolved at 2.0.0
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/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/ThreeMF.git
Working copy of https://github.com/tomasf/ThreeMF.git resolved at 0.3.2
Creating working copy for https://github.com/SecondMouseAU/OCCTSwiftViewport.git
Working copy of https://github.com/SecondMouseAU/OCCTSwiftViewport.git resolved at 1.2.1
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/OCCTSwiftMesh.git
Working copy of https://github.com/SecondMouseAU/OCCTSwiftMesh.git resolved at 1.7.5
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/OCCTSwiftIO.git
Working copy of https://github.com/SecondMouseAU/OCCTSwiftIO.git resolved at 1.8.0
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/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/SwiftDXF.git
Working copy of https://github.com/SecondMouseAU/SwiftDXF.git resolved at 0.2.1
Downloading binary artifact https://github.com/SecondMouseAU/OCCTSwift/releases/download/v3.0.0/OCCT.xcframework.zip
[834/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.83s)
Building for debugging...
[0/111] Write sources
[9/111] Copying Shaders.metal
[10/111] Write sources
[20/111] Compiling vfetchoptimizer.cpp
[21/111] Compiling vcacheoptimizer.cpp
[22/111] Compiling stripifier.cpp
[23/111] Compiling rasterizer.cpp
[24/111] Write swift-version-272D24FF697CF451.txt
[25/111] Compiling spatialorder.cpp
[26/111] Compiling quantization.cpp
[27/116] Compiling overdrawoptimizer.cpp
[28/116] Compiling simplifier.cpp
[29/116] Compiling partition.cpp
[29/116] Compiling vertexcodec.cpp
[31/181] Compiling vertexfilter.cpp
[32/183] Compiling pugixml.cpp
[33/183] Compiling opacitymap.cpp
[34/183] Compiling meshletutils.cpp
[35/183] Compiling meshletcodec.cpp
[36/183] Compiling indexgenerator.cpp
[37/183] Compiling indexcodec.cpp
[38/183] Compiling indexanalyzer.cpp
[39/183] Compiling clusterizer.cpp
[40/183] Compiling allocator.cpp
[41/183] Compiling OCCTMeshOptimizerBridge.cpp
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.
[42/183] Compiling OCCTBridge_Visualization.mm
/host/spi-builder-workspace/Sources/OCCTRunner/main.swift:105:34: error: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
103 |
104 | func fatal(_ message: String) -> Never {
105 |     fputs("Error: \(message)\n", stderr)
    |                                  `- error: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state
106 |     exit(1)
107 | }
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/stdio.h:64:23: note: var declared here
 62 | extern FILE* _Nonnull stdin __INTRODUCED_IN(23);
 63 | extern FILE* _Nonnull stdout __INTRODUCED_IN(23);
 64 | extern FILE* _Nonnull stderr __INTRODUCED_IN(23);
    |                       `- note: var declared here
 65 |
 66 | /* C99 and earlier plus current C++ standards say these must be macros. */
[43/183] Emitting module SwiftJWW
[44/183] Emitting module SwiftPMX
BUILD FAILURE 6.3 android