The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwissEphemeris, reference main (9d9ac6), with Swift 6.4 for Linux on 18 Sep 2026 21:09:42 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-2":/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:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vsmithers1087/SwissEphemeris.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/vsmithers1087/SwissEphemeris
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
Build
========================================
Selected platform:         linux
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-54344844-2":/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:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Building for debugging...
[Provisioning 5 / 5]
[Pre-planning 1 / 125]
[Planning deferred tasks]
[32 / 54] SwissEphemeris_SwissEphemeris
[44 / 55] CSwissEphemeris
[45 / 64] SwissEphemeris
[46 / 64] CSwissEphemeris
[49 / 64] SwissEphemeris
[50 / 64] SwissEphemeris
[50 / 64] CSwissEphemeris
[51 / 64] CSwissEphemeris
[53 / 64] CSwissEphemeris
[55 / 64] SwissEphemeris
/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`.
[56 / 64] SwissEphemeris
[61 / 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>
/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 | }
error: SwiftCompile normal x86_64 /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:
/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwissEphemeris.build/Debug-linux-x86_64/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-linux-x86_64/SwissEphemeris-t.build/Objects-normal/x86_64/supplementaryOutputs-7 -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -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 /usr/lib/swift/host/plugins/testing\#/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 -enable-anonymous-context-mangled-names -file-compilation-dir /host -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-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwissEphemeris.build/Debug-linux-x86_64/SwissEphemeris-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwissEphemeris.build/Debug-linux-x86_64/SwissEphemeris-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwissEphemeris.build/Debug-linux-x86_64/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-linux-x86_64/SwissEphemeris-t.build/Objects-normal/x86_64/SwissEphemeris_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwissEphemeris.build/Debug-linux-x86_64/SwissEphemeris-t.build/Objects-normal/x86_64/SetTime.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwissEphemeris.build/Debug-linux-x86_64/SwissEphemeris-t.build/Objects-normal/x86_64/Station.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwissEphemeris.build/Debug-linux-x86_64/SwissEphemeris-t.build/Objects-normal/x86_64/JPLFileManager.o -index-unit-output-path /SwissEphemeris.build/Debug-linux-x86_64/SwissEphemeris-t.build/Objects-normal/x86_64/SetTime.o -index-unit-output-path /SwissEphemeris.build/Debug-linux-x86_64/SwissEphemeris-t.build/Objects-normal/x86_64/Station.o -index-unit-output-path /SwissEphemeris.build/Debug-linux-x86_64/SwissEphemeris-t.build/Objects-normal/x86_64/JPLFileManager.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 linux