Build Information
Failed to build H3Swift, reference 1.0.1 (f7c2e0), with Swift 6.3 for Android on 18 Apr 2026 20:15:49 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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.3-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/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.3
Building package at path: $PWD
https://github.com/libardoram/H3Swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-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 vec2d.c
[2/30] Compiling Ch3 mathExtensions.c
[3/30] Compiling Ch3 vertexGraph.c
[4/30] Compiling Ch3 vertex.c
[5/30] Compiling Ch3 polygon.c
[6/30] Compiling Ch3 vec3d.c
[7/30] Write swift-version--4F562202D5529B1.txt
[8/30] Compiling Ch3 polyfill.c
[9/30] Compiling Ch3 h3Assert.c
[10/30] Compiling Ch3 iterators.c
[11/30] Compiling Ch3 linkedGeo.c
[12/30] Compiling Ch3 latLng.c
[13/30] Compiling Ch3 directedEdge.c
[14/30] Compiling Ch3 localij.c
[15/30] Compiling Ch3 faceijk.c
[16/30] Write sources
[18/30] Compiling Ch3 coordijk.c
[19/30] Compiling Ch3 bbox.c
[20/30] Compiling Ch3 baseCells.c
[21/30] Compiling Ch3 h3Index.c
[22/30] Compiling Ch3 algos.c
[24/35] Compiling H3 H3Edge.swift
[25/35] Emitting module H3
[26/35] Compiling H3 H3Coordinate.swift
[27/35] Compiling H3 H3GeoPolygon.swift
[28/35] Compiling H3 H3Index.swift
[29/38] Wrapping AST for H3 for debugging
[31/40] Compiling BasicExample BasicExample.swift
[32/40] Emitting module BasicExample
[33/41] Wrapping AST for BasicExample for debugging
[34/41] Write Objects.LinkFileList
[36/41] Emitting module AdvancedExample
[37/41] Compiling AdvancedExample AdvancedExample.swift
[38/42] Wrapping AST for AdvancedExample 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: pow
>>> referenced by vertexGraph.c:76 (Sources/Ch3/vertexGraph.c:76)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android28/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-android28/debug/Ch3.build/vertexGraph.c.o:(_hashVertex)
ld.lld: error: undefined symbol: cos
>>> referenced by vec3d.c:51 (Sources/Ch3/vec3d.c:51)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android28/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-android28/debug/Ch3.build/vec3d.c.o:(_geoToVec3d)
>>> referenced by polyfill.c:237 (Sources/Ch3/polyfill.c:237)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android28/debug/Ch3.build/polyfill.c.o:(cellToBBox)
>>> referenced 14 more times
ld.lld: error: undefined symbol: sin
>>> referenced by vec3d.c:53 (Sources/Ch3/vec3d.c:53)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android28/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-android28/debug/Ch3.build/vec3d.c.o:(_geoToVec3d)
>>> referenced by latLng.c:172 (Sources/Ch3/latLng.c:172)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android28/debug/Ch3.build/latLng.c.o:(greatCircleDistanceRads)
>>> referenced 11 more times
ld.lld: error: undefined symbol: atan2
>>> referenced by latLng.c:177 (Sources/Ch3/latLng.c:177)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android28/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-android28/debug/Ch3.build/latLng.c.o:(_geoAzimuthRads)
>>> referenced by latLng.c:279 (Sources/Ch3/latLng.c:279)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android28/debug/Ch3.build/latLng.c.o:(_geoAzDistanceRads)
>>> referenced 1 more times
ld.lld: error: undefined symbol: asin
>>> referenced by latLng.c:261 (Sources/Ch3/latLng.c:261)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android28/debug/Ch3.build/latLng.c.o:(_geoAzDistanceRads)
ld.lld: error: undefined symbol: tan
>>> referenced by latLng.c:376 (Sources/Ch3/latLng.c:376)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android28/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-android28/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-android28/debug/Ch3.build/latLng.c.o:(triangleEdgeLengthsToArea)
>>> referenced 2 more times
ld.lld: error: undefined symbol: atan
>>> referenced by latLng.c:376 (Sources/Ch3/latLng.c:376)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android28/debug/Ch3.build/latLng.c.o:(triangleEdgeLengthsToArea)
>>> referenced by faceijk.c:461 (Sources/Ch3/faceijk.c:461)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android28/debug/Ch3.build/faceijk.c.o:(_hex2dToGeo)
ld.lld: error: undefined symbol: acos
>>> referenced by faceijk.c:396 (Sources/Ch3/faceijk.c:396)
>>> /host/spi-builder-workspace/.build/aarch64-unknown-linux-android28/debug/Ch3.build/faceijk.c.o:(_geoToHex2d)
clang: error: linker command failed with exit code 1 (use -v to see invocation)
[40/42] Linking basic-example
error: cancelled
[40/42] Linking advanced-example
BUILD FAILURE 6.3 android