The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwissEphemeris, reference 0.0.99 (9d9ac6), with Swift 6.4 for Android on 18 Sep 2026 21:09:34 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886769-1":/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.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vsmithers1087/SwissEphemeris.git
Reference: 0.0.99
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/vsmithers1087/SwissEphemeris
 * tag               0.0.99     -> FETCH_HEAD
HEAD is now at 9d9ac62 Make ZodiacCoordinate init public (#18)
Cloned https://github.com/vsmithers1087/SwissEphemeris.git
Revision (git rev-parse @):
9d9ac62383eafa176e744af1130dcb0da17ca325
SUCCESS checkout https://github.com/vsmithers1087/SwissEphemeris.git at 0.0.99
========================================
Build
========================================
Selected platform:         android
Swift version:             6.4
Building package at path:  $PWD
https://github.com/vsmithers1087/SwissEphemeris.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-1":/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.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:abadcff584c273feba50641b454858d377ba30b35ea7287a94f45ebd8afd0ea0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Building for debugging...
[Pre-planning 1 / 125]
[45 / 64] SwissEphemeris
[48 / 64] CSwissEphemeris
[52 / 64] SwissEphemeris
[54 / 64] CSwissEphemeris
/host/spi-builder-workspace/Sources/SwissEphemeris/Extensions/Date+Strideable.swift:10:17: warning: conformance of 'Date' to protocol 'Strideable' was already stated in the type's module 'FoundationEssentials'
 8 | import Foundation
 9 |
10 | extension Date: Strideable {}
   |                 `- warning: conformance of 'Date' to protocol 'Strideable' was already stated in the type's module 'FoundationEssentials'
11 |
FoundationEssentials.Date:2:11: note: 'Date' declares conformance to protocol 'Strideable' here
1 | @available(macOS 13, iOS 16, tvOS 16, watchOS 9, *)
2 | extension Date : Strideable {
  |           `- note: 'Date' declares conformance to protocol 'Strideable' here
3 | }
/host/spi-builder-workspace/Sources/SwissEphemeris/PlanetPairs.swift:14:19: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
12 |
13 |     /// Holds all possible pairs of planets.
14 |     public private (set) var pairs = [Pair<Planet, Planet>]()
   |                   `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
15 |
16 |     /// Creates an instance of `PlanetPairs`.
[57 / 64] SwissEphemeris
/host/spi-builder-workspace/Sources/SwissEphemeris/PlanetPairs.swift:14:19: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
12 |
13 |     /// Holds all possible pairs of planets.
14 |     public private (set) var pairs = [Pair<Planet, Planet>]()
   |                   `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
15 |
16 |     /// Creates an instance of `PlanetPairs`.
/host/spi-builder-workspace/Sources/SwissEphemeris/Utility/PlanetsRequest.swift:36:43: warning: capture of 'self' with non-Sendable type 'PlanetsRequest' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
 9 |
10 | /// A `BatchRequest` for a collection of `Planet` `Coordinates`.
11 | final public class PlanetsRequest: BatchRequest {
   |                    `- note: class 'PlanetsRequest' does not conform to the 'Sendable' protocol
12 |
13 |     /// The `Planet` to request.
   :
34 | 			}
35 | 			let batch = dates.removeFirst()
36 | 			return batch.map { EphemerisItem(body: self.body, date: $0) }
   |                                           `- warning: capture of 'self' with non-Sendable type 'PlanetsRequest' in a '@Sendable' closure [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures\SendableClosureCaptures]8;;\]
37 | 		}
38 | 		for await items in stream {
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
error: SwiftCompile normal aarch64 /host/spi-builder-workspace/Sources/SwissEphemeris/Utility/JPLFileManager.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile JPLFileManager.swift
/host/spi-builder-workspace/Sources/SwissEphemeris/Utility/JPLFileManager.swift:21:28: error: value of optional type 'String?' must be unwrapped to a value of type 'String'
19 | 	/// - Parameter path: The  path of the ephemeris files. The default value is `resourcePath`.
20 | 	public static func setEphemerisPath(path: String? = resourcePath) {
21 | 		swe_set_ephe_path(strdup(path))
   |                            |- error: value of optional type 'String?' must be unwrapped to a value of type 'String'
   |                            |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
   |                            `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
22 | 	}
23 | }
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwissEphemeris.build/Debug-android-aarch64/SwissEphemeris-t.build/DerivedSources/resource_bundle_accessor.swift /host/spi-builder-workspace/Sources/SwissEphemeris/Aspect.swift /host/spi-builder-workspace/Sources/SwissEphemeris/Asteroid.swift /host/spi-builder-workspace/Sources/SwissEphemeris/Ayanamsha.swift /host/spi-builder-workspace/Sources/SwissEphemeris/Coordinate.swift /host/spi-builder-workspace/Sources/SwissEphemeris/Cusp.swift /host/spi-builder-workspace/Sources/SwissEphemeris/Extensions/Date+JulianDate.swift /host/spi-builder-workspace/Sources/SwissEphemeris/Extensions/Date+Strideable.swift /host/spi-builder-workspace/Sources/SwissEphemeris/FixedStar.swift /host/spi-builder-workspace/Sources/SwissEphemeris/HouseCusps.swift /host/spi-builder-workspace/Sources/SwissEphemeris/HouseSystem.swift /host/spi-builder-workspace/Sources/SwissEphemeris/LunarMansion.swift /host/spi-builder-workspace/Sources/SwissEphemeris/LunarNorthNode.swift /host/spi-builder-workspace/Sources/SwissEphemeris/LunarSouthNode.swift /host/spi-builder-workspace/Sources/SwissEphemeris/Lunation.swift /host/spi-builder-workspace/Sources/SwissEphemeris/Pair.swift /host/spi-builder-workspace/Sources/SwissEphemeris/Planet.swift /host/spi-builder-workspace/Sources/SwissEphemeris/PlanetPairs.swift /host/spi-builder-workspace/Sources/SwissEphemeris/Protocols/BatchRequest.swift /host/spi-builder-workspace/Sources/SwissEphemeris/Protocols/CelestialBody.swift /host/spi-builder-workspace/Sources/SwissEphemeris/Protocols/ZodiacMappable.swift /host/spi-builder-workspace/Sources/SwissEphemeris/RiseTime.swift -primary-file /host/spi-builder-workspace/Sources/SwissEphemeris/SetTime.swift -primary-file /host/spi-builder-workspace/Sources/SwissEphemeris/Station.swift -primary-file /host/spi-builder-workspace/Sources/SwissEphemeris/Utility/JPLFileManager.swift /host/spi-builder-workspace/Sources/SwissEphemeris/Utility/PlanetsRequest.swift /host/spi-builder-workspace/Sources/SwissEphemeris/Zodiac.swift /host/spi-builder-workspace/Sources/SwissEphemeris/ZodiacCoordinate.swift -supplementary-output-file-map /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwissEphemeris.build/Debug-android-aarch64/SwissEphemeris-t.build/Objects-normal/aarch64/supplementaryOutputs-7 -target aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -sysroot /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -I /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins/testing\#/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_android.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64 -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/18 -Xcc -fmodule-map-file\=/host/spi-builder-workspace/Sources/CSwissEphemeris/include/module.modulemap -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/Sources/CSwissEphemeris/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwissEphemeris.build/Debug-android-aarch64/SwissEphemeris-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwissEphemeris.build/Debug-android-aarch64/SwissEphemeris-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwissEphemeris.build/Debug-android-aarch64/SwissEphemeris-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SwissEphemeris -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwissEphemeris.build/Debug-android-aarch64/SwissEphemeris-t.build/Objects-normal/aarch64/SwissEphemeris_const_extract_protocols.json -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwissEphemeris.build/Debug-android-aarch64/SwissEphemeris-t.build/Objects-normal/aarch64/SetTime.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwissEphemeris.build/Debug-android-aarch64/SwissEphemeris-t.build/Objects-normal/aarch64/Station.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwissEphemeris.build/Debug-android-aarch64/SwissEphemeris-t.build/Objects-normal/aarch64/JPLFileManager.o -index-unit-output-path /SwissEphemeris.build/Debug-android-aarch64/SwissEphemeris-t.build/Objects-normal/aarch64/SetTime.o -index-unit-output-path /SwissEphemeris.build/Debug-android-aarch64/SwissEphemeris-t.build/Objects-normal/aarch64/Station.o -index-unit-output-path /SwissEphemeris.build/Debug-android-aarch64/SwissEphemeris-t.build/Objects-normal/aarch64/JPLFileManager.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 android