Build Information
Failed to build MapboxDirections, reference main (f2a787), with Swift 6.2 for Wasm on 20 Sep 2026 11:15:27 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.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 f2a7878 Merge pull request #855 from mapbox/ryndaniels-patch-1
Cloned https://github.com/mapbox/mapbox-directions-swift.git
Revision (git rev-parse @):
f2a787872f76ac13ba120cb96910276a165e43af
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-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:ff44196b45f83e5a0a99a627b185f548850d9bc1242e3dee2178fb1570812fe8
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/AliSoftware/OHHTTPStubs
Fetching https://github.com/mapbox/turf-swift.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/raphaelmor/Polyline.git
[1/7900] Fetching ohhttpstubs
[317/8794] Fetching ohhttpstubs, polyline
[469/14968] Fetching ohhttpstubs, polyline, turf-swift
[13920/33886] Fetching ohhttpstubs, polyline, turf-swift, swift-argument-parser
Fetched https://github.com/raphaelmor/Polyline.git from cache (0.67s)
[29966/32992] Fetching ohhttpstubs, turf-swift, swift-argument-parser
Fetched https://github.com/mapbox/turf-swift.git from cache (0.68s)
[24548/26818] Fetching ohhttpstubs, swift-argument-parser
Fetched https://github.com/AliSoftware/OHHTTPStubs from cache (0.78s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.79s)
Computing version for https://github.com/AliSoftware/OHHTTPStubs
Computed https://github.com/AliSoftware/OHHTTPStubs at 9.1.0 (0.97s)
Computing version for https://github.com/mapbox/turf-swift.git
Computed https://github.com/mapbox/turf-swift.git at 2.8.0 (0.17s)
Computing version for https://github.com/raphaelmor/Polyline.git
Computed https://github.com/raphaelmor/Polyline.git at 5.1.0 (0.16s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.16s)
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/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
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
[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] Compiling ArgumentParserToolInfo ToolInfo.swift
[11/44] Emitting module ArgumentParserToolInfo
[12/45] Wrapping AST for ArgumentParserToolInfo for debugging
[14/92] Compiling ArgumentParser ArgumentDecoder.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 |
[15/92] Compiling ArgumentParser ArgumentDefinition.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/92] Compiling ArgumentParser ArgumentSet.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/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 |
[18/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 |
[19/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 |
[20/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 |
[21/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 |
[22/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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[23/95] 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 |
[24/95] 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 |
[25/95] 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 |
[26/95] 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 |
[27/95] Compiling ArgumentParser CommandParser.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 |
[28/95] Compiling ArgumentParser InputKey.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/95] Compiling ArgumentParser InputOrigin.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/95] 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 |
[31/95] 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 |
[32/95] 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 |
[33/95] 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/95] 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 |
[35/95] 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 |
[36/95] Emitting module Polyline
[37/95] Compiling Polyline Polyline.swift
[38/95] Compiling Polyline CoreLocation.swift
[40/96] 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 |
[41/96] 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 |
[42/96] 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 |
[42/96] Wrapping AST for Polyline for debugging
BUILD FAILURE 6.2 wasm