Build Information
Successful build of SwiftAstro, reference main (daf8df
), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 09:09:10 UTC.
Swift 6 data race errors: 8
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ncke/SwiftAstro.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ncke/SwiftAstro
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at daf8dfd Introduce uniform naming and tidy code
Cloned https://github.com/ncke/SwiftAstro.git
Revision (git rev-parse @):
daf8dfd6b88889b79bbe40212b212cb74ac1dfba
SUCCESS checkout https://github.com/ncke/SwiftAstro.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "swiftastro",
"name": "SwiftAstro",
"url": "https://github.com/ncke/SwiftAstro.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftAstro",
"dependencies": [
]
}
]
}
Fetching https://github.com/ncke/SwiftAstro.git
[1/259] Fetching swiftastro
Fetched https://github.com/ncke/SwiftAstro.git from cache (1.16s)
Creating working copy for https://github.com/ncke/SwiftAstro.git
Working copy of https://github.com/ncke/SwiftAstro.git resolved at main (daf8dfd)
warning: '.resolve-product-dependencies': dependency 'swiftastro' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/ncke/SwiftAstro.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/12] Copying VSOP87B.jup
[0/12] Copying VSOP87B.ven
[0/12] Copying yale-bright-star-notes.txt
[2/12] Copying VSOP87B.mer
[4/12] Write sources
[4/12] Copying VSOP87B.sat
[4/12] Copying yale-bright-star-catalog.txt
[5/12] Copying VSOP87B.ura
[5/12] Copying VSOP87B.nep
[9/12] Copying VSOP87B.mar
[10/12] Copying VSOP87B.ear
[11/12] Write swift-version--7754E27361AE5C74.txt
[13/36] Emitting module SwiftAstro
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAstro/Entities/Moon.swift:13:23: warning: static property 'moon' is not concurrency-safe because non-'Sendable' type 'SwiftAstro.Moon' may have shared mutable state; this is an error in the Swift 6 language mode
5 | extension SwiftAstro {
6 |
7 | public struct Moon : GeocentricallyPositionable, AstronomicallyNameable {
| `- note: consider making struct 'Moon' conform to the 'Sendable' protocol
8 |
9 | public let name: String? = "Moon"
:
11 | }
12 |
13 | public static let moon = Moon()
| |- warning: static property 'moon' is not concurrency-safe because non-'Sendable' type 'SwiftAstro.Moon' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'moon' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAstro/Entities/Pluto.swift:15:23: warning: static property 'pluto' is not concurrency-safe because non-'Sendable' type 'SwiftAstro.Pluto' may have shared mutable state; this is an error in the Swift 6 language mode
5 | extension SwiftAstro {
6 |
7 | public struct Pluto :
| `- note: consider making struct 'Pluto' conform to the 'Sendable' protocol
8 | HeliocentricallyPositionable,
9 | GeocentricallyPositionable,
:
13 | }
14 |
15 | public static let pluto = Pluto()
| |- warning: static property 'pluto' is not concurrency-safe because non-'Sendable' type 'SwiftAstro.Pluto' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pluto' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAstro/Entities/Sun.swift:14:23: warning: static property 'sun' is not concurrency-safe because non-'Sendable' type 'SwiftAstro.Sun' may have shared mutable state; this is an error in the Swift 6 language mode
5 | extension SwiftAstro {
6 |
7 | public struct Sun :
| `- note: consider making struct 'Sun' conform to the 'Sendable' protocol
8 | GeocentricallyPositionable,
9 | AstronomicallyNameable
:
12 | }
13 |
14 | public static let sun = Sun()
| |- warning: static property 'sun' is not concurrency-safe because non-'Sendable' type 'SwiftAstro.Sun' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sun' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAstro/SwiftAstro.swift:4:23: warning: static property 'brightStarCatalog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Yale Bright Star Catalog.
4 | public static var brightStarCatalog = SwiftAstro.BrightStarCatalog()
| |- warning: static property 'brightStarCatalog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'brightStarCatalog' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'brightStarCatalog' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAstro/Units/Angle.swift:203:23: warning: static property 'meanObliquityOfEclipticAtJ2000' is not concurrency-safe because non-'Sendable' type 'SwiftAstro.Angle' may have shared mutable state; this is an error in the Swift 6 language mode
5 | extension SwiftAstro {
6 |
7 | public struct Angle:
| `- note: consider making struct 'Angle' conform to the 'Sendable' protocol
8 | CustomStringConvertible,
9 | Equatable,
:
201 |
202 | /// The mean obliquity of the ecliptic in the standard equinox of J2000.
203 | public static let meanObliquityOfEclipticAtJ2000 = SwiftAstro.Angle(
| |- warning: static property 'meanObliquityOfEclipticAtJ2000' is not concurrency-safe because non-'Sendable' type 'SwiftAstro.Angle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'meanObliquityOfEclipticAtJ2000' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
204 | degrees: 23.43929111111111
205 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAstro/Units/Distance.swift:21:27: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'SwiftAstro.Distance' may have shared mutable state; this is an error in the Swift 6 language mode
12 | extension SwiftAstro {
13 |
14 | public struct Distance: Equatable, Comparable, CustomStringConvertible {
| `- note: consider making struct 'Distance' conform to the 'Sendable' protocol
15 | public var astronomicalUnits: Double
16 |
:
19 | }
20 |
21 | public static let zero = Distance(astronomicalUnits: 0.0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'SwiftAstro.Distance' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | }
23 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAstro/Units/Time.swift:21:23: warning: static property 'jd0' is not concurrency-safe because non-'Sendable' type 'SwiftAstro.Time' may have shared mutable state; this is an error in the Swift 6 language mode
3 | extension SwiftAstro {
4 |
5 | public struct Time: Equatable, Comparable, CustomStringConvertible {
| `- note: consider making struct 'Time' conform to the 'Sendable' protocol
6 | public let julianDays: Double
7 |
:
19 | public static let secondsPerDay: TimeInterval = 86400.0
20 |
21 | public static let jd0 = SwiftAstro.Time(julianDays: 0.0)
| |- warning: static property 'jd0' is not concurrency-safe because non-'Sendable' type 'SwiftAstro.Time' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'jd0' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | public static let julianDaysPerMillenia = 365250.0
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAstro/VSOP87/VSOP87.swift:5:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'VSOP87Store' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | class VSOP87Store {
| `- note: class 'VSOP87Store' does not conform to the 'Sendable' protocol
4 |
5 | static let shared = VSOP87Store()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'VSOP87Store' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | private var vsops = [SwiftAstro.Planet: VSOP87]()
[14/38] Compiling SwiftAstro Utility+ResourceLoading.swift
[15/38] Compiling SwiftAstro Utility.swift
[16/38] Compiling SwiftAstro VSOP87.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAstro/VSOP87/VSOP87.swift:5:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'VSOP87Store' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | class VSOP87Store {
| `- note: class 'VSOP87Store' does not conform to the 'Sendable' protocol
4 |
5 | static let shared = VSOP87Store()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'VSOP87Store' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | private var vsops = [SwiftAstro.Planet: VSOP87]()
[17/38] Compiling SwiftAstro resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAstro/VSOP87/VSOP87.swift:5:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'VSOP87Store' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | class VSOP87Store {
| `- note: class 'VSOP87Store' does not conform to the 'Sendable' protocol
4 |
5 | static let shared = VSOP87Store()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'VSOP87Store' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | private var vsops = [SwiftAstro.Planet: VSOP87]()
[18/38] Compiling SwiftAstro Time+Ecliptic.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAstro/Units/Angle.swift:203:23: warning: static property 'meanObliquityOfEclipticAtJ2000' is not concurrency-safe because non-'Sendable' type 'SwiftAstro.Angle' may have shared mutable state; this is an error in the Swift 6 language mode
5 | extension SwiftAstro {
6 |
7 | public struct Angle:
| `- note: consider making struct 'Angle' conform to the 'Sendable' protocol
8 | CustomStringConvertible,
9 | Equatable,
:
201 |
202 | /// The mean obliquity of the ecliptic in the standard equinox of J2000.
203 | public static let meanObliquityOfEclipticAtJ2000 = SwiftAstro.Angle(
| |- warning: static property 'meanObliquityOfEclipticAtJ2000' is not concurrency-safe because non-'Sendable' type 'SwiftAstro.Angle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'meanObliquityOfEclipticAtJ2000' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
204 | degrees: 23.43929111111111
205 | )
[19/38] Compiling SwiftAstro Time+Nutation.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAstro/Units/Angle.swift:203:23: warning: static property 'meanObliquityOfEclipticAtJ2000' is not concurrency-safe because non-'Sendable' type 'SwiftAstro.Angle' may have shared mutable state; this is an error in the Swift 6 language mode
5 | extension SwiftAstro {
6 |
7 | public struct Angle:
| `- note: consider making struct 'Angle' conform to the 'Sendable' protocol
8 | CustomStringConvertible,
9 | Equatable,
:
201 |
202 | /// The mean obliquity of the ecliptic in the standard equinox of J2000.
203 | public static let meanObliquityOfEclipticAtJ2000 = SwiftAstro.Angle(
| |- warning: static property 'meanObliquityOfEclipticAtJ2000' is not concurrency-safe because non-'Sendable' type 'SwiftAstro.Angle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'meanObliquityOfEclipticAtJ2000' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
204 | degrees: 23.43929111111111
205 | )
[20/38] Compiling SwiftAstro Angle.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAstro/Units/Angle.swift:203:23: warning: static property 'meanObliquityOfEclipticAtJ2000' is not concurrency-safe because non-'Sendable' type 'SwiftAstro.Angle' may have shared mutable state; this is an error in the Swift 6 language mode
5 | extension SwiftAstro {
6 |
7 | public struct Angle:
| `- note: consider making struct 'Angle' conform to the 'Sendable' protocol
8 | CustomStringConvertible,
9 | Equatable,
:
201 |
202 | /// The mean obliquity of the ecliptic in the standard equinox of J2000.
203 | public static let meanObliquityOfEclipticAtJ2000 = SwiftAstro.Angle(
| |- warning: static property 'meanObliquityOfEclipticAtJ2000' is not concurrency-safe because non-'Sendable' type 'SwiftAstro.Angle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'meanObliquityOfEclipticAtJ2000' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
204 | degrees: 23.43929111111111
205 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAstro/Units/Distance.swift:21:27: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'SwiftAstro.Distance' may have shared mutable state; this is an error in the Swift 6 language mode
12 | extension SwiftAstro {
13 |
14 | public struct Distance: Equatable, Comparable, CustomStringConvertible {
| `- note: consider making struct 'Distance' conform to the 'Sendable' protocol
15 | public var astronomicalUnits: Double
16 |
:
19 | }
20 |
21 | public static let zero = Distance(astronomicalUnits: 0.0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'SwiftAstro.Distance' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | }
23 |
[21/38] Compiling SwiftAstro Distance.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAstro/Units/Angle.swift:203:23: warning: static property 'meanObliquityOfEclipticAtJ2000' is not concurrency-safe because non-'Sendable' type 'SwiftAstro.Angle' may have shared mutable state; this is an error in the Swift 6 language mode
5 | extension SwiftAstro {
6 |
7 | public struct Angle:
| `- note: consider making struct 'Angle' conform to the 'Sendable' protocol
8 | CustomStringConvertible,
9 | Equatable,
:
201 |
202 | /// The mean obliquity of the ecliptic in the standard equinox of J2000.
203 | public static let meanObliquityOfEclipticAtJ2000 = SwiftAstro.Angle(
| |- warning: static property 'meanObliquityOfEclipticAtJ2000' is not concurrency-safe because non-'Sendable' type 'SwiftAstro.Angle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'meanObliquityOfEclipticAtJ2000' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
204 | degrees: 23.43929111111111
205 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAstro/Units/Distance.swift:21:27: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'SwiftAstro.Distance' may have shared mutable state; this is an error in the Swift 6 language mode
12 | extension SwiftAstro {
13 |
14 | public struct Distance: Equatable, Comparable, CustomStringConvertible {
| `- note: consider making struct 'Distance' conform to the 'Sendable' protocol
15 | public var astronomicalUnits: Double
16 |
:
19 | }
20 |
21 | public static let zero = Distance(astronomicalUnits: 0.0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'SwiftAstro.Distance' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | }
23 |
[22/38] Compiling SwiftAstro SphericalPosition.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAstro/Units/Angle.swift:203:23: warning: static property 'meanObliquityOfEclipticAtJ2000' is not concurrency-safe because non-'Sendable' type 'SwiftAstro.Angle' may have shared mutable state; this is an error in the Swift 6 language mode
5 | extension SwiftAstro {
6 |
7 | public struct Angle:
| `- note: consider making struct 'Angle' conform to the 'Sendable' protocol
8 | CustomStringConvertible,
9 | Equatable,
:
201 |
202 | /// The mean obliquity of the ecliptic in the standard equinox of J2000.
203 | public static let meanObliquityOfEclipticAtJ2000 = SwiftAstro.Angle(
| |- warning: static property 'meanObliquityOfEclipticAtJ2000' is not concurrency-safe because non-'Sendable' type 'SwiftAstro.Angle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'meanObliquityOfEclipticAtJ2000' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
204 | degrees: 23.43929111111111
205 | )
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAstro/Units/Distance.swift:21:27: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'SwiftAstro.Distance' may have shared mutable state; this is an error in the Swift 6 language mode
12 | extension SwiftAstro {
13 |
14 | public struct Distance: Equatable, Comparable, CustomStringConvertible {
| `- note: consider making struct 'Distance' conform to the 'Sendable' protocol
15 | public var astronomicalUnits: Double
16 |
:
19 | }
20 |
21 | public static let zero = Distance(astronomicalUnits: 0.0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'SwiftAstro.Distance' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | }
23 |
[23/38] Compiling SwiftAstro BrightStarCatalog.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAstro/SwiftAstro.swift:4:23: warning: static property 'brightStarCatalog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Yale Bright Star Catalog.
4 | public static var brightStarCatalog = SwiftAstro.BrightStarCatalog()
| |- warning: static property 'brightStarCatalog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'brightStarCatalog' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'brightStarCatalog' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | }
[24/38] Compiling SwiftAstro SwiftAstro.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAstro/SwiftAstro.swift:4:23: warning: static property 'brightStarCatalog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Yale Bright Star Catalog.
4 | public static var brightStarCatalog = SwiftAstro.BrightStarCatalog()
| |- warning: static property 'brightStarCatalog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'brightStarCatalog' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'brightStarCatalog' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | }
[25/38] Compiling SwiftAstro Angle+CoordinateSystems.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAstro/SwiftAstro.swift:4:23: warning: static property 'brightStarCatalog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Yale Bright Star Catalog.
4 | public static var brightStarCatalog = SwiftAstro.BrightStarCatalog()
| |- warning: static property 'brightStarCatalog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'brightStarCatalog' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'brightStarCatalog' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | }
[26/38] Compiling SwiftAstro Pluto.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAstro/Entities/Pluto.swift:15:23: warning: static property 'pluto' is not concurrency-safe because non-'Sendable' type 'SwiftAstro.Pluto' may have shared mutable state; this is an error in the Swift 6 language mode
5 | extension SwiftAstro {
6 |
7 | public struct Pluto :
| `- note: consider making struct 'Pluto' conform to the 'Sendable' protocol
8 | HeliocentricallyPositionable,
9 | GeocentricallyPositionable,
:
13 | }
14 |
15 | public static let pluto = Pluto()
| |- warning: static property 'pluto' is not concurrency-safe because non-'Sendable' type 'SwiftAstro.Pluto' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pluto' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAstro/Units/Distance.swift:21:27: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'SwiftAstro.Distance' may have shared mutable state; this is an error in the Swift 6 language mode
12 | extension SwiftAstro {
13 |
14 | public struct Distance: Equatable, Comparable, CustomStringConvertible {
| `- note: consider making struct 'Distance' conform to the 'Sendable' protocol
15 | public var astronomicalUnits: Double
16 |
:
19 | }
20 |
21 | public static let zero = Distance(astronomicalUnits: 0.0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'SwiftAstro.Distance' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | }
23 |
[27/38] Compiling SwiftAstro Positionable+Geocentric.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAstro/Entities/Pluto.swift:15:23: warning: static property 'pluto' is not concurrency-safe because non-'Sendable' type 'SwiftAstro.Pluto' may have shared mutable state; this is an error in the Swift 6 language mode
5 | extension SwiftAstro {
6 |
7 | public struct Pluto :
| `- note: consider making struct 'Pluto' conform to the 'Sendable' protocol
8 | HeliocentricallyPositionable,
9 | GeocentricallyPositionable,
:
13 | }
14 |
15 | public static let pluto = Pluto()
| |- warning: static property 'pluto' is not concurrency-safe because non-'Sendable' type 'SwiftAstro.Pluto' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pluto' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAstro/Units/Distance.swift:21:27: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'SwiftAstro.Distance' may have shared mutable state; this is an error in the Swift 6 language mode
12 | extension SwiftAstro {
13 |
14 | public struct Distance: Equatable, Comparable, CustomStringConvertible {
| `- note: consider making struct 'Distance' conform to the 'Sendable' protocol
15 | public var astronomicalUnits: Double
16 |
:
19 | }
20 |
21 | public static let zero = Distance(astronomicalUnits: 0.0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'SwiftAstro.Distance' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | }
23 |
[28/38] Compiling SwiftAstro Positionable.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAstro/Entities/Pluto.swift:15:23: warning: static property 'pluto' is not concurrency-safe because non-'Sendable' type 'SwiftAstro.Pluto' may have shared mutable state; this is an error in the Swift 6 language mode
5 | extension SwiftAstro {
6 |
7 | public struct Pluto :
| `- note: consider making struct 'Pluto' conform to the 'Sendable' protocol
8 | HeliocentricallyPositionable,
9 | GeocentricallyPositionable,
:
13 | }
14 |
15 | public static let pluto = Pluto()
| |- warning: static property 'pluto' is not concurrency-safe because non-'Sendable' type 'SwiftAstro.Pluto' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pluto' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAstro/Units/Distance.swift:21:27: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'SwiftAstro.Distance' may have shared mutable state; this is an error in the Swift 6 language mode
12 | extension SwiftAstro {
13 |
14 | public struct Distance: Equatable, Comparable, CustomStringConvertible {
| `- note: consider making struct 'Distance' conform to the 'Sendable' protocol
15 | public var astronomicalUnits: Double
16 |
:
19 | }
20 |
21 | public static let zero = Distance(astronomicalUnits: 0.0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'SwiftAstro.Distance' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | }
23 |
[29/38] Compiling SwiftAstro Time.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAstro/Units/Time.swift:21:23: warning: static property 'jd0' is not concurrency-safe because non-'Sendable' type 'SwiftAstro.Time' may have shared mutable state; this is an error in the Swift 6 language mode
3 | extension SwiftAstro {
4 |
5 | public struct Time: Equatable, Comparable, CustomStringConvertible {
| `- note: consider making struct 'Time' conform to the 'Sendable' protocol
6 | public let julianDays: Double
7 |
:
19 | public static let secondsPerDay: TimeInterval = 86400.0
20 |
21 | public static let jd0 = SwiftAstro.Time(julianDays: 0.0)
| |- warning: static property 'jd0' is not concurrency-safe because non-'Sendable' type 'SwiftAstro.Time' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'jd0' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | public static let julianDaysPerMillenia = 365250.0
[30/38] Compiling SwiftAstro Double+Helpers.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAstro/Units/Time.swift:21:23: warning: static property 'jd0' is not concurrency-safe because non-'Sendable' type 'SwiftAstro.Time' may have shared mutable state; this is an error in the Swift 6 language mode
3 | extension SwiftAstro {
4 |
5 | public struct Time: Equatable, Comparable, CustomStringConvertible {
| `- note: consider making struct 'Time' conform to the 'Sendable' protocol
6 | public let julianDays: Double
7 |
:
19 | public static let secondsPerDay: TimeInterval = 86400.0
20 |
21 | public static let jd0 = SwiftAstro.Time(julianDays: 0.0)
| |- warning: static property 'jd0' is not concurrency-safe because non-'Sendable' type 'SwiftAstro.Time' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'jd0' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | public static let julianDaysPerMillenia = 365250.0
[31/38] Compiling SwiftAstro AstronomicallyNameable.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAstro/Entities/Moon.swift:13:23: warning: static property 'moon' is not concurrency-safe because non-'Sendable' type 'SwiftAstro.Moon' may have shared mutable state; this is an error in the Swift 6 language mode
5 | extension SwiftAstro {
6 |
7 | public struct Moon : GeocentricallyPositionable, AstronomicallyNameable {
| `- note: consider making struct 'Moon' conform to the 'Sendable' protocol
8 |
9 | public let name: String? = "Moon"
:
11 | }
12 |
13 | public static let moon = Moon()
| |- warning: static property 'moon' is not concurrency-safe because non-'Sendable' type 'SwiftAstro.Moon' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'moon' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAstro/VSOP87/VSOP87.swift:5:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'VSOP87Store' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | class VSOP87Store {
| `- note: class 'VSOP87Store' does not conform to the 'Sendable' protocol
4 |
5 | static let shared = VSOP87Store()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'VSOP87Store' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | private var vsops = [SwiftAstro.Planet: VSOP87]()
[32/38] Compiling SwiftAstro Moon.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAstro/Entities/Moon.swift:13:23: warning: static property 'moon' is not concurrency-safe because non-'Sendable' type 'SwiftAstro.Moon' may have shared mutable state; this is an error in the Swift 6 language mode
5 | extension SwiftAstro {
6 |
7 | public struct Moon : GeocentricallyPositionable, AstronomicallyNameable {
| `- note: consider making struct 'Moon' conform to the 'Sendable' protocol
8 |
9 | public let name: String? = "Moon"
:
11 | }
12 |
13 | public static let moon = Moon()
| |- warning: static property 'moon' is not concurrency-safe because non-'Sendable' type 'SwiftAstro.Moon' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'moon' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAstro/VSOP87/VSOP87.swift:5:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'VSOP87Store' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | class VSOP87Store {
| `- note: class 'VSOP87Store' does not conform to the 'Sendable' protocol
4 |
5 | static let shared = VSOP87Store()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'VSOP87Store' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | private var vsops = [SwiftAstro.Planet: VSOP87]()
[33/38] Compiling SwiftAstro Planet.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAstro/Entities/Moon.swift:13:23: warning: static property 'moon' is not concurrency-safe because non-'Sendable' type 'SwiftAstro.Moon' may have shared mutable state; this is an error in the Swift 6 language mode
5 | extension SwiftAstro {
6 |
7 | public struct Moon : GeocentricallyPositionable, AstronomicallyNameable {
| `- note: consider making struct 'Moon' conform to the 'Sendable' protocol
8 |
9 | public let name: String? = "Moon"
:
11 | }
12 |
13 | public static let moon = Moon()
| |- warning: static property 'moon' is not concurrency-safe because non-'Sendable' type 'SwiftAstro.Moon' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'moon' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAstro/VSOP87/VSOP87.swift:5:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'VSOP87Store' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | class VSOP87Store {
| `- note: class 'VSOP87Store' does not conform to the 'Sendable' protocol
4 |
5 | static let shared = VSOP87Store()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'VSOP87Store' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | private var vsops = [SwiftAstro.Planet: VSOP87]()
[34/38] Compiling SwiftAstro String+Helpers.swift
[35/38] Compiling SwiftAstro Utility+NumberFormatting.swift
[36/38] Compiling SwiftAstro Sun.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAstro/Entities/Sun.swift:14:23: warning: static property 'sun' is not concurrency-safe because non-'Sendable' type 'SwiftAstro.Sun' may have shared mutable state; this is an error in the Swift 6 language mode
5 | extension SwiftAstro {
6 |
7 | public struct Sun :
| `- note: consider making struct 'Sun' conform to the 'Sendable' protocol
8 | GeocentricallyPositionable,
9 | AstronomicallyNameable
:
12 | }
13 |
14 | public static let sun = Sun()
| |- warning: static property 'sun' is not concurrency-safe because non-'Sendable' type 'SwiftAstro.Sun' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sun' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAstro/SwiftAstro.swift:4:23: warning: static property 'brightStarCatalog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Yale Bright Star Catalog.
4 | public static var brightStarCatalog = SwiftAstro.BrightStarCatalog()
| |- warning: static property 'brightStarCatalog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'brightStarCatalog' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'brightStarCatalog' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | }
[37/38] Compiling SwiftAstro BrightStar+Nameable.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAstro/Entities/Sun.swift:14:23: warning: static property 'sun' is not concurrency-safe because non-'Sendable' type 'SwiftAstro.Sun' may have shared mutable state; this is an error in the Swift 6 language mode
5 | extension SwiftAstro {
6 |
7 | public struct Sun :
| `- note: consider making struct 'Sun' conform to the 'Sendable' protocol
8 | GeocentricallyPositionable,
9 | AstronomicallyNameable
:
12 | }
13 |
14 | public static let sun = Sun()
| |- warning: static property 'sun' is not concurrency-safe because non-'Sendable' type 'SwiftAstro.Sun' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sun' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAstro/SwiftAstro.swift:4:23: warning: static property 'brightStarCatalog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Yale Bright Star Catalog.
4 | public static var brightStarCatalog = SwiftAstro.BrightStarCatalog()
| |- warning: static property 'brightStarCatalog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'brightStarCatalog' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'brightStarCatalog' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | }
[38/38] Compiling SwiftAstro BrightStar.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAstro/Entities/Sun.swift:14:23: warning: static property 'sun' is not concurrency-safe because non-'Sendable' type 'SwiftAstro.Sun' may have shared mutable state; this is an error in the Swift 6 language mode
5 | extension SwiftAstro {
6 |
7 | public struct Sun :
| `- note: consider making struct 'Sun' conform to the 'Sendable' protocol
8 | GeocentricallyPositionable,
9 | AstronomicallyNameable
:
12 | }
13 |
14 | public static let sun = Sun()
| |- warning: static property 'sun' is not concurrency-safe because non-'Sendable' type 'SwiftAstro.Sun' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sun' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftAstro/SwiftAstro.swift:4:23: warning: static property 'brightStarCatalog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Yale Bright Star Catalog.
4 | public static var brightStarCatalog = SwiftAstro.BrightStarCatalog()
| |- warning: static property 'brightStarCatalog' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'brightStarCatalog' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'brightStarCatalog' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | }
Build complete! (19.59s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SwiftAstro",
"name" : "SwiftAstro",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SwiftAstro",
"targets" : [
"SwiftAstro"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftAstroTests",
"module_type" : "SwiftTarget",
"name" : "SwiftAstroTests",
"path" : "Tests/SwiftAstroTests",
"sources" : [
"JulianDayTests.swift",
"MoonTests.swift",
"PlutoTests.swift",
"PublicAPITests.swift",
"SunTests.swift",
"SwiftAstroTests.swift",
"UtilityStringTests.swift",
"UtilityTests.swift"
],
"target_dependencies" : [
"SwiftAstro"
],
"type" : "test"
},
{
"c99name" : "SwiftAstro",
"module_type" : "SwiftTarget",
"name" : "SwiftAstro",
"path" : "Sources/SwiftAstro",
"product_memberships" : [
"SwiftAstro"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SwiftAstro/Resources/VSOP87B.ear",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SwiftAstro/Resources/VSOP87B.jup",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SwiftAstro/Resources/VSOP87B.mar",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SwiftAstro/Resources/VSOP87B.mer",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SwiftAstro/Resources/VSOP87B.nep",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SwiftAstro/Resources/VSOP87B.sat",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SwiftAstro/Resources/VSOP87B.ura",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SwiftAstro/Resources/VSOP87B.ven",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SwiftAstro/Resources/yale-bright-star-catalog.txt",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/SwiftAstro/Resources/yale-bright-star-notes.txt",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Entities/AstronomicallyNameable.swift",
"Entities/Moon.swift",
"Entities/Planet.swift",
"Entities/Pluto.swift",
"Entities/Positionable+Geocentric.swift",
"Entities/Positionable.swift",
"Entities/Sun.swift",
"StarCatalog/BrightStar+Nameable.swift",
"StarCatalog/BrightStar.swift",
"StarCatalog/BrightStarCatalog.swift",
"SwiftAstro.swift",
"Units/Angle+CoordinateSystems.swift",
"Units/Angle.swift",
"Units/Distance.swift",
"Units/SphericalPosition.swift",
"Units/Time+Ecliptic.swift",
"Units/Time+Nutation.swift",
"Units/Time.swift",
"Utility/Double+Helpers.swift",
"Utility/String+Helpers.swift",
"Utility/Utility+NumberFormatting.swift",
"Utility/Utility+ResourceLoading.swift",
"Utility/Utility.swift",
"VSOP87/VSOP87.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.