The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AStar, reference 3.0.3 (6eae00), with Swift 6.2 for Android on 16 Mar 2026 18:52:58 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.69.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bradhowes/astar.git
Reference: 3.0.3
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/bradhowes/astar
 * tag               3.0.3      -> FETCH_HEAD
HEAD is now at 6eae00d New doc.
Cloned https://github.com/bradhowes/astar.git
Revision (git rev-parse @):
6eae00d559c6734f6d52100e5526fa6a792f9fdb
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/bradhowes/astar.git at 3.0.3
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/bradhowes/astar.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:ed06329bcd62885fa27d8bb2bd26ede56f367c486166aaeeac553557f3a78bad
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest
Fetching https://github.com/bradhowes/PriorityQueue
Fetching https://github.com/apple/swift-docc-plugin
[1/304] Fetching priorityqueue
[305/2475] Fetching priorityqueue, swift-docc-plugin
Fetched https://github.com/bradhowes/PriorityQueue from cache (0.74s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.74s)
Computing version for https://github.com/bradhowes/PriorityQueue
Computed https://github.com/bradhowes/PriorityQueue at 1.2.3 (1.56s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.6 (3.76s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3670] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.60s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.18s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/bradhowes/PriorityQueue
Working copy of https://github.com/bradhowes/PriorityQueue resolved at 1.2.3
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.6
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/5] Write sources
[4/5] Write swift-version--11D90AFD9DD3AB2.txt
[6/7] Emitting module PriorityQueue
[7/7] Compiling PriorityQueue PriorityQueue.swift
[9/16] Compiling AStar Position.swift
[10/16] Compiling AStar PathNode.swift
[11/17] Compiling AStar VisitCost.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/17] Compiling AStar GraphOracle.swift
[13/17] Compiling AStar AStar.swift
[14/17] Emitting module AStar
/host/spi-builder-workspace/Sources/AStar/Coord2D.swift:74:16: error: cannot convert value of type 'Float' to expected argument type 'Double'
72 |   @inlinable
73 |   public func distance(to: Coord2D) -> Float {
74 |     Float(sqrt(Float(distanceSquared(to: to))))
   |                `- error: cannot convert value of type 'Float' to expected argument type 'Double'
75 |   }
76 | }
[15/17] Compiling AStar Coord2D.swift
/host/spi-builder-workspace/Sources/AStar/Coord2D.swift:74:16: error: cannot convert value of type 'Float' to expected argument type 'Double'
72 |   @inlinable
73 |   public func distance(to: Coord2D) -> Float {
74 |     Float(sqrt(Float(distanceSquared(to: to))))
   |                `- error: cannot convert value of type 'Float' to expected argument type 'Double'
75 |   }
76 | }
[16/17] Compiling AStar Offset2D.swift
[17/17] Compiling AStar NumericCost.swift
BUILD FAILURE 6.2 android