The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AStar, reference main (38be4f), with Swift 6.1 for Android on 31 Mar 2026 17:40:24 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/swiftpackageindex/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bradhowes/astar.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/bradhowes/astar
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 38be4f7 Add swiftlint stage
Cloned https://github.com/bradhowes/astar.git
Revision (git rev-parse @):
38be4f728b64bdb4f7fbc077f870ac5a31f094d9
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/bradhowes/astar.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/bradhowes/astar.git
https://github.com/bradhowes/astar.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "priorityqueue",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/bradhowes/PriorityQueue"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "AStar",
  "name" : "AStar",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "AStar",
      "targets" : [
        "AStar"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "6",
    "5"
  ],
  "targets" : [
    {
      "c99name" : "AStarTests",
      "module_type" : "SwiftTarget",
      "name" : "AStarTests",
      "path" : "Tests/AStarTests",
      "sources" : [
        "AStarTests.swift",
        "Coord2DTests.swift"
      ],
      "target_dependencies" : [
        "AStar"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AStar",
      "module_type" : "SwiftTarget",
      "name" : "AStar",
      "path" : "Sources/AStar",
      "product_dependencies" : [
        "PriorityQueue"
      ],
      "product_memberships" : [
        "AStar"
      ],
      "sources" : [
        "AStar.swift",
        "Coord2D.swift",
        "GraphOracle.swift",
        "NumericCost.swift",
        "Offset2D.swift",
        "PathNode.swift",
        "Position.swift",
        "VisitCost.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
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/swiftpackageindex/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
android-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:8d42880410d691f231f1a6445d3941a4c9d6c7af65062a9750a54d2059944963
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/bradhowes/PriorityQueue
[1/2171] Fetching swift-docc-plugin
[240/2506] Fetching swift-docc-plugin, priorityqueue
Fetched https://github.com/bradhowes/PriorityQueue from cache (0.27s)
[283/2171] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.39s)
Computing version for https://github.com/bradhowes/PriorityQueue
Computed https://github.com/bradhowes/PriorityQueue at 1.2.3 (0.99s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.6 (3.04s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3671] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.69s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.80s)
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
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
[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-24593BA9C3E375BF.txt
[6/7] Emitting module PriorityQueue
[7/7] Compiling PriorityQueue PriorityQueue.swift
[9/16] Compiling AStar Position.swift
[10/17] Compiling AStar PathNode.swift
[11/17] Compiling AStar AStar.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/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 | }
[13/17] Compiling AStar VisitCost.swift
[14/17] Compiling AStar GraphOracle.swift
[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 NumericCost.swift
[17/17] Compiling AStar Offset2D.swift
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/swiftpackageindex/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:8d42880410d691f231f1a6445d3941a4c9d6c7af65062a9750a54d2059944963
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/5] Emitting module PriorityQueue
[5/5] Compiling PriorityQueue PriorityQueue.swift
[7/14] Compiling AStar Offset2D.swift
[8/14] Compiling AStar Position.swift
[9/15] Compiling AStar NumericCost.swift
[10/15] Compiling AStar GraphOracle.swift
[11/15] 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 | }
[12/15] Compiling AStar PathNode.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/15] Compiling AStar AStar.swift
[14/15] 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/15] Compiling AStar VisitCost.swift
BUILD FAILURE 6.1 android