Build Information
Failed to build H3Swift, reference 1.0.1 (f7c2e0), with Swift 6.2 for Wasm on 26 Feb 2026 21:31:18 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/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: wasm
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-3":/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:c50555b47c4db0b0576f9f25702fbe2fdff28194c4a4f4c23a7dce4b3504c85e
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
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] Write sources
[1/30] Compiling Ch3 vec3d.c
[2/30] Compiling Ch3 vec2d.c
[2/30] Compiling Ch3 vertexGraph.c
[4/30] Compiling Ch3 directedEdge.c
[5/30] Compiling Ch3 vertex.c
[6/30] Write swift-version-24593BA9C3E375BF.txt
[7/30] Compiling Ch3 coordijk.c
[8/30] Compiling Ch3 mathExtensions.c
[9/30] Compiling Ch3 polygon.c
[10/30] Compiling Ch3 h3Assert.c
[11/30] Compiling Ch3 linkedGeo.c
[12/30] Compiling Ch3 polyfill.c
[13/30] Compiling Ch3 latLng.c
[13/30] Write sources
[16/30] Compiling Ch3 iterators.c
[16/30] Compiling Ch3 localij.c
[18/30] Compiling Ch3 faceijk.c
[19/30] Compiling Ch3 baseCells.c
[20/30] Compiling Ch3 bbox.c
[21/30] Compiling Ch3 h3Index.c
[22/30] Compiling Ch3 algos.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[24/32] Emitting module H3
/host/spi-builder-workspace/Sources/H3/H3Coordinate.swift:24:1: error: type 'H3Coordinate' does not conform to protocol 'Decodable'
3 |
4 | /// The latitude in degrees.
5 | public let lat: Double
| `- note: cannot automatically synthesize 'Decodable' because 'Double' does not conform to 'Decodable'
6 |
7 | /// The longitude in degrees.
8 | public let lng: Double
| `- note: cannot automatically synthesize 'Decodable' because 'Double' does not conform to 'Decodable'
9 |
10 | /// Initializes the coordinate with the given latitude and longitude.
:
22 | extension H3Coordinate: Equatable, Hashable {}
23 |
24 | extension H3Coordinate: Codable {}
| `- error: type 'H3Coordinate' does not conform to protocol 'Decodable'
25 |
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/Sources/H3/H3Coordinate.swift:24:1: error: type 'H3Coordinate' does not conform to protocol 'Encodable'
3 |
4 | /// The latitude in degrees.
5 | public let lat: Double
| `- note: cannot automatically synthesize 'Encodable' because 'Double' does not conform to 'Encodable'
6 |
7 | /// The longitude in degrees.
8 | public let lng: Double
| `- note: cannot automatically synthesize 'Encodable' because 'Double' does not conform to 'Encodable'
9 |
10 | /// Initializes the coordinate with the given latitude and longitude.
:
22 | extension H3Coordinate: Equatable, Hashable {}
23 |
24 | extension H3Coordinate: Codable {}
| `- error: type 'H3Coordinate' does not conform to protocol 'Encodable'
25 |
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
| `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/Sources/H3/H3Coordinate.swift:24:25: error: 'Codable' is unavailable: unavailable in embedded Swift
22 | extension H3Coordinate: Equatable, Hashable {}
23 |
24 | extension H3Coordinate: Codable {}
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
25 |
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/H3/H3Coordinate.swift:24:1: error: type 'H3Coordinate' does not conform to protocol 'Decodable'
3 |
4 | /// The latitude in degrees.
5 | public let lat: Double
| `- note: cannot automatically synthesize 'Decodable' because 'Double' does not conform to 'Decodable'
6 |
7 | /// The longitude in degrees.
8 | public let lng: Double
| `- note: cannot automatically synthesize 'Decodable' because 'Double' does not conform to 'Decodable'
9 |
10 | /// Initializes the coordinate with the given latitude and longitude.
:
22 | extension H3Coordinate: Equatable, Hashable {}
23 |
24 | extension H3Coordinate: Codable {}
| `- error: type 'H3Coordinate' does not conform to protocol 'Decodable'
25 |
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
[25/32] Compiling H3 H3Coordinate.swift
/host/spi-builder-workspace/Sources/H3/H3Coordinate.swift:24:1: error: type 'H3Coordinate' does not conform to protocol 'Decodable'
3 |
4 | /// The latitude in degrees.
5 | public let lat: Double
| `- note: cannot automatically synthesize 'Decodable' because 'Double' does not conform to 'Decodable'
6 |
7 | /// The longitude in degrees.
8 | public let lng: Double
| `- note: cannot automatically synthesize 'Decodable' because 'Double' does not conform to 'Decodable'
9 |
10 | /// Initializes the coordinate with the given latitude and longitude.
:
22 | extension H3Coordinate: Equatable, Hashable {}
23 |
24 | extension H3Coordinate: Codable {}
| `- error: type 'H3Coordinate' does not conform to protocol 'Decodable'
25 |
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
/host/spi-builder-workspace/Sources/H3/H3Coordinate.swift:24:1: error: type 'H3Coordinate' does not conform to protocol 'Encodable'
3 |
4 | /// The latitude in degrees.
5 | public let lat: Double
| `- note: cannot automatically synthesize 'Encodable' because 'Double' does not conform to 'Encodable'
6 |
7 | /// The longitude in degrees.
8 | public let lng: Double
| `- note: cannot automatically synthesize 'Encodable' because 'Double' does not conform to 'Encodable'
9 |
10 | /// Initializes the coordinate with the given latitude and longitude.
:
22 | extension H3Coordinate: Equatable, Hashable {}
23 |
24 | extension H3Coordinate: Codable {}
| `- error: type 'H3Coordinate' does not conform to protocol 'Encodable'
25 |
Swift.Encodable.encode:2:6: note: protocol requires function 'encode(to:)' with type 'Encodable'
1 | protocol Encodable {
2 | func encode(to encoder: any Encoder) throws}
| `- note: protocol requires function 'encode(to:)' with type 'Encodable'
3 |
/host/spi-builder-workspace/Sources/H3/H3Coordinate.swift:24:25: error: 'Codable' is unavailable: unavailable in embedded Swift
22 | extension H3Coordinate: Equatable, Hashable {}
23 |
24 | extension H3Coordinate: Codable {}
| `- error: 'Codable' is unavailable: unavailable in embedded Swift
25 |
Swift.Codable:2:18: note: 'Codable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias Codable = Decodable & Encodable
| `- note: 'Codable' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/H3/H3Coordinate.swift:24:1: error: type 'H3Coordinate' does not conform to protocol 'Decodable'
3 |
4 | /// The latitude in degrees.
5 | public let lat: Double
| `- note: cannot automatically synthesize 'Decodable' because 'Double' does not conform to 'Decodable'
6 |
7 | /// The longitude in degrees.
8 | public let lng: Double
| `- note: cannot automatically synthesize 'Decodable' because 'Double' does not conform to 'Decodable'
9 |
10 | /// Initializes the coordinate with the given latitude and longitude.
:
22 | extension H3Coordinate: Equatable, Hashable {}
23 |
24 | extension H3Coordinate: Codable {}
| `- error: type 'H3Coordinate' does not conform to protocol 'Decodable'
25 |
Swift.Decodable.init:2:1: note: protocol requires initializer 'init(from:)' with type 'Decodable'
1 | protocol Decodable {
2 | init(from decoder: any Decoder) throws}
| `- note: protocol requires initializer 'init(from:)' with type 'Decodable'
3 |
BUILD FAILURE 6.2 wasm