Build Information
Failed to build MapboxDirections, reference main (f2a787), with Swift 6.2 for Android on 20 Sep 2026 11:13:56 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 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: android
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-54344845-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:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:f47b2a33897778fb58ca39c1139e193fa7f391fa362fe0d23c00db9747030994
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.2-latest
Fetching https://github.com/mapbox/turf-swift.git
Fetching https://github.com/raphaelmor/Polyline.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/AliSoftware/OHHTTPStubs
[1/894] Fetching polyline
[895/7068] Fetching polyline, turf-swift
[957/14968] Fetching polyline, turf-swift, ohhttpstubs
[14290/33886] Fetching polyline, turf-swift, ohhttpstubs, swift-argument-parser
Fetched https://github.com/mapbox/turf-swift.git from cache (0.70s)
[24686/27712] Fetching polyline, ohhttpstubs, swift-argument-parser
Fetched https://github.com/raphaelmor/Polyline.git from cache (0.81s)
Fetched https://github.com/AliSoftware/OHHTTPStubs from cache (0.81s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.82s)
Computing version for https://github.com/AliSoftware/OHHTTPStubs
Computed https://github.com/AliSoftware/OHHTTPStubs at 9.1.0 (0.99s)
Computing version for https://github.com/mapbox/turf-swift.git
Computed https://github.com/mapbox/turf-swift.git at 2.8.0 (0.16s)
Computing version for https://github.com/raphaelmor/Polyline.git
Computed https://github.com/raphaelmor/Polyline.git at 5.1.0 (0.15s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.15s)
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.8.2
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
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/17] Write sources
[8/17] Write swift-version--11D90AFD9DD3AB2.txt
[10/44] Emitting module ArgumentParserToolInfo
[11/44] Compiling ArgumentParserToolInfo ToolInfo.swift
[12/45] Wrapping AST for ArgumentParserToolInfo for debugging
[14/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 |
[15/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 |
[16/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 |
[17/95] Compiling ArgumentParser SwiftExtensions.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/95] Compiling ArgumentParser Tree.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/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 |
[20/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 |
[21/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 |
[22/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 |
[23/95] Compiling ArgumentParser Platform.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/95] Compiling ArgumentParser SequenceExtensions.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 StringExtensions.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)
[26/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 |
[27/95] 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 |
[28/95] 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 |
[29/95] 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 |
[30/95] Compiling ArgumentParser ParentCommand.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 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 |
[32/95] 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 |
[33/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 |
[34/95] 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 |
[35/95] Compiling ArgumentParser Mutex.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 CoreLocation.swift
[38/95] Compiling Polyline Polyline.swift
[39/96] Wrapping AST for Polyline for debugging
[41/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 |
[42/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 |
[43/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 |
BUILD FAILURE 6.2 android