Build Information
Successful build of SwiftAstro with Swift 6.0 for Linux.
Swift 6 data race errors: 12
Build Command
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ncke/SwiftAstro.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/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
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/ncke/SwiftAstro.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Building for debugging...
[0/12] Copying yale-bright-star-notes.txt
[1/12] Copying VSOP87B.ear
[1/12] Copying VSOP87B.jup
[1/12] Copying VSOP87B.ven
[1/12] Write sources
[5/12] Copying VSOP87B.nep
[6/12] Copying VSOP87B.mer
[7/12] Copying VSOP87B.ura
[8/12] Copying VSOP87B.mar
[8/12] Copying VSOP87B.sat
[10/12] Copying yale-bright-star-catalog.txt
[11/12] Write swift-version-24593BA9C3E375BF.txt
[13/35] Emitting module SwiftAstro
/host/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 | }
/host/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 | }
/host/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 | }
/host/spi-builder-workspace/Sources/SwiftAstro/SwiftAstro.swift:4:23: warning: static property 'brightStarCatalog' is not concurrency-safe because it is non-isolated 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 non-isolated 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 | }
/host/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 | )
/host/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 |
/host/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
/host/spi-builder-workspace/Sources/SwiftAstro/Utility/Utility+NumberFormatting.swift:9:16: warning: static property 'fractionNumberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// A number formatter that guarantees two integer digits and three fraction digits.
8 | /// For example: 19.280, 05.418.
9 | static let fractionNumberFormatter: NumberFormatter = {
| `- warning: static property 'fractionNumberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
10 | let nf = NumberFormatter()
11 | nf.minimumIntegerDigits = 2
Foundation.NumberFormatter:1:12: note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
1 | open class NumberFormatter : Formatter {
| `- note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
2 | override open func copy(with zone: NSZone? = nil) -> Any
3 | open var formattingContext: Formatter.Context
/host/spi-builder-workspace/Sources/SwiftAstro/Utility/Utility+NumberFormatting.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | // MARK: - Number Formatters
:
7 | /// A number formatter that guarantees two integer digits and three fraction digits.
8 | /// For example: 19.280, 05.418.
9 | static let fractionNumberFormatter: NumberFormatter = {
| |- note: annotate 'fractionNumberFormatter' 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
10 | let nf = NumberFormatter()
11 | nf.minimumIntegerDigits = 2
/host/spi-builder-workspace/Sources/SwiftAstro/Utility/Utility+NumberFormatting.swift:21:16: warning: static property 'twoNumberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
19 | /// A number formatter that guarantees at least two integer digits with no
20 | /// fractional part. For example: 19, 05, 201.
21 | static let twoNumberFormatter: NumberFormatter = {
| |- warning: static property 'twoNumberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'twoNumberFormatter' 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 | let nf = NumberFormatter()
23 | nf.minimumIntegerDigits = 2
Foundation.NumberFormatter:1:12: note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
1 | open class NumberFormatter : Formatter {
| `- note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
2 | override open func copy(with zone: NSZone? = nil) -> Any
3 | open var formattingContext: Formatter.Context
/host/spi-builder-workspace/Sources/SwiftAstro/Utility/Utility+NumberFormatting.swift:31:16: warning: static property 'threeNumberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
29 | /// A number formatter that guarantees at least three integer digits with no
30 | /// fractional part. For example: 019, 005, 201.
31 | static let threeNumberFormatter: NumberFormatter = {
| |- warning: static property 'threeNumberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'threeNumberFormatter' 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
32 | let nf = NumberFormatter()
33 | nf.minimumIntegerDigits = 3
Foundation.NumberFormatter:1:12: note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
1 | open class NumberFormatter : Formatter {
| `- note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
2 | override open func copy(with zone: NSZone? = nil) -> Any
3 | open var formattingContext: Formatter.Context
/host/spi-builder-workspace/Sources/SwiftAstro/Utility/Utility+NumberFormatting.swift:40:16: warning: static property 'decimalNumberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | /// A number formatter for decimals.
40 | static let decimalNumberFormatter: NumberFormatter = {
| |- warning: static property 'decimalNumberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'decimalNumberFormatter' 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
41 | let nf = NumberFormatter()
42 | nf.numberStyle = NumberFormatter.Style.decimal
Foundation.NumberFormatter:1:12: note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
1 | open class NumberFormatter : Formatter {
| `- note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
2 | override open func copy(with zone: NSZone? = nil) -> Any
3 | open var formattingContext: Formatter.Context
/host/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.swift
/host/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]()
[15/38] Compiling SwiftAstro VSOP87.swift
/host/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]()
[16/38] Compiling SwiftAstro resource_bundle_accessor.swift
/host/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 Time+Nutation.swift
/host/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
[18/38] Compiling SwiftAstro Time.swift
/host/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
[19/38] Compiling SwiftAstro Double+Helpers.swift
/host/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
[20/38] Compiling SwiftAstro String+Helpers.swift
/host/spi-builder-workspace/Sources/SwiftAstro/Utility/Utility+NumberFormatting.swift:9:16: warning: static property 'fractionNumberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// A number formatter that guarantees two integer digits and three fraction digits.
8 | /// For example: 19.280, 05.418.
9 | static let fractionNumberFormatter: NumberFormatter = {
| `- warning: static property 'fractionNumberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
10 | let nf = NumberFormatter()
11 | nf.minimumIntegerDigits = 2
Foundation.NumberFormatter:1:12: note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
1 | open class NumberFormatter : Formatter {
| `- note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
2 | override open func copy(with zone: NSZone? = nil) -> Any
3 | open var formattingContext: Formatter.Context
/host/spi-builder-workspace/Sources/SwiftAstro/Utility/Utility+NumberFormatting.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | // MARK: - Number Formatters
:
7 | /// A number formatter that guarantees two integer digits and three fraction digits.
8 | /// For example: 19.280, 05.418.
9 | static let fractionNumberFormatter: NumberFormatter = {
| |- note: annotate 'fractionNumberFormatter' 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
10 | let nf = NumberFormatter()
11 | nf.minimumIntegerDigits = 2
/host/spi-builder-workspace/Sources/SwiftAstro/Utility/Utility+NumberFormatting.swift:21:16: warning: static property 'twoNumberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
19 | /// A number formatter that guarantees at least two integer digits with no
20 | /// fractional part. For example: 19, 05, 201.
21 | static let twoNumberFormatter: NumberFormatter = {
| |- warning: static property 'twoNumberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'twoNumberFormatter' 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 | let nf = NumberFormatter()
23 | nf.minimumIntegerDigits = 2
Foundation.NumberFormatter:1:12: note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
1 | open class NumberFormatter : Formatter {
| `- note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
2 | override open func copy(with zone: NSZone? = nil) -> Any
3 | open var formattingContext: Formatter.Context
/host/spi-builder-workspace/Sources/SwiftAstro/Utility/Utility+NumberFormatting.swift:31:16: warning: static property 'threeNumberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
29 | /// A number formatter that guarantees at least three integer digits with no
30 | /// fractional part. For example: 019, 005, 201.
31 | static let threeNumberFormatter: NumberFormatter = {
| |- warning: static property 'threeNumberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'threeNumberFormatter' 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
32 | let nf = NumberFormatter()
33 | nf.minimumIntegerDigits = 3
Foundation.NumberFormatter:1:12: note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
1 | open class NumberFormatter : Formatter {
| `- note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
2 | override open func copy(with zone: NSZone? = nil) -> Any
3 | open var formattingContext: Formatter.Context
/host/spi-builder-workspace/Sources/SwiftAstro/Utility/Utility+NumberFormatting.swift:40:16: warning: static property 'decimalNumberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | /// A number formatter for decimals.
40 | static let decimalNumberFormatter: NumberFormatter = {
| |- warning: static property 'decimalNumberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'decimalNumberFormatter' 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
41 | let nf = NumberFormatter()
42 | nf.numberStyle = NumberFormatter.Style.decimal
Foundation.NumberFormatter:1:12: note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
1 | open class NumberFormatter : Formatter {
| `- note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
2 | override open func copy(with zone: NSZone? = nil) -> Any
3 | open var formattingContext: Formatter.Context
[21/38] Compiling SwiftAstro Utility+NumberFormatting.swift
/host/spi-builder-workspace/Sources/SwiftAstro/Utility/Utility+NumberFormatting.swift:9:16: warning: static property 'fractionNumberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// A number formatter that guarantees two integer digits and three fraction digits.
8 | /// For example: 19.280, 05.418.
9 | static let fractionNumberFormatter: NumberFormatter = {
| `- warning: static property 'fractionNumberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
10 | let nf = NumberFormatter()
11 | nf.minimumIntegerDigits = 2
Foundation.NumberFormatter:1:12: note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
1 | open class NumberFormatter : Formatter {
| `- note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
2 | override open func copy(with zone: NSZone? = nil) -> Any
3 | open var formattingContext: Formatter.Context
/host/spi-builder-workspace/Sources/SwiftAstro/Utility/Utility+NumberFormatting.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | // MARK: - Number Formatters
:
7 | /// A number formatter that guarantees two integer digits and three fraction digits.
8 | /// For example: 19.280, 05.418.
9 | static let fractionNumberFormatter: NumberFormatter = {
| |- note: annotate 'fractionNumberFormatter' 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
10 | let nf = NumberFormatter()
11 | nf.minimumIntegerDigits = 2
/host/spi-builder-workspace/Sources/SwiftAstro/Utility/Utility+NumberFormatting.swift:21:16: warning: static property 'twoNumberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
19 | /// A number formatter that guarantees at least two integer digits with no
20 | /// fractional part. For example: 19, 05, 201.
21 | static let twoNumberFormatter: NumberFormatter = {
| |- warning: static property 'twoNumberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'twoNumberFormatter' 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 | let nf = NumberFormatter()
23 | nf.minimumIntegerDigits = 2
Foundation.NumberFormatter:1:12: note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
1 | open class NumberFormatter : Formatter {
| `- note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
2 | override open func copy(with zone: NSZone? = nil) -> Any
3 | open var formattingContext: Formatter.Context
/host/spi-builder-workspace/Sources/SwiftAstro/Utility/Utility+NumberFormatting.swift:31:16: warning: static property 'threeNumberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
29 | /// A number formatter that guarantees at least three integer digits with no
30 | /// fractional part. For example: 019, 005, 201.
31 | static let threeNumberFormatter: NumberFormatter = {
| |- warning: static property 'threeNumberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'threeNumberFormatter' 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
32 | let nf = NumberFormatter()
33 | nf.minimumIntegerDigits = 3
Foundation.NumberFormatter:1:12: note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
1 | open class NumberFormatter : Formatter {
| `- note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
2 | override open func copy(with zone: NSZone? = nil) -> Any
3 | open var formattingContext: Formatter.Context
/host/spi-builder-workspace/Sources/SwiftAstro/Utility/Utility+NumberFormatting.swift:40:16: warning: static property 'decimalNumberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | /// A number formatter for decimals.
40 | static let decimalNumberFormatter: NumberFormatter = {
| |- warning: static property 'decimalNumberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'decimalNumberFormatter' 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
41 | let nf = NumberFormatter()
42 | nf.numberStyle = NumberFormatter.Style.decimal
Foundation.NumberFormatter:1:12: note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
1 | open class NumberFormatter : Formatter {
| `- note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
2 | override open func copy(with zone: NSZone? = nil) -> Any
3 | open var formattingContext: Formatter.Context
[22/38] Compiling SwiftAstro Utility+ResourceLoading.swift
/host/spi-builder-workspace/Sources/SwiftAstro/Utility/Utility+NumberFormatting.swift:9:16: warning: static property 'fractionNumberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// A number formatter that guarantees two integer digits and three fraction digits.
8 | /// For example: 19.280, 05.418.
9 | static let fractionNumberFormatter: NumberFormatter = {
| `- warning: static property 'fractionNumberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
10 | let nf = NumberFormatter()
11 | nf.minimumIntegerDigits = 2
Foundation.NumberFormatter:1:12: note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
1 | open class NumberFormatter : Formatter {
| `- note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
2 | override open func copy(with zone: NSZone? = nil) -> Any
3 | open var formattingContext: Formatter.Context
/host/spi-builder-workspace/Sources/SwiftAstro/Utility/Utility+NumberFormatting.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | // MARK: - Number Formatters
:
7 | /// A number formatter that guarantees two integer digits and three fraction digits.
8 | /// For example: 19.280, 05.418.
9 | static let fractionNumberFormatter: NumberFormatter = {
| |- note: annotate 'fractionNumberFormatter' 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
10 | let nf = NumberFormatter()
11 | nf.minimumIntegerDigits = 2
/host/spi-builder-workspace/Sources/SwiftAstro/Utility/Utility+NumberFormatting.swift:21:16: warning: static property 'twoNumberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
19 | /// A number formatter that guarantees at least two integer digits with no
20 | /// fractional part. For example: 19, 05, 201.
21 | static let twoNumberFormatter: NumberFormatter = {
| |- warning: static property 'twoNumberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'twoNumberFormatter' 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 | let nf = NumberFormatter()
23 | nf.minimumIntegerDigits = 2
Foundation.NumberFormatter:1:12: note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
1 | open class NumberFormatter : Formatter {
| `- note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
2 | override open func copy(with zone: NSZone? = nil) -> Any
3 | open var formattingContext: Formatter.Context
/host/spi-builder-workspace/Sources/SwiftAstro/Utility/Utility+NumberFormatting.swift:31:16: warning: static property 'threeNumberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
29 | /// A number formatter that guarantees at least three integer digits with no
30 | /// fractional part. For example: 019, 005, 201.
31 | static let threeNumberFormatter: NumberFormatter = {
| |- warning: static property 'threeNumberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'threeNumberFormatter' 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
32 | let nf = NumberFormatter()
33 | nf.minimumIntegerDigits = 3
Foundation.NumberFormatter:1:12: note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
1 | open class NumberFormatter : Formatter {
| `- note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
2 | override open func copy(with zone: NSZone? = nil) -> Any
3 | open var formattingContext: Formatter.Context
/host/spi-builder-workspace/Sources/SwiftAstro/Utility/Utility+NumberFormatting.swift:40:16: warning: static property 'decimalNumberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
38 |
39 | /// A number formatter for decimals.
40 | static let decimalNumberFormatter: NumberFormatter = {
| |- warning: static property 'decimalNumberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'decimalNumberFormatter' 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
41 | let nf = NumberFormatter()
42 | nf.numberStyle = NumberFormatter.Style.decimal
Foundation.NumberFormatter:1:12: note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
1 | open class NumberFormatter : Formatter {
| `- note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
2 | override open func copy(with zone: NSZone? = nil) -> Any
3 | open var formattingContext: Formatter.Context
[23/38] Compiling SwiftAstro AstronomicallyNameable.swift
/host/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 | }
/host/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]()
/host/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 | }
[24/38] Compiling SwiftAstro Moon.swift
/host/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 | }
/host/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]()
/host/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 | }
[25/38] Compiling SwiftAstro Planet.swift
/host/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 | }
/host/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]()
/host/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 | }
[26/38] Compiling SwiftAstro Pluto.swift
/host/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 | }
/host/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]()
/host/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 | }
[27/38] Compiling SwiftAstro BrightStar+Nameable.swift
/host/spi-builder-workspace/Sources/SwiftAstro/SwiftAstro.swift:4:23: warning: static property 'brightStarCatalog' is not concurrency-safe because it is non-isolated 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 non-isolated 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 | }
[28/38] Compiling SwiftAstro BrightStar.swift
/host/spi-builder-workspace/Sources/SwiftAstro/SwiftAstro.swift:4:23: warning: static property 'brightStarCatalog' is not concurrency-safe because it is non-isolated 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 non-isolated 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 | }
[29/38] Compiling SwiftAstro BrightStarCatalog.swift
/host/spi-builder-workspace/Sources/SwiftAstro/SwiftAstro.swift:4:23: warning: static property 'brightStarCatalog' is not concurrency-safe because it is non-isolated 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 non-isolated 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 | }
[30/38] Compiling SwiftAstro SwiftAstro.swift
/host/spi-builder-workspace/Sources/SwiftAstro/SwiftAstro.swift:4:23: warning: static property 'brightStarCatalog' is not concurrency-safe because it is non-isolated 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 non-isolated 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 | }
/host/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 | )
/host/spi-builder-workspace/Sources/SwiftAstro/Utility/Utility+NumberFormatting.swift:21:16: warning: static property 'twoNumberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
19 | /// A number formatter that guarantees at least two integer digits with no
20 | /// fractional part. For example: 19, 05, 201.
21 | static let twoNumberFormatter: NumberFormatter = {
| `- warning: static property 'twoNumberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
22 | let nf = NumberFormatter()
23 | nf.minimumIntegerDigits = 2
Foundation.NumberFormatter:1:12: note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
1 | open class NumberFormatter : Formatter {
| `- note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
2 | override open func copy(with zone: NSZone? = nil) -> Any
3 | open var formattingContext: Formatter.Context
/host/spi-builder-workspace/Sources/SwiftAstro/Utility/Utility+NumberFormatting.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | // MARK: - Number Formatters
:
19 | /// A number formatter that guarantees at least two integer digits with no
20 | /// fractional part. For example: 19, 05, 201.
21 | static let twoNumberFormatter: NumberFormatter = {
| |- note: annotate 'twoNumberFormatter' 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 | let nf = NumberFormatter()
23 | nf.minimumIntegerDigits = 2
/host/spi-builder-workspace/Sources/SwiftAstro/Utility/Utility+NumberFormatting.swift:9:16: warning: static property 'fractionNumberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// A number formatter that guarantees two integer digits and three fraction digits.
8 | /// For example: 19.280, 05.418.
9 | static let fractionNumberFormatter: NumberFormatter = {
| |- warning: static property 'fractionNumberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fractionNumberFormatter' 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
10 | let nf = NumberFormatter()
11 | nf.minimumIntegerDigits = 2
Foundation.NumberFormatter:1:12: note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
1 | open class NumberFormatter : Formatter {
| `- note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
2 | override open func copy(with zone: NSZone? = nil) -> Any
3 | open var formattingContext: Formatter.Context
/host/spi-builder-workspace/Sources/SwiftAstro/Utility/Utility+NumberFormatting.swift:31:16: warning: static property 'threeNumberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
29 | /// A number formatter that guarantees at least three integer digits with no
30 | /// fractional part. For example: 019, 005, 201.
31 | static let threeNumberFormatter: NumberFormatter = {
| |- warning: static property 'threeNumberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'threeNumberFormatter' 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
32 | let nf = NumberFormatter()
33 | nf.minimumIntegerDigits = 3
Foundation.NumberFormatter:1:12: note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
1 | open class NumberFormatter : Formatter {
| `- note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
2 | override open func copy(with zone: NSZone? = nil) -> Any
3 | open var formattingContext: Formatter.Context
[31/38] Compiling SwiftAstro Angle+CoordinateSystems.swift
/host/spi-builder-workspace/Sources/SwiftAstro/SwiftAstro.swift:4:23: warning: static property 'brightStarCatalog' is not concurrency-safe because it is non-isolated 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 non-isolated 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 | }
/host/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 | )
/host/spi-builder-workspace/Sources/SwiftAstro/Utility/Utility+NumberFormatting.swift:21:16: warning: static property 'twoNumberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
19 | /// A number formatter that guarantees at least two integer digits with no
20 | /// fractional part. For example: 19, 05, 201.
21 | static let twoNumberFormatter: NumberFormatter = {
| `- warning: static property 'twoNumberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
22 | let nf = NumberFormatter()
23 | nf.minimumIntegerDigits = 2
Foundation.NumberFormatter:1:12: note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
1 | open class NumberFormatter : Formatter {
| `- note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
2 | override open func copy(with zone: NSZone? = nil) -> Any
3 | open var formattingContext: Formatter.Context
/host/spi-builder-workspace/Sources/SwiftAstro/Utility/Utility+NumberFormatting.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | // MARK: - Number Formatters
:
19 | /// A number formatter that guarantees at least two integer digits with no
20 | /// fractional part. For example: 19, 05, 201.
21 | static let twoNumberFormatter: NumberFormatter = {
| |- note: annotate 'twoNumberFormatter' 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 | let nf = NumberFormatter()
23 | nf.minimumIntegerDigits = 2
/host/spi-builder-workspace/Sources/SwiftAstro/Utility/Utility+NumberFormatting.swift:9:16: warning: static property 'fractionNumberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// A number formatter that guarantees two integer digits and three fraction digits.
8 | /// For example: 19.280, 05.418.
9 | static let fractionNumberFormatter: NumberFormatter = {
| |- warning: static property 'fractionNumberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fractionNumberFormatter' 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
10 | let nf = NumberFormatter()
11 | nf.minimumIntegerDigits = 2
Foundation.NumberFormatter:1:12: note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
1 | open class NumberFormatter : Formatter {
| `- note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
2 | override open func copy(with zone: NSZone? = nil) -> Any
3 | open var formattingContext: Formatter.Context
/host/spi-builder-workspace/Sources/SwiftAstro/Utility/Utility+NumberFormatting.swift:31:16: warning: static property 'threeNumberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
29 | /// A number formatter that guarantees at least three integer digits with no
30 | /// fractional part. For example: 019, 005, 201.
31 | static let threeNumberFormatter: NumberFormatter = {
| |- warning: static property 'threeNumberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'threeNumberFormatter' 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
32 | let nf = NumberFormatter()
33 | nf.minimumIntegerDigits = 3
Foundation.NumberFormatter:1:12: note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
1 | open class NumberFormatter : Formatter {
| `- note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
2 | override open func copy(with zone: NSZone? = nil) -> Any
3 | open var formattingContext: Formatter.Context
[32/38] Compiling SwiftAstro Angle.swift
/host/spi-builder-workspace/Sources/SwiftAstro/SwiftAstro.swift:4:23: warning: static property 'brightStarCatalog' is not concurrency-safe because it is non-isolated 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 non-isolated 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 | }
/host/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 | )
/host/spi-builder-workspace/Sources/SwiftAstro/Utility/Utility+NumberFormatting.swift:21:16: warning: static property 'twoNumberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
19 | /// A number formatter that guarantees at least two integer digits with no
20 | /// fractional part. For example: 19, 05, 201.
21 | static let twoNumberFormatter: NumberFormatter = {
| `- warning: static property 'twoNumberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
22 | let nf = NumberFormatter()
23 | nf.minimumIntegerDigits = 2
Foundation.NumberFormatter:1:12: note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
1 | open class NumberFormatter : Formatter {
| `- note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
2 | override open func copy(with zone: NSZone? = nil) -> Any
3 | open var formattingContext: Formatter.Context
/host/spi-builder-workspace/Sources/SwiftAstro/Utility/Utility+NumberFormatting.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
1 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
2 |
3 | // MARK: - Number Formatters
:
19 | /// A number formatter that guarantees at least two integer digits with no
20 | /// fractional part. For example: 19, 05, 201.
21 | static let twoNumberFormatter: NumberFormatter = {
| |- note: annotate 'twoNumberFormatter' 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 | let nf = NumberFormatter()
23 | nf.minimumIntegerDigits = 2
/host/spi-builder-workspace/Sources/SwiftAstro/Utility/Utility+NumberFormatting.swift:9:16: warning: static property 'fractionNumberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
7 | /// A number formatter that guarantees two integer digits and three fraction digits.
8 | /// For example: 19.280, 05.418.
9 | static let fractionNumberFormatter: NumberFormatter = {
| |- warning: static property 'fractionNumberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fractionNumberFormatter' 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
10 | let nf = NumberFormatter()
11 | nf.minimumIntegerDigits = 2
Foundation.NumberFormatter:1:12: note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
1 | open class NumberFormatter : Formatter {
| `- note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
2 | override open func copy(with zone: NSZone? = nil) -> Any
3 | open var formattingContext: Formatter.Context
/host/spi-builder-workspace/Sources/SwiftAstro/Utility/Utility+NumberFormatting.swift:31:16: warning: static property 'threeNumberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
29 | /// A number formatter that guarantees at least three integer digits with no
30 | /// fractional part. For example: 019, 005, 201.
31 | static let threeNumberFormatter: NumberFormatter = {
| |- warning: static property 'threeNumberFormatter' is not concurrency-safe because non-'Sendable' type 'NumberFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'threeNumberFormatter' 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
32 | let nf = NumberFormatter()
33 | nf.minimumIntegerDigits = 3
Foundation.NumberFormatter:1:12: note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
1 | open class NumberFormatter : Formatter {
| `- note: class 'NumberFormatter' does not conform to the 'Sendable' protocol
2 | override open func copy(with zone: NSZone? = nil) -> Any
3 | open var formattingContext: Formatter.Context
[33/38] Compiling SwiftAstro Distance.swift
/host/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 |
/host/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 | )
[34/38] Compiling SwiftAstro SphericalPosition.swift
/host/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 |
/host/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 | )
[35/38] Compiling SwiftAstro Time+Ecliptic.swift
/host/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 |
/host/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 | )
[36/38] Compiling SwiftAstro Positionable+Geocentric.swift
/host/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 |
/host/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 | }
[37/38] Compiling SwiftAstro Positionable.swift
/host/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 |
/host/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 | }
[38/38] Compiling SwiftAstro Sun.swift
/host/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 |
/host/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 | }
Build complete! (15.81s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SwiftAstro",
"name" : "SwiftAstro",
"path" : "/host/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" : "/host/spi-builder-workspace/Sources/SwiftAstro/Resources/VSOP87B.ven",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/SwiftAstro/Resources/VSOP87B.jup",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/SwiftAstro/Resources/VSOP87B.ear",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/SwiftAstro/Resources/VSOP87B.mer",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/SwiftAstro/Resources/VSOP87B.mar",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/SwiftAstro/Resources/VSOP87B.ura",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/SwiftAstro/Resources/VSOP87B.sat",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/SwiftAstro/Resources/yale-bright-star-notes.txt",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/SwiftAstro/Resources/VSOP87B.nep",
"rule" : {
"process" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/SwiftAstro/Resources/yale-bright-star-catalog.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.