Build Information
Failed to build MapboxDirections, reference main (296da0), with Swift 6.2 for Wasm on 12 Dec 2025 12:15:13 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/mapbox/mapbox-directions-swift.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/mapbox/mapbox-directions-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 296da0a CI documentation workflow (#847)
Cloned https://github.com/mapbox/mapbox-directions-swift.git
Revision (git rev-parse @):
296da0a26c6ff010e321bcbab7bb35e049ee5fe0
SUCCESS checkout https://github.com/mapbox/mapbox-directions-swift.git at main
========================================
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" -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/swift-sdk.json
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/raphaelmor/Polyline.git
Fetching https://github.com/AliSoftware/OHHTTPStubs
Fetching https://github.com/mapbox/turf-swift.git
[1/894] Fetching polyline
[895/6976] Fetching polyline, turf-swift
[896/14876] Fetching polyline, turf-swift, ohhttpstubs
[1588/31798] Fetching polyline, turf-swift, ohhttpstubs, swift-argument-parser
Fetched https://github.com/raphaelmor/Polyline.git from cache (0.78s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.12s)
Fetched https://github.com/AliSoftware/OHHTTPStubs from cache (1.19s)
Fetched https://github.com/mapbox/turf-swift.git from cache (1.20s)
Computing version for https://github.com/AliSoftware/OHHTTPStubs
Computed https://github.com/AliSoftware/OHHTTPStubs at 9.1.0 (1.70s)
Computing version for https://github.com/mapbox/turf-swift.git
Computed https://github.com/mapbox/turf-swift.git at 2.8.0 (0.48s)
Computing version for https://github.com/raphaelmor/Polyline.git
Computed https://github.com/raphaelmor/Polyline.git at 5.1.0 (0.41s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.2 (0.39s)
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.2
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/mapbox/turf-swift.git
Working copy of https://github.com/mapbox/turf-swift.git resolved at 2.8.0
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/17] Write sources
[8/17] Write swift-version-24593BA9C3E375BF.txt
[10/44] Emitting module ArgumentParserToolInfo
[11/44] Compiling ArgumentParserToolInfo ToolInfo.swift
[12/45] Wrapping AST for ArgumentParserToolInfo for debugging
[14/89] Emitting module Polyline
[15/89] Compiling ArgumentParser Errors.swift
/host/spi-builder-workspace/.build/checkouts/turf-swift/Sources/Turf/BoundingBox.swift:3:8: error: no such module 'CoreLocation'
1 | import Foundation
2 | #if !os(Linux)
3 | import CoreLocation
| `- error: no such module 'CoreLocation'
4 | #endif
5 |
[16/89] Compiling ArgumentParser Flag.swift
/host/spi-builder-workspace/.build/checkouts/turf-swift/Sources/Turf/BoundingBox.swift:3:8: error: no such module 'CoreLocation'
1 | import Foundation
2 | #if !os(Linux)
3 | import CoreLocation
| `- error: no such module 'CoreLocation'
4 | #endif
5 |
[17/89] Compiling ArgumentParser NameSpecification.swift
/host/spi-builder-workspace/.build/checkouts/turf-swift/Sources/Turf/BoundingBox.swift:3:8: error: no such module 'CoreLocation'
1 | import Foundation
2 | #if !os(Linux)
3 | import CoreLocation
| `- error: no such module 'CoreLocation'
4 | #endif
5 |
[18/92] Compiling ArgumentParser Option.swift
/host/spi-builder-workspace/.build/checkouts/turf-swift/Sources/Turf/BoundingBox.swift:3:8: error: no such module 'CoreLocation'
1 | import Foundation
2 | #if !os(Linux)
3 | import CoreLocation
| `- error: no such module 'CoreLocation'
4 | #endif
5 |
[19/92] Compiling ArgumentParser OptionGroup.swift
/host/spi-builder-workspace/.build/checkouts/turf-swift/Sources/Turf/BoundingBox.swift:3:8: error: no such module 'CoreLocation'
1 | import Foundation
2 | #if !os(Linux)
3 | import CoreLocation
| `- error: no such module 'CoreLocation'
4 | #endif
5 |
[20/92] Compiling ArgumentParser AsyncParsableCommand.swift
/host/spi-builder-workspace/.build/checkouts/turf-swift/Sources/Turf/BoundingBox.swift:3:8: error: no such module 'CoreLocation'
1 | import Foundation
2 | #if !os(Linux)
3 | import CoreLocation
| `- error: no such module 'CoreLocation'
4 | #endif
5 |
[21/92] Compiling ArgumentParser CommandConfiguration.swift
/host/spi-builder-workspace/.build/checkouts/turf-swift/Sources/Turf/BoundingBox.swift:3:8: error: no such module 'CoreLocation'
1 | import Foundation
2 | #if !os(Linux)
3 | import CoreLocation
| `- error: no such module 'CoreLocation'
4 | #endif
5 |
[22/92] Compiling ArgumentParser CommandGroup.swift
/host/spi-builder-workspace/.build/checkouts/turf-swift/Sources/Turf/BoundingBox.swift:3:8: error: no such module 'CoreLocation'
1 | import Foundation
2 | #if !os(Linux)
3 | import CoreLocation
| `- error: no such module 'CoreLocation'
4 | #endif
5 |
[23/92] Compiling ArgumentParser EnumerableFlag.swift
/host/spi-builder-workspace/.build/checkouts/turf-swift/Sources/Turf/BoundingBox.swift:3:8: error: no such module 'CoreLocation'
1 | import Foundation
2 | #if !os(Linux)
3 | import CoreLocation
| `- error: no such module 'CoreLocation'
4 | #endif
5 |
[24/92] Compiling ArgumentParser ExpressibleByArgument.swift
/host/spi-builder-workspace/.build/checkouts/turf-swift/Sources/Turf/BoundingBox.swift:3:8: error: no such module 'CoreLocation'
1 | import Foundation
2 | #if !os(Linux)
3 | import CoreLocation
| `- error: no such module 'CoreLocation'
4 | #endif
5 |
[25/92] Compiling ArgumentParser ParsableArguments.swift
/host/spi-builder-workspace/.build/checkouts/turf-swift/Sources/Turf/BoundingBox.swift:3:8: error: no such module 'CoreLocation'
1 | import Foundation
2 | #if !os(Linux)
3 | import CoreLocation
| `- error: no such module 'CoreLocation'
4 | #endif
5 |
[26/92] Compiling ArgumentParser ParsableCommand.swift
/host/spi-builder-workspace/.build/checkouts/turf-swift/Sources/Turf/BoundingBox.swift:3:8: error: no such module 'CoreLocation'
1 | import Foundation
2 | #if !os(Linux)
3 | import CoreLocation
| `- error: no such module 'CoreLocation'
4 | #endif
5 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[27/92] Emitting module Turf
/host/spi-builder-workspace/.build/checkouts/turf-swift/Sources/Turf/BoundingBox.swift:3:8: error: no such module 'CoreLocation'
1 | import Foundation
2 | #if !os(Linux)
3 | import CoreLocation
| `- error: no such module 'CoreLocation'
4 | #endif
5 |
[28/92] Compiling ArgumentParser ArgumentHelp.swift
/host/spi-builder-workspace/.build/checkouts/turf-swift/Sources/Turf/BoundingBox.swift:3:8: error: no such module 'CoreLocation'
1 | import Foundation
2 | #if !os(Linux)
3 | import CoreLocation
| `- error: no such module 'CoreLocation'
4 | #endif
5 |
[29/92] Compiling ArgumentParser ArgumentVisibility.swift
/host/spi-builder-workspace/.build/checkouts/turf-swift/Sources/Turf/BoundingBox.swift:3:8: error: no such module 'CoreLocation'
1 | import Foundation
2 | #if !os(Linux)
3 | import CoreLocation
| `- error: no such module 'CoreLocation'
4 | #endif
5 |
[30/92] Compiling ArgumentParser CompletionKind.swift
/host/spi-builder-workspace/.build/checkouts/turf-swift/Sources/Turf/BoundingBox.swift:3:8: error: no such module 'CoreLocation'
1 | import Foundation
2 | #if !os(Linux)
3 | import CoreLocation
| `- error: no such module 'CoreLocation'
4 | #endif
5 |
[31/92] Compiling ArgumentParser ZshCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/turf-swift/Sources/Turf/BoundingBox.swift:3:8: error: no such module 'CoreLocation'
1 | import Foundation
2 | #if !os(Linux)
3 | import CoreLocation
| `- error: no such module 'CoreLocation'
4 | #endif
5 |
[32/92] Compiling ArgumentParser Argument.swift
/host/spi-builder-workspace/.build/checkouts/turf-swift/Sources/Turf/BoundingBox.swift:3:8: error: no such module 'CoreLocation'
1 | import Foundation
2 | #if !os(Linux)
3 | import CoreLocation
| `- error: no such module 'CoreLocation'
4 | #endif
5 |
[33/92] Compiling ArgumentParser ArgumentDiscussion.swift
/host/spi-builder-workspace/.build/checkouts/turf-swift/Sources/Turf/BoundingBox.swift:3:8: error: no such module 'CoreLocation'
1 | import Foundation
2 | #if !os(Linux)
3 | import CoreLocation
| `- error: no such module 'CoreLocation'
4 | #endif
5 |
[34/92] Compiling ArgumentParser BashCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/turf-swift/Sources/Turf/BoundingBox.swift:3:8: error: no such module 'CoreLocation'
1 | import Foundation
2 | #if !os(Linux)
3 | import CoreLocation
| `- error: no such module 'CoreLocation'
4 | #endif
5 |
[35/92] Compiling ArgumentParser CompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/turf-swift/Sources/Turf/BoundingBox.swift:3:8: error: no such module 'CoreLocation'
1 | import Foundation
2 | #if !os(Linux)
3 | import CoreLocation
| `- error: no such module 'CoreLocation'
4 | #endif
5 |
[36/92] Compiling ArgumentParser FishCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/turf-swift/Sources/Turf/BoundingBox.swift:3:8: error: no such module 'CoreLocation'
1 | import Foundation
2 | #if !os(Linux)
3 | import CoreLocation
| `- error: no such module 'CoreLocation'
4 | #endif
5 |
[37/92] Compiling ArgumentParser CollectionExtensions.swift
[38/92] Compiling ArgumentParser Mutex.swift
[39/92] Compiling ArgumentParser Platform.swift
[40/92] Compiling ArgumentParser SequenceExtensions.swift
[41/92] Compiling ArgumentParser StringExtensions.swift
[42/92] Compiling ArgumentParser SwiftExtensions.swift
[43/98] Compiling Polyline CoreLocation.swift
[44/98] Compiling Polyline Polyline.swift
[45/99] Wrapping AST for Polyline for debugging
[47/99] Compiling Turf Spline.swift
/host/spi-builder-workspace/.build/checkouts/turf-swift/Sources/Turf/BoundingBox.swift:3:8: error: no such module 'CoreLocation'
1 | import Foundation
2 | #if !os(Linux)
3 | import CoreLocation
| `- error: no such module 'CoreLocation'
4 | #endif
5 |
[48/99] Compiling Turf Turf.swift
/host/spi-builder-workspace/.build/checkouts/turf-swift/Sources/Turf/BoundingBox.swift:3:8: error: no such module 'CoreLocation'
1 | import Foundation
2 | #if !os(Linux)
3 | import CoreLocation
| `- error: no such module 'CoreLocation'
4 | #endif
5 |
[49/99] Compiling Turf WKT.swift
/host/spi-builder-workspace/.build/checkouts/turf-swift/Sources/Turf/BoundingBox.swift:3:8: error: no such module 'CoreLocation'
1 | import Foundation
2 | #if !os(Linux)
3 | import CoreLocation
| `- error: no such module 'CoreLocation'
4 | #endif
5 |
BUILD FAILURE 6.2 wasm