Build Information
Successful build of NorthwindSwiftData with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 15
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Northwind-swift/NorthwindSwiftData.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Northwind-swift/NorthwindSwiftData
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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: $workDir/.spi.yml
SUCCESS checkout https://github.com/Northwind-swift/NorthwindSwiftData.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/Northwind-swift/NorthwindSwiftData.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/3] Write sources
[1/3] Copying Northwind.store
[2/3] Write swift-version-6F35C1178C84523A.txt
[4/22] Compiling NorthwindSwiftData NorthwindSchema.swift
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/NorthwindSchema.swift:31:21: warning: static property 'versionIdentifier' is not concurrency-safe because non-'Sendable' type 'Schema.Version' may have shared mutable state; this is an error in the Swift 6 language mode
29 | public enum NorthwindSchema: VersionedSchema {
30 |
31 | public static let versionIdentifier = Schema.Version(0, 1, 0)
| `- warning: static property 'versionIdentifier' is not concurrency-safe because non-'Sendable' type 'Schema.Version' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | public static let models : [ any PersistentModel.Type ] = [
SwiftData.Schema:19:19: note: struct 'Version' does not conform to the 'Sendable' protocol
17 | final public func save(to toURL: URL) throws
18 | public static func load(from fromURL: URL) throws -> Schema
19 | public struct Version : Codable, Comparable, CustomStringConvertible, Hashable {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
20 | public let major: Int
21 | 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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")
[5/22] Compiling NorthwindSwiftData NorthwindStore.swift
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/NorthwindSchema.swift:31:21: warning: static property 'versionIdentifier' is not concurrency-safe because non-'Sendable' type 'Schema.Version' may have shared mutable state; this is an error in the Swift 6 language mode
29 | public enum NorthwindSchema: VersionedSchema {
30 |
31 | public static let versionIdentifier = Schema.Version(0, 1, 0)
| `- warning: static property 'versionIdentifier' is not concurrency-safe because non-'Sendable' type 'Schema.Version' may have shared mutable state; this is an error in the Swift 6 language mode
32 |
33 | public static let models : [ any PersistentModel.Type ] = [
SwiftData.Schema:19:19: note: struct 'Version' does not conform to the 'Sendable' protocol
17 | final public func save(to toURL: URL) throws
18 | public static func load(from fromURL: URL) throws -> Schema
19 | public struct Version : Codable, Comparable, CustomStringConvertible, Hashable {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
20 | public let major: Int
21 | 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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")
[6/22] Compiling NorthwindSwiftData Supplier.swift
[7/22] Compiling NorthwindSwiftData Territory.swift
[8/22] Compiling NorthwindSwiftData OrderDetail.swift
[9/22] Compiling NorthwindSwiftData Product.swift
[10/22] Compiling NorthwindSwiftData Region.swift
[11/22] Compiling NorthwindSwiftData Shipper.swift
[12/22] Compiling NorthwindSwiftData AddressHolder.swift
[13/22] Compiling NorthwindSwiftData StructedAddressProvider.swift
[14/22] Compiling NorthwindSwiftData Employee.swift
[15/22] Compiling NorthwindSwiftData Order.swift
[16/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 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:17:21: warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Customer>]' may have shared mutable state; this is an error in the Swift 6 language mode
15 | }
16 | extension Customer: PredicateCodableKeyPathProviding {
17 | public static let predicateCodableKeyPaths =
| |- warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Customer>]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:21:21: warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<CustomerDemographic>]' may have shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 | extension CustomerDemographic: PredicateCodableKeyPathProviding {
21 | public static let predicateCodableKeyPaths =
| |- warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<CustomerDemographic>]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:25:21: warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Employee>]' may have shared mutable state; this is an error in the Swift 6 language mode
23 | }
24 | extension Employee: PredicateCodableKeyPathProviding {
25 | public static let predicateCodableKeyPaths =
| |- warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Employee>]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:29:21: warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Order>]' may have shared mutable state; this is an error in the Swift 6 language mode
27 | }
28 | extension Order: PredicateCodableKeyPathProviding {
29 | public static let predicateCodableKeyPaths =
| |- warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Order>]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:33:21: warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<OrderDetail>]' may have shared mutable state; this is an error in the Swift 6 language mode
31 | }
32 | extension OrderDetail: PredicateCodableKeyPathProviding {
33 | public static let predicateCodableKeyPaths =
| |- warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<OrderDetail>]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:37:21: warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Product>]' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 | extension Product: PredicateCodableKeyPathProviding {
37 | public static let predicateCodableKeyPaths =
| |- warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Product>]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:41:21: warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Region>]' may have shared mutable state; this is an error in the Swift 6 language mode
39 | }
40 | extension Region: PredicateCodableKeyPathProviding {
41 | public static let predicateCodableKeyPaths =
| |- warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Region>]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:45:21: warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Shipper>]' may have shared mutable state; this is an error in the Swift 6 language mode
43 | }
44 | extension Shipper: PredicateCodableKeyPathProviding {
45 | public static let predicateCodableKeyPaths =
| |- warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Shipper>]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:49:21: warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Supplier>]' may have shared mutable state; this is an error in the Swift 6 language mode
47 | }
48 | extension Supplier: PredicateCodableKeyPathProviding {
49 | public static let predicateCodableKeyPaths =
| |- warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Supplier>]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:53:21: warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Territory>]' may have shared mutable state; this is an error in the Swift 6 language mode
51 | }
52 | extension Territory: PredicateCodableKeyPathProviding {
53 | public static let predicateCodableKeyPaths =
| |- warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Territory>]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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 | deinit
3 | }
[17/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 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:17:21: warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Customer>]' may have shared mutable state; this is an error in the Swift 6 language mode
15 | }
16 | extension Customer: PredicateCodableKeyPathProviding {
17 | public static let predicateCodableKeyPaths =
| |- warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Customer>]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:21:21: warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<CustomerDemographic>]' may have shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 | extension CustomerDemographic: PredicateCodableKeyPathProviding {
21 | public static let predicateCodableKeyPaths =
| |- warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<CustomerDemographic>]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:25:21: warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Employee>]' may have shared mutable state; this is an error in the Swift 6 language mode
23 | }
24 | extension Employee: PredicateCodableKeyPathProviding {
25 | public static let predicateCodableKeyPaths =
| |- warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Employee>]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:29:21: warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Order>]' may have shared mutable state; this is an error in the Swift 6 language mode
27 | }
28 | extension Order: PredicateCodableKeyPathProviding {
29 | public static let predicateCodableKeyPaths =
| |- warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Order>]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:33:21: warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<OrderDetail>]' may have shared mutable state; this is an error in the Swift 6 language mode
31 | }
32 | extension OrderDetail: PredicateCodableKeyPathProviding {
33 | public static let predicateCodableKeyPaths =
| |- warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<OrderDetail>]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:37:21: warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Product>]' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 | extension Product: PredicateCodableKeyPathProviding {
37 | public static let predicateCodableKeyPaths =
| |- warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Product>]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:41:21: warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Region>]' may have shared mutable state; this is an error in the Swift 6 language mode
39 | }
40 | extension Region: PredicateCodableKeyPathProviding {
41 | public static let predicateCodableKeyPaths =
| |- warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Region>]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:45:21: warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Shipper>]' may have shared mutable state; this is an error in the Swift 6 language mode
43 | }
44 | extension Shipper: PredicateCodableKeyPathProviding {
45 | public static let predicateCodableKeyPaths =
| |- warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Shipper>]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:49:21: warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Supplier>]' may have shared mutable state; this is an error in the Swift 6 language mode
47 | }
48 | extension Supplier: PredicateCodableKeyPathProviding {
49 | public static let predicateCodableKeyPaths =
| |- warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Supplier>]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:53:21: warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Territory>]' may have shared mutable state; this is an error in the Swift 6 language mode
51 | }
52 | extension Territory: PredicateCodableKeyPathProviding {
53 | public static let predicateCodableKeyPaths =
| |- warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Territory>]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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 | deinit
3 | }
[18/22] Compiling NorthwindSwiftData Customer.swift
[19/22] Compiling NorthwindSwiftData CustomerDemographic.swift
[20/22] 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:19:19: note: struct 'Version' does not conform to the 'Sendable' protocol
17 | final public func save(to toURL: URL) throws
18 | public static func load(from fromURL: URL) throws -> Schema
19 | public struct Version : Codable, Comparable, CustomStringConvertible, Hashable {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
20 | public let major: Int
21 | 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:17:21: warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Customer>]' may have shared mutable state; this is an error in the Swift 6 language mode
15 | }
16 | extension Customer: PredicateCodableKeyPathProviding {
17 | public static let predicateCodableKeyPaths =
| |- warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Customer>]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:21:21: warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<CustomerDemographic>]' may have shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 | extension CustomerDemographic: PredicateCodableKeyPathProviding {
21 | public static let predicateCodableKeyPaths =
| |- warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<CustomerDemographic>]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:25:21: warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Employee>]' may have shared mutable state; this is an error in the Swift 6 language mode
23 | }
24 | extension Employee: PredicateCodableKeyPathProviding {
25 | public static let predicateCodableKeyPaths =
| |- warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Employee>]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:29:21: warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Order>]' may have shared mutable state; this is an error in the Swift 6 language mode
27 | }
28 | extension Order: PredicateCodableKeyPathProviding {
29 | public static let predicateCodableKeyPaths =
| |- warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Order>]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:33:21: warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<OrderDetail>]' may have shared mutable state; this is an error in the Swift 6 language mode
31 | }
32 | extension OrderDetail: PredicateCodableKeyPathProviding {
33 | public static let predicateCodableKeyPaths =
| |- warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<OrderDetail>]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:37:21: warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Product>]' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 | extension Product: PredicateCodableKeyPathProviding {
37 | public static let predicateCodableKeyPaths =
| |- warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Product>]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:41:21: warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Region>]' may have shared mutable state; this is an error in the Swift 6 language mode
39 | }
40 | extension Region: PredicateCodableKeyPathProviding {
41 | public static let predicateCodableKeyPaths =
| |- warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Region>]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:45:21: warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Shipper>]' may have shared mutable state; this is an error in the Swift 6 language mode
43 | }
44 | extension Shipper: PredicateCodableKeyPathProviding {
45 | public static let predicateCodableKeyPaths =
| |- warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Shipper>]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:49:21: warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Supplier>]' may have shared mutable state; this is an error in the Swift 6 language mode
47 | }
48 | extension Supplier: PredicateCodableKeyPathProviding {
49 | public static let predicateCodableKeyPaths =
| |- warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Supplier>]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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 | deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/SwiftDataExtras/CodableKeyPathes.swift:53:21: warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Territory>]' may have shared mutable state; this is an error in the Swift 6 language mode
51 | }
52 | extension Territory: PredicateCodableKeyPathProviding {
53 | public static let predicateCodableKeyPaths =
| |- warning: static property 'predicateCodableKeyPaths' is not concurrency-safe because non-'Sendable' type '[String : PartialKeyPath<Territory>]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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 | deinit
3 | }
[21/22] Compiling NorthwindSwiftData StructuredAddress.swift
[22/22] Compiling NorthwindSwiftData Category.swift
[23/23] Compiling NorthwindSwiftData resource_bundle_accessor.swift
Build complete! (26.24s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "NorthwindSwiftData",
"name" : "NorthwindSwiftData",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "14.0"
},
{
"name" : "ios",
"version" : "17.0"
}
],
"products" : [
{
"name" : "NorthwindSwiftData",
"targets" : [
"NorthwindSwiftData"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "NorthwindSwiftDataTests",
"module_type" : "SwiftTarget",
"name" : "NorthwindSwiftDataTests",
"path" : "Tests/NorthwindSwiftDataTests",
"sources" : [
"EncodingTests.swift",
"Fixtures.swift",
"SimpleLoadTests.swift"
],
"target_dependencies" : [
"NorthwindSwiftData"
],
"type" : "test"
},
{
"c99name" : "NorthwindSwiftData",
"module_type" : "SwiftTarget",
"name" : "NorthwindSwiftData",
"path" : "Sources/NorthwindSwiftData",
"product_memberships" : [
"NorthwindSwiftData"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/Resources/Northwind.store",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"Abstractions/AddressHolder.swift",
"Abstractions/StructedAddressProvider.swift",
"Abstractions/StructuredAddress.swift",
"Models/Category.swift",
"Models/Customer.swift",
"Models/CustomerDemographic.swift",
"Models/Employee.swift",
"Models/Order.swift",
"Models/OrderDetail.swift",
"Models/Product.swift",
"Models/Region.swift",
"Models/Shipper.swift",
"Models/Supplier.swift",
"Models/Territory.swift",
"NorthwindSchema.swift",
"NorthwindStore.swift",
"Reexports.swift",
"SwiftDataExtras/CodableKeyPathes.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.