Build Information
Failed to build SwissEphemeris, reference 0.0.99 (9d9ac6
), with Swift 6.2 (beta) for Linux on 19 Jun 2025 22:15:39 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.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: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/vsmithers1087/SwissEphemeris.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Building for debugging...
[0/22] Write sources
[1/22] Copying sweph.sln
[2/22] Copying swedecl64.txt
[3/22] Copying swedecl.txt
[4/22] Copying sepl_18.se1
[5/22] Copying seorbel.txt
[6/22] Copying semo_18.se1
[6/22] Copying seleapsec.txt
[6/22] Copying sefstars.txt
[6/22] Copying sedeltat.txt.inactive
[10/22] Copying seas_18.se1
[11/22] Copying ast_list.txt
[12/22] Compiling swejpl.c
[13/22] Compiling swemmoon.c
[14/22] Compiling swedate.c
[15/22] Compiling swehel.c
[16/22] Compiling swemplan.c
[17/22] Compiling swehouse.c
[18/22] Compiling swephlib.c
[19/22] Compiling sweph.c
[20/22] Write swift-version-24593BA9C3E375BF.txt
[21/22] Compiling swecl.c
[23/48] Emitting module 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`.
[24/51] Compiling SwissEphemeris Zodiac.swift
[25/51] Compiling SwissEphemeris ZodiacCoordinate.swift
[26/51] Compiling SwissEphemeris resource_bundle_accessor.swift
[27/51] Compiling SwissEphemeris Aspect.swift
[28/51] Compiling SwissEphemeris Asteroid.swift
[29/51] Compiling SwissEphemeris Ayanamsha.swift
[30/51] Compiling SwissEphemeris Coordinate.swift
[31/51] Compiling SwissEphemeris Cusp.swift
/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 | }
[32/51] Compiling SwissEphemeris Date+JulianDate.swift
/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 | }
[33/51] Compiling SwissEphemeris Date+Strideable.swift
/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 | }
[34/51] Compiling SwissEphemeris FixedStar.swift
/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 | }
[35/51] Compiling SwissEphemeris Station.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 | }
/host/spi-builder-workspace/Sources/SwissEphemeris/Utility/PlanetsRequest.swift:36:43: warning: capture of 'self' with non-Sendable type 'PlanetsRequest' in a '@Sendable' closure [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
37 | }
38 | for await items in stream {
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[36/51] Compiling SwissEphemeris 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 | }
/host/spi-builder-workspace/Sources/SwissEphemeris/Utility/PlanetsRequest.swift:36:43: warning: capture of 'self' with non-Sendable type 'PlanetsRequest' in a '@Sendable' closure [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
37 | }
38 | for await items in stream {
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[37/51] Compiling SwissEphemeris PlanetsRequest.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 | }
/host/spi-builder-workspace/Sources/SwissEphemeris/Utility/PlanetsRequest.swift:36:43: warning: capture of 'self' with non-Sendable type 'PlanetsRequest' in a '@Sendable' closure [#SendableClosureCaptures]
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 [#SendableClosureCaptures]
37 | }
38 | for await items in stream {
[#SendableClosureCaptures]: <https://docs.swift.org/compiler/documentation/diagnostics/sendable-closure-captures>
[38/51] Compiling SwissEphemeris ZodiacMappable.swift
[39/51] Compiling SwissEphemeris RiseTime.swift
[40/51] Compiling SwissEphemeris SetTime.swift
[41/51] Compiling SwissEphemeris PlanetPairs.swift
/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`.
[42/51] Compiling SwissEphemeris BatchRequest.swift
/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`.
[43/51] Compiling SwissEphemeris CelestialBody.swift
/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`.
[44/51] Compiling SwissEphemeris HouseCusps.swift
[45/51] Compiling SwissEphemeris HouseSystem.swift
[46/51] Compiling SwissEphemeris LunarMansion.swift
[47/51] Compiling SwissEphemeris LunarNorthNode.swift
[48/51] Compiling SwissEphemeris LunarSouthNode.swift
[49/51] Compiling SwissEphemeris Lunation.swift
[50/51] Compiling SwissEphemeris Pair.swift
[51/51] Compiling SwissEphemeris Planet.swift
BUILD FAILURE 6.2 linux