Build Information
Successful build of NorthwindManagedModels 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/NorthwindManagedModels.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Northwind-swift/NorthwindManagedModels
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at bf7d913 GHA: Fix iOS build
Cloned https://github.com/Northwind-swift/NorthwindManagedModels.git
Revision (git rev-parse @):
bf7d913a1a3ca92eda8cfa6079e070b6d1bd8809
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/Northwind-swift/NorthwindManagedModels.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/Northwind-swift/NorthwindManagedModels.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/19] Write sources
[10/19] Copying Northwind.store
[12/19] Write sources
[16/19] Write swift-version-6F35C1178C84523A.txt
[18/21] Emitting module SwiftSyntax509
[19/21] Compiling SwiftSyntax509 Empty.swift
[20/67] Compiling SwiftSyntax MemoryLayout.swift
[21/67] Compiling SwiftSyntax MissingNodeInitializers.swift
[22/67] Compiling SwiftSyntax RawSyntax.swift
[23/67] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[24/67] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[25/72] Compiling SwiftSyntax SyntaxText.swift
[26/72] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[27/72] Compiling SwiftSyntax TokenDiagnostic.swift
[28/72] Compiling SwiftSyntax TokenSyntax.swift
[29/72] Compiling SwiftSyntax Trivia.swift
[30/72] Compiling SwiftSyntax RawSyntaxTokenView.swift
[31/72] Compiling SwiftSyntax SourceLength.swift
[32/72] Compiling SwiftSyntax SourceLocation.swift
[33/72] Compiling SwiftSyntax SourcePresence.swift
[34/72] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[35/72] Compiling SwiftSyntax Syntax.swift
[36/72] Compiling SwiftSyntax SyntaxArena.swift
[37/72] Compiling SwiftSyntax SyntaxChildren.swift
[38/72] Compiling SwiftSyntax SyntaxCollection.swift
[39/72] Compiling SwiftSyntax SyntaxData.swift
[40/72] Compiling SwiftSyntax AbsolutePosition.swift
[41/72] Compiling SwiftSyntax Assert.swift
[42/72] Compiling SwiftSyntax BumpPtrAllocator.swift
[43/72] Compiling SwiftSyntax CommonAncestor.swift
[44/72] Compiling SwiftSyntax Convenience.swift
[45/72] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[46/72] Compiling SwiftSyntax SyntaxBaseNodes.swift
[47/72] Compiling SwiftSyntax SyntaxCollections.swift
[48/72] Compiling SwiftSyntax SyntaxEnum.swift
[49/72] Compiling SwiftSyntax SyntaxKind.swift
[50/72] Emitting module SwiftSyntax
[51/72] Compiling SwiftSyntax Utils.swift
[52/72] Compiling SwiftSyntax ChildNameForKeyPath.swift
[53/72] Compiling SwiftSyntax Keyword.swift
[54/72] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[55/72] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[56/72] Compiling SwiftSyntax SyntaxExprNodes.swift
[57/72] Compiling SwiftSyntax SyntaxNodes.swift
[58/72] Compiling SwiftSyntax SyntaxPatternNodes.swift
[59/72] Compiling SwiftSyntax SyntaxStmtNodes.swift
[60/72] Compiling SwiftSyntax SyntaxTypeNodes.swift
[61/72] Compiling SwiftSyntax Tokens.swift
[62/72] Compiling SwiftSyntax TriviaPieces.swift
[63/72] Compiling SwiftSyntax RawSyntaxNodes.swift
[64/72] Compiling SwiftSyntax RawSyntaxValidation.swift
[65/72] Compiling SwiftSyntax SyntaxDeclNodes.swift
[66/72] Compiling SwiftSyntax SyntaxRewriter.swift
[67/72] Compiling SwiftSyntax SyntaxTraits.swift
[68/72] Compiling SwiftSyntax SyntaxTransform.swift
[69/72] Compiling SwiftSyntax SyntaxVisitor.swift
[70/72] Compiling SwiftSyntax TokenKind.swift
[71/124] Compiling SwiftDiagnostics Note.swift
[72/124] Compiling SwiftDiagnostics Message.swift
[73/124] Compiling SwiftDiagnostics FixIt.swift
[74/124] Compiling SwiftDiagnostics Diagnostic.swift
[75/124] Compiling SwiftDiagnostics Convenience.swift
[76/124] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[77/124] Emitting module SwiftDiagnostics
[78/124] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[79/124] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[80/124] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[81/124] Compiling SwiftBasicFormat Syntax+Extensions.swift
[82/124] Emitting module SwiftBasicFormat
[83/124] Compiling SwiftBasicFormat BasicFormat.swift
[84/124] Compiling SwiftParser Lexeme.swift
[85/124] Compiling SwiftParser LexemeSequence.swift
[86/124] Compiling SwiftParser Lexer.swift
[87/124] Compiling SwiftParser RegexLiteralLexer.swift
[88/128] Compiling SwiftParser UnicodeScalarExtensions.swift
[89/128] Compiling SwiftParser Lookahead.swift
[90/128] Compiling SwiftParser LoopProgressCondition.swift
[91/128] Compiling SwiftParser Modifiers.swift
[92/128] Compiling SwiftParser Names.swift
[93/128] Compiling SwiftParser Nominals.swift
[94/128] Compiling SwiftParser Parameters.swift
[95/128] Compiling SwiftParser ParseSourceFile.swift
[96/128] Compiling SwiftParser Statements.swift
[97/128] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[98/128] Compiling SwiftParser StringLiterals.swift
[99/128] Compiling SwiftParser SwiftParserCompatibility.swift
[100/128] Compiling SwiftParser Parser.swift
[101/128] Compiling SwiftParser Patterns.swift
[102/128] Compiling SwiftParser Recovery.swift
[103/128] Compiling SwiftParser Specifiers.swift
[104/128] Compiling SwiftParser SyntaxUtils.swift
[105/128] Compiling SwiftParser TokenConsumer.swift
[106/128] Compiling SwiftParser TokenPrecedence.swift
[107/128] Compiling SwiftParser TokenSpec.swift
[108/128] Compiling SwiftParser TokenSpecSet.swift
[109/128] Compiling SwiftParser TopLevel.swift
[110/128] Compiling SwiftParser TriviaParser.swift
[111/128] Compiling SwiftParser Types.swift
[112/128] Compiling SwiftParser IsLexerClassified.swift
[113/128] Compiling SwiftParser LayoutNodes+Parsable.swift
[114/128] Compiling SwiftParser Parser+TokenSpecSet.swift
[115/128] Compiling SwiftParser TokenSpecStaticMembers.swift
[116/128] Compiling SwiftParser Attributes.swift
[117/128] Compiling SwiftParser Availability.swift
[118/128] Compiling SwiftParser CharacterInfo.swift
[119/128] Compiling SwiftParser CollectionNodes+Parsable.swift
[120/128] Compiling SwiftParser Declarations.swift
[121/128] Emitting module SwiftParser
[122/128] Compiling SwiftParser Directives.swift
[123/128] Compiling SwiftParser ExperimentalFeatures.swift
[124/128] Compiling SwiftParser Expressions.swift
[125/128] Compiling SwiftParser IncrementalParseTransition.swift
[126/128] Compiling SwiftParser Cursor.swift
[127/151] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[128/152] Compiling SwiftOperators OperatorError+Diagnostics.swift
[129/153] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[130/153] Compiling SwiftOperators SyntaxSynthesis.swift
[131/153] Compiling SwiftOperators PrecedenceGraph.swift
[132/153] Compiling SwiftOperators OperatorTable.swift
[133/153] Compiling SwiftOperators OperatorTable+Semantics.swift
[134/153] Compiling SwiftOperators PrecedenceGroup.swift
[135/153] Compiling SwiftOperators OperatorError.swift
[136/153] Compiling SwiftOperators OperatorTable+Defaults.swift
[137/153] Compiling SwiftOperators Operator.swift
[138/153] Compiling SwiftOperators OperatorTable+Folding.swift
[139/153] Emitting module SwiftOperators
[140/153] Compiling SwiftParserDiagnostics Utils.swift
[141/153] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[142/153] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[143/153] Compiling SwiftParserDiagnostics PresenceUtils.swift
[144/153] Emitting module SwiftParserDiagnostics
[145/153] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[146/153] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[147/153] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[148/153] Compiling SwiftParserDiagnostics MissingNodesError.swift
[149/153] Compiling SwiftParserDiagnostics MissingTokenError.swift
[150/153] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[151/153] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[152/167] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[153/168] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[154/168] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[155/168] Compiling SwiftSyntaxBuilder Indenter.swift
[156/168] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[157/168] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[158/168] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[159/168] Emitting module SwiftSyntaxBuilder
[160/168] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[161/168] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[162/168] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[163/168] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[164/168] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[165/168] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[166/168] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[167/182] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[168/182] Compiling SwiftSyntaxMacros MemberMacro.swift
[169/183] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[170/183] Compiling SwiftSyntaxMacros Macro.swift
[171/183] Compiling SwiftSyntaxMacros Macro+Format.swift
[172/183] Compiling SwiftSyntaxMacros PeerMacro.swift
[173/183] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[174/183] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[175/183] Compiling SwiftSyntaxMacros AccessorMacro.swift
[176/183] Compiling SwiftSyntaxMacros AttachedMacro.swift
[177/183] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[178/183] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[179/183] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[180/183] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[181/183] Emitting module SwiftSyntaxMacros
[182/191] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[183/191] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[184/191] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[185/191] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[186/191] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[187/191] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[188/191] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[189/191] Emitting module SwiftSyntaxMacroExpansion
[190/198] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[191/198] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[192/198] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[193/198] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[194/198] Emitting module SwiftCompilerPluginMessageHandling
[195/198] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[196/198] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[197/200] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[198/200] Emitting module SwiftCompilerPlugin
[199/220] Compiling ManagedModelMacros PersistedPropertyMacro.swift
[200/220] Compiling ManagedModelMacros RelationshipMacro.swift
[201/220] Compiling ManagedModelMacros ModelMacro.swift
[202/220] Compiling ManagedModelMacros ModelMemberAttributes.swift
[203/220] Compiling ManagedModelMacros ClassDeclSyntax+Extras.swift
[204/220] Compiling ManagedModelMacros ContextHelpers.swift
[205/220] Compiling ManagedModelMacros MetadataSlot.swift
[206/220] Compiling ManagedModelMacros ModelExtensions.swift
[207/220] Compiling ManagedModelMacros TransientMacro.swift
[208/220] Compiling ManagedModelMacros AttributeTypes.swift
[209/220] Compiling ManagedModelMacros CompilerPlugin.swift
[210/220] Compiling ManagedModelMacros MacroDiagnostic.swift
[211/220] Compiling ManagedModelMacros GenerateInitializers.swift
[212/220] Emitting module ManagedModelMacros
[213/220] Compiling ManagedModelMacros ModelMembers.swift
[214/220] Compiling ManagedModelMacros ModelInitializers.swift
[215/220] Compiling ManagedModelMacros ModelProperty.swift
[216/220] Compiling ManagedModelMacros AttributeMacro.swift
[217/220] Compiling ManagedModelMacros DeclHelpers.swift
[218/220] Compiling ManagedModelMacros DeclModifierListSyntax+Extras.swift
[219/222] Compiling ManagedModelMacros ExpressionType.swift
[220/222] Compiling ManagedModelMacros TypeSyntax+Extras.swift
[220/222] Write Objects.LinkFileList
[221/222] Linking ManagedModelMacros
[223/262] Compiling ManagedModels Attribute.swift
[224/262] Compiling ManagedModels AttributeOption.swift
[225/262] Compiling ManagedModels Entity.swift
[226/262] Compiling ManagedModels Relationship.swift
[227/266] Compiling ManagedModels ModelConfiguration.swift
[228/266] Compiling ManagedModels ModelContainer.swift
[229/266] Compiling ManagedModels NSPersistentContainer+Data.swift
[230/266] Compiling ManagedModels NSPersistentStoreDescription+Data.swift
[231/266] Compiling ManagedModels ModelContext.swift
[232/266] Compiling ManagedModels NSAttributeDescription+Data.swift
[233/266] Compiling ManagedModels NSAttributeType+Data.swift
[234/266] Compiling ManagedModels NSDeleteRule+Data.swift
[235/266] Compiling ManagedModels NSEntityDescription+Data.swift
[236/266] Compiling ManagedModels RelationshipOption.swift
[237/266] Compiling ManagedModels RelationshipTargetType.swift
[238/266] Compiling ManagedModels Schema.swift
[239/266] Compiling ManagedModels SchemaProperty.swift
[240/266] Compiling ManagedModels SchemaVersion.swift
[241/266] Compiling ManagedModels VersionedSchema.swift
[242/266] Compiling ManagedModels CodableTransformer.swift
[243/266] Compiling ManagedModels CoreDataPrimitiveValue.swift
[244/266] Compiling ManagedModels PersistentModel+KVC.swift
[245/266] Compiling ManagedModels PersistentModel.swift
[246/266] Compiling ManagedModels PropertyMetadata.swift
[247/266] Compiling ManagedModels RelationshipCollection.swift
[248/266] Compiling ManagedModels ReExports.swift
[249/266] Compiling ManagedModels NSManagedObjectModel+Data.swift
[250/266] Compiling ManagedModels NSPropertyDescription+Data.swift
[251/266] Compiling ManagedModels NSRelationshipDescription+Data.swift
[252/266] Compiling ManagedModels NSEntityDescription+Generation.swift
[253/266] Compiling ManagedModels NSManagedObjectContext+Data.swift
[254/266] Compiling ManagedModels MigrationStage.swift
[255/266] Compiling ManagedModels SchemaMigrationPlan.swift
[256/266] Compiling ManagedModels ModelMacroDefinition.swift
[257/266] Compiling ManagedModels PersistentIdentifier.swift
[258/266] Emitting module ManagedModels
[259/266] Compiling ManagedModels ModelContext+SwiftUI.swift
[260/266] Compiling ManagedModels AnyOptional.swift
[261/266] Compiling ManagedModels NSSortDescriptors+Extras.swift
[262/266] Compiling ManagedModels OrderedSet.swift
[263/266] Compiling ManagedModels NSRelationshipDescription+Inverse.swift
[264/266] Compiling ManagedModels SchemaBuilder.swift
[265/266] Compiling ManagedModels FetchRequest+Extras.swift
[266/266] Compiling ManagedModels ModelContainer+SwiftUI.swift
[267/285] Compiling NorthwindSwiftData Region.swift
[268/285] Compiling NorthwindSwiftData Shipper.swift
[269/285] 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 | }
[270/285] 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 | }
[271/286] Compiling NorthwindSwiftData Supplier.swift
[272/286] Compiling NorthwindSwiftData Territory.swift
[273/286] Compiling NorthwindSwiftData OrderDetail.swift
[274/286] Compiling NorthwindSwiftData Product.swift
[275/286] Compiling NorthwindSwiftData Employee.swift
[276/286] Compiling NorthwindSwiftData Order.swift
[277/286] Compiling NorthwindSwiftData NorthwindSchema.swift
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/NorthwindSchema.swift:30:21: warning: static property 'versionIdentifier' is not concurrency-safe because non-'Sendable' type 'Schema.Version' (aka 'NSManagedObjectModel.Version') may have shared mutable state; this is an error in the Swift 6 language mode
28 | public enum NorthwindSchema: VersionedSchema {
29 |
30 | public static let versionIdentifier = Schema.Version(0, 1, 0)
| `- warning: static property 'versionIdentifier' is not concurrency-safe because non-'Sendable' type 'Schema.Version' (aka 'NSManagedObjectModel.Version') may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | public static let models : [ any PersistentModel.Type ] = [
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ManagedModels/Sources/ManagedModels/Schema/SchemaVersion.swift:8:10: note: struct 'Version' does not conform to the 'Sendable' protocol
6 | public extension Schema {
7 |
8 | struct Version: Codable, Hashable {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
9 |
10 | public let major: Int
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/NorthwindSchema.swift:7:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ManagedModels'
5 |
6 | import Foundation // for Data
7 | import ManagedModels
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ManagedModels'
8 |
9 | /// The type used to store monetary values in the database, currently `Decimal`.
:
28 | public enum NorthwindSchema: VersionedSchema {
29 |
30 | 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
31 |
32 | 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.model(for: 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:208: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
206 | }
207 |
208 | 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
209 |
210 | 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")
[278/286] Compiling NorthwindSwiftData NorthwindStore.swift
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/NorthwindSchema.swift:30:21: warning: static property 'versionIdentifier' is not concurrency-safe because non-'Sendable' type 'Schema.Version' (aka 'NSManagedObjectModel.Version') may have shared mutable state; this is an error in the Swift 6 language mode
28 | public enum NorthwindSchema: VersionedSchema {
29 |
30 | public static let versionIdentifier = Schema.Version(0, 1, 0)
| `- warning: static property 'versionIdentifier' is not concurrency-safe because non-'Sendable' type 'Schema.Version' (aka 'NSManagedObjectModel.Version') may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | public static let models : [ any PersistentModel.Type ] = [
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ManagedModels/Sources/ManagedModels/Schema/SchemaVersion.swift:8:10: note: struct 'Version' does not conform to the 'Sendable' protocol
6 | public extension Schema {
7 |
8 | struct Version: Codable, Hashable {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
9 |
10 | public let major: Int
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/NorthwindSchema.swift:7:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ManagedModels'
5 |
6 | import Foundation // for Data
7 | import ManagedModels
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ManagedModels'
8 |
9 | /// The type used to store monetary values in the database, currently `Decimal`.
:
28 | public enum NorthwindSchema: VersionedSchema {
29 |
30 | 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
31 |
32 | 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.model(for: 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:208: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
206 | }
207 |
208 | 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
209 |
210 | 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")
[279/286] Compiling NorthwindSwiftData Customer.swift
[280/286] Compiling NorthwindSwiftData CustomerDemographic.swift
[281/286] Compiling NorthwindSwiftData resource_bundle_accessor.swift
[282/286] Compiling NorthwindSwiftData AddressHolder.swift
[283/286] Compiling NorthwindSwiftData StructedAddressProvider.swift
[284/286] Compiling NorthwindSwiftData StructuredAddress.swift
[285/286] Compiling NorthwindSwiftData Category.swift
[286/286] Emitting module NorthwindSwiftData
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/NorthwindSchema.swift:30:21: warning: static property 'versionIdentifier' is not concurrency-safe because non-'Sendable' type 'Schema.Version' (aka 'NSManagedObjectModel.Version') may have shared mutable state; this is an error in the Swift 6 language mode
28 | public enum NorthwindSchema: VersionedSchema {
29 |
30 | public static let versionIdentifier = Schema.Version(0, 1, 0)
| `- warning: static property 'versionIdentifier' is not concurrency-safe because non-'Sendable' type 'Schema.Version' (aka 'NSManagedObjectModel.Version') may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | public static let models : [ any PersistentModel.Type ] = [
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ManagedModels/Sources/ManagedModels/Schema/SchemaVersion.swift:8:10: note: struct 'Version' does not conform to the 'Sendable' protocol
6 | public extension Schema {
7 |
8 | struct Version: Codable, Hashable {
| `- note: struct 'Version' does not conform to the 'Sendable' protocol
9 |
10 | public let major: Int
/Users/admin/builder/spi-builder-workspace/Sources/NorthwindSwiftData/NorthwindSchema.swift:7:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ManagedModels'
5 |
6 | import Foundation // for Data
7 | import ManagedModels
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ManagedModels'
8 |
9 | /// The type used to store monetary values in the database, currently `Decimal`.
:
28 | public enum NorthwindSchema: VersionedSchema {
29 |
30 | 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
31 |
32 | 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.model(for: 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:208: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
206 | }
207 |
208 | 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
209 |
210 | 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 | }
Build complete! (102.72s)
Fetching https://github.com/Data-swift/ManagedModels.git
[1/1011] Fetching managedmodels
Fetched https://github.com/Data-swift/ManagedModels.git from cache (0.97s)
Computing version for https://github.com/Data-swift/ManagedModels.git
Computed https://github.com/Data-swift/ManagedModels.git at 0.8.8 (0.53s)
Fetching https://github.com/apple/swift-syntax.git
[1/60887] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (3.22s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (1.23s)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 509.1.1
Creating working copy for https://github.com/Data-swift/ManagedModels.git
Working copy of https://github.com/Data-swift/ManagedModels.git resolved at 0.8.8
Build complete.
{
"dependencies" : [
{
"identity" : "managedmodels",
"requirement" : {
"range" : [
{
"lower_bound" : "0.8.2",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Data-swift/ManagedModels.git"
}
],
"manifest_display_name" : "NorthwindManagedModels",
"name" : "NorthwindManagedModels",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "ios",
"version" : "15.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_dependencies" : [
"ManagedModels"
],
"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.