Build Information
Successful build of SunKit, reference main (a18a6f
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 12:45:55 UTC.
Swift 6 data race errors: 1
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Sunlitt/SunKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Sunlitt/SunKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at a18a6f7 Created SunKit.yml (#56)
Cloned https://github.com/Sunlitt/SunKit.git
Revision (git rev-parse @):
a18a6f780770680f4f2ffe3488a1f3b335ec5ff6
SUCCESS checkout https://github.com/Sunlitt/SunKit.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "sunkit",
"name": "SunKit",
"url": "https://github.com/Sunlitt/SunKit.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SunKit",
"dependencies": [
]
}
]
}
Fetching https://github.com/Sunlitt/SunKit.git
[1/870] Fetching sunkit
Fetched https://github.com/Sunlitt/SunKit.git from cache (0.96s)
Creating working copy for https://github.com/Sunlitt/SunKit.git
Working copy of https://github.com/Sunlitt/SunKit.git resolved at main (a18a6f7)
warning: '.resolve-product-dependencies': dependency 'sunkit' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/Sunlitt/SunKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/12] Compiling SunKit SunElevationEvents.swift
[4/13] Compiling SunKit Extensions.swift
[5/13] Compiling SunKit EclipticCoordinates.swift
[6/13] Compiling SunKit DMS.swift
[7/13] Emitting module SunKit
/Users/admin/builder/spi-builder-workspace/Sources/SunKit/Angle.swift:24:23: warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | public struct Angle: Equatable, Hashable, Codable, Sendable {
23 |
24 | public static var zero: Angle = .init()
| |- warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'zero' to a 'let' constant to make 'Sendable' shared state immutable
| |- 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
25 |
26 | public init() {
[8/13] Compiling SunKit Angle.swift
/Users/admin/builder/spi-builder-workspace/Sources/SunKit/Angle.swift:24:23: warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | public struct Angle: Equatable, Hashable, Codable, Sendable {
23 |
24 | public static var zero: Angle = .init()
| |- warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'zero' to a 'let' constant to make 'Sendable' shared state immutable
| |- 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
25 |
26 | public init() {
[9/13] Compiling SunKit HMS.swift
[10/13] Compiling SunKit EquatorialCoordinates.swift
[11/13] Compiling SunKit HorizonCoordinates.swift
[12/13] Compiling SunKit Sun.swift
/Users/admin/builder/spi-builder-workspace/Sources/SunKit/Angle.swift:24:23: warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | public struct Angle: Equatable, Hashable, Codable, Sendable {
23 |
24 | public static var zero: Angle = .init()
| |- warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'zero' to a 'let' constant to make 'Sendable' shared state immutable
| |- 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
25 |
26 | public init() {
[13/13] Compiling SunKit Utils.swift
Build complete! (15.79s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SunKit",
"name" : "SunKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "12.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "SunKit",
"targets" : [
"SunKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SunKitTests",
"module_type" : "SwiftTarget",
"name" : "SunKitTests",
"path" : "Tests/SunKitTests",
"sources" : [
"UT_DMS.swift",
"UT_EclipticCoordinates.swift",
"UT_EquatorialCoordinates.swift",
"UT_HMS.swift",
"UT_HorizonCoordinates.swift",
"UT_Sun.swift",
"UT_Utils.swift"
],
"target_dependencies" : [
"SunKit"
],
"type" : "test"
},
{
"c99name" : "SunKit",
"module_type" : "SwiftTarget",
"name" : "SunKit",
"path" : "Sources/SunKit",
"product_memberships" : [
"SunKit"
],
"sources" : [
"Angle.swift",
"DMS.swift",
"EclipticCoordinates.swift",
"EquatorialCoordinates.swift",
"Extensions.swift",
"HMS.swift",
"HorizonCoordinates.swift",
"Sun.swift",
"SunElevationEvents.swift",
"Utils.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.