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 Linux on 15 Sep 2024 09:26:05 UTC.

Swift 6 data race errors: 5

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" 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.53.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/behrouzz/FAWS.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/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:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/behrouzz/FAWS.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" 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
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:9d7dab235f2b0b46edadd73b1fb0c3b5323df02053420324a4a2f8ca89cb54a5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/13] Compiling FAWS MainFaws.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/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'
/host/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'
/host/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'
/host/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'
/host/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
[4/13] Compiling FAWS Matrix.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/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'
/host/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'
/host/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
[5/14] Compiling FAWS GeoGnoEclGalHor.swift
[6/14] Compiling FAWS Ephemerides.swift
[7/14] Compiling FAWS PrecNutPol.swift
[8/14] Compiling FAWS CalTime.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/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'
/host/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
[9/14] Compiling FAWS CatalogConv.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/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'
/host/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
[10/14] Compiling FAWS DataNut.swift
[11/14] Compiling FAWS DataXY.swift
[12/14] Emitting module FAWS
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/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'
/host/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'
/host/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'
/host/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'
/host/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
[13/14] Compiling FAWS Astrometry.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/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'
/host/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'
/host/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'
/host/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'
/host/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 | }
[14/14] Compiling FAWS Basics.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/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'
/host/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'
/host/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'
/host/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'
/host/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 | }
Build complete! (50.75s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "FAWS",
  "name" : "FAWS",
  "path" : "/host/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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:9d7dab235f2b0b46edadd73b1fb0c3b5323df02053420324a4a2f8ca89cb54a5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.