Build Information
Successful build of Kronos, reference 4.3.1 (f33182
), with Swift 6.0 for macOS (SPM) on 1 Dec 2024 04:03:37 UTC.
Swift 6 data race errors: 2
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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MobileNativeFoundation/Kronos.git
Reference: 4.3.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/MobileNativeFoundation/Kronos
* tag 4.3.1 -> FETCH_HEAD
HEAD is now at f331821 Include PrivacyInfo.xcprivacy manifest on Krono's target from Kronos.xcodeproj (#117)
Cloned https://github.com/MobileNativeFoundation/Kronos.git
Revision (git rev-parse @):
f331821314f9b35867a18c5c8fc2f918536d79ac
SUCCESS checkout https://github.com/MobileNativeFoundation/Kronos.git at 4.3.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": "kronos",
"name": "Kronos",
"url": "https://github.com/MobileNativeFoundation/Kronos.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Kronos",
"dependencies": [
]
}
]
}
Fetching https://github.com/MobileNativeFoundation/Kronos.git
[1/1175] Fetching kronos
Fetched https://github.com/MobileNativeFoundation/Kronos.git from cache (0.90s)
Creating working copy for https://github.com/MobileNativeFoundation/Kronos.git
Working copy of https://github.com/MobileNativeFoundation/Kronos.git resolved at 4.3.1 (f331821)
warning: '.resolve-product-dependencies': dependency 'kronos' 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/MobileNativeFoundation/Kronos.git
{
"dependencies" : [
],
"manifest_display_name" : "Kronos",
"name" : "Kronos",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Kronos",
"targets" : [
"Kronos"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "KronosTests",
"module_type" : "SwiftTarget",
"name" : "KronosTests",
"path" : "Tests/KronosTests",
"sources" : [
"ClockTests.swift",
"DNSResolverTests.swift",
"NTPClientTests.swift",
"NTPPacketTests.swift",
"TimeStorageTests.swift"
],
"target_dependencies" : [
"Kronos"
],
"type" : "test"
},
{
"c99name" : "Kronos",
"module_type" : "SwiftTarget",
"name" : "Kronos",
"path" : "Sources",
"product_memberships" : [
"Kronos"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/PrivacyInfo.xcprivacy",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Clock.swift",
"DNSResolver.swift",
"Data+Bytes.swift",
"InternetAddress.swift",
"NSTimer+ClosureKit.swift",
"NTPClient.swift",
"NTPPacket.swift",
"NTPProtocol.swift",
"TimeFreeze.swift",
"TimeStorage.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/3] Write sources
[1/3] Copying PrivacyInfo.xcprivacy
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/14] Compiling Kronos NTPProtocol.swift
[5/14] Compiling Kronos TimeFreeze.swift
[6/15] Compiling Kronos NTPPacket.swift
[7/15] Compiling Kronos NTPClient.swift
[8/15] Compiling Kronos TimeStorage.swift
[9/15] Compiling Kronos NSTimer+ClosureKit.swift
[10/15] Compiling Kronos InternetAddress.swift
[11/15] Compiling Kronos Clock.swift
/Users/admin/builder/spi-builder-workspace/Sources/Clock.swift:28:24: warning: static property 'stableTime' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | /// ```
27 | public struct Clock {
28 | private static var stableTime: TimeFreeze? {
| |- warning: static property 'stableTime' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'stableTime' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'stableTime' 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
29 | didSet {
30 | self.storage.stableTime = self.stableTime
/Users/admin/builder/spi-builder-workspace/Sources/Clock.swift:36:23: warning: static property 'storage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 | /// Determines where the most current stable time is stored. Use TimeStoragePolicy.appGroup to share
35 | /// between your app and an extension.
36 | public static var storage = TimeStorage(storagePolicy: .standard)
| |- warning: static property 'storage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'storage' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'storage' 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 |
38 | /// The most accurate timestamp that we have so far (nil if no synchronization was done yet)
[12/15] Compiling Kronos DNSResolver.swift
/Users/admin/builder/spi-builder-workspace/Sources/Clock.swift:28:24: warning: static property 'stableTime' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | /// ```
27 | public struct Clock {
28 | private static var stableTime: TimeFreeze? {
| |- warning: static property 'stableTime' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'stableTime' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'stableTime' 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
29 | didSet {
30 | self.storage.stableTime = self.stableTime
/Users/admin/builder/spi-builder-workspace/Sources/Clock.swift:36:23: warning: static property 'storage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 | /// Determines where the most current stable time is stored. Use TimeStoragePolicy.appGroup to share
35 | /// between your app and an extension.
36 | public static var storage = TimeStorage(storagePolicy: .standard)
| |- warning: static property 'storage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'storage' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'storage' 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 |
38 | /// The most accurate timestamp that we have so far (nil if no synchronization was done yet)
[13/15] Emitting module Kronos
/Users/admin/builder/spi-builder-workspace/Sources/Clock.swift:28:24: warning: static property 'stableTime' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | /// ```
27 | public struct Clock {
28 | private static var stableTime: TimeFreeze? {
| |- warning: static property 'stableTime' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'stableTime' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'stableTime' 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
29 | didSet {
30 | self.storage.stableTime = self.stableTime
/Users/admin/builder/spi-builder-workspace/Sources/Clock.swift:36:23: warning: static property 'storage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
34 | /// Determines where the most current stable time is stored. Use TimeStoragePolicy.appGroup to share
35 | /// between your app and an extension.
36 | public static var storage = TimeStorage(storagePolicy: .standard)
| |- warning: static property 'storage' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'storage' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'storage' 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 |
38 | /// The most accurate timestamp that we have so far (nil if no synchronization was done yet)
[14/15] Compiling Kronos Data+Bytes.swift
[15/15] Compiling Kronos resource_bundle_accessor.swift
Build complete! (13.38s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Kronos",
"name" : "Kronos",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Kronos",
"targets" : [
"Kronos"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "KronosTests",
"module_type" : "SwiftTarget",
"name" : "KronosTests",
"path" : "Tests/KronosTests",
"sources" : [
"ClockTests.swift",
"DNSResolverTests.swift",
"NTPClientTests.swift",
"NTPPacketTests.swift",
"TimeStorageTests.swift"
],
"target_dependencies" : [
"Kronos"
],
"type" : "test"
},
{
"c99name" : "Kronos",
"module_type" : "SwiftTarget",
"name" : "Kronos",
"path" : "Sources",
"product_memberships" : [
"Kronos"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/PrivacyInfo.xcprivacy",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Clock.swift",
"DNSResolver.swift",
"Data+Bytes.swift",
"InternetAddress.swift",
"NSTimer+ClosureKit.swift",
"NTPClient.swift",
"NTPPacket.swift",
"NTPProtocol.swift",
"TimeFreeze.swift",
"TimeStorage.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.