The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build SwissEphemeris, reference main (9d9ac6), with Swift 6.1 for Linux on 27 Apr 2025 07:41:51 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.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.1
Building package at path:  $PWD
https://github.com/vsmithers1087/SwissEphemeris.git
https://github.com/vsmithers1087/SwissEphemeris.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwissEphemeris",
  "name" : "SwissEphemeris",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "ios",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "SwissEphemeris",
      "targets" : [
        "SwissEphemeris"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwissEphemerisTests",
      "module_type" : "SwiftTarget",
      "name" : "SwissEphemerisTests",
      "path" : "Tests/SwissEphemerisTests",
      "sources" : [
        "CelestialBodyTests.swift",
        "FixedStarsTests.swift",
        "Mock.swift",
        "PerformanceTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "SwissEphemeris"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwissEphemeris",
      "module_type" : "SwiftTarget",
      "name" : "SwissEphemeris",
      "path" : "Sources/SwissEphemeris",
      "product_memberships" : [
        "SwissEphemeris"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/SwissEphemeris/JPL/ast_list.txt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/SwissEphemeris/JPL/seas_18.se1",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/SwissEphemeris/JPL/sedeltat.txt.inactive",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/SwissEphemeris/JPL/sefstars.txt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/SwissEphemeris/JPL/seleapsec.txt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/SwissEphemeris/JPL/semo_18.se1",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/SwissEphemeris/JPL/seorbel.txt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/SwissEphemeris/JPL/sepl_18.se1",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/SwissEphemeris/JPL/swedecl.txt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/SwissEphemeris/JPL/swedecl64.txt",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/SwissEphemeris/JPL/sweph.sln",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Aspect.swift",
        "Asteroid.swift",
        "Ayanamsha.swift",
        "Coordinate.swift",
        "Cusp.swift",
        "Extensions/Date+JulianDate.swift",
        "Extensions/Date+Strideable.swift",
        "FixedStar.swift",
        "HouseCusps.swift",
        "HouseSystem.swift",
        "LunarMansion.swift",
        "LunarNorthNode.swift",
        "LunarSouthNode.swift",
        "Lunation.swift",
        "Pair.swift",
        "Planet.swift",
        "PlanetPairs.swift",
        "Protocols/BatchRequest.swift",
        "Protocols/CelestialBody.swift",
        "Protocols/ZodiacMappable.swift",
        "RiseTime.swift",
        "SetTime.swift",
        "Station.swift",
        "Utility/JPLFileManager.swift",
        "Utility/PlanetsRequest.swift",
        "Zodiac.swift",
        "ZodiacCoordinate.swift"
      ],
      "target_dependencies" : [
        "CSwissEphemeris"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CSwissEphemeris",
      "module_type" : "ClangTarget",
      "name" : "CSwissEphemeris",
      "path" : "Sources/CSwissEphemeris",
      "product_memberships" : [
        "SwissEphemeris"
      ],
      "sources" : [
        "sweph/src/swecl.c",
        "sweph/src/swedate.c",
        "sweph/src/swehel.c",
        "sweph/src/swehouse.c",
        "sweph/src/swejpl.c",
        "sweph/src/swemmoon.c",
        "sweph/src/swemplan.c",
        "sweph/src/sweph.c",
        "sweph/src/swephlib.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/22] Compiling swejpl.c
[1/22] Copying sweph.sln
[1/22] Copying swedecl64.txt
[1/22] Copying swedecl.txt
[4/22] Copying sepl_18.se1
[5/22] Copying seorbel.txt
[6/22] Copying semo_18.se1
[7/22] Copying seleapsec.txt
[8/22] Copying sefstars.txt
[9/22] Copying sedeltat.txt.inactive
[10/22] Copying seas_18.se1
[11/22] Copying ast_list.txt
[12/22] Write sources
[13/22] Compiling swemmoon.c
[14/22] Compiling swemplan.c
[15/22] Compiling swehel.c
[16/22] Compiling swedate.c
[17/22] Compiling swehouse.c
[18/22] Write swift-version-24593BA9C3E375BF.txt
[19/22] Compiling swephlib.c
[20/22] Compiling sweph.c
[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 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
 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
37 | 		}
38 | 		for await items in stream {
/host/spi-builder-workspace/Sources/SwissEphemeris/Utility/PlanetsRequest.swift:29:11: warning: reference to captured var 'dates' in concurrently-executing code
27 | 		var dates = dates(for: start, end: end, interval: interval)
28 | 		let stream = AsyncStream<[EphemerisItem]> {
29 | 			guard !dates.isEmpty else { return nil }
   |           `- warning: reference to captured var 'dates' in concurrently-executing code
30 | 			do {
31 | 				try await Task.sleep(nanoseconds: 1)
/host/spi-builder-workspace/Sources/SwissEphemeris/Utility/PlanetsRequest.swift:35:16: warning: mutation of captured var 'dates' in concurrently-executing code
33 | 				return nil
34 | 			}
35 | 			let batch = dates.removeFirst()
   |                `- warning: mutation of captured var 'dates' in concurrently-executing code
36 | 			return batch.map { EphemerisItem(body: self.body, date: $0) }
37 | 		}
/host/spi-builder-workspace/Sources/SwissEphemeris/Utility/PlanetsRequest.swift:36:43: warning: capture of 'self' with non-sendable type 'PlanetsRequest' in an isolated closure; this is an error in the Swift 6 language mode
 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 an isolated closure; this is an error in the Swift 6 language mode
37 | 		}
38 | 		for await items in stream {
[25/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
 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
37 | 		}
38 | 		for await items in stream {
/host/spi-builder-workspace/Sources/SwissEphemeris/Utility/PlanetsRequest.swift:29:11: warning: reference to captured var 'dates' in concurrently-executing code
27 | 		var dates = dates(for: start, end: end, interval: interval)
28 | 		let stream = AsyncStream<[EphemerisItem]> {
29 | 			guard !dates.isEmpty else { return nil }
   |           `- warning: reference to captured var 'dates' in concurrently-executing code
30 | 			do {
31 | 				try await Task.sleep(nanoseconds: 1)
/host/spi-builder-workspace/Sources/SwissEphemeris/Utility/PlanetsRequest.swift:35:16: warning: mutation of captured var 'dates' in concurrently-executing code
33 | 				return nil
34 | 			}
35 | 			let batch = dates.removeFirst()
   |                `- warning: mutation of captured var 'dates' in concurrently-executing code
36 | 			return batch.map { EphemerisItem(body: self.body, date: $0) }
37 | 		}
/host/spi-builder-workspace/Sources/SwissEphemeris/Utility/PlanetsRequest.swift:36:43: warning: capture of 'self' with non-sendable type 'PlanetsRequest' in an isolated closure; this is an error in the Swift 6 language mode
 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 an isolated closure; this is an error in the Swift 6 language mode
37 | 		}
38 | 		for await items in stream {
[26/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
 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
37 | 		}
38 | 		for await items in stream {
/host/spi-builder-workspace/Sources/SwissEphemeris/Utility/PlanetsRequest.swift:29:11: warning: reference to captured var 'dates' in concurrently-executing code
27 | 		var dates = dates(for: start, end: end, interval: interval)
28 | 		let stream = AsyncStream<[EphemerisItem]> {
29 | 			guard !dates.isEmpty else { return nil }
   |           `- warning: reference to captured var 'dates' in concurrently-executing code
30 | 			do {
31 | 				try await Task.sleep(nanoseconds: 1)
/host/spi-builder-workspace/Sources/SwissEphemeris/Utility/PlanetsRequest.swift:35:16: warning: mutation of captured var 'dates' in concurrently-executing code
33 | 				return nil
34 | 			}
35 | 			let batch = dates.removeFirst()
   |                `- warning: mutation of captured var 'dates' in concurrently-executing code
36 | 			return batch.map { EphemerisItem(body: self.body, date: $0) }
37 | 		}
/host/spi-builder-workspace/Sources/SwissEphemeris/Utility/PlanetsRequest.swift:36:43: warning: capture of 'self' with non-sendable type 'PlanetsRequest' in an isolated closure; this is an error in the Swift 6 language mode
 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 an isolated closure; this is an error in the Swift 6 language mode
37 | 		}
38 | 		for await items in stream {
[27/51] Compiling SwissEphemeris Zodiac.swift
[28/51] Compiling SwissEphemeris ZodiacCoordinate.swift
[29/51] Compiling SwissEphemeris resource_bundle_accessor.swift
[30/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 | }
[31/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 | }
[32/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 | }
[33/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 | }
[34/51] Compiling SwissEphemeris Aspect.swift
[35/51] Compiling SwissEphemeris Asteroid.swift
[36/51] Compiling SwissEphemeris Ayanamsha.swift
[37/51] Compiling SwissEphemeris Coordinate.swift
[38/51] Compiling SwissEphemeris ZodiacMappable.swift
[39/51] Compiling SwissEphemeris RiseTime.swift
[40/51] Compiling SwissEphemeris SetTime.swift
[41/51] Compiling SwissEphemeris LunarSouthNode.swift
[42/51] Compiling SwissEphemeris Lunation.swift
[43/51] Compiling SwissEphemeris Pair.swift
[44/51] Compiling SwissEphemeris Planet.swift
[45/51] Compiling SwissEphemeris HouseCusps.swift
[46/51] Compiling SwissEphemeris HouseSystem.swift
[47/51] Compiling SwissEphemeris LunarMansion.swift
[48/51] Compiling SwissEphemeris LunarNorthNode.swift
[49/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`.
[50/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`.
[51/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`.
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/27] 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
 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
37 | 		}
38 | 		for await items in stream {
[3/27] 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
 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
37 | 		}
38 | 		for await items in stream {
[4/27] 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
 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
37 | 		}
38 | 		for await items in stream {
[5/30] 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`.
[6/30] 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`.
[7/30] 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`.
[8/30] Compiling SwissEphemeris HouseCusps.swift
[9/30] Compiling SwissEphemeris HouseSystem.swift
[10/30] Compiling SwissEphemeris LunarMansion.swift
[11/30] Compiling SwissEphemeris LunarNorthNode.swift
[12/30] Compiling SwissEphemeris ZodiacMappable.swift
[13/30] Compiling SwissEphemeris RiseTime.swift
[14/30] Compiling SwissEphemeris SetTime.swift
[15/30] 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 | }
[16/30] 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 | }
[17/30] 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 | }
[18/30] 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 | }
[19/30] 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`.
[20/30] Compiling SwissEphemeris LunarSouthNode.swift
[21/30] Compiling SwissEphemeris Lunation.swift
[22/30] Compiling SwissEphemeris Pair.swift
[23/30] Compiling SwissEphemeris Planet.swift
[24/30] Compiling SwissEphemeris Zodiac.swift
[25/30] Compiling SwissEphemeris ZodiacCoordinate.swift
[26/30] Compiling SwissEphemeris resource_bundle_accessor.swift
[27/30] Compiling SwissEphemeris Aspect.swift
[28/30] Compiling SwissEphemeris Asteroid.swift
[29/30] Compiling SwissEphemeris Ayanamsha.swift
[30/30] Compiling SwissEphemeris Coordinate.swift
BUILD FAILURE 6.1 linux