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 MapboxDirections, reference main (097137), with Swift 6.2 (beta) for Android on 9 Jul 2025 16:14:24 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 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: 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 097137f Make encode methods public for open model classes (#837)
Cloned https://github.com/mapbox/mapbox-directions-swift.git
Revision (git rev-parse @):
097137f1380c06501951f4c9548f67d96e6bcf09
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-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-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/7900] Fetching ohhttpstubs
[2292/8794] Fetching ohhttpstubs, polyline
[2850/14876] Fetching ohhttpstubs, polyline, turf-swift
[13844/30400] Fetching ohhttpstubs, polyline, turf-swift, swift-argument-parser
Fetched https://github.com/raphaelmor/Polyline.git from cache (1.00s)
Fetched https://github.com/AliSoftware/OHHTTPStubs from cache (1.01s)
Fetched https://github.com/mapbox/turf-swift.git from cache (1.02s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.02s)
Computing version for https://github.com/AliSoftware/OHHTTPStubs
Computed https://github.com/AliSoftware/OHHTTPStubs at 9.1.0 (1.48s)
Computing version for https://github.com/mapbox/turf-swift.git
Computed https://github.com/mapbox/turf-swift.git at 2.8.0 (0.45s)
Computing version for https://github.com/raphaelmor/Polyline.git
Computed https://github.com/raphaelmor/Polyline.git at 5.1.0 (0.48s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.1 (0.42s)
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/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.6.1
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-8C5A4AE7A8CE2BA.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: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 |
[11/47] Emitting module ArgumentParserToolInfo
[12/47] Compiling ArgumentParserToolInfo ToolInfo.swift
[13/48] Wrapping AST for ArgumentParserToolInfo for debugging
[15/92] Emitting module ArgumentParser
[16/98] 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 |
[17/98] 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 |
[18/98] 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 |
[19/98] 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 |
[20/98] 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 |
[21/98] 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 |
[22/98] 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 |
[23/98] 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 |
[24/98] 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 |
[25/98] Compiling Polyline Polyline.swift
[26/98] Compiling ArgumentParser InputKey.swift
[27/98] Compiling ArgumentParser InputOrigin.swift
[28/98] Compiling ArgumentParser Name.swift
[29/98] Compiling ArgumentParser Parsed.swift
[30/98] Compiling ArgumentParser ParsedValues.swift
[31/98] Compiling ArgumentParser ParserError.swift
[32/98] Compiling ArgumentParser CollectionExtensions.swift
[33/98] Compiling ArgumentParser Mutex.swift
[34/98] Compiling ArgumentParser Platform.swift
[38/98] Compiling ArgumentParser Tree.swift
[39/98] Compiling ArgumentParser CodingKeyValidator.swift
[40/98] Compiling ArgumentParser NonsenseFlagsValidator.swift
[41/98] Compiling ArgumentParser ParsableArgumentsValidation.swift
[42/98] Compiling ArgumentParser PositionalArgumentsValidator.swift
[43/98] Compiling ArgumentParser UniqueNamesValidator.swift
[44/98] Compiling ArgumentParser HelpGenerator.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 |
[45/98] Compiling ArgumentParser MessageInfo.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 |
[46/98] Compiling ArgumentParser UsageGenerator.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 |
[47/98] Compiling ArgumentParser SplitArguments.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/98] Compiling ArgumentParser DumpHelpGenerator.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/98] Compiling ArgumentParser HelpCommand.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 |
[50/98] Emitting module Polyline
[51/98] Compiling Polyline CoreLocation.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 |
/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 |
/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 |
[56/99] 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 |
[57/99] 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 |
[58/99] 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 |
[59/99] 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 |
[60/99] 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 |
[61/99] 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 |
[61/99] Wrapping AST for Polyline for debugging
[62/99] Compiling ArgumentParser BashCompletionsGenerator.swift
[63/99] Compiling ArgumentParser CompletionsGenerator.swift
[64/99] Compiling ArgumentParser FishCompletionsGenerator.swift
[65/99] Compiling ArgumentParser ZshCompletionsGenerator.swift
[66/99] Compiling ArgumentParser Argument.swift
[67/99] Compiling ArgumentParser ArgumentDiscussion.swift
[68/99] Compiling ArgumentParser ArgumentHelp.swift
BUILD FAILURE 6.2 android