Build Information
Failed to build H3Swift, reference main (69f983), with Swift 6.4 for Android on 24 Sep 2026 06:15:27 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344847-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.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.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.4
Building package at path: $PWD
https://github.com/libardoram/H3Swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-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.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:abadcff584c273feba50641b454858d377ba30b35ea7287a94f45ebd8afd0ea0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-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...
[Pre-planning 1 / 154]
[3 / 66]
[50 / 67] H3
[56 / 72] H3
[67 / 78] basic-example-product
[69 / 78] H3
[69 / 78] advanced-example-product
[75 / 80] H3
error: link command failed with exit code 1 (use -v to see invocation)
/host/spi-builder-workspace/Package.swift: advanced-example-product: ld.lld: error: undefined symbol: acos
>>> referenced by faceijk.c:396 (spi-builder-workspace/Sources/Ch3/faceijk.c:396)
>>> /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/Ch3.o:(_geoToHex2d)
/host/spi-builder-workspace/Package.swift: advanced-example-product: ld.lld: error: undefined symbol: tan
>>> referenced by faceijk.c:413 (spi-builder-workspace/Sources/Ch3/faceijk.c:413)
>>> /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/Ch3.o:(_geoToHex2d)
>>> referenced by latLng.c:376 (spi-builder-workspace/Sources/Ch3/latLng.c:376)
>>> /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/Ch3.o:(triangleEdgeLengthsToArea)
>>> referenced by latLng.c:376 (spi-builder-workspace/Sources/Ch3/latLng.c:376)
>>> /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/Ch3.o:(triangleEdgeLengthsToArea)
>>> referenced 2 more times
/host/spi-builder-workspace/Package.swift: advanced-example-product: ld.lld: error: undefined symbol: cos
>>> referenced by faceijk.c:422 (spi-builder-workspace/Sources/Ch3/faceijk.c:422)
>>> /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/Ch3.o:(_geoToHex2d)
>>> referenced by latLng.c:175 (spi-builder-workspace/Sources/Ch3/latLng.c:175)
>>> /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/Ch3.o:(greatCircleDistanceRads)
>>> referenced by latLng.c:175 (spi-builder-workspace/Sources/Ch3/latLng.c:175)
>>> /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/Ch3.o:(greatCircleDistanceRads)
>>> referenced 14 more times
/host/spi-builder-workspace/Package.swift: advanced-example-product: ld.lld: error: undefined symbol: sin
>>> referenced by faceijk.c:423 (spi-builder-workspace/Sources/Ch3/faceijk.c:423)
>>> /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/Ch3.o:(_geoToHex2d)
>>> referenced by latLng.c:172 (spi-builder-workspace/Sources/Ch3/latLng.c:172)
>>> /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/Ch3.o:(greatCircleDistanceRads)
>>> referenced by latLng.c:173 (spi-builder-workspace/Sources/Ch3/latLng.c:173)
>>> /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/Ch3.o:(greatCircleDistanceRads)
>>> referenced 11 more times
/host/spi-builder-workspace/Package.swift: advanced-example-product: ld.lld: error: undefined symbol: atan2
>>> referenced by faceijk.c:447 (spi-builder-workspace/Sources/Ch3/faceijk.c:447)
>>> /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/Ch3.o:(_hex2dToGeo)
>>> referenced by latLng.c:177 (spi-builder-workspace/Sources/Ch3/latLng.c:177)
>>> /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/Ch3.o:(greatCircleDistanceRads)
>>> referenced by latLng.c:212 (spi-builder-workspace/Sources/Ch3/latLng.c:212)
>>> /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/Ch3.o:(_geoAzimuthRads)
>>> referenced 1 more times
/host/spi-builder-workspace/Package.swift: advanced-example-product: ld.lld: error: undefined symbol: atan
>>> referenced by faceijk.c:461 (spi-builder-workspace/Sources/Ch3/faceijk.c:461)
>>> /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/Ch3.o:(_hex2dToGeo)
>>> referenced by latLng.c:376 (spi-builder-workspace/Sources/Ch3/latLng.c:376)
>>> /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/Ch3.o:(triangleEdgeLengthsToArea)
/host/spi-builder-workspace/Package.swift: advanced-example-product: ld.lld: error: undefined symbol: asin
>>> referenced by latLng.c:261 (spi-builder-workspace/Sources/Ch3/latLng.c:261)
>>> /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/Ch3.o:(_geoAzDistanceRads)
/host/spi-builder-workspace/Package.swift: advanced-example-product: ld.lld: error: undefined symbol: pow
>>> referenced by vertexGraph.c:76 (spi-builder-workspace/Sources/Ch3/vertexGraph.c:76)
>>> /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/Ch3.o:(_hashVertex)
/host/spi-builder-workspace/Package.swift: advanced-example-product: ld.lld: error: undefined symbol: fmod
>>> referenced by vertexGraph.c:76 (spi-builder-workspace/Sources/Ch3/vertexGraph.c:76)
>>> /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/Ch3.o:(_hashVertex)
/host/spi-builder-workspace/Package.swift: advanced-example-product: clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: Ld /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/advanced-example normal failed with a nonzero exit code. Command line: cd /host/spi-builder-workspace
/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swiftc -target aarch64-unknown-linux-android28 -emit-executable -sysroot /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -Xclang-linker -resource-dir -Xclang-linker /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/18 -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_android.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64 -L/host/spi-builder-workspace/.build/out/Intermediates.noindex/EagerLinkingTBDs/Debug-android-aarch64 -L/host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64 @/host/spi-builder-workspace/.build/out/Intermediates.noindex/H3Swift.build/Debug-android-aarch64/advanced-example-p.build/Objects-normal/aarch64/advanced-example.LinkFileList -Xlinker -rpath -Xlinker \$ORIGIN -Xlinker -rpath -Xlinker /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/PackageFrameworks -Xlinker --gc-sections -Xclang-linker -rdynamic -L/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift -L/usr/lib/swift @/host/spi-builder-workspace/.build/out/Intermediates.noindex/H3Swift.build/Debug-android-aarch64/advanced-example-p.build/Objects-normal/aarch64/AdvancedExample-swiftbuild.autolink -Xlinker -z -Xlinker max-page-size\=16384 -use-ld\=lld -ld-path\=/android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/bin/ld.lld -o /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/advanced-example
error: link command failed with exit code 1 (use -v to see invocation)
/host/spi-builder-workspace/Package.swift: basic-example-product: ld.lld: error: undefined symbol: acos
>>> referenced by faceijk.c:396 (spi-builder-workspace/Sources/Ch3/faceijk.c:396)
>>> /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/Ch3.o:(_geoToHex2d)
/host/spi-builder-workspace/Package.swift: basic-example-product: ld.lld: error: undefined symbol: tan
>>> referenced by faceijk.c:413 (spi-builder-workspace/Sources/Ch3/faceijk.c:413)
>>> /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/Ch3.o:(_geoToHex2d)
>>> referenced by latLng.c:376 (spi-builder-workspace/Sources/Ch3/latLng.c:376)
>>> /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/Ch3.o:(triangleEdgeLengthsToArea)
>>> referenced by latLng.c:376 (spi-builder-workspace/Sources/Ch3/latLng.c:376)
>>> /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/Ch3.o:(triangleEdgeLengthsToArea)
>>> referenced 2 more times
/host/spi-builder-workspace/Package.swift: basic-example-product: ld.lld: error: undefined symbol: cos
>>> referenced by faceijk.c:422 (spi-builder-workspace/Sources/Ch3/faceijk.c:422)
>>> /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/Ch3.o:(_geoToHex2d)
>>> referenced by latLng.c:175 (spi-builder-workspace/Sources/Ch3/latLng.c:175)
>>> /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/Ch3.o:(greatCircleDistanceRads)
>>> referenced by latLng.c:175 (spi-builder-workspace/Sources/Ch3/latLng.c:175)
>>> /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/Ch3.o:(greatCircleDistanceRads)
>>> referenced 14 more times
/host/spi-builder-workspace/Package.swift: basic-example-product: ld.lld: error: undefined symbol: sin
>>> referenced by faceijk.c:423 (spi-builder-workspace/Sources/Ch3/faceijk.c:423)
>>> /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/Ch3.o:(_geoToHex2d)
>>> referenced by latLng.c:172 (spi-builder-workspace/Sources/Ch3/latLng.c:172)
>>> /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/Ch3.o:(greatCircleDistanceRads)
>>> referenced by latLng.c:173 (spi-builder-workspace/Sources/Ch3/latLng.c:173)
>>> /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/Ch3.o:(greatCircleDistanceRads)
>>> referenced 11 more times
/host/spi-builder-workspace/Package.swift: basic-example-product: ld.lld: error: undefined symbol: atan2
>>> referenced by faceijk.c:447 (spi-builder-workspace/Sources/Ch3/faceijk.c:447)
>>> /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/Ch3.o:(_hex2dToGeo)
>>> referenced by latLng.c:177 (spi-builder-workspace/Sources/Ch3/latLng.c:177)
>>> /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/Ch3.o:(greatCircleDistanceRads)
>>> referenced by latLng.c:212 (spi-builder-workspace/Sources/Ch3/latLng.c:212)
>>> /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/Ch3.o:(_geoAzimuthRads)
>>> referenced 1 more times
/host/spi-builder-workspace/Package.swift: basic-example-product: ld.lld: error: undefined symbol: atan
>>> referenced by faceijk.c:461 (spi-builder-workspace/Sources/Ch3/faceijk.c:461)
>>> /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/Ch3.o:(_hex2dToGeo)
>>> referenced by latLng.c:376 (spi-builder-workspace/Sources/Ch3/latLng.c:376)
>>> /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/Ch3.o:(triangleEdgeLengthsToArea)
/host/spi-builder-workspace/Package.swift: basic-example-product: ld.lld: error: undefined symbol: asin
>>> referenced by latLng.c:261 (spi-builder-workspace/Sources/Ch3/latLng.c:261)
>>> /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/Ch3.o:(_geoAzDistanceRads)
/host/spi-builder-workspace/Package.swift: basic-example-product: ld.lld: error: undefined symbol: pow
>>> referenced by vertexGraph.c:76 (spi-builder-workspace/Sources/Ch3/vertexGraph.c:76)
>>> /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/Ch3.o:(_hashVertex)
/host/spi-builder-workspace/Package.swift: basic-example-product: ld.lld: error: undefined symbol: fmod
>>> referenced by vertexGraph.c:76 (spi-builder-workspace/Sources/Ch3/vertexGraph.c:76)
>>> /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/Ch3.o:(_hashVertex)
/host/spi-builder-workspace/Package.swift: basic-example-product: clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: Ld /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/basic-example normal failed with a nonzero exit code. Command line: cd /host/spi-builder-workspace
/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swiftc -target aarch64-unknown-linux-android28 -emit-executable -sysroot /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -Xclang-linker -resource-dir -Xclang-linker /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/18 -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_android.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64 -L/host/spi-builder-workspace/.build/out/Intermediates.noindex/EagerLinkingTBDs/Debug-android-aarch64 -L/host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64 @/host/spi-builder-workspace/.build/out/Intermediates.noindex/H3Swift.build/Debug-android-aarch64/basic-example-p.build/Objects-normal/aarch64/basic-example.LinkFileList -Xlinker -rpath -Xlinker \$ORIGIN -Xlinker -rpath -Xlinker /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/PackageFrameworks -Xlinker --gc-sections -Xclang-linker -rdynamic -L/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift -L/usr/lib/swift @/host/spi-builder-workspace/.build/out/Intermediates.noindex/H3Swift.build/Debug-android-aarch64/basic-example-p.build/Objects-normal/aarch64/BasicExample-swiftbuild.autolink -Xlinker -z -Xlinker max-page-size\=16384 -use-ld\=lld -ld-path\=/android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/bin/ld.lld -o /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/basic-example
error: Build failed
BUILD FAILURE 6.4 android