Build Information
Failed to build MapboxDirections, reference v2.14.2 (9de43d
), with Swift 6.2 (beta) for Wasm on 9 Jul 2025 16:14:21 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/mapbox/mapbox-directions-swift.git
Reference: v2.14.2
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-directions-swift
* tag v2.14.2 -> FETCH_HEAD
HEAD is now at 9de43d1 Update version 2.14.2 (#838)
Cloned https://github.com/mapbox/mapbox-directions-swift.git
Revision (git rev-parse @):
9de43d18ab2b3c05f2bfd7333ac9860544fec2bb
SUCCESS checkout https://github.com/mapbox/mapbox-directions-swift.git at v2.14.2
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/mapbox/mapbox-directions-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/mapbox/turf-swift.git
Fetching https://github.com/AliSoftware/OHHTTPStubs
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/raphaelmor/Polyline.git
[1/894] Fetching polyline
[895/6976] Fetching polyline, turf-swift
[3267/14876] Fetching polyline, turf-swift, ohhttpstubs
[14877/30400] Fetching polyline, turf-swift, ohhttpstubs, swift-argument-parser
Fetched https://github.com/raphaelmor/Polyline.git from cache (0.47s)
[14138/29506] Fetching turf-swift, ohhttpstubs, swift-argument-parser
Fetched https://github.com/AliSoftware/OHHTTPStubs from cache (0.47s)
[6393/21606] Fetching turf-swift, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.90s)
Fetched https://github.com/mapbox/turf-swift.git from cache (0.90s)
Computing version for https://github.com/AliSoftware/OHHTTPStubs
Computed https://github.com/AliSoftware/OHHTTPStubs at 9.1.0 (1.36s)
Computing version for https://github.com/mapbox/turf-swift.git
Computed https://github.com/mapbox/turf-swift.git at 2.8.0 (0.39s)
Computing version for https://github.com/raphaelmor/Polyline.git
Computed https://github.com/raphaelmor/Polyline.git at 5.1.0 (0.38s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.1 (0.35s)
Creating working copy for https://github.com/mapbox/turf-swift.git
Working copy of https://github.com/mapbox/turf-swift.git resolved at 2.8.0
Creating working copy for https://github.com/raphaelmor/Polyline.git
Working copy of https://github.com/raphaelmor/Polyline.git resolved at 5.1.0
Creating working copy for https://github.com/AliSoftware/OHHTTPStubs
Working copy of https://github.com/AliSoftware/OHHTTPStubs resolved at 9.1.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.1
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/17] Write sources
[8/17] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/44] 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
[11/47] Compiling Polyline CoreLocation.swift
/host/spi-builder-workspace/.build/checkouts/Polyline/Sources/Polyline/CoreLocation.swift:23:8: error: no such module 'Foundation'
21 | // SOFTWARE.
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 | #if canImport(CoreLocation)
25 | import CoreLocation
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/47] Emitting module Polyline
/host/spi-builder-workspace/.build/checkouts/Polyline/Sources/Polyline/CoreLocation.swift:23:8: error: no such module 'Foundation'
21 | // SOFTWARE.
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 | #if canImport(CoreLocation)
25 | import CoreLocation
[13/47] Compiling Polyline Polyline.swift
/host/spi-builder-workspace/.build/checkouts/Polyline/Sources/Polyline/CoreLocation.swift:23:8: error: no such module 'Foundation'
21 | // SOFTWARE.
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 | #if canImport(CoreLocation)
25 | import CoreLocation
[14/47] 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
[15/47] 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
[16/47] 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
[17/47] 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
[18/47] 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
[19/47] 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
[20/47] 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
[21/47] 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
[22/47] 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
[23/47] 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
[24/47] 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
[25/47] 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
[26/47] 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/47] 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/47] 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
[29/47] 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
[30/47] 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
[31/47] 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
[32/47] 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
[33/47] 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
[34/47] 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
[35/47] Compiling ArgumentParserToolInfo ToolInfo.swift
[36/47] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.2 wasm