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 MapboxCommon, reference v24.15.0 (76cf6f), with Swift 6.2 (beta) for Wasm on 11 Sep 2025 12:54:16 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-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mapbox/mapbox-common-ios.git
Reference: v24.15.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/mapbox/mapbox-common-ios
 * tag               v24.15.0   -> FETCH_HEAD
HEAD is now at 76cf6fa Update to v24.15.0
Cloned https://github.com/mapbox/mapbox-common-ios.git
Revision (git rev-parse @):
76cf6fa29a5541c20b0d52ec947ca41445c29418
SUCCESS checkout https://github.com/mapbox/mapbox-common-ios.git at v24.15.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/mapbox/mapbox-common-ios.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-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:3160178686d03086db4c1712d78c1980537bb37521128c64baade7f466b6b4aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/mapbox/turf-swift.git
[1/6082] Fetching turf-swift
Fetched https://github.com/mapbox/turf-swift.git from cache (0.80s)
Computing version for https://github.com/mapbox/turf-swift.git
Computed https://github.com/mapbox/turf-swift.git at 4.0.0 (1.28s)
Creating working copy for https://github.com/mapbox/turf-swift.git
Working copy of https://github.com/mapbox/turf-swift.git resolved at 4.0.0
Downloading binary artifact https://api.mapbox.com/downloads/v2/mapbox-common/releases/ios/packages/24.15.0/MapboxCommon.zip
[4047/4047] Downloading https://api.mapbox.com/downloads/v2/mapbox-common/releases/ios/packages/24.15.0/MapboxCommon.zip
Downloaded https://api.mapbox.com/downloads/v2/mapbox-common/releases/ios/packages/24.15.0/MapboxCommon.zip (2.77s)
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/25] Emitting module Turf
/host/spi-builder-workspace/.build/checkouts/turf-swift/Sources/Turf/BoundingBox.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 | #if !os(Linux)
 3 | import CoreLocation
[5/28] Compiling Turf Spline.swift
/host/spi-builder-workspace/.build/checkouts/turf-swift/Sources/Turf/BoundingBox.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 | #if !os(Linux)
 3 | import CoreLocation
[6/28] Compiling Turf Turf.swift
/host/spi-builder-workspace/.build/checkouts/turf-swift/Sources/Turf/BoundingBox.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 | #if !os(Linux)
 3 | import CoreLocation
[7/28] Compiling Turf WKT.swift
/host/spi-builder-workspace/.build/checkouts/turf-swift/Sources/Turf/BoundingBox.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 | #if !os(Linux)
 3 | import CoreLocation
[8/28] Compiling Turf GeometryCollection.swift
/host/spi-builder-workspace/.build/checkouts/turf-swift/Sources/Turf/BoundingBox.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 | #if !os(Linux)
 3 | import CoreLocation
[9/28] Compiling Turf LineString.swift
/host/spi-builder-workspace/.build/checkouts/turf-swift/Sources/Turf/BoundingBox.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 | #if !os(Linux)
 3 | import CoreLocation
[10/28] Compiling Turf MultiLineString.swift
/host/spi-builder-workspace/.build/checkouts/turf-swift/Sources/Turf/BoundingBox.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 | #if !os(Linux)
 3 | import CoreLocation
[11/28] Compiling Turf FeatureCollection.swift
/host/spi-builder-workspace/.build/checkouts/turf-swift/Sources/Turf/BoundingBox.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 | #if !os(Linux)
 3 | import CoreLocation
[12/28] Compiling Turf FeatureIdentifier.swift
/host/spi-builder-workspace/.build/checkouts/turf-swift/Sources/Turf/BoundingBox.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 | #if !os(Linux)
 3 | import CoreLocation
[13/28] Compiling Turf GeoJSON.swift
/host/spi-builder-workspace/.build/checkouts/turf-swift/Sources/Turf/BoundingBox.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 | #if !os(Linux)
 3 | import CoreLocation
[14/28] Compiling Turf Consumer.swift
/host/spi-builder-workspace/.build/checkouts/turf-swift/Sources/Turf/BoundingBox.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 | #if !os(Linux)
 3 | import CoreLocation
[15/28] Compiling Turf CoreLocation.swift
/host/spi-builder-workspace/.build/checkouts/turf-swift/Sources/Turf/BoundingBox.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 | #if !os(Linux)
 3 | import CoreLocation
[16/28] Compiling Turf Feature.swift
/host/spi-builder-workspace/.build/checkouts/turf-swift/Sources/Turf/BoundingBox.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 | #if !os(Linux)
 3 | import CoreLocation
[17/28] Compiling Turf RadianCoordinate2D.swift
/host/spi-builder-workspace/.build/checkouts/turf-swift/Sources/Turf/BoundingBox.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 | #if !os(Linux)
 3 | import CoreLocation
[18/28] Compiling Turf Ring.swift
/host/spi-builder-workspace/.build/checkouts/turf-swift/Sources/Turf/BoundingBox.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 | #if !os(Linux)
 3 | import CoreLocation
[19/28] Compiling Turf Simplifier.swift
/host/spi-builder-workspace/.build/checkouts/turf-swift/Sources/Turf/BoundingBox.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 | #if !os(Linux)
 3 | import CoreLocation
[20/28] Compiling Turf Polygon.swift
/host/spi-builder-workspace/.build/checkouts/turf-swift/Sources/Turf/BoundingBox.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 | #if !os(Linux)
 3 | import CoreLocation
[21/28] Compiling Turf Geometry.swift
/host/spi-builder-workspace/.build/checkouts/turf-swift/Sources/Turf/BoundingBox.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 | #if !os(Linux)
 3 | import CoreLocation
[22/28] Compiling Turf JSON.swift
/host/spi-builder-workspace/.build/checkouts/turf-swift/Sources/Turf/BoundingBox.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 | #if !os(Linux)
 3 | import CoreLocation
[23/28] Compiling Turf MultiPoint.swift
/host/spi-builder-workspace/.build/checkouts/turf-swift/Sources/Turf/BoundingBox.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 | #if !os(Linux)
 3 | import CoreLocation
[24/28] Compiling Turf MultiPolygon.swift
/host/spi-builder-workspace/.build/checkouts/turf-swift/Sources/Turf/BoundingBox.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 | #if !os(Linux)
 3 | import CoreLocation
[25/28] Compiling Turf Point.swift
/host/spi-builder-workspace/.build/checkouts/turf-swift/Sources/Turf/BoundingBox.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 | #if !os(Linux)
 3 | import CoreLocation
[26/28] Compiling Turf BoundingBox.swift
/host/spi-builder-workspace/.build/checkouts/turf-swift/Sources/Turf/BoundingBox.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 | #if !os(Linux)
 3 | import CoreLocation
[27/28] Compiling Turf Codable.swift
/host/spi-builder-workspace/.build/checkouts/turf-swift/Sources/Turf/BoundingBox.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 | #if !os(Linux)
 3 | import CoreLocation
[28/28] Compiling Turf Consumer+WKT.swift
/host/spi-builder-workspace/.build/checkouts/turf-swift/Sources/Turf/BoundingBox.swift:1:8: error: no such module 'Foundation'
 1 | import Foundation
   |        `- error: no such module 'Foundation'
 2 | #if !os(Linux)
 3 | import CoreLocation
BUILD FAILURE 6.2 wasm