The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build SwiftyH3, reference 0.4.1 (2dab6f), with Swift 6.2 (beta) for Wasm on 29 Jul 2025 01:18:49 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pawelmajcher/SwiftyH3.git
Reference: 0.4.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/pawelmajcher/SwiftyH3
 * tag               0.4.1      -> FETCH_HEAD
HEAD is now at 2dab6f4 Minor README and docs updates
Cloned https://github.com/pawelmajcher/SwiftyH3.git
Revision (git rev-parse @):
2dab6f4cc8b7aff475ef9b76ff9e9e7b7fd551ec
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/pawelmajcher/SwiftyH3.git at 0.4.1
========================================
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-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/pawelmajcher/Ch3.git
[1/161] Fetching ch3
Fetched https://github.com/pawelmajcher/Ch3.git from cache (0.27s)
Computing version for https://github.com/pawelmajcher/Ch3.git
Computed https://github.com/pawelmajcher/Ch3.git at 4.3.0 (2.92s)
Creating working copy for https://github.com/pawelmajcher/Ch3.git
Working copy of https://github.com/pawelmajcher/Ch3.git resolved at 4.3.0
Building for debugging...
[0/23] Write sources
[1/23] Compiling h3Assert.c
[2/23] Compiling vec2d.c
[3/23] Compiling faceijk.c
[4/23] Compiling vertexGraph.c
[5/23] Compiling polygon.c
[5/23] Compiling h3Index.c
[7/23] Compiling vertex.c
[8/23] Compiling vec3d.c
[9/23] Compiling mathExtensions.c
[10/23] Compiling baseCells.c
[11/23] Write swift-version-24593BA9C3E375BF.txt
[12/23] Compiling iterators.c
[13/23] Compiling localij.c
[14/23] Compiling directedEdge.c
[15/23] Compiling linkedGeo.c
[16/23] Compiling latLng.c
[17/23] Compiling polyfill.c
[18/23] Compiling bbox.c
[19/23] Compiling coordijk.c
[20/23] Compiling algos.c
[21/23] Write Objects.LinkFileList
[22/23] Archiving libCh3.a
error: emit-module command failed with exit code 1 (use -v to see invocation)
[24/65] 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 {
[25/70] Compiling SwiftyH3 H3LatLng+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 {
[26/70] Compiling SwiftyH3 H3Polygon+MapKit.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 {
[27/70] Compiling SwiftyH3 H3LatLng+LatLng.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 {
[28/70] Compiling SwiftyH3 H3Loop+GeoLoop.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 {
[29/70] Compiling SwiftyH3 H3Loop+LinkedLatLng.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 {
[30/70] Compiling SwiftyH3 H3MultiPolygon+GeoMultiPolygon.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 {
[31/70] Compiling SwiftyH3 H3MultiPolygon+LinkedGeoPolygon.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 {
[32/70] Compiling SwiftyH3 H3Polygon+GeoPolygon.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 {
[33/70] Compiling SwiftyH3 H3Polygon+LinkedGeoLoop.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 {
[34/70] Compiling SwiftyH3 H3Cell+Resolution+Zoom.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 {
[35/70] Compiling SwiftyH3 H3LatLng+Units.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 {
[36/70] Compiling SwiftyH3 H3Cell+ContainmentType.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 {
[37/70] Compiling SwiftyH3 H3Cell+Resolution.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 {
[38/70] Compiling SwiftyH3 H3Cell.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 {
[39/70] Compiling SwiftyH3 H3DirectedEdge.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 {
[40/70] Compiling SwiftyH3 H3Indexable.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 {
[41/70] Compiling SwiftyH3 H3LatLng.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 {
[42/70] Compiling SwiftyH3 H3Polygon.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 {
[43/70] Compiling SwiftyH3 H3Vertex.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 {
[44/70] Compiling SwiftyH3 SwiftyH3Error.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 {
[45/70] Compiling SwiftyH3 H3Cell+Edges.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 {
[46/70] Compiling SwiftyH3 H3Cell+Neighbors.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 {
[47/70] Compiling SwiftyH3 H3DirectedEdge+Indexing.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 {
[48/70] Compiling SwiftyH3 H3DirectedEdge+Inspection.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 {
[49/70] Compiling SwiftyH3 H3Polygon+H3Cell.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 {
[50/70] Compiling SwiftyH3 H3Cell+Traversal.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 {
[51/70] Compiling SwiftyH3 H3Cell+H3Vertex.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 {
[52/70] Compiling SwiftyH3 H3Vertex+Indexing.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 {
[53/70] Compiling SwiftyH3 H3Vertex+Inspection.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 {
[54/70] Compiling SwiftyH3 H3DirectedEdge+Traversal.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 {
[55/70] Compiling SwiftyH3 H3Cell+ChildrenCollection.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 {
[56/70] Compiling SwiftyH3 H3Cell+Compact.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 {
[57/70] Compiling SwiftyH3 H3Cell+Hierarchy.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 {
[58/70] Compiling SwiftyH3 H3Cell+Indexing.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 {
[59/70] Compiling SwiftyH3 H3LatLng+Indexing.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 {
[60/70] Compiling SwiftyH3 H3CellResolution+Stats.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 {
[61/70] Compiling SwiftyH3 H3DirectedEdge+Length.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 {
[62/70] Compiling SwiftyH3 H3LatLng+Distance.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 {
[63/70] Compiling SwiftyH3 SwiftyH3Error+LocalizedError.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 {
[64/70] Compiling SwiftyH3 H3Cell+H3Polygon.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 {
[65/70] Compiling SwiftyH3 H3Cell+Inspection.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 {
[66/70] Compiling SwiftyH3 H3Indexable+Inspection.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 {
[67/70] Compiling SwiftyH3 H3Indexable+LosslessStringConvertible.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 {
[68/70] Compiling SwiftyH3 H3Cell+Area.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 {
[69/70] Compiling SwiftyH3 H3Cell+Res0Cells.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 {
[70/70] Compiling SwiftyH3 H3CellResolution+Pentagons.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