Build Information
Successful build of PredicateKit, reference main (783867
), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 21:01:48 UTC.
Swift 6 data race errors: 5
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/ftchirou/PredicateKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ftchirou/PredicateKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 783867f 📝 Update README.md
Cloned https://github.com/ftchirou/PredicateKit.git
Revision (git rev-parse @):
783867f4225fbe3e8bd93f3ead4a5dce13b2d521
SUCCESS checkout https://github.com/ftchirou/PredicateKit.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": "predicatekit",
"name": "PredicateKit",
"url": "https://github.com/ftchirou/PredicateKit.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PredicateKit",
"dependencies": [
]
}
]
}
Fetching https://github.com/ftchirou/PredicateKit.git
[1/475] Fetching predicatekit
Fetched https://github.com/ftchirou/PredicateKit.git from cache (0.83s)
Creating working copy for https://github.com/ftchirou/PredicateKit.git
Working copy of https://github.com/ftchirou/PredicateKit.git resolved at main (783867f)
warning: '.resolve-product-dependencies': dependency 'predicatekit' 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/ftchirou/PredicateKit.git
{
"dependencies" : [
],
"manifest_display_name" : "PredicateKit",
"name" : "PredicateKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "11.0"
},
{
"name" : "tvos",
"version" : "11.0"
},
{
"name" : "watchos",
"version" : "5.0"
}
],
"products" : [
{
"name" : "PredicateKit",
"targets" : [
"PredicateKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "PredicateKit",
"module_type" : "SwiftTarget",
"name" : "PredicateKit",
"path" : "PredicateKit",
"product_memberships" : [
"PredicateKit"
],
"sources" : [
"CoreData/NSFetchRequestBuilder.swift",
"CoreData/NSFetchRequestInspector.swift",
"CoreData/NSManagedObjectContextExtensions.swift",
"Functions.swift",
"Predicate.swift",
"Primitive.swift",
"SwiftUI/SwiftUISupport.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/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/10] Compiling PredicateKit Primitive.swift
/Users/admin/builder/spi-builder-workspace/PredicateKit/Primitive.swift:164:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
162 | }
163 |
164 | extension Optional: Comparable where Wrapped: Comparable {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
165 | public static func < (lhs: Self, rhs: Self) -> Bool {
166 | switch (lhs, rhs) {
/Users/admin/builder/spi-builder-workspace/PredicateKit/Primitive.swift:176:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
174 |
175 | @available(iOS 13.0, watchOS 6.0, tvOS 13.0, *)
176 | extension Optional: Identifiable where Wrapped: Identifiable {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
177 | public var id: Wrapped.ID? {
178 | self?.id
[4/10] Compiling PredicateKit NSManagedObjectContextExtensions.swift
[5/10] Compiling PredicateKit Functions.swift
/Users/admin/builder/spi-builder-workspace/PredicateKit/Functions.swift:26:14: warning: static property 'fatalError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | struct Functions {
26 | static var fatalError: FatalError = Swift.fatalError
| |- warning: static property 'fatalError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fatalError' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'fatalError' 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
27 | }
28 |
[6/10] Compiling PredicateKit Predicate.swift
/Users/admin/builder/spi-builder-workspace/PredicateKit/Predicate.swift:349:21: warning: static property 'caseInsensitive' is not concurrency-safe because non-'Sendable' type 'ComparisonOptions' may have shared mutable state; this is an error in the Swift 6 language mode
344 | }
345 |
346 | public struct ComparisonOptions: OptionSet {
| `- note: consider making struct 'ComparisonOptions' conform to the 'Sendable' protocol
347 | public let rawValue: Int
348 |
349 | public static let caseInsensitive = ComparisonOptions(rawValue: 1 << 0)
| |- warning: static property 'caseInsensitive' is not concurrency-safe because non-'Sendable' type 'ComparisonOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'caseInsensitive' 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
350 | public static let diacriticInsensitive = ComparisonOptions(rawValue: 1 << 1)
351 | public static let normalized = ComparisonOptions(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/PredicateKit/Predicate.swift:350:21: warning: static property 'diacriticInsensitive' is not concurrency-safe because non-'Sendable' type 'ComparisonOptions' may have shared mutable state; this is an error in the Swift 6 language mode
344 | }
345 |
346 | public struct ComparisonOptions: OptionSet {
| `- note: consider making struct 'ComparisonOptions' conform to the 'Sendable' protocol
347 | public let rawValue: Int
348 |
349 | public static let caseInsensitive = ComparisonOptions(rawValue: 1 << 0)
350 | public static let diacriticInsensitive = ComparisonOptions(rawValue: 1 << 1)
| |- warning: static property 'diacriticInsensitive' is not concurrency-safe because non-'Sendable' type 'ComparisonOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'diacriticInsensitive' 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
351 | public static let normalized = ComparisonOptions(rawValue: 1 << 2)
352 | public static let none = ComparisonOptions(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/PredicateKit/Predicate.swift:351:21: warning: static property 'normalized' is not concurrency-safe because non-'Sendable' type 'ComparisonOptions' may have shared mutable state; this is an error in the Swift 6 language mode
344 | }
345 |
346 | public struct ComparisonOptions: OptionSet {
| `- note: consider making struct 'ComparisonOptions' conform to the 'Sendable' protocol
347 | public let rawValue: Int
348 |
349 | public static let caseInsensitive = ComparisonOptions(rawValue: 1 << 0)
350 | public static let diacriticInsensitive = ComparisonOptions(rawValue: 1 << 1)
351 | public static let normalized = ComparisonOptions(rawValue: 1 << 2)
| |- warning: static property 'normalized' is not concurrency-safe because non-'Sendable' type 'ComparisonOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'normalized' 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
352 | public static let none = ComparisonOptions(rawValue: 1 << 3)
353 |
/Users/admin/builder/spi-builder-workspace/PredicateKit/Predicate.swift:352:21: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'ComparisonOptions' may have shared mutable state; this is an error in the Swift 6 language mode
344 | }
345 |
346 | public struct ComparisonOptions: OptionSet {
| `- note: consider making struct 'ComparisonOptions' conform to the 'Sendable' protocol
347 | public let rawValue: Int
348 |
:
350 | public static let diacriticInsensitive = ComparisonOptions(rawValue: 1 << 1)
351 | public static let normalized = ComparisonOptions(rawValue: 1 << 2)
352 | public static let none = ComparisonOptions(rawValue: 1 << 3)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'ComparisonOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
353 |
354 | public init(rawValue: Int) {
[7/10] Compiling PredicateKit NSFetchRequestBuilder.swift
/Users/admin/builder/spi-builder-workspace/PredicateKit/Predicate.swift:349:21: warning: static property 'caseInsensitive' is not concurrency-safe because non-'Sendable' type 'ComparisonOptions' may have shared mutable state; this is an error in the Swift 6 language mode
344 | }
345 |
346 | public struct ComparisonOptions: OptionSet {
| `- note: consider making struct 'ComparisonOptions' conform to the 'Sendable' protocol
347 | public let rawValue: Int
348 |
349 | public static let caseInsensitive = ComparisonOptions(rawValue: 1 << 0)
| |- warning: static property 'caseInsensitive' is not concurrency-safe because non-'Sendable' type 'ComparisonOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'caseInsensitive' 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
350 | public static let diacriticInsensitive = ComparisonOptions(rawValue: 1 << 1)
351 | public static let normalized = ComparisonOptions(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/PredicateKit/Predicate.swift:350:21: warning: static property 'diacriticInsensitive' is not concurrency-safe because non-'Sendable' type 'ComparisonOptions' may have shared mutable state; this is an error in the Swift 6 language mode
344 | }
345 |
346 | public struct ComparisonOptions: OptionSet {
| `- note: consider making struct 'ComparisonOptions' conform to the 'Sendable' protocol
347 | public let rawValue: Int
348 |
349 | public static let caseInsensitive = ComparisonOptions(rawValue: 1 << 0)
350 | public static let diacriticInsensitive = ComparisonOptions(rawValue: 1 << 1)
| |- warning: static property 'diacriticInsensitive' is not concurrency-safe because non-'Sendable' type 'ComparisonOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'diacriticInsensitive' 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
351 | public static let normalized = ComparisonOptions(rawValue: 1 << 2)
352 | public static let none = ComparisonOptions(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/PredicateKit/Predicate.swift:351:21: warning: static property 'normalized' is not concurrency-safe because non-'Sendable' type 'ComparisonOptions' may have shared mutable state; this is an error in the Swift 6 language mode
344 | }
345 |
346 | public struct ComparisonOptions: OptionSet {
| `- note: consider making struct 'ComparisonOptions' conform to the 'Sendable' protocol
347 | public let rawValue: Int
348 |
349 | public static let caseInsensitive = ComparisonOptions(rawValue: 1 << 0)
350 | public static let diacriticInsensitive = ComparisonOptions(rawValue: 1 << 1)
351 | public static let normalized = ComparisonOptions(rawValue: 1 << 2)
| |- warning: static property 'normalized' is not concurrency-safe because non-'Sendable' type 'ComparisonOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'normalized' 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
352 | public static let none = ComparisonOptions(rawValue: 1 << 3)
353 |
[8/10] Compiling PredicateKit NSFetchRequestInspector.swift
[9/10] Emitting module PredicateKit
/Users/admin/builder/spi-builder-workspace/PredicateKit/Functions.swift:26:14: warning: static property 'fatalError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | struct Functions {
26 | static var fatalError: FatalError = Swift.fatalError
| |- warning: static property 'fatalError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fatalError' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'fatalError' 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
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/PredicateKit/Predicate.swift:349:21: warning: static property 'caseInsensitive' is not concurrency-safe because non-'Sendable' type 'ComparisonOptions' may have shared mutable state; this is an error in the Swift 6 language mode
344 | }
345 |
346 | public struct ComparisonOptions: OptionSet {
| `- note: consider making struct 'ComparisonOptions' conform to the 'Sendable' protocol
347 | public let rawValue: Int
348 |
349 | public static let caseInsensitive = ComparisonOptions(rawValue: 1 << 0)
| |- warning: static property 'caseInsensitive' is not concurrency-safe because non-'Sendable' type 'ComparisonOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'caseInsensitive' 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
350 | public static let diacriticInsensitive = ComparisonOptions(rawValue: 1 << 1)
351 | public static let normalized = ComparisonOptions(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/PredicateKit/Predicate.swift:350:21: warning: static property 'diacriticInsensitive' is not concurrency-safe because non-'Sendable' type 'ComparisonOptions' may have shared mutable state; this is an error in the Swift 6 language mode
344 | }
345 |
346 | public struct ComparisonOptions: OptionSet {
| `- note: consider making struct 'ComparisonOptions' conform to the 'Sendable' protocol
347 | public let rawValue: Int
348 |
349 | public static let caseInsensitive = ComparisonOptions(rawValue: 1 << 0)
350 | public static let diacriticInsensitive = ComparisonOptions(rawValue: 1 << 1)
| |- warning: static property 'diacriticInsensitive' is not concurrency-safe because non-'Sendable' type 'ComparisonOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'diacriticInsensitive' 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
351 | public static let normalized = ComparisonOptions(rawValue: 1 << 2)
352 | public static let none = ComparisonOptions(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/PredicateKit/Predicate.swift:351:21: warning: static property 'normalized' is not concurrency-safe because non-'Sendable' type 'ComparisonOptions' may have shared mutable state; this is an error in the Swift 6 language mode
344 | }
345 |
346 | public struct ComparisonOptions: OptionSet {
| `- note: consider making struct 'ComparisonOptions' conform to the 'Sendable' protocol
347 | public let rawValue: Int
348 |
349 | public static let caseInsensitive = ComparisonOptions(rawValue: 1 << 0)
350 | public static let diacriticInsensitive = ComparisonOptions(rawValue: 1 << 1)
351 | public static let normalized = ComparisonOptions(rawValue: 1 << 2)
| |- warning: static property 'normalized' is not concurrency-safe because non-'Sendable' type 'ComparisonOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'normalized' 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
352 | public static let none = ComparisonOptions(rawValue: 1 << 3)
353 |
/Users/admin/builder/spi-builder-workspace/PredicateKit/Predicate.swift:352:21: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'ComparisonOptions' may have shared mutable state; this is an error in the Swift 6 language mode
344 | }
345 |
346 | public struct ComparisonOptions: OptionSet {
| `- note: consider making struct 'ComparisonOptions' conform to the 'Sendable' protocol
347 | public let rawValue: Int
348 |
:
350 | public static let diacriticInsensitive = ComparisonOptions(rawValue: 1 << 1)
351 | public static let normalized = ComparisonOptions(rawValue: 1 << 2)
352 | public static let none = ComparisonOptions(rawValue: 1 << 3)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'ComparisonOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' 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
353 |
354 | public init(rawValue: Int) {
/Users/admin/builder/spi-builder-workspace/PredicateKit/Primitive.swift:164:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
162 | }
163 |
164 | extension Optional: Comparable where Wrapped: Comparable {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'Comparable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
165 | public static func < (lhs: Self, rhs: Self) -> Bool {
166 | switch (lhs, rhs) {
/Users/admin/builder/spi-builder-workspace/PredicateKit/Primitive.swift:176:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
174 |
175 | @available(iOS 13.0, watchOS 6.0, tvOS 13.0, *)
176 | extension Optional: Identifiable where Wrapped: Identifiable {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
177 | public var id: Wrapped.ID? {
178 | self?.id
[10/10] Compiling PredicateKit SwiftUISupport.swift
Build complete! (13.94s)
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/PredicateKit/PrivacyInfo.xcprivacy
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "PredicateKit",
"name" : "PredicateKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "11.0"
},
{
"name" : "tvos",
"version" : "11.0"
},
{
"name" : "watchos",
"version" : "5.0"
}
],
"products" : [
{
"name" : "PredicateKit",
"targets" : [
"PredicateKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "PredicateKit",
"module_type" : "SwiftTarget",
"name" : "PredicateKit",
"path" : "PredicateKit",
"product_memberships" : [
"PredicateKit"
],
"sources" : [
"CoreData/NSFetchRequestBuilder.swift",
"CoreData/NSFetchRequestInspector.swift",
"CoreData/NSManagedObjectContextExtensions.swift",
"Functions.swift",
"Predicate.swift",
"Primitive.swift",
"SwiftUI/SwiftUISupport.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.