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 MapLibreSwiftUI, reference main (4bc1a0), with Swift 6.2 for Wasm on 10 Dec 2025 11:03:32 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>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/maplibre/swiftui-dsl.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/maplibre/swiftui-dsl
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 4bc1a07 feat: map proxy modifiers to env (#125)
Cloned https://github.com/maplibre/swiftui-dsl.git
Revision (git rev-parse @):
4bc1a07bd66c85ee20a089db2ed31535e9309e2c
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/maplibre/swiftui-dsl.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/maplibre/swiftui-dsl.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: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
Fetching https://github.com/maplibre/maplibre-gl-native-distribution.git
Fetching https://github.com/pointfreeco/swift-snapshot-testing
Fetching https://github.com/swiftlang/swift-syntax.git
[4/381] Fetching maplibre-gl-native-distribution
Fetching https://github.com/apple/swift-numerics.git
Fetched https://github.com/maplibre/maplibre-gl-native-distribution.git from cache (0.45s)
[1/73059] Fetching swift-syntax
[2/79443] Fetching swift-syntax, swift-numerics
[4137/95076] Fetching swift-syntax, swift-numerics, swift-snapshot-testing
Fetched https://github.com/apple/swift-numerics.git from cache (1.00s)
[10124/88692] Fetching swift-syntax, swift-snapshot-testing
Fetching https://github.com/Kolos65/Mockable.git
Fetching https://github.com/pointfreeco/swift-macro-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (7.38s)
[1/1884] Fetching mockable
[39/2816] Fetching mockable, swift-macro-testing
Fetched https://github.com/pointfreeco/swift-macro-testing from cache (0.73s)
[1866/1884] Fetching mockable
Fetched https://github.com/Kolos65/Mockable.git from cache (0.90s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (12.55s)
Computing version for https://github.com/pointfreeco/swift-macro-testing
Computed https://github.com/pointfreeco/swift-macro-testing at 0.6.4 (14.44s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.18.7 (0.50s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/4651] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.50s)
Computing version for https://github.com/Kolos65/Mockable.git
Computed https://github.com/Kolos65/Mockable.git at 0.5.0 (1.23s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5600] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.12s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (1.64s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (0.72s)
Computing version for https://github.com/maplibre/maplibre-gl-native-distribution.git
Computed https://github.com/maplibre/maplibre-gl-native-distribution.git at 6.21.2 (3.50s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.8.0 (0.56s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (0.76s)
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.18.7
Creating working copy for https://github.com/pointfreeco/swift-macro-testing
Working copy of https://github.com/pointfreeco/swift-macro-testing resolved at 0.6.4
Creating working copy for https://github.com/Kolos65/Mockable.git
Working copy of https://github.com/Kolos65/Mockable.git resolved at 0.5.0
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.3.3
Creating working copy for https://github.com/maplibre/maplibre-gl-native-distribution.git
Working copy of https://github.com/maplibre/maplibre-gl-native-distribution.git resolved at 6.21.2
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 602.0.0
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.8.0
Downloading binary artifact https://github.com/maplibre/maplibre-native/releases/download/ios-v6.21.2/MapLibre.dynamic.xcframework.zip
[1397/10049561] Downloading https://github.com/maplibre/maplibre-native/releases/download/ios-v6.21.2/MapLibre.dynamic.xcframework.zip
Downloaded https://github.com/maplibre/maplibre-native/releases/download/ios-v6.21.2/MapLibre.dynamic.xcframework.zip (1.46s)
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (1.01s)
Building for debugging...
[0/23] Write sources
[16/23] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/36] Emitting module IssueReportingPackageSupport
/host/spi-builder-workspace/.build/checkouts/xctest-dynamic-overlay/Sources/IssueReportingPackageSupport/_Test.swift:4:19: error: 'AnyHashable' is unavailable: unavailable in embedded Swift
 2 | package struct _Test {
 3 |   @usableFromInline
 4 |   package let id: AnyHashable
   |                   `- error: 'AnyHashable' is unavailable: unavailable in embedded Swift
 5 |
 6 |   @usableFromInline
Swift.AnyHashable:2:23: note: 'AnyHashable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | @frozen public struct AnyHashable {
  |                       `- note: 'AnyHashable' has been explicitly marked unavailable here
3 |     @_unavailableInEmbedded
4 |     public init<H>(_ base: H) where H : Hashable
/host/spi-builder-workspace/.build/checkouts/xctest-dynamic-overlay/Sources/IssueReportingPackageSupport/_Test.swift:10:20: error: 'AnyHashable' is unavailable: unavailable in embedded Swift
 8 |
 9 |   @usableFromInline
10 |   package init(id: AnyHashable, traits: [any Sendable]) {
   |                    `- error: 'AnyHashable' is unavailable: unavailable in embedded Swift
11 |     self.id = id
12 |     self.traits = traits
Swift.AnyHashable:2:23: note: 'AnyHashable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | @frozen public struct AnyHashable {
  |                       `- note: 'AnyHashable' has been explicitly marked unavailable here
3 |     @_unavailableInEmbedded
4 |     public init<H>(_ base: H) where H : Hashable
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/37] Emitting module InternalUtils
/host/spi-builder-workspace/Sources/InternalUtils/Sample Data.swift:2:8: error: no such module 'CoreLocation'
 1 | // Sample data
 2 | import CoreLocation
   |        `- error: no such module 'CoreLocation'
 3 |
 4 | public let samplePedestrianWaypoints = [
[20/72] Compiling IssueReportingPackageSupport _Test.swift
/host/spi-builder-workspace/.build/checkouts/xctest-dynamic-overlay/Sources/IssueReportingPackageSupport/_Test.swift:4:19: error: 'AnyHashable' is unavailable: unavailable in embedded Swift
 2 | package struct _Test {
 3 |   @usableFromInline
 4 |   package let id: AnyHashable
   |                   `- error: 'AnyHashable' is unavailable: unavailable in embedded Swift
 5 |
 6 |   @usableFromInline
Swift.AnyHashable:2:23: note: 'AnyHashable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | @frozen public struct AnyHashable {
  |                       `- note: 'AnyHashable' has been explicitly marked unavailable here
3 |     @_unavailableInEmbedded
4 |     public init<H>(_ base: H) where H : Hashable
/host/spi-builder-workspace/.build/checkouts/xctest-dynamic-overlay/Sources/IssueReportingPackageSupport/_Test.swift:10:20: error: 'AnyHashable' is unavailable: unavailable in embedded Swift
 8 |
 9 |   @usableFromInline
10 |   package init(id: AnyHashable, traits: [any Sendable]) {
   |                    `- error: 'AnyHashable' is unavailable: unavailable in embedded Swift
11 |     self.id = id
12 |     self.traits = traits
Swift.AnyHashable:2:23: note: 'AnyHashable' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | @frozen public struct AnyHashable {
  |                       `- note: 'AnyHashable' has been explicitly marked unavailable here
3 |     @_unavailableInEmbedded
4 |     public init<H>(_ base: H) where H : Hashable
[21/72] Emitting module IssueReportingPackageSupport
BUILD FAILURE 6.2 wasm