Build Information
Failed to build SwiftyH3, reference 0.5.0 (6d9b57), with Swift 6.2 for Wasm on 22 Nov 2025 19:35:40 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:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pawelmajcher/SwiftyH3.git
Reference: 0.5.0
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/pawelmajcher/SwiftyH3
* tag 0.5.0 -> FETCH_HEAD
HEAD is now at 6d9b577 Fix syntax in Package.swift installation instruction
Cloned https://github.com/pawelmajcher/SwiftyH3.git
Revision (git rev-parse @):
6d9b5774cc7cc198597b14aaccf213587947678c
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/pawelmajcher/SwiftyH3.git at 0.5.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/pawelmajcher/SwiftyH3.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:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:302e3f347c593123f3d337e3da1bfe6e802bb8867614e9dfa745c72e13ca8eeb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/embedded-swift-sdk.json
Building for debugging...
[0/21] Write sources
[1/21] Compiling Ch3 h3Assert.c
[2/21] Compiling Ch3 iterators.c
[3/21] Compiling Ch3 vertexGraph.c
[4/21] Compiling Ch3 linkedGeo.c
[5/21] Compiling Ch3 vertex.c
[6/21] Compiling Ch3 latLng.c
[7/21] Write swift-version-24593BA9C3E375BF.txt
[8/21] Compiling Ch3 vec3d.c
[9/21] Compiling Ch3 faceijk.c
[10/21] Compiling Ch3 vec2d.c
[11/21] Compiling Ch3 mathExtensions.c
[12/21] Compiling Ch3 polygon.c
[13/21] Compiling Ch3 h3Index.c
[14/21] Compiling Ch3 polyfill.c
[15/21] Compiling Ch3 directedEdge.c
[16/21] Compiling Ch3 bbox.c
[17/21] Compiling Ch3 localij.c
[18/21] Compiling Ch3 coordijk.c
[19/21] Compiling Ch3 baseCells.c
[20/21] Compiling Ch3 algos.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[22/23] Emitting module SwiftyH3
/host/spi-builder-workspace/Sources/SwiftyH3/Core Types Helpers/H3LatLng+Units.swift:2:8: error: no such module 'Foundation'
1 |
2 | import Foundation
| `- error: no such module 'Foundation'
3 |
4 | public extension H3LatLng {
[23/23] Compiling SwiftyH3 H3+CoreLocation.swift
/host/spi-builder-workspace/Sources/SwiftyH3/Core Types Helpers/H3LatLng+Units.swift:2:8: error: no such module 'Foundation'
1 |
2 | import Foundation
| `- error: no such module 'Foundation'
3 |
4 | public extension H3LatLng {
BUILD FAILURE 6.2 wasm