The Swift Package Index logo.Swift Package Index

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

Build Information

Successful build of FAWS, reference main (dbf023), with Swift 6.0 for macOS (SPM) on 15 Sep 2024 09:34:47 UTC.

Swift 6 data race errors: 5

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.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.53.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/behrouzz/FAWS.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/behrouzz/FAWS
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at dbf0232 make vars public for both structs
Cloned https://github.com/behrouzz/FAWS.git
Revision (git rev-parse @):
dbf0232bd7b0925ebeee31516b03668a61f3ddf6
SUCCESS checkout https://github.com/behrouzz/FAWS.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/behrouzz/FAWS.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-117DEE11B69C53C9.txt
[3/13] Compiling FAWS Matrix.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/FAWS/Basics.swift:32:5: warning: let 'adsDsign' is not concurrency-safe because non-'Sendable' type '(Double, Double) -> Double' may have shared mutable state; this is an error in the Swift 6 language mode
 30 | let adsDint = { $0 < 0.0 ? ceil($0) : floor($0) }
 31 | let adsDnint = { abs($0) < 0.5 ? 0.0 : ( $0 < 0.0 ? ceil(($0) - 0.5) : floor($0 + 0.5 )) }
 32 | let adsDsign = { (a: Double, b: Double) -> Double in
    |     |- warning: let 'adsDsign' is not concurrency-safe because non-'Sendable' type '(Double, Double) -> Double' may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: annotate 'adsDsign' 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
 33 |     b < 0.0 ? -1.0 * abs(a) : abs(a)
 34 | }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/FAWS/Basics.swift:31:5: warning: let 'adsDnint' is not concurrency-safe because non-'Sendable' type '(Double) -> Double' may have shared mutable state; this is an error in the Swift 6 language mode
 29 | let adsSRS = 1.97412574336e-8
 30 | let adsDint = { $0 < 0.0 ? ceil($0) : floor($0) }
 31 | let adsDnint = { abs($0) < 0.5 ? 0.0 : ( $0 < 0.0 ? ceil(($0) - 0.5) : floor($0 + 0.5 )) }
    |     |- warning: let 'adsDnint' is not concurrency-safe because non-'Sendable' type '(Double) -> Double' may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: annotate 'adsDnint' 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 adsDsign = { (a: Double, b: Double) -> Double in
 33 |     b < 0.0 ? -1.0 * abs(a) : abs(a)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/FAWS/Basics.swift:30:5: warning: let 'adsDint' is not concurrency-safe because non-'Sendable' type '(Double) -> Double' may have shared mutable state; this is an error in the Swift 6 language mode
 28 | let adsTDB0 = -6.55e-5
 29 | let adsSRS = 1.97412574336e-8
 30 | let adsDint = { $0 < 0.0 ? ceil($0) : floor($0) }
    |     |- warning: let 'adsDint' is not concurrency-safe because non-'Sendable' type '(Double) -> Double' may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: annotate 'adsDint' 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
 31 | let adsDnint = { abs($0) < 0.5 ? 0.0 : ( $0 < 0.0 ? ceil(($0) - 0.5) : floor($0 + 0.5 )) }
 32 | let adsDsign = { (a: Double, b: Double) -> Double in
[4/13] Compiling FAWS GeoGnoEclGalHor.swift
[5/14] Compiling FAWS DataNut.swift
[6/14] Compiling FAWS CalTime.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/FAWS/Basics.swift:31:5: warning: let 'adsDnint' is not concurrency-safe because non-'Sendable' type '(Double) -> Double' may have shared mutable state; this is an error in the Swift 6 language mode
 29 | let adsSRS = 1.97412574336e-8
 30 | let adsDint = { $0 < 0.0 ? ceil($0) : floor($0) }
 31 | let adsDnint = { abs($0) < 0.5 ? 0.0 : ( $0 < 0.0 ? ceil(($0) - 0.5) : floor($0 + 0.5 )) }
    |     |- warning: let 'adsDnint' is not concurrency-safe because non-'Sendable' type '(Double) -> Double' may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: annotate 'adsDnint' 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 adsDsign = { (a: Double, b: Double) -> Double in
 33 |     b < 0.0 ? -1.0 * abs(a) : abs(a)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/FAWS/Basics.swift:35:5: warning: let 'adsGmax' is not concurrency-safe because non-'Sendable' type '(Double, Double) -> Double' may have shared mutable state; this is an error in the Swift 6 language mode
 33 |     b < 0.0 ? -1.0 * abs(a) : abs(a)
 34 | }
 35 | let adsGmax = { (a: Double, b: Double) -> Double in a > b ? a : b }
    |     |- warning: let 'adsGmax' is not concurrency-safe because non-'Sendable' type '(Double, Double) -> Double' may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: annotate 'adsGmax' 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
 36 | let adsGmin = { (a: Double, b: Double) -> Double in a < b ? a : b }
 37 | let adsWGS84 = 1
[7/14] Emitting module FAWS
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/FAWS/Basics.swift:30:5: warning: let 'adsDint' is not concurrency-safe because non-'Sendable' type '(Double) -> Double' may have shared mutable state; this is an error in the Swift 6 language mode
 28 | let adsTDB0 = -6.55e-5
 29 | let adsSRS = 1.97412574336e-8
 30 | let adsDint = { $0 < 0.0 ? ceil($0) : floor($0) }
    |     |- warning: let 'adsDint' is not concurrency-safe because non-'Sendable' type '(Double) -> Double' may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: annotate 'adsDint' 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
 31 | let adsDnint = { abs($0) < 0.5 ? 0.0 : ( $0 < 0.0 ? ceil(($0) - 0.5) : floor($0 + 0.5 )) }
 32 | let adsDsign = { (a: Double, b: Double) -> Double in
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/FAWS/Basics.swift:31:5: warning: let 'adsDnint' is not concurrency-safe because non-'Sendable' type '(Double) -> Double' may have shared mutable state; this is an error in the Swift 6 language mode
 29 | let adsSRS = 1.97412574336e-8
 30 | let adsDint = { $0 < 0.0 ? ceil($0) : floor($0) }
 31 | let adsDnint = { abs($0) < 0.5 ? 0.0 : ( $0 < 0.0 ? ceil(($0) - 0.5) : floor($0 + 0.5 )) }
    |     |- warning: let 'adsDnint' is not concurrency-safe because non-'Sendable' type '(Double) -> Double' may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: annotate 'adsDnint' 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 adsDsign = { (a: Double, b: Double) -> Double in
 33 |     b < 0.0 ? -1.0 * abs(a) : abs(a)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/FAWS/Basics.swift:32:5: warning: let 'adsDsign' is not concurrency-safe because non-'Sendable' type '(Double, Double) -> Double' may have shared mutable state; this is an error in the Swift 6 language mode
 30 | let adsDint = { $0 < 0.0 ? ceil($0) : floor($0) }
 31 | let adsDnint = { abs($0) < 0.5 ? 0.0 : ( $0 < 0.0 ? ceil(($0) - 0.5) : floor($0 + 0.5 )) }
 32 | let adsDsign = { (a: Double, b: Double) -> Double in
    |     |- warning: let 'adsDsign' is not concurrency-safe because non-'Sendable' type '(Double, Double) -> Double' may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: annotate 'adsDsign' 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
 33 |     b < 0.0 ? -1.0 * abs(a) : abs(a)
 34 | }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/FAWS/Basics.swift:35:5: warning: let 'adsGmax' is not concurrency-safe because non-'Sendable' type '(Double, Double) -> Double' may have shared mutable state; this is an error in the Swift 6 language mode
 33 |     b < 0.0 ? -1.0 * abs(a) : abs(a)
 34 | }
 35 | let adsGmax = { (a: Double, b: Double) -> Double in a > b ? a : b }
    |     |- warning: let 'adsGmax' is not concurrency-safe because non-'Sendable' type '(Double, Double) -> Double' may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: annotate 'adsGmax' 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
 36 | let adsGmin = { (a: Double, b: Double) -> Double in a < b ? a : b }
 37 | let adsWGS84 = 1
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/FAWS/Basics.swift:36:5: warning: let 'adsGmin' is not concurrency-safe because non-'Sendable' type '(Double, Double) -> Double' may have shared mutable state; this is an error in the Swift 6 language mode
 34 | }
 35 | let adsGmax = { (a: Double, b: Double) -> Double in a > b ? a : b }
 36 | let adsGmin = { (a: Double, b: Double) -> Double in a < b ? a : b }
    |     |- warning: let 'adsGmin' is not concurrency-safe because non-'Sendable' type '(Double, Double) -> Double' may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: annotate 'adsGmin' 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
 37 | let adsWGS84 = 1
 38 | let adsGRS80 = 2
[8/14] Compiling FAWS Ephemerides.swift
[9/14] Compiling FAWS CatalogConv.swift
[10/14] Compiling FAWS Astrometry.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/FAWS/Basics.swift:35:5: warning: let 'adsGmax' is not concurrency-safe because non-'Sendable' type '(Double, Double) -> Double' may have shared mutable state; this is an error in the Swift 6 language mode
 33 |     b < 0.0 ? -1.0 * abs(a) : abs(a)
 34 | }
 35 | let adsGmax = { (a: Double, b: Double) -> Double in a > b ? a : b }
    |     |- warning: let 'adsGmax' is not concurrency-safe because non-'Sendable' type '(Double, Double) -> Double' may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: annotate 'adsGmax' 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
 36 | let adsGmin = { (a: Double, b: Double) -> Double in a < b ? a : b }
 37 | let adsWGS84 = 1
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/FAWS/Basics.swift:36:5: warning: let 'adsGmin' is not concurrency-safe because non-'Sendable' type '(Double, Double) -> Double' may have shared mutable state; this is an error in the Swift 6 language mode
 34 | }
 35 | let adsGmax = { (a: Double, b: Double) -> Double in a > b ? a : b }
 36 | let adsGmin = { (a: Double, b: Double) -> Double in a < b ? a : b }
    |     |- warning: let 'adsGmin' is not concurrency-safe because non-'Sendable' type '(Double, Double) -> Double' may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: annotate 'adsGmin' 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
 37 | let adsWGS84 = 1
 38 | let adsGRS80 = 2
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/FAWS/Basics.swift:30:5: warning: let 'adsDint' is not concurrency-safe because non-'Sendable' type '(Double) -> Double' may have shared mutable state; this is an error in the Swift 6 language mode
 28 | let adsTDB0 = -6.55e-5
 29 | let adsSRS = 1.97412574336e-8
 30 | let adsDint = { $0 < 0.0 ? ceil($0) : floor($0) }
    |     |- warning: let 'adsDint' is not concurrency-safe because non-'Sendable' type '(Double) -> Double' may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: annotate 'adsDint' 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
 31 | let adsDnint = { abs($0) < 0.5 ? 0.0 : ( $0 < 0.0 ? ceil(($0) - 0.5) : floor($0 + 0.5 )) }
 32 | let adsDsign = { (a: Double, b: Double) -> Double in
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/FAWS/Basics.swift:31:5: warning: let 'adsDnint' is not concurrency-safe because non-'Sendable' type '(Double) -> Double' may have shared mutable state; this is an error in the Swift 6 language mode
 29 | let adsSRS = 1.97412574336e-8
 30 | let adsDint = { $0 < 0.0 ? ceil($0) : floor($0) }
 31 | let adsDnint = { abs($0) < 0.5 ? 0.0 : ( $0 < 0.0 ? ceil(($0) - 0.5) : floor($0 + 0.5 )) }
    |     |- warning: let 'adsDnint' is not concurrency-safe because non-'Sendable' type '(Double) -> Double' may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: annotate 'adsDnint' 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 adsDsign = { (a: Double, b: Double) -> Double in
 33 |     b < 0.0 ? -1.0 * abs(a) : abs(a)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/FAWS/Basics.swift:32:5: warning: let 'adsDsign' is not concurrency-safe because non-'Sendable' type '(Double, Double) -> Double' may have shared mutable state; this is an error in the Swift 6 language mode
 30 | let adsDint = { $0 < 0.0 ? ceil($0) : floor($0) }
 31 | let adsDnint = { abs($0) < 0.5 ? 0.0 : ( $0 < 0.0 ? ceil(($0) - 0.5) : floor($0 + 0.5 )) }
 32 | let adsDsign = { (a: Double, b: Double) -> Double in
    |     |- warning: let 'adsDsign' is not concurrency-safe because non-'Sendable' type '(Double, Double) -> Double' may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: annotate 'adsDsign' 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
 33 |     b < 0.0 ? -1.0 * abs(a) : abs(a)
 34 | }
[11/14] Compiling FAWS Basics.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/FAWS/Basics.swift:35:5: warning: let 'adsGmax' is not concurrency-safe because non-'Sendable' type '(Double, Double) -> Double' may have shared mutable state; this is an error in the Swift 6 language mode
 33 |     b < 0.0 ? -1.0 * abs(a) : abs(a)
 34 | }
 35 | let adsGmax = { (a: Double, b: Double) -> Double in a > b ? a : b }
    |     |- warning: let 'adsGmax' is not concurrency-safe because non-'Sendable' type '(Double, Double) -> Double' may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: annotate 'adsGmax' 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
 36 | let adsGmin = { (a: Double, b: Double) -> Double in a < b ? a : b }
 37 | let adsWGS84 = 1
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/FAWS/Basics.swift:36:5: warning: let 'adsGmin' is not concurrency-safe because non-'Sendable' type '(Double, Double) -> Double' may have shared mutable state; this is an error in the Swift 6 language mode
 34 | }
 35 | let adsGmax = { (a: Double, b: Double) -> Double in a > b ? a : b }
 36 | let adsGmin = { (a: Double, b: Double) -> Double in a < b ? a : b }
    |     |- warning: let 'adsGmin' is not concurrency-safe because non-'Sendable' type '(Double, Double) -> Double' may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: annotate 'adsGmin' 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
 37 | let adsWGS84 = 1
 38 | let adsGRS80 = 2
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/FAWS/Basics.swift:30:5: warning: let 'adsDint' is not concurrency-safe because non-'Sendable' type '(Double) -> Double' may have shared mutable state; this is an error in the Swift 6 language mode
 28 | let adsTDB0 = -6.55e-5
 29 | let adsSRS = 1.97412574336e-8
 30 | let adsDint = { $0 < 0.0 ? ceil($0) : floor($0) }
    |     |- warning: let 'adsDint' is not concurrency-safe because non-'Sendable' type '(Double) -> Double' may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: annotate 'adsDint' 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
 31 | let adsDnint = { abs($0) < 0.5 ? 0.0 : ( $0 < 0.0 ? ceil(($0) - 0.5) : floor($0 + 0.5 )) }
 32 | let adsDsign = { (a: Double, b: Double) -> Double in
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/FAWS/Basics.swift:31:5: warning: let 'adsDnint' is not concurrency-safe because non-'Sendable' type '(Double) -> Double' may have shared mutable state; this is an error in the Swift 6 language mode
 29 | let adsSRS = 1.97412574336e-8
 30 | let adsDint = { $0 < 0.0 ? ceil($0) : floor($0) }
 31 | let adsDnint = { abs($0) < 0.5 ? 0.0 : ( $0 < 0.0 ? ceil(($0) - 0.5) : floor($0 + 0.5 )) }
    |     |- warning: let 'adsDnint' is not concurrency-safe because non-'Sendable' type '(Double) -> Double' may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: annotate 'adsDnint' 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 adsDsign = { (a: Double, b: Double) -> Double in
 33 |     b < 0.0 ? -1.0 * abs(a) : abs(a)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/FAWS/Basics.swift:32:5: warning: let 'adsDsign' is not concurrency-safe because non-'Sendable' type '(Double, Double) -> Double' may have shared mutable state; this is an error in the Swift 6 language mode
 30 | let adsDint = { $0 < 0.0 ? ceil($0) : floor($0) }
 31 | let adsDnint = { abs($0) < 0.5 ? 0.0 : ( $0 < 0.0 ? ceil(($0) - 0.5) : floor($0 + 0.5 )) }
 32 | let adsDsign = { (a: Double, b: Double) -> Double in
    |     |- warning: let 'adsDsign' is not concurrency-safe because non-'Sendable' type '(Double, Double) -> Double' may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: annotate 'adsDsign' 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
 33 |     b < 0.0 ? -1.0 * abs(a) : abs(a)
 34 | }
[12/14] Compiling FAWS DataXY.swift
[13/14] Compiling FAWS MainFaws.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/FAWS/Basics.swift:30:5: warning: let 'adsDint' is not concurrency-safe because non-'Sendable' type '(Double) -> Double' may have shared mutable state; this is an error in the Swift 6 language mode
 28 | let adsTDB0 = -6.55e-5
 29 | let adsSRS = 1.97412574336e-8
 30 | let adsDint = { $0 < 0.0 ? ceil($0) : floor($0) }
    |     |- warning: let 'adsDint' is not concurrency-safe because non-'Sendable' type '(Double) -> Double' may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: annotate 'adsDint' 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
 31 | let adsDnint = { abs($0) < 0.5 ? 0.0 : ( $0 < 0.0 ? ceil(($0) - 0.5) : floor($0 + 0.5 )) }
 32 | let adsDsign = { (a: Double, b: Double) -> Double in
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/FAWS/Basics.swift:31:5: warning: let 'adsDnint' is not concurrency-safe because non-'Sendable' type '(Double) -> Double' may have shared mutable state; this is an error in the Swift 6 language mode
 29 | let adsSRS = 1.97412574336e-8
 30 | let adsDint = { $0 < 0.0 ? ceil($0) : floor($0) }
 31 | let adsDnint = { abs($0) < 0.5 ? 0.0 : ( $0 < 0.0 ? ceil(($0) - 0.5) : floor($0 + 0.5 )) }
    |     |- warning: let 'adsDnint' is not concurrency-safe because non-'Sendable' type '(Double) -> Double' may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: annotate 'adsDnint' 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 adsDsign = { (a: Double, b: Double) -> Double in
 33 |     b < 0.0 ? -1.0 * abs(a) : abs(a)
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/FAWS/Basics.swift:32:5: warning: let 'adsDsign' is not concurrency-safe because non-'Sendable' type '(Double, Double) -> Double' may have shared mutable state; this is an error in the Swift 6 language mode
 30 | let adsDint = { $0 < 0.0 ? ceil($0) : floor($0) }
 31 | let adsDnint = { abs($0) < 0.5 ? 0.0 : ( $0 < 0.0 ? ceil(($0) - 0.5) : floor($0 + 0.5 )) }
 32 | let adsDsign = { (a: Double, b: Double) -> Double in
    |     |- warning: let 'adsDsign' is not concurrency-safe because non-'Sendable' type '(Double, Double) -> Double' may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: annotate 'adsDsign' 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
 33 |     b < 0.0 ? -1.0 * abs(a) : abs(a)
 34 | }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/FAWS/Basics.swift:35:5: warning: let 'adsGmax' is not concurrency-safe because non-'Sendable' type '(Double, Double) -> Double' may have shared mutable state; this is an error in the Swift 6 language mode
 33 |     b < 0.0 ? -1.0 * abs(a) : abs(a)
 34 | }
 35 | let adsGmax = { (a: Double, b: Double) -> Double in a > b ? a : b }
    |     |- warning: let 'adsGmax' is not concurrency-safe because non-'Sendable' type '(Double, Double) -> Double' may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: annotate 'adsGmax' 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
 36 | let adsGmin = { (a: Double, b: Double) -> Double in a < b ? a : b }
 37 | let adsWGS84 = 1
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/FAWS/Basics.swift:36:5: warning: let 'adsGmin' is not concurrency-safe because non-'Sendable' type '(Double, Double) -> Double' may have shared mutable state; this is an error in the Swift 6 language mode
 34 | }
 35 | let adsGmax = { (a: Double, b: Double) -> Double in a > b ? a : b }
 36 | let adsGmin = { (a: Double, b: Double) -> Double in a < b ? a : b }
    |     |- warning: let 'adsGmin' is not concurrency-safe because non-'Sendable' type '(Double, Double) -> Double' may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: annotate 'adsGmin' 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
 37 | let adsWGS84 = 1
 38 | let adsGRS80 = 2
[14/14] Compiling FAWS PrecNutPol.swift
Build complete! (13.71s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "FAWS",
  "name" : "FAWS",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "FAWS",
      "targets" : [
        "FAWS"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FAWS",
      "module_type" : "SwiftTarget",
      "name" : "FAWS",
      "path" : "Sources/FAWS",
      "product_memberships" : [
        "FAWS"
      ],
      "sources" : [
        "Astrometry.swift",
        "Basics.swift",
        "CalTime.swift",
        "CatalogConv.swift",
        "DataNut.swift",
        "DataXY.swift",
        "Ephemerides.swift",
        "GeoGnoEclGalHor.swift",
        "MainFaws.swift",
        "Matrix.swift",
        "PrecNutPol.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.4"
}
Done.