The Swift Package Index logo.Swift Package Index

Build Information

Failed to build H3Swift, reference main (69f983), with Swift 6.3 for Android on 18 Apr 2026 20:15:26 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/libardoram/H3Swift.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/libardoram/H3Swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 69f9836 Update README.md
Cloned https://github.com/libardoram/H3Swift.git
Revision (git rev-parse @):
69f9836333bb1ba833d264e6de1dbaa71bea6b61
SUCCESS checkout https://github.com/libardoram/H3Swift.git at main
========================================
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-4609320-3":/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 vertexGraph.c
[2/30] Compiling Ch3 vec3d.c
[3/30] Compiling Ch3 vertex.c
[4/30] Compiling Ch3 polygon.c
[5/30] Compiling Ch3 mathExtensions.c
[6/30] Compiling Ch3 vec2d.c
[7/30] Compiling Ch3 iterators.c
[8/30] Compiling Ch3 linkedGeo.c
[9/30] Compiling Ch3 h3Assert.c
[10/30] Compiling Ch3 localij.c
[11/30] Compiling Ch3 latLng.c
[12/30] Write swift-version--4F562202D5529B1.txt
[13/30] Compiling Ch3 polyfill.c
[14/30] Write sources
[15/30] Compiling Ch3 faceijk.c
[16/30] Write sources
[17/30] Compiling Ch3 bbox.c
[18/30] Compiling Ch3 directedEdge.c
[19/30] Compiling Ch3 h3Index.c
[20/30] Compiling Ch3 baseCells.c
[21/30] Compiling Ch3 coordijk.c
[22/30] Compiling Ch3 algos.c
[24/35] Emitting module H3
[25/35] Compiling H3 H3Edge.swift
[26/35] Compiling H3 H3GeoPolygon.swift
[27/35] Compiling H3 H3Index.swift
[28/35] Compiling H3 H3Coordinate.swift
[29/40] Wrapping AST for H3 for debugging
[31/40] Emitting module BasicExample
[32/40] Compiling BasicExample BasicExample.swift
[33/41] Wrapping AST for BasicExample for debugging
[35/41] Emitting module AdvancedExample
[36/41] Compiling AdvancedExample AdvancedExample.swift
[36/41] Write Objects.LinkFileList
[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: 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)
ld.lld: error: undefined symbol: tan
>>> referenced by faceijk.c:413 (Sources/Ch3/faceijk.c:413)
>>>               /host/spi-builder-workspace/.build/aarch64-unknown-linux-android28/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-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: cos
>>> referenced by faceijk.c:422 (Sources/Ch3/faceijk.c:422)
>>>               /host/spi-builder-workspace/.build/aarch64-unknown-linux-android28/debug/Ch3.build/faceijk.c.o:(_geoToHex2d)
>>> 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 by polyfill.c:756 (Sources/Ch3/polyfill.c:756)
>>>               /host/spi-builder-workspace/.build/aarch64-unknown-linux-android28/debug/Ch3.build/polyfill.c.o:(maxPolygonToCellsSizeExperimental)
>>> 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-android28/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-android28/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-android28/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-android28/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-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 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-android28/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-android28/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-android28/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-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)
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