Build Information
Failed to build NorthwindSwiftData, reference 0.9.0 (f552b0
), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 22:58:21 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Northwind-swift/NorthwindSwiftData.git
Reference: 0.9.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Northwind-swift/NorthwindSwiftData
* tag 0.9.0 -> FETCH_HEAD
HEAD is now at f552b08 Exclude license file as a resource
Cloned https://github.com/Northwind-swift/NorthwindSwiftData.git
Revision (git rev-parse @):
f552b0884d11c8cc583da9b87399b4c125879574
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Northwind-swift/NorthwindSwiftData.git at 0.9.0
========================================
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": "northwindswiftdata",
"name": "NorthwindSwiftData",
"url": "https://github.com/Northwind-swift/NorthwindSwiftData.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/NorthwindSwiftData",
"dependencies": [
]
}
]
}
Fetching https://github.com/Northwind-swift/NorthwindSwiftData.git
[1/50] Fetching northwindswiftdata
Fetched https://github.com/Northwind-swift/NorthwindSwiftData.git from cache (1.32s)
Creating working copy for https://github.com/Northwind-swift/NorthwindSwiftData.git
Working copy of https://github.com/Northwind-swift/NorthwindSwiftData.git resolved at 0.9.0 (f552b08)
warning: '.resolve-product-dependencies': dependency 'northwindswiftdata' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/Northwind-swift/NorthwindSwiftData.git
https://github.com/Northwind-swift/NorthwindSwiftData.git
{
"dependencies" : [
],
"manifest_display_name" : "NorthwindSwiftData",
"name" : "NorthwindSwiftData",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "14.0"
},
{
"name" : "ios",
"version" : "17.0"
}
],
"products" : [
{
"name" : "NorthwindSwiftData",
"targets" : [
"NorthwindSwiftData"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "NorthwindSwiftDataTests",
"module_type" : "SwiftTarget",
"name" : "NorthwindSwiftDataTests",
"path" : "Tests/NorthwindSwiftDataTests",
"sources" : [
"EncodingTests.swift",
"Fixtures.swift",
"SimpleLoadTests.swift"
],
"target_dependencies" : [
"NorthwindSwiftData"
],
"type" : "test"
},
{
"c99name" : "NorthwindSwiftData",
"module_type" : "SwiftTarget",
"name" : "NorthwindSwiftData",
"path" : "Sources/NorthwindSwiftData",
"product_memberships" : [
"NorthwindSwiftData"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/Resources/Northwind.store",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"Abstractions/AddressHolder.swift",
"Abstractions/StructedAddressProvider.swift",
"Abstractions/StructuredAddress.swift",
"Models/Category.swift",
"Models/Customer.swift",
"Models/CustomerDemographic.swift",
"Models/Employee.swift",
"Models/Order.swift",
"Models/OrderDetail.swift",
"Models/Product.swift",
"Models/Region.swift",
"Models/Shipper.swift",
"Models/Supplier.swift",
"Models/Territory.swift",
"NorthwindSchema.swift",
"NorthwindStore.swift",
"Reexports.swift",
"SwiftDataExtras/CodableKeyPathes.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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 Northwind.store
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/22] Compiling NorthwindSwiftData Employee.swift
[5/22] Compiling NorthwindSwiftData Order.swift
[6/22] Compiling NorthwindSwiftData Region.swift
[7/22] Compiling NorthwindSwiftData Shipper.swift
[8/22] Compiling NorthwindSwiftData NorthwindSchema.swift
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/NorthwindSchema.swift:31:21: warning: static property 'versionIdentifier' is not concurrency-safe because non-'Sendable' type 'Schema.Version' may have shared mutable state; this is an error in the Swift 6 language mode
29 | public enum NorthwindSchema: VersionedSchema {
30 |
31 | public static let versionIdentifier = Schema.Version(0, 1, 0)
| `- warning: static property 'versionIdentifier' is not concurrency-safe because non-'Sendable' type 'Schema.Version' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | public static let models : [ any PersistentModel.Type ] = [
SwiftData.Schema.Version:2:22: note: struct 'Version' does not conform to the 'Sendable' protocol
1 | class Schema {
2 | public struct Schema.Version : Codable, Comparable, CustomStringConvertible, Hashable {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
3 | public let major: Int
4 | public let minor: Int
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/NorthwindSchema.swift:7:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftData'
5 |
6 | import Foundation // for Data
7 | import SwiftData
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftData'
8 |
9 | /// The type used to store monetary values in the database, currently `Decimal`.
:
29 | public enum NorthwindSchema: VersionedSchema {
30 |
31 | public static let versionIdentifier = Schema.Version(0, 1, 0)
| |- note: add '@MainActor' to make static property 'versionIdentifier' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | public static let models : [ any PersistentModel.Type ] = [
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/NorthwindStore.swift:64:21: warning: static property 'url' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
62 |
63 | /// The URL at which the prefilled SwiftData Northwind store is stored.
64 | public static var url =
| |- warning: static property 'url' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'url' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'url' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 | Bundle.module.url(forResource: "Northwind", withExtension: "store")!
66 |
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/NorthwindStore.swift:70:21: warning: static property 'schema' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
68 | * The current SwiftData `Schema` for the NorthwindStore.
69 | */
70 | public static var schema = Schema(versionedSchema: NorthwindSchema.self)
| |- warning: static property 'schema' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'schema' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'schema' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 |
72 | /**
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/NorthwindStore.swift:204:22: warning: static property 'fileManager' is not concurrency-safe because non-'Sendable' type 'FileManager' may have shared mutable state; this is an error in the Swift 6 language mode
202 | }
203 |
204 | private static let fileManager = FileManager.default
| |- warning: static property 'fileManager' is not concurrency-safe because non-'Sendable' type 'FileManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileManager' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
205 |
206 | private static var defaultModelStoreURL: URL? {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h:96:12: note: class 'FileManager' does not conform to the 'Sendable' protocol
94 | extern NSNotificationName const NSUbiquityIdentityDidChangeNotification API_AVAILABLE(macos(10.8), ios(6.0), watchos(2.0), tvos(9.0));
95 |
96 | @interface NSFileManager : NSObject
| `- note: class 'FileManager' does not conform to the 'Sendable' protocol
97 |
98 | /* Returns the default singleton instance.
[9/22] Compiling NorthwindSwiftData NorthwindStore.swift
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/NorthwindSchema.swift:31:21: warning: static property 'versionIdentifier' is not concurrency-safe because non-'Sendable' type 'Schema.Version' may have shared mutable state; this is an error in the Swift 6 language mode
29 | public enum NorthwindSchema: VersionedSchema {
30 |
31 | public static let versionIdentifier = Schema.Version(0, 1, 0)
| `- warning: static property 'versionIdentifier' is not concurrency-safe because non-'Sendable' type 'Schema.Version' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | public static let models : [ any PersistentModel.Type ] = [
SwiftData.Schema.Version:2:22: note: struct 'Version' does not conform to the 'Sendable' protocol
1 | class Schema {
2 | public struct Schema.Version : Codable, Comparable, CustomStringConvertible, Hashable {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
3 | public let major: Int
4 | public let minor: Int
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/NorthwindSchema.swift:7:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftData'
5 |
6 | import Foundation // for Data
7 | import SwiftData
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftData'
8 |
9 | /// The type used to store monetary values in the database, currently `Decimal`.
:
29 | public enum NorthwindSchema: VersionedSchema {
30 |
31 | public static let versionIdentifier = Schema.Version(0, 1, 0)
| |- note: add '@MainActor' to make static property 'versionIdentifier' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | public static let models : [ any PersistentModel.Type ] = [
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/NorthwindStore.swift:64:21: warning: static property 'url' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
62 |
63 | /// The URL at which the prefilled SwiftData Northwind store is stored.
64 | public static var url =
| |- warning: static property 'url' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'url' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'url' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 | Bundle.module.url(forResource: "Northwind", withExtension: "store")!
66 |
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/NorthwindStore.swift:70:21: warning: static property 'schema' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
68 | * The current SwiftData `Schema` for the NorthwindStore.
69 | */
70 | public static var schema = Schema(versionedSchema: NorthwindSchema.self)
| |- warning: static property 'schema' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'schema' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'schema' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 |
72 | /**
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/NorthwindStore.swift:204:22: warning: static property 'fileManager' is not concurrency-safe because non-'Sendable' type 'FileManager' may have shared mutable state; this is an error in the Swift 6 language mode
202 | }
203 |
204 | private static let fileManager = FileManager.default
| |- warning: static property 'fileManager' is not concurrency-safe because non-'Sendable' type 'FileManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileManager' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
205 |
206 | private static var defaultModelStoreURL: URL? {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h:96:12: note: class 'FileManager' does not conform to the 'Sendable' protocol
94 | extern NSNotificationName const NSUbiquityIdentityDidChangeNotification API_AVAILABLE(macos(10.8), ios(6.0), watchos(2.0), tvos(9.0));
95 |
96 | @interface NSFileManager : NSObject
| `- note: class 'FileManager' does not conform to the 'Sendable' protocol
97 |
98 | /* Returns the default singleton instance.
[10/22] Compiling NorthwindSwiftData Supplier.swift
[11/22] Compiling NorthwindSwiftData Territory.swift
[12/22] Compiling NorthwindSwiftData OrderDetail.swift
[13/22] Compiling NorthwindSwiftData Product.swift
[14/22] Compiling NorthwindSwiftData Reexports.swift
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:13:21: warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Category>]' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | extension Category: PredicateCodableKeyPathProviding {
13 | public static let predicateCodableKeyPaths =
| |- warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Category>]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'predicateCodableKeyPaths' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | buildKeyPathMap(for: Category.self)
15 | }
Swift.PartialKeyPath:1:14: note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
1 | public class PartialKeyPath<Root> : AnyKeyPath {
| `- note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:12:1: error: type 'Category' does not conform to protocol 'PredicateCodableKeyPathProviding'
10 | // way the key pathes are only build once.
11 |
12 | extension Category: PredicateCodableKeyPathProviding {
| |- error: type 'Category' does not conform to protocol 'PredicateCodableKeyPathProviding'
| `- note: add stubs for conformance
13 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Category>]'
14 | buildKeyPathMap(for: Category.self)
15 | }
Foundation.PredicateCodableKeyPathProviding.predicateCodableKeyPaths:2:28: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | protocol PredicateCodableKeyPathProviding {
2 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }}
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:17:21: warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Customer>]' may have shared mutable state; this is an error in the Swift 6 language mode
15 | }
16 | extension Customer: PredicateCodableKeyPathProviding {
17 | public static let predicateCodableKeyPaths =
| |- warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Customer>]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'predicateCodableKeyPaths' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | buildKeyPathMap(for: Customer.self)
19 | }
Swift.PartialKeyPath:1:14: note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
1 | public class PartialKeyPath<Root> : AnyKeyPath {
| `- note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:16:1: error: type 'Customer' does not conform to protocol 'PredicateCodableKeyPathProviding'
14 | buildKeyPathMap(for: Category.self)
15 | }
16 | extension Customer: PredicateCodableKeyPathProviding {
| |- error: type 'Customer' does not conform to protocol 'PredicateCodableKeyPathProviding'
| `- note: add stubs for conformance
17 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Customer>]'
18 | buildKeyPathMap(for: Customer.self)
19 | }
Foundation.PredicateCodableKeyPathProviding.predicateCodableKeyPaths:2:28: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | protocol PredicateCodableKeyPathProviding {
2 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }}
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:21:21: warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<CustomerDemographic>]' may have shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 | extension CustomerDemographic: PredicateCodableKeyPathProviding {
21 | public static let predicateCodableKeyPaths =
| |- warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<CustomerDemographic>]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'predicateCodableKeyPaths' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | buildKeyPathMap(for: CustomerDemographic.self)
23 | }
Swift.PartialKeyPath:1:14: note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
1 | public class PartialKeyPath<Root> : AnyKeyPath {
| `- note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:20:1: error: type 'CustomerDemographic' does not conform to protocol 'PredicateCodableKeyPathProviding'
18 | buildKeyPathMap(for: Customer.self)
19 | }
20 | extension CustomerDemographic: PredicateCodableKeyPathProviding {
| |- error: type 'CustomerDemographic' does not conform to protocol 'PredicateCodableKeyPathProviding'
| `- note: add stubs for conformance
21 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<CustomerDemographic>]'
22 | buildKeyPathMap(for: CustomerDemographic.self)
23 | }
Foundation.PredicateCodableKeyPathProviding.predicateCodableKeyPaths:2:28: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | protocol PredicateCodableKeyPathProviding {
2 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }}
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:25:21: warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Employee>]' may have shared mutable state; this is an error in the Swift 6 language mode
23 | }
24 | extension Employee: PredicateCodableKeyPathProviding {
25 | public static let predicateCodableKeyPaths =
| |- warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Employee>]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'predicateCodableKeyPaths' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | buildKeyPathMap(for: Employee.self)
27 | }
Swift.PartialKeyPath:1:14: note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
1 | public class PartialKeyPath<Root> : AnyKeyPath {
| `- note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:24:1: error: type 'Employee' does not conform to protocol 'PredicateCodableKeyPathProviding'
22 | buildKeyPathMap(for: CustomerDemographic.self)
23 | }
24 | extension Employee: PredicateCodableKeyPathProviding {
| |- error: type 'Employee' does not conform to protocol 'PredicateCodableKeyPathProviding'
| `- note: add stubs for conformance
25 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Employee>]'
26 | buildKeyPathMap(for: Employee.self)
27 | }
Foundation.PredicateCodableKeyPathProviding.predicateCodableKeyPaths:2:28: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | protocol PredicateCodableKeyPathProviding {
2 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }}
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:29:21: warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Order>]' may have shared mutable state; this is an error in the Swift 6 language mode
27 | }
28 | extension Order: PredicateCodableKeyPathProviding {
29 | public static let predicateCodableKeyPaths =
| |- warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Order>]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'predicateCodableKeyPaths' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | buildKeyPathMap(for: Order.self)
31 | }
Swift.PartialKeyPath:1:14: note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
1 | public class PartialKeyPath<Root> : AnyKeyPath {
| `- note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:28:1: error: type 'Order' does not conform to protocol 'PredicateCodableKeyPathProviding'
26 | buildKeyPathMap(for: Employee.self)
27 | }
28 | extension Order: PredicateCodableKeyPathProviding {
| |- error: type 'Order' does not conform to protocol 'PredicateCodableKeyPathProviding'
| `- note: add stubs for conformance
29 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Order>]'
30 | buildKeyPathMap(for: Order.self)
31 | }
Foundation.PredicateCodableKeyPathProviding.predicateCodableKeyPaths:2:28: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | protocol PredicateCodableKeyPathProviding {
2 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }}
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:33:21: warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<OrderDetail>]' may have shared mutable state; this is an error in the Swift 6 language mode
31 | }
32 | extension OrderDetail: PredicateCodableKeyPathProviding {
33 | public static let predicateCodableKeyPaths =
| |- warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<OrderDetail>]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'predicateCodableKeyPaths' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | buildKeyPathMap(for: OrderDetail.self)
35 | }
Swift.PartialKeyPath:1:14: note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
1 | public class PartialKeyPath<Root> : AnyKeyPath {
| `- note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:32:1: error: type 'OrderDetail' does not conform to protocol 'PredicateCodableKeyPathProviding'
30 | buildKeyPathMap(for: Order.self)
31 | }
32 | extension OrderDetail: PredicateCodableKeyPathProviding {
| |- error: type 'OrderDetail' does not conform to protocol 'PredicateCodableKeyPathProviding'
| `- note: add stubs for conformance
33 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<OrderDetail>]'
34 | buildKeyPathMap(for: OrderDetail.self)
35 | }
Foundation.PredicateCodableKeyPathProviding.predicateCodableKeyPaths:2:28: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | protocol PredicateCodableKeyPathProviding {
2 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }}
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:37:21: warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Product>]' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 | extension Product: PredicateCodableKeyPathProviding {
37 | public static let predicateCodableKeyPaths =
| |- warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Product>]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'predicateCodableKeyPaths' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | buildKeyPathMap(for: Product.self)
39 | }
Swift.PartialKeyPath:1:14: note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
1 | public class PartialKeyPath<Root> : AnyKeyPath {
| `- note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:36:1: error: type 'Product' does not conform to protocol 'PredicateCodableKeyPathProviding'
34 | buildKeyPathMap(for: OrderDetail.self)
35 | }
36 | extension Product: PredicateCodableKeyPathProviding {
| |- error: type 'Product' does not conform to protocol 'PredicateCodableKeyPathProviding'
| `- note: add stubs for conformance
37 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Product>]'
38 | buildKeyPathMap(for: Product.self)
39 | }
Foundation.PredicateCodableKeyPathProviding.predicateCodableKeyPaths:2:28: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | protocol PredicateCodableKeyPathProviding {
2 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }}
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:41:21: warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Region>]' may have shared mutable state; this is an error in the Swift 6 language mode
39 | }
40 | extension Region: PredicateCodableKeyPathProviding {
41 | public static let predicateCodableKeyPaths =
| |- warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Region>]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'predicateCodableKeyPaths' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | buildKeyPathMap(for: Region.self)
43 | }
Swift.PartialKeyPath:1:14: note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
1 | public class PartialKeyPath<Root> : AnyKeyPath {
| `- note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:40:1: error: type 'Region' does not conform to protocol 'PredicateCodableKeyPathProviding'
38 | buildKeyPathMap(for: Product.self)
39 | }
40 | extension Region: PredicateCodableKeyPathProviding {
| |- error: type 'Region' does not conform to protocol 'PredicateCodableKeyPathProviding'
| `- note: add stubs for conformance
41 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Region>]'
42 | buildKeyPathMap(for: Region.self)
43 | }
Foundation.PredicateCodableKeyPathProviding.predicateCodableKeyPaths:2:28: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | protocol PredicateCodableKeyPathProviding {
2 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }}
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:45:21: warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Shipper>]' may have shared mutable state; this is an error in the Swift 6 language mode
43 | }
44 | extension Shipper: PredicateCodableKeyPathProviding {
45 | public static let predicateCodableKeyPaths =
| |- warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Shipper>]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'predicateCodableKeyPaths' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | buildKeyPathMap(for: Shipper.self)
47 | }
Swift.PartialKeyPath:1:14: note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
1 | public class PartialKeyPath<Root> : AnyKeyPath {
| `- note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:44:1: error: type 'Shipper' does not conform to protocol 'PredicateCodableKeyPathProviding'
42 | buildKeyPathMap(for: Region.self)
43 | }
44 | extension Shipper: PredicateCodableKeyPathProviding {
| |- error: type 'Shipper' does not conform to protocol 'PredicateCodableKeyPathProviding'
| `- note: add stubs for conformance
45 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Shipper>]'
46 | buildKeyPathMap(for: Shipper.self)
47 | }
Foundation.PredicateCodableKeyPathProviding.predicateCodableKeyPaths:2:28: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | protocol PredicateCodableKeyPathProviding {
2 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }}
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:49:21: warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Supplier>]' may have shared mutable state; this is an error in the Swift 6 language mode
47 | }
48 | extension Supplier: PredicateCodableKeyPathProviding {
49 | public static let predicateCodableKeyPaths =
| |- warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Supplier>]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'predicateCodableKeyPaths' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | buildKeyPathMap(for: Supplier.self)
51 | }
Swift.PartialKeyPath:1:14: note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
1 | public class PartialKeyPath<Root> : AnyKeyPath {
| `- note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:48:1: error: type 'Supplier' does not conform to protocol 'PredicateCodableKeyPathProviding'
46 | buildKeyPathMap(for: Shipper.self)
47 | }
48 | extension Supplier: PredicateCodableKeyPathProviding {
| |- error: type 'Supplier' does not conform to protocol 'PredicateCodableKeyPathProviding'
| `- note: add stubs for conformance
49 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Supplier>]'
50 | buildKeyPathMap(for: Supplier.self)
51 | }
Foundation.PredicateCodableKeyPathProviding.predicateCodableKeyPaths:2:28: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | protocol PredicateCodableKeyPathProviding {
2 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }}
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:53:21: warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Territory>]' may have shared mutable state; this is an error in the Swift 6 language mode
51 | }
52 | extension Territory: PredicateCodableKeyPathProviding {
53 | public static let predicateCodableKeyPaths =
| |- warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Territory>]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'predicateCodableKeyPaths' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | buildKeyPathMap(for: Territory.self)
55 | }
Swift.PartialKeyPath:1:14: note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
1 | public class PartialKeyPath<Root> : AnyKeyPath {
| `- note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:52:1: error: type 'Territory' does not conform to protocol 'PredicateCodableKeyPathProviding'
50 | buildKeyPathMap(for: Supplier.self)
51 | }
52 | extension Territory: PredicateCodableKeyPathProviding {
| |- error: type 'Territory' does not conform to protocol 'PredicateCodableKeyPathProviding'
| `- note: add stubs for conformance
53 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Territory>]'
54 | buildKeyPathMap(for: Territory.self)
55 | }
Foundation.PredicateCodableKeyPathProviding.predicateCodableKeyPaths:2:28: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | protocol PredicateCodableKeyPathProviding {
2 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }}
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
3 |
[15/22] Compiling NorthwindSwiftData CodableKeyPathes.swift
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:13:21: warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Category>]' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | extension Category: PredicateCodableKeyPathProviding {
13 | public static let predicateCodableKeyPaths =
| |- warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Category>]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'predicateCodableKeyPaths' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | buildKeyPathMap(for: Category.self)
15 | }
Swift.PartialKeyPath:1:14: note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
1 | public class PartialKeyPath<Root> : AnyKeyPath {
| `- note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:12:1: error: type 'Category' does not conform to protocol 'PredicateCodableKeyPathProviding'
10 | // way the key pathes are only build once.
11 |
12 | extension Category: PredicateCodableKeyPathProviding {
| |- error: type 'Category' does not conform to protocol 'PredicateCodableKeyPathProviding'
| `- note: add stubs for conformance
13 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Category>]'
14 | buildKeyPathMap(for: Category.self)
15 | }
Foundation.PredicateCodableKeyPathProviding.predicateCodableKeyPaths:2:28: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | protocol PredicateCodableKeyPathProviding {
2 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }}
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:17:21: warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Customer>]' may have shared mutable state; this is an error in the Swift 6 language mode
15 | }
16 | extension Customer: PredicateCodableKeyPathProviding {
17 | public static let predicateCodableKeyPaths =
| |- warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Customer>]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'predicateCodableKeyPaths' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | buildKeyPathMap(for: Customer.self)
19 | }
Swift.PartialKeyPath:1:14: note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
1 | public class PartialKeyPath<Root> : AnyKeyPath {
| `- note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:16:1: error: type 'Customer' does not conform to protocol 'PredicateCodableKeyPathProviding'
14 | buildKeyPathMap(for: Category.self)
15 | }
16 | extension Customer: PredicateCodableKeyPathProviding {
| |- error: type 'Customer' does not conform to protocol 'PredicateCodableKeyPathProviding'
| `- note: add stubs for conformance
17 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Customer>]'
18 | buildKeyPathMap(for: Customer.self)
19 | }
Foundation.PredicateCodableKeyPathProviding.predicateCodableKeyPaths:2:28: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | protocol PredicateCodableKeyPathProviding {
2 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }}
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:21:21: warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<CustomerDemographic>]' may have shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 | extension CustomerDemographic: PredicateCodableKeyPathProviding {
21 | public static let predicateCodableKeyPaths =
| |- warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<CustomerDemographic>]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'predicateCodableKeyPaths' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | buildKeyPathMap(for: CustomerDemographic.self)
23 | }
Swift.PartialKeyPath:1:14: note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
1 | public class PartialKeyPath<Root> : AnyKeyPath {
| `- note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:20:1: error: type 'CustomerDemographic' does not conform to protocol 'PredicateCodableKeyPathProviding'
18 | buildKeyPathMap(for: Customer.self)
19 | }
20 | extension CustomerDemographic: PredicateCodableKeyPathProviding {
| |- error: type 'CustomerDemographic' does not conform to protocol 'PredicateCodableKeyPathProviding'
| `- note: add stubs for conformance
21 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<CustomerDemographic>]'
22 | buildKeyPathMap(for: CustomerDemographic.self)
23 | }
Foundation.PredicateCodableKeyPathProviding.predicateCodableKeyPaths:2:28: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | protocol PredicateCodableKeyPathProviding {
2 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }}
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:25:21: warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Employee>]' may have shared mutable state; this is an error in the Swift 6 language mode
23 | }
24 | extension Employee: PredicateCodableKeyPathProviding {
25 | public static let predicateCodableKeyPaths =
| |- warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Employee>]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'predicateCodableKeyPaths' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | buildKeyPathMap(for: Employee.self)
27 | }
Swift.PartialKeyPath:1:14: note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
1 | public class PartialKeyPath<Root> : AnyKeyPath {
| `- note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:24:1: error: type 'Employee' does not conform to protocol 'PredicateCodableKeyPathProviding'
22 | buildKeyPathMap(for: CustomerDemographic.self)
23 | }
24 | extension Employee: PredicateCodableKeyPathProviding {
| |- error: type 'Employee' does not conform to protocol 'PredicateCodableKeyPathProviding'
| `- note: add stubs for conformance
25 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Employee>]'
26 | buildKeyPathMap(for: Employee.self)
27 | }
Foundation.PredicateCodableKeyPathProviding.predicateCodableKeyPaths:2:28: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | protocol PredicateCodableKeyPathProviding {
2 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }}
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:29:21: warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Order>]' may have shared mutable state; this is an error in the Swift 6 language mode
27 | }
28 | extension Order: PredicateCodableKeyPathProviding {
29 | public static let predicateCodableKeyPaths =
| |- warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Order>]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'predicateCodableKeyPaths' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | buildKeyPathMap(for: Order.self)
31 | }
Swift.PartialKeyPath:1:14: note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
1 | public class PartialKeyPath<Root> : AnyKeyPath {
| `- note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:28:1: error: type 'Order' does not conform to protocol 'PredicateCodableKeyPathProviding'
26 | buildKeyPathMap(for: Employee.self)
27 | }
28 | extension Order: PredicateCodableKeyPathProviding {
| |- error: type 'Order' does not conform to protocol 'PredicateCodableKeyPathProviding'
| `- note: add stubs for conformance
29 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Order>]'
30 | buildKeyPathMap(for: Order.self)
31 | }
Foundation.PredicateCodableKeyPathProviding.predicateCodableKeyPaths:2:28: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | protocol PredicateCodableKeyPathProviding {
2 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }}
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:33:21: warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<OrderDetail>]' may have shared mutable state; this is an error in the Swift 6 language mode
31 | }
32 | extension OrderDetail: PredicateCodableKeyPathProviding {
33 | public static let predicateCodableKeyPaths =
| |- warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<OrderDetail>]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'predicateCodableKeyPaths' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | buildKeyPathMap(for: OrderDetail.self)
35 | }
Swift.PartialKeyPath:1:14: note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
1 | public class PartialKeyPath<Root> : AnyKeyPath {
| `- note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:32:1: error: type 'OrderDetail' does not conform to protocol 'PredicateCodableKeyPathProviding'
30 | buildKeyPathMap(for: Order.self)
31 | }
32 | extension OrderDetail: PredicateCodableKeyPathProviding {
| |- error: type 'OrderDetail' does not conform to protocol 'PredicateCodableKeyPathProviding'
| `- note: add stubs for conformance
33 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<OrderDetail>]'
34 | buildKeyPathMap(for: OrderDetail.self)
35 | }
Foundation.PredicateCodableKeyPathProviding.predicateCodableKeyPaths:2:28: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | protocol PredicateCodableKeyPathProviding {
2 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }}
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:37:21: warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Product>]' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 | extension Product: PredicateCodableKeyPathProviding {
37 | public static let predicateCodableKeyPaths =
| |- warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Product>]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'predicateCodableKeyPaths' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | buildKeyPathMap(for: Product.self)
39 | }
Swift.PartialKeyPath:1:14: note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
1 | public class PartialKeyPath<Root> : AnyKeyPath {
| `- note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:36:1: error: type 'Product' does not conform to protocol 'PredicateCodableKeyPathProviding'
34 | buildKeyPathMap(for: OrderDetail.self)
35 | }
36 | extension Product: PredicateCodableKeyPathProviding {
| |- error: type 'Product' does not conform to protocol 'PredicateCodableKeyPathProviding'
| `- note: add stubs for conformance
37 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Product>]'
38 | buildKeyPathMap(for: Product.self)
39 | }
Foundation.PredicateCodableKeyPathProviding.predicateCodableKeyPaths:2:28: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | protocol PredicateCodableKeyPathProviding {
2 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }}
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:41:21: warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Region>]' may have shared mutable state; this is an error in the Swift 6 language mode
39 | }
40 | extension Region: PredicateCodableKeyPathProviding {
41 | public static let predicateCodableKeyPaths =
| |- warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Region>]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'predicateCodableKeyPaths' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | buildKeyPathMap(for: Region.self)
43 | }
Swift.PartialKeyPath:1:14: note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
1 | public class PartialKeyPath<Root> : AnyKeyPath {
| `- note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:40:1: error: type 'Region' does not conform to protocol 'PredicateCodableKeyPathProviding'
38 | buildKeyPathMap(for: Product.self)
39 | }
40 | extension Region: PredicateCodableKeyPathProviding {
| |- error: type 'Region' does not conform to protocol 'PredicateCodableKeyPathProviding'
| `- note: add stubs for conformance
41 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Region>]'
42 | buildKeyPathMap(for: Region.self)
43 | }
Foundation.PredicateCodableKeyPathProviding.predicateCodableKeyPaths:2:28: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | protocol PredicateCodableKeyPathProviding {
2 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }}
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:45:21: warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Shipper>]' may have shared mutable state; this is an error in the Swift 6 language mode
43 | }
44 | extension Shipper: PredicateCodableKeyPathProviding {
45 | public static let predicateCodableKeyPaths =
| |- warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Shipper>]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'predicateCodableKeyPaths' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | buildKeyPathMap(for: Shipper.self)
47 | }
Swift.PartialKeyPath:1:14: note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
1 | public class PartialKeyPath<Root> : AnyKeyPath {
| `- note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:44:1: error: type 'Shipper' does not conform to protocol 'PredicateCodableKeyPathProviding'
42 | buildKeyPathMap(for: Region.self)
43 | }
44 | extension Shipper: PredicateCodableKeyPathProviding {
| |- error: type 'Shipper' does not conform to protocol 'PredicateCodableKeyPathProviding'
| `- note: add stubs for conformance
45 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Shipper>]'
46 | buildKeyPathMap(for: Shipper.self)
47 | }
Foundation.PredicateCodableKeyPathProviding.predicateCodableKeyPaths:2:28: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | protocol PredicateCodableKeyPathProviding {
2 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }}
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:49:21: warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Supplier>]' may have shared mutable state; this is an error in the Swift 6 language mode
47 | }
48 | extension Supplier: PredicateCodableKeyPathProviding {
49 | public static let predicateCodableKeyPaths =
| |- warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Supplier>]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'predicateCodableKeyPaths' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | buildKeyPathMap(for: Supplier.self)
51 | }
Swift.PartialKeyPath:1:14: note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
1 | public class PartialKeyPath<Root> : AnyKeyPath {
| `- note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:48:1: error: type 'Supplier' does not conform to protocol 'PredicateCodableKeyPathProviding'
46 | buildKeyPathMap(for: Shipper.self)
47 | }
48 | extension Supplier: PredicateCodableKeyPathProviding {
| |- error: type 'Supplier' does not conform to protocol 'PredicateCodableKeyPathProviding'
| `- note: add stubs for conformance
49 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Supplier>]'
50 | buildKeyPathMap(for: Supplier.self)
51 | }
Foundation.PredicateCodableKeyPathProviding.predicateCodableKeyPaths:2:28: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | protocol PredicateCodableKeyPathProviding {
2 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }}
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:53:21: warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Territory>]' may have shared mutable state; this is an error in the Swift 6 language mode
51 | }
52 | extension Territory: PredicateCodableKeyPathProviding {
53 | public static let predicateCodableKeyPaths =
| |- warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Territory>]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'predicateCodableKeyPaths' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | buildKeyPathMap(for: Territory.self)
55 | }
Swift.PartialKeyPath:1:14: note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
1 | public class PartialKeyPath<Root> : AnyKeyPath {
| `- note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:52:1: error: type 'Territory' does not conform to protocol 'PredicateCodableKeyPathProviding'
50 | buildKeyPathMap(for: Supplier.self)
51 | }
52 | extension Territory: PredicateCodableKeyPathProviding {
| |- error: type 'Territory' does not conform to protocol 'PredicateCodableKeyPathProviding'
| `- note: add stubs for conformance
53 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Territory>]'
54 | buildKeyPathMap(for: Territory.self)
55 | }
Foundation.PredicateCodableKeyPathProviding.predicateCodableKeyPaths:2:28: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | protocol PredicateCodableKeyPathProviding {
2 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }}
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
3 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/23] Compiling NorthwindSwiftData Customer.swift
[17/23] Compiling NorthwindSwiftData CustomerDemographic.swift
[18/23] Compiling NorthwindSwiftData AddressHolder.swift
[19/23] Compiling NorthwindSwiftData StructedAddressProvider.swift
[20/23] Compiling NorthwindSwiftData StructuredAddress.swift
[21/23] Compiling NorthwindSwiftData Category.swift
[22/23] Emitting module NorthwindSwiftData
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/NorthwindSchema.swift:31:21: warning: static property 'versionIdentifier' is not concurrency-safe because non-'Sendable' type 'Schema.Version' may have shared mutable state; this is an error in the Swift 6 language mode
29 | public enum NorthwindSchema: VersionedSchema {
30 |
31 | public static let versionIdentifier = Schema.Version(0, 1, 0)
| `- warning: static property 'versionIdentifier' is not concurrency-safe because non-'Sendable' type 'Schema.Version' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | public static let models : [ any PersistentModel.Type ] = [
SwiftData.Schema.Version:2:22: note: struct 'Version' does not conform to the 'Sendable' protocol
1 | class Schema {
2 | public struct Schema.Version : Codable, Comparable, CustomStringConvertible, Hashable {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
3 | public let major: Int
4 | public let minor: Int
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/NorthwindSchema.swift:7:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftData'
5 |
6 | import Foundation // for Data
7 | import SwiftData
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftData'
8 |
9 | /// The type used to store monetary values in the database, currently `Decimal`.
:
29 | public enum NorthwindSchema: VersionedSchema {
30 |
31 | public static let versionIdentifier = Schema.Version(0, 1, 0)
| |- note: add '@MainActor' to make static property 'versionIdentifier' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | public static let models : [ any PersistentModel.Type ] = [
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/NorthwindStore.swift:64:21: warning: static property 'url' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
62 |
63 | /// The URL at which the prefilled SwiftData Northwind store is stored.
64 | public static var url =
| |- warning: static property 'url' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'url' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'url' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 | Bundle.module.url(forResource: "Northwind", withExtension: "store")!
66 |
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/NorthwindStore.swift:70:21: warning: static property 'schema' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
68 | * The current SwiftData `Schema` for the NorthwindStore.
69 | */
70 | public static var schema = Schema(versionedSchema: NorthwindSchema.self)
| |- warning: static property 'schema' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'schema' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'schema' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 |
72 | /**
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/NorthwindStore.swift:204:22: warning: static property 'fileManager' is not concurrency-safe because non-'Sendable' type 'FileManager' may have shared mutable state; this is an error in the Swift 6 language mode
202 | }
203 |
204 | private static let fileManager = FileManager.default
| |- warning: static property 'fileManager' is not concurrency-safe because non-'Sendable' type 'FileManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileManager' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
205 |
206 | private static var defaultModelStoreURL: URL? {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h:96:12: note: class 'FileManager' does not conform to the 'Sendable' protocol
94 | extern NSNotificationName const NSUbiquityIdentityDidChangeNotification API_AVAILABLE(macos(10.8), ios(6.0), watchos(2.0), tvos(9.0));
95 |
96 | @interface NSFileManager : NSObject
| `- note: class 'FileManager' does not conform to the 'Sendable' protocol
97 |
98 | /* Returns the default singleton instance.
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:13:21: warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Category>]' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | extension Category: PredicateCodableKeyPathProviding {
13 | public static let predicateCodableKeyPaths =
| |- warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Category>]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'predicateCodableKeyPaths' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | buildKeyPathMap(for: Category.self)
15 | }
Swift.PartialKeyPath:1:14: note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
1 | public class PartialKeyPath<Root> : AnyKeyPath {
| `- note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:12:1: error: type 'Category' does not conform to protocol 'PredicateCodableKeyPathProviding'
10 | // way the key pathes are only build once.
11 |
12 | extension Category: PredicateCodableKeyPathProviding {
| |- error: type 'Category' does not conform to protocol 'PredicateCodableKeyPathProviding'
| `- note: add stubs for conformance
13 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Category>]'
14 | buildKeyPathMap(for: Category.self)
15 | }
Foundation.PredicateCodableKeyPathProviding.predicateCodableKeyPaths:2:28: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | protocol PredicateCodableKeyPathProviding {
2 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }}
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:17:21: warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Customer>]' may have shared mutable state; this is an error in the Swift 6 language mode
15 | }
16 | extension Customer: PredicateCodableKeyPathProviding {
17 | public static let predicateCodableKeyPaths =
| |- warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Customer>]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'predicateCodableKeyPaths' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | buildKeyPathMap(for: Customer.self)
19 | }
Swift.PartialKeyPath:1:14: note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
1 | public class PartialKeyPath<Root> : AnyKeyPath {
| `- note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:16:1: error: type 'Customer' does not conform to protocol 'PredicateCodableKeyPathProviding'
14 | buildKeyPathMap(for: Category.self)
15 | }
16 | extension Customer: PredicateCodableKeyPathProviding {
| |- error: type 'Customer' does not conform to protocol 'PredicateCodableKeyPathProviding'
| `- note: add stubs for conformance
17 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Customer>]'
18 | buildKeyPathMap(for: Customer.self)
19 | }
Foundation.PredicateCodableKeyPathProviding.predicateCodableKeyPaths:2:28: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | protocol PredicateCodableKeyPathProviding {
2 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }}
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:21:21: warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<CustomerDemographic>]' may have shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 | extension CustomerDemographic: PredicateCodableKeyPathProviding {
21 | public static let predicateCodableKeyPaths =
| |- warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<CustomerDemographic>]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'predicateCodableKeyPaths' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | buildKeyPathMap(for: CustomerDemographic.self)
23 | }
Swift.PartialKeyPath:1:14: note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
1 | public class PartialKeyPath<Root> : AnyKeyPath {
| `- note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:20:1: error: type 'CustomerDemographic' does not conform to protocol 'PredicateCodableKeyPathProviding'
18 | buildKeyPathMap(for: Customer.self)
19 | }
20 | extension CustomerDemographic: PredicateCodableKeyPathProviding {
| |- error: type 'CustomerDemographic' does not conform to protocol 'PredicateCodableKeyPathProviding'
| `- note: add stubs for conformance
21 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<CustomerDemographic>]'
22 | buildKeyPathMap(for: CustomerDemographic.self)
23 | }
Foundation.PredicateCodableKeyPathProviding.predicateCodableKeyPaths:2:28: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | protocol PredicateCodableKeyPathProviding {
2 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }}
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:25:21: warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Employee>]' may have shared mutable state; this is an error in the Swift 6 language mode
23 | }
24 | extension Employee: PredicateCodableKeyPathProviding {
25 | public static let predicateCodableKeyPaths =
| |- warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Employee>]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'predicateCodableKeyPaths' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | buildKeyPathMap(for: Employee.self)
27 | }
Swift.PartialKeyPath:1:14: note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
1 | public class PartialKeyPath<Root> : AnyKeyPath {
| `- note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:24:1: error: type 'Employee' does not conform to protocol 'PredicateCodableKeyPathProviding'
22 | buildKeyPathMap(for: CustomerDemographic.self)
23 | }
24 | extension Employee: PredicateCodableKeyPathProviding {
| |- error: type 'Employee' does not conform to protocol 'PredicateCodableKeyPathProviding'
| `- note: add stubs for conformance
25 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Employee>]'
26 | buildKeyPathMap(for: Employee.self)
27 | }
Foundation.PredicateCodableKeyPathProviding.predicateCodableKeyPaths:2:28: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | protocol PredicateCodableKeyPathProviding {
2 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }}
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:29:21: warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Order>]' may have shared mutable state; this is an error in the Swift 6 language mode
27 | }
28 | extension Order: PredicateCodableKeyPathProviding {
29 | public static let predicateCodableKeyPaths =
| |- warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Order>]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'predicateCodableKeyPaths' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | buildKeyPathMap(for: Order.self)
31 | }
Swift.PartialKeyPath:1:14: note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
1 | public class PartialKeyPath<Root> : AnyKeyPath {
| `- note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:28:1: error: type 'Order' does not conform to protocol 'PredicateCodableKeyPathProviding'
26 | buildKeyPathMap(for: Employee.self)
27 | }
28 | extension Order: PredicateCodableKeyPathProviding {
| |- error: type 'Order' does not conform to protocol 'PredicateCodableKeyPathProviding'
| `- note: add stubs for conformance
29 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Order>]'
30 | buildKeyPathMap(for: Order.self)
31 | }
Foundation.PredicateCodableKeyPathProviding.predicateCodableKeyPaths:2:28: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | protocol PredicateCodableKeyPathProviding {
2 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }}
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:33:21: warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<OrderDetail>]' may have shared mutable state; this is an error in the Swift 6 language mode
31 | }
32 | extension OrderDetail: PredicateCodableKeyPathProviding {
33 | public static let predicateCodableKeyPaths =
| |- warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<OrderDetail>]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'predicateCodableKeyPaths' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | buildKeyPathMap(for: OrderDetail.self)
35 | }
Swift.PartialKeyPath:1:14: note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
1 | public class PartialKeyPath<Root> : AnyKeyPath {
| `- note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:32:1: error: type 'OrderDetail' does not conform to protocol 'PredicateCodableKeyPathProviding'
30 | buildKeyPathMap(for: Order.self)
31 | }
32 | extension OrderDetail: PredicateCodableKeyPathProviding {
| |- error: type 'OrderDetail' does not conform to protocol 'PredicateCodableKeyPathProviding'
| `- note: add stubs for conformance
33 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<OrderDetail>]'
34 | buildKeyPathMap(for: OrderDetail.self)
35 | }
Foundation.PredicateCodableKeyPathProviding.predicateCodableKeyPaths:2:28: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | protocol PredicateCodableKeyPathProviding {
2 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }}
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:37:21: warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Product>]' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 | extension Product: PredicateCodableKeyPathProviding {
37 | public static let predicateCodableKeyPaths =
| |- warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Product>]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'predicateCodableKeyPaths' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | buildKeyPathMap(for: Product.self)
39 | }
Swift.PartialKeyPath:1:14: note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
1 | public class PartialKeyPath<Root> : AnyKeyPath {
| `- note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:36:1: error: type 'Product' does not conform to protocol 'PredicateCodableKeyPathProviding'
34 | buildKeyPathMap(for: OrderDetail.self)
35 | }
36 | extension Product: PredicateCodableKeyPathProviding {
| |- error: type 'Product' does not conform to protocol 'PredicateCodableKeyPathProviding'
| `- note: add stubs for conformance
37 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Product>]'
38 | buildKeyPathMap(for: Product.self)
39 | }
Foundation.PredicateCodableKeyPathProviding.predicateCodableKeyPaths:2:28: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | protocol PredicateCodableKeyPathProviding {
2 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }}
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:41:21: warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Region>]' may have shared mutable state; this is an error in the Swift 6 language mode
39 | }
40 | extension Region: PredicateCodableKeyPathProviding {
41 | public static let predicateCodableKeyPaths =
| |- warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Region>]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'predicateCodableKeyPaths' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | buildKeyPathMap(for: Region.self)
43 | }
Swift.PartialKeyPath:1:14: note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
1 | public class PartialKeyPath<Root> : AnyKeyPath {
| `- note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:40:1: error: type 'Region' does not conform to protocol 'PredicateCodableKeyPathProviding'
38 | buildKeyPathMap(for: Product.self)
39 | }
40 | extension Region: PredicateCodableKeyPathProviding {
| |- error: type 'Region' does not conform to protocol 'PredicateCodableKeyPathProviding'
| `- note: add stubs for conformance
41 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Region>]'
42 | buildKeyPathMap(for: Region.self)
43 | }
Foundation.PredicateCodableKeyPathProviding.predicateCodableKeyPaths:2:28: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | protocol PredicateCodableKeyPathProviding {
2 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }}
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:45:21: warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Shipper>]' may have shared mutable state; this is an error in the Swift 6 language mode
43 | }
44 | extension Shipper: PredicateCodableKeyPathProviding {
45 | public static let predicateCodableKeyPaths =
| |- warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Shipper>]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'predicateCodableKeyPaths' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | buildKeyPathMap(for: Shipper.self)
47 | }
Swift.PartialKeyPath:1:14: note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
1 | public class PartialKeyPath<Root> : AnyKeyPath {
| `- note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:44:1: error: type 'Shipper' does not conform to protocol 'PredicateCodableKeyPathProviding'
42 | buildKeyPathMap(for: Region.self)
43 | }
44 | extension Shipper: PredicateCodableKeyPathProviding {
| |- error: type 'Shipper' does not conform to protocol 'PredicateCodableKeyPathProviding'
| `- note: add stubs for conformance
45 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Shipper>]'
46 | buildKeyPathMap(for: Shipper.self)
47 | }
Foundation.PredicateCodableKeyPathProviding.predicateCodableKeyPaths:2:28: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | protocol PredicateCodableKeyPathProviding {
2 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }}
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:49:21: warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Supplier>]' may have shared mutable state; this is an error in the Swift 6 language mode
47 | }
48 | extension Supplier: PredicateCodableKeyPathProviding {
49 | public static let predicateCodableKeyPaths =
| |- warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Supplier>]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'predicateCodableKeyPaths' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | buildKeyPathMap(for: Supplier.self)
51 | }
Swift.PartialKeyPath:1:14: note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
1 | public class PartialKeyPath<Root> : AnyKeyPath {
| `- note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:48:1: error: type 'Supplier' does not conform to protocol 'PredicateCodableKeyPathProviding'
46 | buildKeyPathMap(for: Shipper.self)
47 | }
48 | extension Supplier: PredicateCodableKeyPathProviding {
| |- error: type 'Supplier' does not conform to protocol 'PredicateCodableKeyPathProviding'
| `- note: add stubs for conformance
49 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Supplier>]'
50 | buildKeyPathMap(for: Supplier.self)
51 | }
Foundation.PredicateCodableKeyPathProviding.predicateCodableKeyPaths:2:28: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | protocol PredicateCodableKeyPathProviding {
2 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }}
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:53:21: warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Territory>]' may have shared mutable state; this is an error in the Swift 6 language mode
51 | }
52 | extension Territory: PredicateCodableKeyPathProviding {
53 | public static let predicateCodableKeyPaths =
| |- warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Territory>]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'predicateCodableKeyPaths' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | buildKeyPathMap(for: Territory.self)
55 | }
Swift.PartialKeyPath:1:14: note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
1 | public class PartialKeyPath<Root> : AnyKeyPath {
| `- note: generic class 'PartialKeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:52:1: error: type 'Territory' does not conform to protocol 'PredicateCodableKeyPathProviding'
50 | buildKeyPathMap(for: Supplier.self)
51 | }
52 | extension Territory: PredicateCodableKeyPathProviding {
| |- error: type 'Territory' does not conform to protocol 'PredicateCodableKeyPathProviding'
| `- note: add stubs for conformance
53 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Territory>]'
54 | buildKeyPathMap(for: Territory.self)
55 | }
Foundation.PredicateCodableKeyPathProviding.predicateCodableKeyPaths:2:28: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | protocol PredicateCodableKeyPathProviding {
2 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }}
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
3 |
[23/23] Compiling NorthwindSwiftData resource_bundle_accessor.swift
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/20] Compiling NorthwindSwiftData Reexports.swift
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:12:1: error: type 'Category' does not conform to protocol 'PredicateCodableKeyPathProviding'
10 | // way the key pathes are only build once.
11 |
12 | extension Category: PredicateCodableKeyPathProviding {
| |- error: type 'Category' does not conform to protocol 'PredicateCodableKeyPathProviding'
| `- note: add stubs for conformance
13 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Category>]'
14 | buildKeyPathMap(for: Category.self)
15 | }
Foundation.PredicateCodableKeyPathProviding.predicateCodableKeyPaths:2:28: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | protocol PredicateCodableKeyPathProviding {
2 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }}
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:16:1: error: type 'Customer' does not conform to protocol 'PredicateCodableKeyPathProviding'
14 | buildKeyPathMap(for: Category.self)
15 | }
16 | extension Customer: PredicateCodableKeyPathProviding {
| |- error: type 'Customer' does not conform to protocol 'PredicateCodableKeyPathProviding'
| `- note: add stubs for conformance
17 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Customer>]'
18 | buildKeyPathMap(for: Customer.self)
19 | }
Foundation.PredicateCodableKeyPathProviding.predicateCodableKeyPaths:2:28: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | protocol PredicateCodableKeyPathProviding {
2 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }}
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:20:1: error: type 'CustomerDemographic' does not conform to protocol 'PredicateCodableKeyPathProviding'
18 | buildKeyPathMap(for: Customer.self)
19 | }
20 | extension CustomerDemographic: PredicateCodableKeyPathProviding {
| |- error: type 'CustomerDemographic' does not conform to protocol 'PredicateCodableKeyPathProviding'
| `- note: add stubs for conformance
21 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<CustomerDemographic>]'
22 | buildKeyPathMap(for: CustomerDemographic.self)
23 | }
Foundation.PredicateCodableKeyPathProviding.predicateCodableKeyPaths:2:28: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | protocol PredicateCodableKeyPathProviding {
2 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }}
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:24:1: error: type 'Employee' does not conform to protocol 'PredicateCodableKeyPathProviding'
22 | buildKeyPathMap(for: CustomerDemographic.self)
23 | }
24 | extension Employee: PredicateCodableKeyPathProviding {
| |- error: type 'Employee' does not conform to protocol 'PredicateCodableKeyPathProviding'
| `- note: add stubs for conformance
25 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Employee>]'
26 | buildKeyPathMap(for: Employee.self)
27 | }
Foundation.PredicateCodableKeyPathProviding.predicateCodableKeyPaths:2:28: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | protocol PredicateCodableKeyPathProviding {
2 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }}
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:28:1: error: type 'Order' does not conform to protocol 'PredicateCodableKeyPathProviding'
26 | buildKeyPathMap(for: Employee.self)
27 | }
28 | extension Order: PredicateCodableKeyPathProviding {
| |- error: type 'Order' does not conform to protocol 'PredicateCodableKeyPathProviding'
| `- note: add stubs for conformance
29 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Order>]'
30 | buildKeyPathMap(for: Order.self)
31 | }
Foundation.PredicateCodableKeyPathProviding.predicateCodableKeyPaths:2:28: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | protocol PredicateCodableKeyPathProviding {
2 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }}
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:32:1: error: type 'OrderDetail' does not conform to protocol 'PredicateCodableKeyPathProviding'
30 | buildKeyPathMap(for: Order.self)
31 | }
32 | extension OrderDetail: PredicateCodableKeyPathProviding {
| |- error: type 'OrderDetail' does not conform to protocol 'PredicateCodableKeyPathProviding'
| `- note: add stubs for conformance
33 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<OrderDetail>]'
34 | buildKeyPathMap(for: OrderDetail.self)
35 | }
Foundation.PredicateCodableKeyPathProviding.predicateCodableKeyPaths:2:28: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | protocol PredicateCodableKeyPathProviding {
2 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }}
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:36:1: error: type 'Product' does not conform to protocol 'PredicateCodableKeyPathProviding'
34 | buildKeyPathMap(for: OrderDetail.self)
35 | }
36 | extension Product: PredicateCodableKeyPathProviding {
| |- error: type 'Product' does not conform to protocol 'PredicateCodableKeyPathProviding'
| `- note: add stubs for conformance
37 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Product>]'
38 | buildKeyPathMap(for: Product.self)
39 | }
Foundation.PredicateCodableKeyPathProviding.predicateCodableKeyPaths:2:28: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | protocol PredicateCodableKeyPathProviding {
2 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }}
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:40:1: error: type 'Region' does not conform to protocol 'PredicateCodableKeyPathProviding'
38 | buildKeyPathMap(for: Product.self)
39 | }
40 | extension Region: PredicateCodableKeyPathProviding {
| |- error: type 'Region' does not conform to protocol 'PredicateCodableKeyPathProviding'
| `- note: add stubs for conformance
41 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Region>]'
42 | buildKeyPathMap(for: Region.self)
43 | }
Foundation.PredicateCodableKeyPathProviding.predicateCodableKeyPaths:2:28: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | protocol PredicateCodableKeyPathProviding {
2 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }}
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:44:1: error: type 'Shipper' does not conform to protocol 'PredicateCodableKeyPathProviding'
42 | buildKeyPathMap(for: Region.self)
43 | }
44 | extension Shipper: PredicateCodableKeyPathProviding {
| |- error: type 'Shipper' does not conform to protocol 'PredicateCodableKeyPathProviding'
| `- note: add stubs for conformance
45 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Shipper>]'
46 | buildKeyPathMap(for: Shipper.self)
47 | }
Foundation.PredicateCodableKeyPathProviding.predicateCodableKeyPaths:2:28: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | protocol PredicateCodableKeyPathProviding {
2 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }}
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:48:1: error: type 'Supplier' does not conform to protocol 'PredicateCodableKeyPathProviding'
46 | buildKeyPathMap(for: Shipper.self)
47 | }
48 | extension Supplier: PredicateCodableKeyPathProviding {
| |- error: type 'Supplier' does not conform to protocol 'PredicateCodableKeyPathProviding'
| `- note: add stubs for conformance
49 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Supplier>]'
50 | buildKeyPathMap(for: Supplier.self)
51 | }
Foundation.PredicateCodableKeyPathProviding.predicateCodableKeyPaths:2:28: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | protocol PredicateCodableKeyPathProviding {
2 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }}
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:52:1: error: type 'Territory' does not conform to protocol 'PredicateCodableKeyPathProviding'
50 | buildKeyPathMap(for: Supplier.self)
51 | }
52 | extension Territory: PredicateCodableKeyPathProviding {
| |- error: type 'Territory' does not conform to protocol 'PredicateCodableKeyPathProviding'
| `- note: add stubs for conformance
53 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Territory>]'
54 | buildKeyPathMap(for: Territory.self)
55 | }
Foundation.PredicateCodableKeyPathProviding.predicateCodableKeyPaths:2:28: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | protocol PredicateCodableKeyPathProviding {
2 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }}
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
3 |
[3/20] Compiling NorthwindSwiftData CodableKeyPathes.swift
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:12:1: error: type 'Category' does not conform to protocol 'PredicateCodableKeyPathProviding'
10 | // way the key pathes are only build once.
11 |
12 | extension Category: PredicateCodableKeyPathProviding {
| |- error: type 'Category' does not conform to protocol 'PredicateCodableKeyPathProviding'
| `- note: add stubs for conformance
13 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Category>]'
14 | buildKeyPathMap(for: Category.self)
15 | }
Foundation.PredicateCodableKeyPathProviding.predicateCodableKeyPaths:2:28: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | protocol PredicateCodableKeyPathProviding {
2 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }}
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:16:1: error: type 'Customer' does not conform to protocol 'PredicateCodableKeyPathProviding'
14 | buildKeyPathMap(for: Category.self)
15 | }
16 | extension Customer: PredicateCodableKeyPathProviding {
| |- error: type 'Customer' does not conform to protocol 'PredicateCodableKeyPathProviding'
| `- note: add stubs for conformance
17 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Customer>]'
18 | buildKeyPathMap(for: Customer.self)
19 | }
Foundation.PredicateCodableKeyPathProviding.predicateCodableKeyPaths:2:28: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | protocol PredicateCodableKeyPathProviding {
2 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }}
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:20:1: error: type 'CustomerDemographic' does not conform to protocol 'PredicateCodableKeyPathProviding'
18 | buildKeyPathMap(for: Customer.self)
19 | }
20 | extension CustomerDemographic: PredicateCodableKeyPathProviding {
| |- error: type 'CustomerDemographic' does not conform to protocol 'PredicateCodableKeyPathProviding'
| `- note: add stubs for conformance
21 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<CustomerDemographic>]'
22 | buildKeyPathMap(for: CustomerDemographic.self)
23 | }
Foundation.PredicateCodableKeyPathProviding.predicateCodableKeyPaths:2:28: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | protocol PredicateCodableKeyPathProviding {
2 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }}
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:24:1: error: type 'Employee' does not conform to protocol 'PredicateCodableKeyPathProviding'
22 | buildKeyPathMap(for: CustomerDemographic.self)
23 | }
24 | extension Employee: PredicateCodableKeyPathProviding {
| |- error: type 'Employee' does not conform to protocol 'PredicateCodableKeyPathProviding'
| `- note: add stubs for conformance
25 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Employee>]'
26 | buildKeyPathMap(for: Employee.self)
27 | }
Foundation.PredicateCodableKeyPathProviding.predicateCodableKeyPaths:2:28: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | protocol PredicateCodableKeyPathProviding {
2 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }}
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:28:1: error: type 'Order' does not conform to protocol 'PredicateCodableKeyPathProviding'
26 | buildKeyPathMap(for: Employee.self)
27 | }
28 | extension Order: PredicateCodableKeyPathProviding {
| |- error: type 'Order' does not conform to protocol 'PredicateCodableKeyPathProviding'
| `- note: add stubs for conformance
29 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Order>]'
30 | buildKeyPathMap(for: Order.self)
31 | }
Foundation.PredicateCodableKeyPathProviding.predicateCodableKeyPaths:2:28: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | protocol PredicateCodableKeyPathProviding {
2 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }}
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:32:1: error: type 'OrderDetail' does not conform to protocol 'PredicateCodableKeyPathProviding'
30 | buildKeyPathMap(for: Order.self)
31 | }
32 | extension OrderDetail: PredicateCodableKeyPathProviding {
| |- error: type 'OrderDetail' does not conform to protocol 'PredicateCodableKeyPathProviding'
| `- note: add stubs for conformance
33 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<OrderDetail>]'
34 | buildKeyPathMap(for: OrderDetail.self)
35 | }
Foundation.PredicateCodableKeyPathProviding.predicateCodableKeyPaths:2:28: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | protocol PredicateCodableKeyPathProviding {
2 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }}
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:36:1: error: type 'Product' does not conform to protocol 'PredicateCodableKeyPathProviding'
34 | buildKeyPathMap(for: OrderDetail.self)
35 | }
36 | extension Product: PredicateCodableKeyPathProviding {
| |- error: type 'Product' does not conform to protocol 'PredicateCodableKeyPathProviding'
| `- note: add stubs for conformance
37 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Product>]'
38 | buildKeyPathMap(for: Product.self)
39 | }
Foundation.PredicateCodableKeyPathProviding.predicateCodableKeyPaths:2:28: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | protocol PredicateCodableKeyPathProviding {
2 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }}
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:40:1: error: type 'Region' does not conform to protocol 'PredicateCodableKeyPathProviding'
38 | buildKeyPathMap(for: Product.self)
39 | }
40 | extension Region: PredicateCodableKeyPathProviding {
| |- error: type 'Region' does not conform to protocol 'PredicateCodableKeyPathProviding'
| `- note: add stubs for conformance
41 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Region>]'
42 | buildKeyPathMap(for: Region.self)
43 | }
Foundation.PredicateCodableKeyPathProviding.predicateCodableKeyPaths:2:28: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | protocol PredicateCodableKeyPathProviding {
2 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }}
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:44:1: error: type 'Shipper' does not conform to protocol 'PredicateCodableKeyPathProviding'
42 | buildKeyPathMap(for: Region.self)
43 | }
44 | extension Shipper: PredicateCodableKeyPathProviding {
| |- error: type 'Shipper' does not conform to protocol 'PredicateCodableKeyPathProviding'
| `- note: add stubs for conformance
45 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Shipper>]'
46 | buildKeyPathMap(for: Shipper.self)
47 | }
Foundation.PredicateCodableKeyPathProviding.predicateCodableKeyPaths:2:28: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | protocol PredicateCodableKeyPathProviding {
2 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }}
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:48:1: error: type 'Supplier' does not conform to protocol 'PredicateCodableKeyPathProviding'
46 | buildKeyPathMap(for: Shipper.self)
47 | }
48 | extension Supplier: PredicateCodableKeyPathProviding {
| |- error: type 'Supplier' does not conform to protocol 'PredicateCodableKeyPathProviding'
| `- note: add stubs for conformance
49 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Supplier>]'
50 | buildKeyPathMap(for: Supplier.self)
51 | }
Foundation.PredicateCodableKeyPathProviding.predicateCodableKeyPaths:2:28: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | protocol PredicateCodableKeyPathProviding {
2 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }}
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:52:1: error: type 'Territory' does not conform to protocol 'PredicateCodableKeyPathProviding'
50 | buildKeyPathMap(for: Supplier.self)
51 | }
52 | extension Territory: PredicateCodableKeyPathProviding {
| |- error: type 'Territory' does not conform to protocol 'PredicateCodableKeyPathProviding'
| `- note: add stubs for conformance
53 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Territory>]'
54 | buildKeyPathMap(for: Territory.self)
55 | }
Foundation.PredicateCodableKeyPathProviding.predicateCodableKeyPaths:2:28: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | protocol PredicateCodableKeyPathProviding {
2 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }}
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
3 |
[4/21] Compiling NorthwindSwiftData NorthwindSchema.swift
[5/21] Compiling NorthwindSwiftData NorthwindStore.swift
[6/21] Compiling NorthwindSwiftData resource_bundle_accessor.swift
[7/21] Compiling NorthwindSwiftData Region.swift
[8/21] Compiling NorthwindSwiftData Shipper.swift
[9/21] Compiling NorthwindSwiftData Supplier.swift
[10/21] Compiling NorthwindSwiftData Territory.swift
[11/21] Compiling NorthwindSwiftData OrderDetail.swift
[12/21] Compiling NorthwindSwiftData Product.swift
[13/21] Compiling NorthwindSwiftData Customer.swift
[14/21] Compiling NorthwindSwiftData CustomerDemographic.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/21] Compiling NorthwindSwiftData StructuredAddress.swift
[16/21] Compiling NorthwindSwiftData Category.swift
[17/21] Compiling NorthwindSwiftData AddressHolder.swift
[18/21] Compiling NorthwindSwiftData StructedAddressProvider.swift
[19/21] Compiling NorthwindSwiftData Employee.swift
[20/21] Compiling NorthwindSwiftData Order.swift
[21/21] Emitting module NorthwindSwiftData
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:12:1: error: type 'Category' does not conform to protocol 'PredicateCodableKeyPathProviding'
10 | // way the key pathes are only build once.
11 |
12 | extension Category: PredicateCodableKeyPathProviding {
| |- error: type 'Category' does not conform to protocol 'PredicateCodableKeyPathProviding'
| `- note: add stubs for conformance
13 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Category>]'
14 | buildKeyPathMap(for: Category.self)
15 | }
Foundation.PredicateCodableKeyPathProviding.predicateCodableKeyPaths:2:28: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | protocol PredicateCodableKeyPathProviding {
2 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }}
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:16:1: error: type 'Customer' does not conform to protocol 'PredicateCodableKeyPathProviding'
14 | buildKeyPathMap(for: Category.self)
15 | }
16 | extension Customer: PredicateCodableKeyPathProviding {
| |- error: type 'Customer' does not conform to protocol 'PredicateCodableKeyPathProviding'
| `- note: add stubs for conformance
17 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Customer>]'
18 | buildKeyPathMap(for: Customer.self)
19 | }
Foundation.PredicateCodableKeyPathProviding.predicateCodableKeyPaths:2:28: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | protocol PredicateCodableKeyPathProviding {
2 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }}
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:20:1: error: type 'CustomerDemographic' does not conform to protocol 'PredicateCodableKeyPathProviding'
18 | buildKeyPathMap(for: Customer.self)
19 | }
20 | extension CustomerDemographic: PredicateCodableKeyPathProviding {
| |- error: type 'CustomerDemographic' does not conform to protocol 'PredicateCodableKeyPathProviding'
| `- note: add stubs for conformance
21 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<CustomerDemographic>]'
22 | buildKeyPathMap(for: CustomerDemographic.self)
23 | }
Foundation.PredicateCodableKeyPathProviding.predicateCodableKeyPaths:2:28: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | protocol PredicateCodableKeyPathProviding {
2 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }}
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:24:1: error: type 'Employee' does not conform to protocol 'PredicateCodableKeyPathProviding'
22 | buildKeyPathMap(for: CustomerDemographic.self)
23 | }
24 | extension Employee: PredicateCodableKeyPathProviding {
| |- error: type 'Employee' does not conform to protocol 'PredicateCodableKeyPathProviding'
| `- note: add stubs for conformance
25 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Employee>]'
26 | buildKeyPathMap(for: Employee.self)
27 | }
Foundation.PredicateCodableKeyPathProviding.predicateCodableKeyPaths:2:28: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | protocol PredicateCodableKeyPathProviding {
2 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }}
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:28:1: error: type 'Order' does not conform to protocol 'PredicateCodableKeyPathProviding'
26 | buildKeyPathMap(for: Employee.self)
27 | }
28 | extension Order: PredicateCodableKeyPathProviding {
| |- error: type 'Order' does not conform to protocol 'PredicateCodableKeyPathProviding'
| `- note: add stubs for conformance
29 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Order>]'
30 | buildKeyPathMap(for: Order.self)
31 | }
Foundation.PredicateCodableKeyPathProviding.predicateCodableKeyPaths:2:28: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | protocol PredicateCodableKeyPathProviding {
2 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }}
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:32:1: error: type 'OrderDetail' does not conform to protocol 'PredicateCodableKeyPathProviding'
30 | buildKeyPathMap(for: Order.self)
31 | }
32 | extension OrderDetail: PredicateCodableKeyPathProviding {
| |- error: type 'OrderDetail' does not conform to protocol 'PredicateCodableKeyPathProviding'
| `- note: add stubs for conformance
33 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<OrderDetail>]'
34 | buildKeyPathMap(for: OrderDetail.self)
35 | }
Foundation.PredicateCodableKeyPathProviding.predicateCodableKeyPaths:2:28: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | protocol PredicateCodableKeyPathProviding {
2 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }}
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:36:1: error: type 'Product' does not conform to protocol 'PredicateCodableKeyPathProviding'
34 | buildKeyPathMap(for: OrderDetail.self)
35 | }
36 | extension Product: PredicateCodableKeyPathProviding {
| |- error: type 'Product' does not conform to protocol 'PredicateCodableKeyPathProviding'
| `- note: add stubs for conformance
37 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Product>]'
38 | buildKeyPathMap(for: Product.self)
39 | }
Foundation.PredicateCodableKeyPathProviding.predicateCodableKeyPaths:2:28: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | protocol PredicateCodableKeyPathProviding {
2 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }}
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:40:1: error: type 'Region' does not conform to protocol 'PredicateCodableKeyPathProviding'
38 | buildKeyPathMap(for: Product.self)
39 | }
40 | extension Region: PredicateCodableKeyPathProviding {
| |- error: type 'Region' does not conform to protocol 'PredicateCodableKeyPathProviding'
| `- note: add stubs for conformance
41 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Region>]'
42 | buildKeyPathMap(for: Region.self)
43 | }
Foundation.PredicateCodableKeyPathProviding.predicateCodableKeyPaths:2:28: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | protocol PredicateCodableKeyPathProviding {
2 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }}
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:44:1: error: type 'Shipper' does not conform to protocol 'PredicateCodableKeyPathProviding'
42 | buildKeyPathMap(for: Region.self)
43 | }
44 | extension Shipper: PredicateCodableKeyPathProviding {
| |- error: type 'Shipper' does not conform to protocol 'PredicateCodableKeyPathProviding'
| `- note: add stubs for conformance
45 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Shipper>]'
46 | buildKeyPathMap(for: Shipper.self)
47 | }
Foundation.PredicateCodableKeyPathProviding.predicateCodableKeyPaths:2:28: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | protocol PredicateCodableKeyPathProviding {
2 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }}
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:48:1: error: type 'Supplier' does not conform to protocol 'PredicateCodableKeyPathProviding'
46 | buildKeyPathMap(for: Shipper.self)
47 | }
48 | extension Supplier: PredicateCodableKeyPathProviding {
| |- error: type 'Supplier' does not conform to protocol 'PredicateCodableKeyPathProviding'
| `- note: add stubs for conformance
49 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Supplier>]'
50 | buildKeyPathMap(for: Supplier.self)
51 | }
Foundation.PredicateCodableKeyPathProviding.predicateCodableKeyPaths:2:28: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | protocol PredicateCodableKeyPathProviding {
2 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }}
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:52:1: error: type 'Territory' does not conform to protocol 'PredicateCodableKeyPathProviding'
50 | buildKeyPathMap(for: Supplier.self)
51 | }
52 | extension Territory: PredicateCodableKeyPathProviding {
| |- error: type 'Territory' does not conform to protocol 'PredicateCodableKeyPathProviding'
| `- note: add stubs for conformance
53 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Territory>]'
54 | buildKeyPathMap(for: Territory.self)
55 | }
Foundation.PredicateCodableKeyPathProviding.predicateCodableKeyPaths:2:28: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | protocol PredicateCodableKeyPathProviding {
2 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }}
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
3 |
BUILD FAILURE 6.1 macosSpm