Build Information
Failed to build NorthwindSwiftData, reference 0.9.0 (f552b0
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 17:57:39 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/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 (2.17s)
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.0
Building package at path: $PWD
https://github.com/Northwind-swift/NorthwindSwiftData.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/3] Copying Northwind.store
[0/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/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: annotate 'predicateCodableKeyPaths' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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'
13 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Category>]'
14 | buildKeyPathMap(for: Category.self)
15 | }
Foundation.PredicateCodableKeyPathProviding:3:32: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public protocol PredicateCodableKeyPathProviding {
3 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
4 | }
/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: annotate 'predicateCodableKeyPaths' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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'
17 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Customer>]'
18 | buildKeyPathMap(for: Customer.self)
19 | }
Foundation.PredicateCodableKeyPathProviding:3:32: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public protocol PredicateCodableKeyPathProviding {
3 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
4 | }
/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: annotate 'predicateCodableKeyPaths' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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'
21 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<CustomerDemographic>]'
22 | buildKeyPathMap(for: CustomerDemographic.self)
23 | }
Foundation.PredicateCodableKeyPathProviding:3:32: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public protocol PredicateCodableKeyPathProviding {
3 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
4 | }
/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: annotate 'predicateCodableKeyPaths' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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'
25 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Employee>]'
26 | buildKeyPathMap(for: Employee.self)
27 | }
Foundation.PredicateCodableKeyPathProviding:3:32: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public protocol PredicateCodableKeyPathProviding {
3 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
4 | }
/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: annotate 'predicateCodableKeyPaths' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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'
29 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Order>]'
30 | buildKeyPathMap(for: Order.self)
31 | }
Foundation.PredicateCodableKeyPathProviding:3:32: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public protocol PredicateCodableKeyPathProviding {
3 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
4 | }
/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: annotate 'predicateCodableKeyPaths' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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'
33 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<OrderDetail>]'
34 | buildKeyPathMap(for: OrderDetail.self)
35 | }
Foundation.PredicateCodableKeyPathProviding:3:32: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public protocol PredicateCodableKeyPathProviding {
3 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
4 | }
/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: annotate 'predicateCodableKeyPaths' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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'
37 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Product>]'
38 | buildKeyPathMap(for: Product.self)
39 | }
Foundation.PredicateCodableKeyPathProviding:3:32: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public protocol PredicateCodableKeyPathProviding {
3 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
4 | }
/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: annotate 'predicateCodableKeyPaths' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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'
41 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Region>]'
42 | buildKeyPathMap(for: Region.self)
43 | }
Foundation.PredicateCodableKeyPathProviding:3:32: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public protocol PredicateCodableKeyPathProviding {
3 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
4 | }
/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: annotate 'predicateCodableKeyPaths' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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'
45 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Shipper>]'
46 | buildKeyPathMap(for: Shipper.self)
47 | }
Foundation.PredicateCodableKeyPathProviding:3:32: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public protocol PredicateCodableKeyPathProviding {
3 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
4 | }
/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: annotate 'predicateCodableKeyPaths' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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'
49 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Supplier>]'
50 | buildKeyPathMap(for: Supplier.self)
51 | }
Foundation.PredicateCodableKeyPathProviding:3:32: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public protocol PredicateCodableKeyPathProviding {
3 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
4 | }
/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: annotate 'predicateCodableKeyPaths' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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'
53 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Territory>]'
54 | buildKeyPathMap(for: Territory.self)
55 | }
Foundation.PredicateCodableKeyPathProviding:3:32: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public protocol PredicateCodableKeyPathProviding {
3 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
4 | }
[5/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: annotate 'predicateCodableKeyPaths' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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'
13 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Category>]'
14 | buildKeyPathMap(for: Category.self)
15 | }
Foundation.PredicateCodableKeyPathProviding:3:32: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public protocol PredicateCodableKeyPathProviding {
3 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
4 | }
/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: annotate 'predicateCodableKeyPaths' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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'
17 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Customer>]'
18 | buildKeyPathMap(for: Customer.self)
19 | }
Foundation.PredicateCodableKeyPathProviding:3:32: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public protocol PredicateCodableKeyPathProviding {
3 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
4 | }
/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: annotate 'predicateCodableKeyPaths' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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'
21 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<CustomerDemographic>]'
22 | buildKeyPathMap(for: CustomerDemographic.self)
23 | }
Foundation.PredicateCodableKeyPathProviding:3:32: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public protocol PredicateCodableKeyPathProviding {
3 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
4 | }
/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: annotate 'predicateCodableKeyPaths' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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'
25 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Employee>]'
26 | buildKeyPathMap(for: Employee.self)
27 | }
Foundation.PredicateCodableKeyPathProviding:3:32: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public protocol PredicateCodableKeyPathProviding {
3 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
4 | }
/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: annotate 'predicateCodableKeyPaths' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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'
29 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Order>]'
30 | buildKeyPathMap(for: Order.self)
31 | }
Foundation.PredicateCodableKeyPathProviding:3:32: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public protocol PredicateCodableKeyPathProviding {
3 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
4 | }
/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: annotate 'predicateCodableKeyPaths' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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'
33 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<OrderDetail>]'
34 | buildKeyPathMap(for: OrderDetail.self)
35 | }
Foundation.PredicateCodableKeyPathProviding:3:32: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public protocol PredicateCodableKeyPathProviding {
3 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
4 | }
/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: annotate 'predicateCodableKeyPaths' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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'
37 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Product>]'
38 | buildKeyPathMap(for: Product.self)
39 | }
Foundation.PredicateCodableKeyPathProviding:3:32: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public protocol PredicateCodableKeyPathProviding {
3 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
4 | }
/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: annotate 'predicateCodableKeyPaths' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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'
41 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Region>]'
42 | buildKeyPathMap(for: Region.self)
43 | }
Foundation.PredicateCodableKeyPathProviding:3:32: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public protocol PredicateCodableKeyPathProviding {
3 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
4 | }
/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: annotate 'predicateCodableKeyPaths' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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'
45 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Shipper>]'
46 | buildKeyPathMap(for: Shipper.self)
47 | }
Foundation.PredicateCodableKeyPathProviding:3:32: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public protocol PredicateCodableKeyPathProviding {
3 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
4 | }
/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: annotate 'predicateCodableKeyPaths' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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'
49 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Supplier>]'
50 | buildKeyPathMap(for: Supplier.self)
51 | }
Foundation.PredicateCodableKeyPathProviding:3:32: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public protocol PredicateCodableKeyPathProviding {
3 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
4 | }
/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: annotate 'predicateCodableKeyPaths' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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'
53 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Territory>]'
54 | buildKeyPathMap(for: Territory.self)
55 | }
Foundation.PredicateCodableKeyPathProviding:3:32: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public protocol PredicateCodableKeyPathProviding {
3 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
4 | }
[6/23] Compiling NorthwindSwiftData Supplier.swift
[7/23] Compiling NorthwindSwiftData Territory.swift
[8/23] 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:25:19: note: struct 'Version' does not conform to the 'Sendable' protocol
23 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, visionOS 2, *)
24 | public static func entityName<T>(for type: T.Type) -> String where T : PersistentModel
25 | public struct Version : Codable, Comparable, CustomStringConvertible, Hashable {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
26 | public let major: Int
27 | 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: annotate 'versionIdentifier' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'url' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'schema' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'fileManager' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
205 |
206 | private static var defaultModelStoreURL: URL? {
Foundation.FileManager:1:12: note: class 'FileManager' does not conform to the 'Sendable' protocol
1 | open class FileManager : NSObject {
| `- note: class 'FileManager' does not conform to the 'Sendable' protocol
2 | open class var `default`: FileManager { get }
3 | @available(swift, obsoleted: 3, renamed: "default")
[9/23] 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:25:19: note: struct 'Version' does not conform to the 'Sendable' protocol
23 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, visionOS 2, *)
24 | public static func entityName<T>(for type: T.Type) -> String where T : PersistentModel
25 | public struct Version : Codable, Comparable, CustomStringConvertible, Hashable {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
26 | public let major: Int
27 | 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: annotate 'versionIdentifier' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'url' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'schema' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'fileManager' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
205 |
206 | private static var defaultModelStoreURL: URL? {
Foundation.FileManager:1:12: note: class 'FileManager' does not conform to the 'Sendable' protocol
1 | open class FileManager : NSObject {
| `- note: class 'FileManager' does not conform to the 'Sendable' protocol
2 | open class var `default`: FileManager { get }
3 | @available(swift, obsoleted: 3, renamed: "default")
[10/23] Compiling NorthwindSwiftData Region.swift
[11/23] Compiling NorthwindSwiftData Shipper.swift
[12/23] Compiling NorthwindSwiftData Employee.swift
[13/23] Compiling NorthwindSwiftData Order.swift
[14/23] Compiling NorthwindSwiftData OrderDetail.swift
[15/23] Compiling NorthwindSwiftData Product.swift
[16/23] Compiling NorthwindSwiftData resource_bundle_accessor.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[17/23] Compiling NorthwindSwiftData Customer.swift
[18/23] Compiling NorthwindSwiftData CustomerDemographic.swift
[19/23] Compiling NorthwindSwiftData AddressHolder.swift
[20/23] Compiling NorthwindSwiftData StructedAddressProvider.swift
[21/23] Compiling NorthwindSwiftData StructuredAddress.swift
[22/23] Compiling NorthwindSwiftData Category.swift
[23/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:25:19: note: struct 'Version' does not conform to the 'Sendable' protocol
23 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, visionOS 2, *)
24 | public static func entityName<T>(for type: T.Type) -> String where T : PersistentModel
25 | public struct Version : Codable, Comparable, CustomStringConvertible, Hashable {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
26 | public let major: Int
27 | 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: annotate 'versionIdentifier' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'url' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'schema' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'fileManager' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
205 |
206 | private static var defaultModelStoreURL: URL? {
Foundation.FileManager:1:12: note: class 'FileManager' does not conform to the 'Sendable' protocol
1 | open class FileManager : NSObject {
| `- note: class 'FileManager' does not conform to the 'Sendable' protocol
2 | open class var `default`: FileManager { get }
3 | @available(swift, obsoleted: 3, renamed: "default")
/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: annotate 'predicateCodableKeyPaths' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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'
13 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Category>]'
14 | buildKeyPathMap(for: Category.self)
15 | }
Foundation.PredicateCodableKeyPathProviding:3:32: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public protocol PredicateCodableKeyPathProviding {
3 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
4 | }
/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: annotate 'predicateCodableKeyPaths' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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'
17 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Customer>]'
18 | buildKeyPathMap(for: Customer.self)
19 | }
Foundation.PredicateCodableKeyPathProviding:3:32: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public protocol PredicateCodableKeyPathProviding {
3 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
4 | }
/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: annotate 'predicateCodableKeyPaths' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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'
21 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<CustomerDemographic>]'
22 | buildKeyPathMap(for: CustomerDemographic.self)
23 | }
Foundation.PredicateCodableKeyPathProviding:3:32: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public protocol PredicateCodableKeyPathProviding {
3 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
4 | }
/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: annotate 'predicateCodableKeyPaths' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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'
25 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Employee>]'
26 | buildKeyPathMap(for: Employee.self)
27 | }
Foundation.PredicateCodableKeyPathProviding:3:32: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public protocol PredicateCodableKeyPathProviding {
3 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
4 | }
/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: annotate 'predicateCodableKeyPaths' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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'
29 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Order>]'
30 | buildKeyPathMap(for: Order.self)
31 | }
Foundation.PredicateCodableKeyPathProviding:3:32: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public protocol PredicateCodableKeyPathProviding {
3 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
4 | }
/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: annotate 'predicateCodableKeyPaths' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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'
33 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<OrderDetail>]'
34 | buildKeyPathMap(for: OrderDetail.self)
35 | }
Foundation.PredicateCodableKeyPathProviding:3:32: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public protocol PredicateCodableKeyPathProviding {
3 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
4 | }
/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: annotate 'predicateCodableKeyPaths' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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'
37 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Product>]'
38 | buildKeyPathMap(for: Product.self)
39 | }
Foundation.PredicateCodableKeyPathProviding:3:32: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public protocol PredicateCodableKeyPathProviding {
3 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
4 | }
/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: annotate 'predicateCodableKeyPaths' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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'
41 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Region>]'
42 | buildKeyPathMap(for: Region.self)
43 | }
Foundation.PredicateCodableKeyPathProviding:3:32: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public protocol PredicateCodableKeyPathProviding {
3 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
4 | }
/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: annotate 'predicateCodableKeyPaths' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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'
45 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Shipper>]'
46 | buildKeyPathMap(for: Shipper.self)
47 | }
Foundation.PredicateCodableKeyPathProviding:3:32: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public protocol PredicateCodableKeyPathProviding {
3 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
4 | }
/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: annotate 'predicateCodableKeyPaths' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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'
49 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Supplier>]'
50 | buildKeyPathMap(for: Supplier.self)
51 | }
Foundation.PredicateCodableKeyPathProviding:3:32: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public protocol PredicateCodableKeyPathProviding {
3 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
4 | }
/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: annotate 'predicateCodableKeyPaths' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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'
53 | public static let predicateCodableKeyPaths =
| `- note: candidate has non-matching type '[String : PartialKeyPath<Territory>]'
54 | buildKeyPathMap(for: Territory.self)
55 | }
Foundation.PredicateCodableKeyPathProviding:3:32: note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public protocol PredicateCodableKeyPathProviding {
3 | @preconcurrency static var predicateCodableKeyPaths: [String : any PartialKeyPath<Self> & Sendable] { get }
| `- note: protocol requires property 'predicateCodableKeyPaths' with type '[String : any PartialKeyPath<Self> & Sendable]'
4 | }
BUILD FAILURE 6.0 macosSpm