Build Information
Failed to build H3Swift, reference 1.0.1 (f7c2e0), with Swift 6.1 for Android on 26 Feb 2026 21:30:48 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/libardoram/H3Swift.git
Reference: 1.0.1
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/libardoram/H3Swift
* tag 1.0.1 -> FETCH_HEAD
HEAD is now at f7c2e09 Update Swift badge format in README
Cloned https://github.com/libardoram/H3Swift.git
Revision (git rev-parse @):
f7c2e092dfd8b070458ffc05f599836fc6b09d18
SUCCESS checkout https://github.com/libardoram/H3Swift.git at 1.0.1
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/libardoram/H3Swift.git
https://github.com/libardoram/H3Swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "H3Swift",
"name" : "H3Swift",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "watchos",
"version" : "7.0"
},
{
"name" : "tvos",
"version" : "14.0"
}
],
"products" : [
{
"name" : "H3",
"targets" : [
"H3"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "basic-example",
"targets" : [
"BasicExample"
],
"type" : {
"executable" : null
}
},
{
"name" : "advanced-example",
"targets" : [
"AdvancedExample"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "H3Tests",
"module_type" : "SwiftTarget",
"name" : "H3Tests",
"path" : "Tests/H3Tests",
"sources" : [
"H3Tests.swift",
"READMEExamplesTests.swift"
],
"target_dependencies" : [
"H3"
],
"type" : "test"
},
{
"c99name" : "H3",
"module_type" : "SwiftTarget",
"name" : "H3",
"path" : "Sources/H3",
"product_memberships" : [
"H3",
"basic-example",
"advanced-example"
],
"sources" : [
"H3Coordinate.swift",
"H3Edge.swift",
"H3GeoPolygon.swift",
"H3Index.swift"
],
"target_dependencies" : [
"Ch3"
],
"type" : "library"
},
{
"c99name" : "Ch3",
"module_type" : "ClangTarget",
"name" : "Ch3",
"path" : "Sources/Ch3",
"product_memberships" : [
"H3",
"basic-example",
"advanced-example"
],
"sources" : [
"algos.c",
"baseCells.c",
"bbox.c",
"coordijk.c",
"directedEdge.c",
"faceijk.c",
"h3Assert.c",
"h3Index.c",
"iterators.c",
"latLng.c",
"linkedGeo.c",
"localij.c",
"mathExtensions.c",
"polyfill.c",
"polygon.c",
"vec2d.c",
"vec3d.c",
"vertex.c",
"vertexGraph.c"
],
"type" : "library"
},
{
"c99name" : "BasicExample",
"module_type" : "SwiftTarget",
"name" : "BasicExample",
"path" : "Examples",
"product_memberships" : [
"basic-example"
],
"sources" : [
"BasicExample.swift"
],
"target_dependencies" : [
"H3"
],
"type" : "executable"
},
{
"c99name" : "AdvancedExample",
"module_type" : "SwiftTarget",
"name" : "AdvancedExample",
"path" : "Examples",
"product_memberships" : [
"advanced-example"
],
"sources" : [
"AdvancedExample.swift"
],
"target_dependencies" : [
"H3"
],
"type" : "executable"
}
],
"tools_version" : "5.10"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:08fa5f1bd27c53c71ebe7c2842e29d52715d90da2c5b8f52513c9039c232613d
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Examples/AdvancedExample.swift
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Examples/BasicExample.swift
Building for debugging...
[0/30] Write sources
[1/30] Compiling Ch3 vec3d.c
[2/30] Compiling Ch3 bbox.c
[3/30] Compiling Ch3 faceijk.c
[4/30] Compiling Ch3 vec2d.c
[5/30] Compiling Ch3 mathExtensions.c
[6/30] Compiling Ch3 polygon.c
[7/30] Compiling Ch3 polyfill.c
[8/30] Compiling Ch3 vertex.c
[9/30] Compiling Ch3 baseCells.c
[9/30] Compiling Ch3 vertexGraph.c
[11/30] Compiling Ch3 linkedGeo.c
[12/30] Compiling Ch3 h3Assert.c
[13/30] Compiling Ch3 iterators.c
[13/30] Write sources
[16/30] Compiling Ch3 coordijk.c
[17/30] Write swift-version-24593BA9C3E375BF.txt
[18/30] Compiling Ch3 localij.c
[19/30] Compiling Ch3 latLng.c
[20/30] Compiling Ch3 h3Index.c
[20/30] Compiling Ch3 directedEdge.c
[20/30] Compiling Ch3 algos.c
[24/35] Emitting module H3
[25/35] Compiling H3 H3Edge.swift
[26/35] Compiling H3 H3Coordinate.swift
[27/35] Compiling H3 H3GeoPolygon.swift
[28/35] Compiling H3 H3Index.swift
[29/36] Wrapping AST for H3 for debugging
[31/40] Emitting module BasicExample
[32/40] Compiling BasicExample BasicExample.swift
[33/41] Compiling AdvancedExample AdvancedExample.swift
[34/41] Emitting module AdvancedExample
[36/42] Wrapping AST for AdvancedExample for debugging
[37/42] Write Objects.LinkFileList
[38/42] Wrapping AST for BasicExample for debugging
[39/42] Write Objects.LinkFileList
error: link command failed with exit code 1 (use -v to see invocation)
ld.lld: error: undefined symbol: acos
>>> referenced by faceijk.c:396 (Sources/Ch3/faceijk.c:396)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/Ch3.build/faceijk.c.o:(_geoToHex2d)
ld.lld: error: undefined symbol: tan
>>> referenced by faceijk.c:413 (Sources/Ch3/faceijk.c:413)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/Ch3.build/faceijk.c.o:(_geoToHex2d)
>>> referenced by latLng.c:376 (Sources/Ch3/latLng.c:376)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/Ch3.build/latLng.c.o:(triangleEdgeLengthsToArea)
>>> referenced by latLng.c:376 (Sources/Ch3/latLng.c:376)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/Ch3.build/latLng.c.o:(triangleEdgeLengthsToArea)
>>> referenced 2 more times
ld.lld: error: undefined symbol: cos
>>> referenced by faceijk.c:422 (Sources/Ch3/faceijk.c:422)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/Ch3.build/faceijk.c.o:(_geoToHex2d)
>>> referenced by vec3d.c:51 (Sources/Ch3/vec3d.c:51)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/Ch3.build/vec3d.c.o:(_geoToVec3d)
>>> referenced by vec3d.c:54 (Sources/Ch3/vec3d.c:54)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/Ch3.build/vec3d.c.o:(_geoToVec3d)
>>> referenced 14 more times
ld.lld: error: undefined symbol: sin
>>> referenced by faceijk.c:423 (Sources/Ch3/faceijk.c:423)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/Ch3.build/faceijk.c.o:(_geoToHex2d)
>>> referenced by vec3d.c:53 (Sources/Ch3/vec3d.c:53)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/Ch3.build/vec3d.c.o:(_geoToVec3d)
>>> referenced by vec3d.c:55 (Sources/Ch3/vec3d.c:55)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/Ch3.build/vec3d.c.o:(_geoToVec3d)
>>> referenced 11 more times
ld.lld: error: undefined symbol: atan2
>>> referenced by faceijk.c:447 (Sources/Ch3/faceijk.c:447)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/Ch3.build/faceijk.c.o:(_hex2dToGeo)
>>> referenced by latLng.c:177 (Sources/Ch3/latLng.c:177)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/Ch3.build/latLng.c.o:(greatCircleDistanceRads)
>>> referenced by latLng.c:212 (Sources/Ch3/latLng.c:212)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/Ch3.build/latLng.c.o:(_geoAzimuthRads)
>>> referenced 1 more times
ld.lld: error: undefined symbol: atan
>>> referenced by faceijk.c:461 (Sources/Ch3/faceijk.c:461)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/Ch3.build/faceijk.c.o:(_hex2dToGeo)
>>> referenced by latLng.c:376 (Sources/Ch3/latLng.c:376)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/Ch3.build/latLng.c.o:(triangleEdgeLengthsToArea)
ld.lld: error: undefined symbol: pow
>>> referenced by vertexGraph.c:76 (Sources/Ch3/vertexGraph.c:76)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/Ch3.build/vertexGraph.c.o:(_hashVertex)
ld.lld: error: undefined symbol: fmod
>>> referenced by vertexGraph.c:76 (Sources/Ch3/vertexGraph.c:76)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/Ch3.build/vertexGraph.c.o:(_hashVertex)
ld.lld: error: undefined symbol: asin
>>> referenced by latLng.c:261 (Sources/Ch3/latLng.c:261)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/Ch3.build/latLng.c.o:(_geoAzDistanceRads)
clang: error: linker command failed with exit code 1 (use -v to see invocation)
[40/42] Linking advanced-example
[40/42] Linking basic-example
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:08fa5f1bd27c53c71ebe7c2842e29d52715d90da2c5b8f52513c9039c232613d
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Examples/AdvancedExample.swift
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Examples/BasicExample.swift
[0/1] Planning build
Building for debugging...
[0/8] Write swift-version-24593BA9C3E375BF.txt
[2/13] Compiling H3 H3GeoPolygon.swift
[3/13] Compiling H3 H3Coordinate.swift
[4/13] Emitting module H3
[5/13] Compiling H3 H3Index.swift
[6/13] Compiling H3 H3Edge.swift
[8/17] Emitting module BasicExample
[9/17] Compiling BasicExample BasicExample.swift
[10/17] Compiling AdvancedExample AdvancedExample.swift
[11/17] Emitting module AdvancedExample
[13/19] Wrapping AST for BasicExample for debugging
[14/19] Write Objects.LinkFileList
[15/19] Wrapping AST for AdvancedExample for debugging
[16/19] Write Objects.LinkFileList
error: link command failed with exit code 1 (use -v to see invocation)
ld.lld: error: undefined symbol: acos
>>> referenced by faceijk.c:396 (Sources/Ch3/faceijk.c:396)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/Ch3.build/faceijk.c.o:(_geoToHex2d)
ld.lld: error: undefined symbol: tan
>>> referenced by faceijk.c:413 (Sources/Ch3/faceijk.c:413)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/Ch3.build/faceijk.c.o:(_geoToHex2d)
>>> referenced by latLng.c:376 (Sources/Ch3/latLng.c:376)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/Ch3.build/latLng.c.o:(triangleEdgeLengthsToArea)
>>> referenced by latLng.c:376 (Sources/Ch3/latLng.c:376)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/Ch3.build/latLng.c.o:(triangleEdgeLengthsToArea)
>>> referenced 2 more times
ld.lld: error: undefined symbol: cos
>>> referenced by faceijk.c:422 (Sources/Ch3/faceijk.c:422)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/Ch3.build/faceijk.c.o:(_geoToHex2d)
>>> referenced by latLng.c:175 (Sources/Ch3/latLng.c:175)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/Ch3.build/latLng.c.o:(greatCircleDistanceRads)
>>> referenced by latLng.c:175 (Sources/Ch3/latLng.c:175)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/Ch3.build/latLng.c.o:(greatCircleDistanceRads)
>>> referenced 14 more times
ld.lld: error: undefined symbol: sin
>>> referenced by faceijk.c:423 (Sources/Ch3/faceijk.c:423)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/Ch3.build/faceijk.c.o:(_geoToHex2d)
>>> referenced by latLng.c:172 (Sources/Ch3/latLng.c:172)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/Ch3.build/latLng.c.o:(greatCircleDistanceRads)
>>> referenced by latLng.c:173 (Sources/Ch3/latLng.c:173)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/Ch3.build/latLng.c.o:(greatCircleDistanceRads)
>>> referenced 11 more times
ld.lld: error: undefined symbol: atan2
>>> referenced by faceijk.c:447 (Sources/Ch3/faceijk.c:447)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/Ch3.build/faceijk.c.o:(_hex2dToGeo)
>>> referenced by latLng.c:177 (Sources/Ch3/latLng.c:177)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/Ch3.build/latLng.c.o:(greatCircleDistanceRads)
>>> referenced by latLng.c:212 (Sources/Ch3/latLng.c:212)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/Ch3.build/latLng.c.o:(_geoAzimuthRads)
>>> referenced 1 more times
ld.lld: error: undefined symbol: atan
>>> referenced by faceijk.c:461 (Sources/Ch3/faceijk.c:461)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/Ch3.build/faceijk.c.o:(_hex2dToGeo)
>>> referenced by latLng.c:376 (Sources/Ch3/latLng.c:376)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/Ch3.build/latLng.c.o:(triangleEdgeLengthsToArea)
ld.lld: error: undefined symbol: asin
>>> referenced by latLng.c:261 (Sources/Ch3/latLng.c:261)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/Ch3.build/latLng.c.o:(_geoAzDistanceRads)
ld.lld: error: undefined symbol: pow
>>> referenced by vertexGraph.c:76 (Sources/Ch3/vertexGraph.c:76)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/Ch3.build/vertexGraph.c.o:(_hashVertex)
ld.lld: error: undefined symbol: fmod
>>> referenced by vertexGraph.c:76 (Sources/Ch3/vertexGraph.c:76)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/Ch3.build/vertexGraph.c.o:(_hashVertex)
clang: error: linker command failed with exit code 1 (use -v to see invocation)
[17/19] Linking basic-example
[17/19] Linking advanced-example
BUILD FAILURE 6.1 android