The Swift Package Index logo.Swift Package Index

Build Information

Failed to build H3Swift, reference main (69f983), with Swift 6.2 for Linux on 27 Feb 2026 22:14:22 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.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:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/libardoram/H3Swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:257b0ae9749b4eea8553a58f7bf60a672611c061e9b845ccfee371e7c1138ce8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-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 directedEdge.c
[0/30] Write sources
[2/30] Compiling Ch3 baseCells.c
[3/30] Compiling Ch3 h3Assert.c
[4/30] Write swift-version-24593BA9C3E375BF.txt
[5/30] Compiling Ch3 faceijk.c
[6/30] Compiling Ch3 vec2d.c
[7/30] Compiling Ch3 h3Index.c
[8/30] Compiling Ch3 vec3d.c
[9/30] Compiling Ch3 vertex.c
[9/30] Compiling Ch3 coordijk.c
[11/30] Compiling Ch3 bbox.c
[12/30] Compiling Ch3 vertexGraph.c
[13/30] Compiling Ch3 mathExtensions.c
[14/30] Write sources
[16/30] Compiling Ch3 polygon.c
[17/30] Compiling Ch3 polyfill.c
[18/30] Compiling Ch3 iterators.c
[19/30] Compiling Ch3 linkedGeo.c
[20/30] Compiling Ch3 localij.c
[21/30] Compiling Ch3 latLng.c
[22/30] Compiling Ch3 algos.c
[24/35] Compiling H3 H3Index.swift
[25/35] Compiling H3 H3Edge.swift
[26/35] Compiling H3 H3Coordinate.swift
[27/35] Compiling H3 H3GeoPolygon.swift
[28/35] Emitting module H3
[29/36] 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
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)
[38/42] Linking basic-example
[38/42] Wrapping AST for AdvancedExample for debugging
BUILD FAILURE 6.2 linux