Build Information
Successful build of AERecord with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 1
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tadija/AERecord.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/tadija/AERecord
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 105ad07 Merge branch 'develop'
Cloned https://github.com/tadija/AERecord.git
Revision (git rev-parse @):
105ad07a0b5b317c65f3670836f2ba48083dcf6b
SUCCESS checkout https://github.com/tadija/AERecord.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/tadija/AERecord.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a 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-6F35C1178C84523A.txt
[3/6] Compiling AERecord AERecord.swift
/Users/admin/builder/spi-builder-workspace/Sources/AERecord/Stack.swift:14:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Stack' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// This internal class is core of AERecord as it configures and accesses Core Data Stack.
10 | public class Stack {
| `- note: class 'Stack' does not conform to the 'Sendable' protocol
11 |
12 | // MARK: - Singleton
13 |
14 | static let shared = Stack()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Stack' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
15 |
16 | // MARK: - Defaults
[4/6] Emitting module AERecord
/Users/admin/builder/spi-builder-workspace/Sources/AERecord/Query.swift:54:5: warning: 'public' modifier is redundant for static property declared in a public extension
52 | }
53 |
54 | public static let defaultPredicateType: NSCompoundPredicate.LogicalType = .and
| `- warning: 'public' modifier is redundant for static property declared in a public extension
55 |
56 | /**
/Users/admin/builder/spi-builder-workspace/Sources/AERecord/Stack.swift:14:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Stack' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// This internal class is core of AERecord as it configures and accesses Core Data Stack.
10 | public class Stack {
| `- note: class 'Stack' does not conform to the 'Sendable' protocol
11 |
12 | // MARK: - Singleton
13 |
14 | static let shared = Stack()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Stack' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
15 |
16 | // MARK: - Defaults
[5/6] Compiling AERecord Stack.swift
/Users/admin/builder/spi-builder-workspace/Sources/AERecord/Stack.swift:14:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Stack' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// This internal class is core of AERecord as it configures and accesses Core Data Stack.
10 | public class Stack {
| `- note: class 'Stack' does not conform to the 'Sendable' protocol
11 |
12 | // MARK: - Singleton
13 |
14 | static let shared = Stack()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Stack' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
15 |
16 | // MARK: - Defaults
/Users/admin/builder/spi-builder-workspace/Sources/AERecord/Stack.swift:236:53: warning: 'NSPersistentStoreDidImportUbiquitousContentChanges' was deprecated in macOS 10.12: Please see the release notes and Core Data documentation.
234 | #if !(os(tvOS) || os(watchOS))
235 | let didImport = #selector(Stack.persistentStoreDidImportUbiquitousContentChanges(_:))
236 | let didImportName = NSNotification.Name.NSPersistentStoreDidImportUbiquitousContentChanges
| `- warning: 'NSPersistentStoreDidImportUbiquitousContentChanges' was deprecated in macOS 10.12: Please see the release notes and Core Data documentation.
237 | center.addObserver(self, selector: didImport, name: didImportName, object: coordinator)
238 | #endif
[6/6] Compiling AERecord Query.swift
/Users/admin/builder/spi-builder-workspace/Sources/AERecord/Query.swift:54:5: warning: 'public' modifier is redundant for static property declared in a public extension
52 | }
53 |
54 | public static let defaultPredicateType: NSCompoundPredicate.LogicalType = .and
| `- warning: 'public' modifier is redundant for static property declared in a public extension
55 |
56 | /**
Build complete! (16.96s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "AERecord",
"name" : "AERecord",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "AERecord",
"targets" : [
"AERecord"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "AERecordTests",
"module_type" : "SwiftTarget",
"name" : "AERecordTests",
"path" : "Tests/AERecordTests",
"sources" : [
"AERecordTests.swift"
],
"target_dependencies" : [
"AERecord"
],
"type" : "test"
},
{
"c99name" : "AERecord",
"module_type" : "SwiftTarget",
"name" : "AERecord",
"path" : "Sources/AERecord",
"product_memberships" : [
"AERecord"
],
"sources" : [
"AERecord.swift",
"Query.swift",
"Stack.swift"
],
"type" : "library"
}
],
"tools_version" : "4.2"
}
Done.