Build Information
Failed to build MicroMaxOnAppleSilicon, reference main (2fd599
), with Swift 6.1 for Android on 5 Jul 2025 05:48:31 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mesqueeb/MicroMaxOnAppleSilicon.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/mesqueeb/MicroMaxOnAppleSilicon
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 2fd5994 chore: bump
Cloned https://github.com/mesqueeb/MicroMaxOnAppleSilicon.git
Revision (git rev-parse @):
2fd59942c0db00b5ca9785fff09fac7ee84946b5
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/mesqueeb/MicroMaxOnAppleSilicon.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/mesqueeb/MicroMaxOnAppleSilicon.git
https://github.com/mesqueeb/MicroMaxOnAppleSilicon.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"c_language_standard" : "gnu17",
"cxx_language_standard" : "c++20",
"dependencies" : [
{
"identity" : "asyncify",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.9",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/mesqueeb/Asyncify"
}
],
"manifest_display_name" : "MicroMaxOnAppleSilicon",
"name" : "MicroMaxOnAppleSilicon",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "macos",
"version" : "11.0"
}
],
"products" : [
{
"name" : "MicroMaxOnAppleSilicon",
"targets" : [
"MicroMaxCBridge",
"MicroMaxCppBridge",
"MicroMaxObjCBridge",
"MicroMaxOnAppleSilicon"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "MicroMaxOnAppleSiliconTests",
"module_type" : "SwiftTarget",
"name" : "MicroMaxOnAppleSiliconTests",
"path" : "MicroMaxOnAppleSilicon/Tests",
"sources" : [
"MicroMaxOnAppleSiliconTests.swift"
],
"target_dependencies" : [
"MicroMaxCBridge",
"MicroMaxCppBridge",
"MicroMaxObjCBridge",
"MicroMaxOnAppleSilicon"
],
"type" : "test"
},
{
"c99name" : "MicroMaxOnAppleSilicon",
"module_type" : "SwiftTarget",
"name" : "MicroMaxOnAppleSilicon",
"path" : "MicroMaxOnAppleSilicon/Sources/SwiftBridge",
"product_dependencies" : [
"Asyncify"
],
"product_memberships" : [
"MicroMaxOnAppleSilicon"
],
"sources" : [
"Helpers.swift",
"MicroMaxBridge.swift",
"Types.swift"
],
"target_dependencies" : [
"MicroMaxObjCBridge"
],
"type" : "library"
},
{
"c99name" : "MicroMaxObjCBridge",
"module_type" : "ClangTarget",
"name" : "MicroMaxObjCBridge",
"path" : "MicroMaxOnAppleSilicon/Sources/ObjCBridge",
"product_memberships" : [
"MicroMaxOnAppleSilicon"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/MicroMaxOnAppleSilicon/Sources/ObjCBridge/Resources/fmax.ini",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"EngineContext.m",
"MicroMaxObjCBridge.mm"
],
"target_dependencies" : [
"MicroMaxCppBridge"
],
"type" : "library"
},
{
"c99name" : "MicroMaxCppBridge",
"module_type" : "ClangTarget",
"name" : "MicroMaxCppBridge",
"path" : "MicroMaxOnAppleSilicon/Sources/CppBridge",
"product_memberships" : [
"MicroMaxOnAppleSilicon"
],
"sources" : [
"AbstractAdapter.cpp",
"Bitboard/BBBook.cpp",
"Bitboard/BBitboard.cpp",
"Bitboard/BMovegen.cpp",
"Bitboard/BPosition.cpp",
"ChessCore.cpp",
"MicroMaxBridge.cpp",
"PThreadStaticLinker.cpp",
"ProtocolParser.cpp",
"Resources.cpp",
"UnixAdapter.cpp",
"UnixListener.cpp",
"VirtualBoard.cpp",
"WBProtocol.cpp",
"WBProtocolParser.cpp",
"engine.cpp",
"io.cpp"
],
"target_dependencies" : [
"MicroMaxCBridge"
],
"type" : "library"
},
{
"c99name" : "MicroMaxCBridge",
"module_type" : "ClangTarget",
"name" : "MicroMaxCBridge",
"path" : "MicroMaxOnAppleSilicon/Sources/CBridge",
"product_memberships" : [
"MicroMaxOnAppleSilicon"
],
"sources" : [
"EngineContext.c",
"Fairymax/Fairymax.c"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/mesqueeb/Asyncify
[1/143] Fetching asyncify
Fetched https://github.com/mesqueeb/Asyncify from cache (0.62s)
Computing version for https://github.com/mesqueeb/Asyncify
Computed https://github.com/mesqueeb/Asyncify at 0.0.9 (1.34s)
Creating working copy for https://github.com/mesqueeb/Asyncify
Working copy of https://github.com/mesqueeb/Asyncify resolved at 0.0.9
Building for debugging...
[0/26] Copying fmax.ini
[1/26] Write sources
[2/26] Compiling MicroMaxCppBridge engine.cpp
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/MicroMaxObjCBridge.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[3/26] Compiling MicroMaxObjCBridge resource_bundle_accessor.m
[3/26] Compiling MicroMaxCppBridge VirtualBoard.cpp
[3/26] Compiling MicroMaxCppBridge WBProtocolParser.cpp
[3/26] Compiling BMovegen.cpp
[3/26] Compiling MicroMaxCppBridge WBProtocol.cpp
[3/26] Compiling MicroMaxCppBridge io.cpp
[3/26] Compiling BBBook.cpp
[3/26] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/23] Write sources
/host/spi-builder-workspace/MicroMaxOnAppleSilicon/Sources/CppBridge/UnixListener.cpp:21:9: error: use of undeclared identifier 'pthread_cancel'
21 | pthread_cancel(*_listener);
| ^
1 error generated.
[1/23] Compiling MicroMaxCppBridge UnixListener.cpp
[1/23] Compiling MicroMaxCppBridge UnixAdapter.cpp
[1/23] Compiling MicroMaxCppBridge Resources.cpp
[1/23] Compiling MicroMaxCppBridge WBProtocol.cpp
[1/23] Compiling MicroMaxCppBridge VirtualBoard.cpp
[1/23] Compiling MicroMaxCppBridge WBProtocolParser.cpp
[1/23] Compiling MicroMaxCppBridge io.cpp
[1/23] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 android