The Swift Package Index logo.Swift Package Index

Build Information

Failed to build H3Swift, reference 1.0.1 (f7c2e0), with Swift 6.3 for Linux on 18 Apr 2026 20:14:52 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:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build 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:         linux
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:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-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] Compiling Ch3 h3Assert.c
[1/30] Compiling Ch3 baseCells.c
[2/30] Compiling Ch3 directedEdge.c
[3/30] Compiling Ch3 mathExtensions.c
[4/30] Write sources
[5/30] Compiling Ch3 bbox.c
[6/30] Compiling Ch3 faceijk.c
[7/30] Compiling Ch3 coordijk.c
[8/30] Compiling Ch3 polyfill.c
[9/30] Compiling Ch3 vertex.c
[10/30] Compiling Ch3 vertexGraph.c
[11/30] Compiling Ch3 vec2d.c
[12/30] Compiling Ch3 vec3d.c
[13/30] Write swift-version-24593BA9C3E375BF.txt
[14/30] Write sources
[16/30] Compiling Ch3 polygon.c
[17/30] Compiling Ch3 iterators.c
[18/30] Compiling Ch3 linkedGeo.c
[19/30] Compiling Ch3 localij.c
[20/30] Compiling Ch3 latLng.c
[21/30] Compiling Ch3 algos.c
[22/30] Compiling Ch3 h3Index.c
[24/35] Compiling H3 H3GeoPolygon.swift
[25/35] Emitting module H3
[26/35] Compiling H3 H3Coordinate.swift
[27/35] Compiling H3 H3Edge.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
[34/41] Compiling AdvancedExample AdvancedExample.swift
[35/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)
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Ch3.build/bbox.c.o:bbox.c:function bboxHexEstimate: error: undefined reference to 'ceil'
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Ch3.build/bbox.c.o:bbox.c:function lineHexEstimate: error: undefined reference to 'ceil'
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Ch3.build/coordijk.c.o:coordijk.c:function _upAp7Checked: error: undefined reference to 'lround'
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Ch3.build/coordijk.c.o:coordijk.c:function _upAp7Checked: error: undefined reference to 'lround'
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Ch3.build/coordijk.c.o:coordijk.c:function _upAp7rChecked: error: undefined reference to 'lround'
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Ch3.build/coordijk.c.o:coordijk.c:function _upAp7rChecked: error: undefined reference to 'lround'
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Ch3.build/faceijk.c.o:faceijk.c:function _geoToHex2d: error: undefined reference to 'acos'
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Ch3.build/faceijk.c.o:faceijk.c:function _geoToHex2d: error: undefined reference to 'tan'
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Ch3.build/faceijk.c.o:faceijk.c:function _geoToHex2d: error: undefined reference to 'cos'
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Ch3.build/faceijk.c.o:faceijk.c:function _geoToHex2d: error: undefined reference to 'sin'
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Ch3.build/faceijk.c.o:faceijk.c:function _hex2dToGeo: error: undefined reference to 'atan2'
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Ch3.build/faceijk.c.o:faceijk.c:function _hex2dToGeo: error: undefined reference to 'atan'
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Ch3.build/latLng.c.o:latLng.c:function greatCircleDistanceRads: error: undefined reference to 'sin'
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Ch3.build/latLng.c.o:latLng.c:function greatCircleDistanceRads: error: undefined reference to 'sin'
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Ch3.build/latLng.c.o:latLng.c:function greatCircleDistanceRads: error: undefined reference to 'cos'
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Ch3.build/latLng.c.o:latLng.c:function greatCircleDistanceRads: error: undefined reference to 'cos'
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Ch3.build/latLng.c.o:latLng.c:function greatCircleDistanceRads: error: undefined reference to 'sqrt'
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Ch3.build/latLng.c.o:latLng.c:function greatCircleDistanceRads: error: undefined reference to 'sqrt'
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Ch3.build/latLng.c.o:latLng.c:function greatCircleDistanceRads: error: undefined reference to 'atan2'
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Ch3.build/latLng.c.o:latLng.c:function _geoAzimuthRads: error: undefined reference to 'cos'
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Ch3.build/latLng.c.o:latLng.c:function _geoAzimuthRads: error: undefined reference to 'sin'
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Ch3.build/latLng.c.o:latLng.c:function _geoAzimuthRads: error: undefined reference to 'atan2'
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Ch3.build/latLng.c.o:latLng.c:function _geoAzDistanceRads: error: undefined reference to 'asin'
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Ch3.build/latLng.c.o:latLng.c:function _geoAzDistanceRads: error: undefined reference to 'atan2'
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Ch3.build/latLng.c.o:latLng.c:function triangleEdgeLengthsToArea: error: undefined reference to 'tan'
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Ch3.build/latLng.c.o:latLng.c:function triangleEdgeLengthsToArea: error: undefined reference to 'tan'
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Ch3.build/latLng.c.o:latLng.c:function triangleEdgeLengthsToArea: error: undefined reference to 'tan'
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Ch3.build/latLng.c.o:latLng.c:function triangleEdgeLengthsToArea: error: undefined reference to 'sqrt'
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Ch3.build/latLng.c.o:latLng.c:function triangleEdgeLengthsToArea: error: undefined reference to 'atan'
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Ch3.build/localij.c.o:localij.c:function cubeRound: error: undefined reference to 'round'
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Ch3.build/localij.c.o:localij.c:function cubeRound: error: undefined reference to 'round'
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Ch3.build/localij.c.o:localij.c:function cubeRound: error: undefined reference to 'round'
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Ch3.build/vec2d.c.o:vec2d.c:function _v2dMag: error: undefined reference to 'sqrt'
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Ch3.build/vertexGraph.c.o:vertexGraph.c:function _hashVertex: error: undefined reference to 'pow'
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Ch3.build/vertexGraph.c.o:vertexGraph.c:function _hashVertex: error: undefined reference to 'fmod'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
[40/42] Linking advanced-example
[40/42] Linking basic-example
BUILD FAILURE 6.3 linux