Build Information
Successful build of SunKit, reference 2.8.1 (086d34
), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 17:20:44 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: 2.8.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Sunlitt/SunKit
* tag 2.8.1 -> FETCH_HEAD
HEAD is now at 086d345 fix-wrong-solar-midnight (#53)
Cloned https://github.com/Sunlitt/SunKit.git
Revision (git rev-parse @):
086d345cd9886b037ae0af0db49fcaf849acb887
SUCCESS checkout https://github.com/Sunlitt/SunKit.git at 2.8.1
========================================
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/859] Fetching sunkit
Fetched https://github.com/Sunlitt/SunKit.git from cache (0.97s)
Creating working copy for https://github.com/Sunlitt/SunKit.git
Working copy of https://github.com/Sunlitt/SunKit.git resolved at 2.8.1 (086d345)
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] 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() {
/Users/admin/builder/spi-builder-workspace/Sources/SunKit/Extensions.swift:22:1: warning: extension declares a conformance of imported type 'Date' to imported protocol 'Strideable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
20 |
21 | //It consents us too loop between two dates for n as interval time
22 | extension Date: Strideable {
| |- warning: extension declares a conformance of imported type 'Date' to imported protocol 'Strideable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
23 | public func distance(to other: Date) -> TimeInterval {
24 | return other.timeIntervalSinceReferenceDate - self.timeIntervalSinceReferenceDate
[5/13] Compiling SunKit EquatorialCoordinates.swift
[6/13] Compiling SunKit HMS.swift
[7/13] Compiling SunKit DMS.swift
[8/13] Compiling SunKit Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/SunKit/Extensions.swift:22:1: warning: extension declares a conformance of imported type 'Date' to imported protocol 'Strideable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
20 |
21 | //It consents us too loop between two dates for n as interval time
22 | extension Date: Strideable {
| |- warning: extension declares a conformance of imported type 'Date' to imported protocol 'Strideable'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
23 | public func distance(to other: Date) -> TimeInterval {
24 | return other.timeIntervalSinceReferenceDate - self.timeIntervalSinceReferenceDate
[9/13] Compiling SunKit EclipticCoordinates.swift
[10/13] Compiling SunKit HorizonCoordinates.swift
[11/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() {
[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! (16.12s)
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.