Build Information
Failed to build DataStoreKit, reference main (ec5461), with Swift 6.3 for macOS (SPM) on 24 Sep 2026 02:30:41 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.5.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/asymbas/datastorekit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/asymbas/datastorekit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at ec5461e Improve coverage on remaining predicate expressions
Cloned https://github.com/asymbas/datastorekit.git
Revision (git rev-parse @):
ec5461efc7312b266e38a7f61bbba3b5a71ffa5f
SUCCESS checkout https://github.com/asymbas/datastorekit.git at main
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/apple/swift-docc-symbolkit
Fetching https://github.com/apple/swift-log.git
[1/2345] Fetching swift-docc-plugin
[2/10510] Fetching swift-docc-plugin, swift-log
[1951/38203] Fetching swift-docc-plugin, swift-log, swift-collections
[3095/42032] Fetching swift-docc-plugin, swift-log, swift-collections, swift-docc-symbolkit
Fetched https://github.com/apple/swift-log.git from cache (1.54s)
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.54s)
[9368/31522] Fetching swift-collections, swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit from cache (2.61s)
Fetched https://github.com/apple/swift-collections.git from cache (2.61s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.1.0 (5.50s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.59s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (0.65s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.72s)
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.4
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.1.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"traits": [
"default"
],
"dependencies": [
{
"identity": "datastorekit",
"name": "DataStoreKit",
"url": "https://github.com/asymbas/datastorekit.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/datastorekit",
"traits": [
"default"
],
"dependencies": [
{
"identity": "swift-collections",
"name": "swift-collections",
"url": "https://github.com/apple/swift-collections.git",
"version": "1.2.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
"traits": [
"default"
],
"dependencies": [
]
},
{
"identity": "swift-log",
"name": "swift-log",
"url": "https://github.com/apple/swift-log.git",
"version": "1.7.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/asymbas/datastorekit.git
[1/2346] Fetching datastorekit
Fetched https://github.com/asymbas/datastorekit.git from cache (1.27s)
Fetching https://github.com/apple/swift-collections.git from cache
Fetching https://github.com/apple/swift-log.git from cache
Fetched https://github.com/apple/swift-log.git from cache (0.65s)
Fetched https://github.com/apple/swift-collections.git from cache (0.65s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (0.75s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.7.1 (0.58s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.7.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.1
Creating working copy for https://github.com/asymbas/datastorekit.git
Working copy of https://github.com/asymbas/datastorekit.git resolved at main (ec5461e)
warning: '.resolve-product-dependencies': dependency 'datastorekit' is not used by any target
Found 2 product dependencies
- swift-collections
- swift-log
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.3
Building package at path: $PWD
https://github.com/asymbas/datastorekit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.5.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/21] Write sources
[20/21] Write swift-version-69A768CDF2A0BEE1.txt
[22/40] Compiling InternalCollectionsUtilities Descriptions.swift
[23/41] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[24/41] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[25/41] Compiling InternalCollectionsUtilities Debugging.swift
[26/41] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[27/41] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[28/41] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[29/41] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[30/41] Compiling InternalCollectionsUtilities Integer rank.swift
[31/41] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[32/41] Compiling InternalCollectionsUtilities UInt+reversed.swift
[33/41] Emitting module InternalCollectionsUtilities
[34/41] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[35/41] Compiling InternalCollectionsUtilities _SortedCollection.swift
[36/41] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[37/323] Compiling HashTreeCollections _HashNode+Structural mapValues.swift
[38/323] Compiling HashTreeCollections _HashNode+Structural merge.swift
[39/324] Compiling DequeModule _DequeBufferHeader.swift
[40/324] Compiling DequeModule _DequeBuffer.swift
[41/324] Compiling DequeModule _DequeSlot.swift
[42/324] Compiling HeapModule _HeapNode.swift
[43/324] Compiling HashTreeCollections _HashNode+Structural subtracting.swift
[44/324] Compiling HashTreeCollections _HashNode+Structural symmetricDifference.swift
[45/324] Compiling HeapModule Heap.swift
[46/324] Compiling HeapModule Heap+Invariants.swift
[47/324] Compiling HeapModule Heap+UnsafeHandle.swift
[48/324] Compiling HeapModule Heap+Descriptions.swift
[49/324] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[50/324] Emitting module HeapModule
[51/324] Compiling HashTreeCollections TreeDictionary+Filter.swift
[52/324] Compiling HashTreeCollections TreeDictionary+Hashable.swift
[53/324] Compiling HashTreeCollections TreeDictionary+Initializers.swift
[54/324] Compiling HashTreeCollections TreeDictionary+Keys.swift
[55/324] Compiling HashTreeCollections TreeDictionary+MapValues.swift
[56/324] Compiling HashTreeCollections TreeDictionary+Merge.swift
[57/330] Compiling Logging MetadataProvider.swift
[58/330] Compiling HashTreeCollections _HashTreeIterator.swift
[59/330] Compiling HashTreeCollections _HashTreeStatistics.swift
[60/330] Compiling HashTreeCollections _RawHashNode+UnsafeHandle.swift
[61/330] Compiling HashTreeCollections _HashNode+Lookups.swift
[62/330] Compiling HashTreeCollections _HashNode+Primitive Insertions.swift
[63/330] Compiling HashTreeCollections _HashNode+Primitive Removals.swift
[64/335] Compiling OrderedCollections _UnsafeBitset.swift
[65/335] Compiling HashTreeCollections TreeSet+ExpressibleByArrayLiteral.swift
[66/335] Compiling HashTreeCollections TreeSet+Extras.swift
[67/335] Compiling HashTreeCollections TreeSet+Filter.swift
[68/335] Compiling HashTreeCollections TreeSet+Hashable.swift
[69/335] Compiling HashTreeCollections TreeSet+Sendable.swift
[70/335] Compiling HashTreeCollections TreeSet+Sequence.swift
[71/335] Compiling HashTreeCollections TreeSet+SetAlgebra Initializers.swift
[72/343] Compiling DequeModule _UnsafeWrappedBuffer.swift
[73/343] Compiling HashTreeCollections _HashNode+UnsafeHandle.swift
[74/343] Compiling HashTreeCollections _HashNode.swift
[75/343] Compiling HashTreeCollections _HashNodeHeader.swift
[76/343] Compiling HashTreeCollections _HashSlot.swift
[77/343] Compiling HashTreeCollections _HashStack.swift
[84/343] Compiling BitCollections BitSet.swift
[85/343] Compiling HashTreeCollections _HashNode+Structural isEqualSet.swift
[86/343] Compiling HashTreeCollections _HashNode+Structural isSubset.swift
[91/343] Emitting module BitCollections
[92/343] Compiling HashTreeCollections _HashNode+Subtree Modify.swift
[93/343] Compiling HashTreeCollections _RawHashNode.swift
[94/343] Compiling HashTreeCollections _HashNode+Structural union.swift
[95/343] Compiling HashTreeCollections _HashNode+Subtree Insertions.swift
[96/343] Compiling HashTreeCollections _UnmanagedHashNode.swift
[97/343] Compiling HashTreeCollections _UnsafePath.swift
[98/343] Emitting module Logging
[99/343] Compiling Logging Locks.swift
[100/343] Compiling Logging LogHandler.swift
[101/343] Compiling Logging Logging.swift
[107/343] Compiling HashTreeCollections TreeDictionary+Codable.swift
[108/343] Compiling HashTreeCollections TreeDictionary+Collection.swift
[109/343] Compiling HashTreeCollections TreeDictionary+CustomReflectable.swift
[110/343] Compiling HashTreeCollections TreeDictionary+Debugging.swift
[111/343] Compiling HashTreeCollections TreeDictionary+Descriptions.swift
[112/343] Compiling HashTreeCollections TreeDictionary+Equatable.swift
[113/343] Compiling HashTreeCollections TreeDictionary+ExpressibleByDictionaryLiteral.swift
[116/351] Emitting module DequeModule
[124/351] Compiling HashTreeCollections TreeDictionary+Sendable.swift
[125/351] Compiling HashTreeCollections TreeDictionary+Sequence.swift
[126/351] Compiling HashTreeCollections TreeDictionary+Values.swift
[127/351] Compiling HashTreeCollections TreeDictionary.swift
[128/351] Compiling HashTreeCollections TreeSet+Codable.swift
[129/351] Compiling HashTreeCollections TreeSet+Collection.swift
[130/351] Compiling HashTreeCollections TreeSet+CustomReflectable.swift
[131/351] Compiling HashTreeCollections TreeSet+Debugging.swift
[132/351] Compiling HashTreeCollections TreeSet+Descriptions.swift
[136/351] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[137/351] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[138/351] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[139/351] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[140/351] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[141/351] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[142/351] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[143/351] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[144/351] Compiling HashTreeCollections _HashNode+Subtree Removals.swift
[151/351] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[152/351] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[153/351] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[154/351] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[155/351] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[156/351] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[157/351] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[158/351] Compiling HashTreeCollections TreeSet.swift
[166/351] Compiling BitCollections Range+Utilities.swift
[167/351] Compiling BitCollections Slice+Utilities.swift
[168/351] Compiling BitCollections UInt+Tricks.swift
[169/351] Compiling BitCollections _Word.swift
[266/358] Compiling OrderedCollections OrderedSet.swift
[291/358] Compiling HashTreeCollections _AncestorHashSlots.swift
[308/358] Emitting module OrderedCollections
[310/358] Compiling _RopeModule Rope+Remove.swift
[311/358] Compiling _RopeModule Rope+RemoveSubrange.swift
[312/358] Compiling _RopeModule Rope+Split.swift
[313/358] Compiling _RopeModule Optional Utilities.swift
[314/358] Compiling _RopeModule String Utilities.swift
[315/358] Compiling _RopeModule String.Index+ABI.swift
[316/358] Compiling _RopeModule _CharacterRecognizer.swift
[317/358] Compiling HashTreeCollections _HashNode+Invariants.swift
[327/358] Emitting module _RopeModule
[350/358] Emitting module HashTreeCollections
[351/360] Compiling Collections Collections.swift
[352/360] Emitting module Collections
[353/360] Compiling DataStoreSupport UnwrapType.swift
[354/360] Compiling DataStoreSupport KeyPathDescription.swift
[355/360] Compiling DataStoreSupport Environment.swift
[356/360] Compiling DataStoreSupport DatabaseActor.swift
[357/360] Compiling DataStoreSupport CustomModelActor.swift
[358/360] Compiling DataStoreSupport Compatibility.swift
[359/360] Emitting module DataStoreSupport
[360/360] Compiling DataStoreSupport DatabaseUtilities.swift
[361/390] Compiling DataStoreCore DatabaseFetchRequest.swift
[362/390] Compiling DataStoreCore PreloadingFetchRequest.swift
[363/392] Compiling DataStoreCore BatchDeleteRequestProtocol.swift
[364/392] Compiling DataStoreCore EditingStateProtocol.swift
[365/392] Compiling DataStoreCore DataStoreDelegate.swift
[366/392] Compiling DataStoreCore DataStoreOperation.swift
[367/392] Compiling DataStoreCore DataStoreSynchronizer.swift
[368/392] Compiling DataStoreCore DatabaseAttachment.swift
[369/392] Compiling DataStoreCore SectionedFetchRequest.swift
[370/392] Compiling DataStoreCore RelationshipDiff.swift
[371/392] Compiling DataStoreCore FetchRequestProtocol.swift
[372/392] Compiling DataStoreCore FetchResultProtocol.swift
[373/392] Compiling DataStoreCore SaveChangesRequestProtocol.swift
[374/392] Compiling DataStoreCore SaveChangesResultProtocol.swift
[375/392] Compiling DataStoreCore DataStoreContainer.swift
[376/392] Compiling DataStoreCore TypeMetadata.swift
[377/392] Compiling DataStoreCore DataStoreCache.swift
[378/392] Compiling DataStoreCore DataStoreDebug.swift
[379/392] Compiling DataStoreCore DataStoreOptions.swift
[380/392] Emitting module DataStoreCore
[381/392] Compiling DataStoreCore TypeRegistry+TypeMetadata.swift
[382/392] Compiling DataStoreCore TypeRegistry.swift
[383/392] Compiling SQLSupport TableReference.swift
[384/392] Compiling SQLSupport SQLValue.swift
[385/392] Compiling SQLSupport SQLBuilder.swift
[386/392] Compiling SQLSupport Helper.swift
[387/392] Emitting module SQLSupport
[388/392] Compiling SQLSupport Other.swift
[389/392] Compiling SQLSupport SQLType.swift
[390/392] Compiling SQLSupport SQLError.swift
[391/392] Compiling SQLSupport SQLFragment.swift
[392/392] Compiling SQLSupport SQLNull.swift
[393/403] Compiling SQLiteStatement SQLColumnBuilder.swift
[394/403] Compiling SQLiteStatement SQLType+SQLFragment.swift
[395/403] Compiling SQLiteStatement SQLTableBuilder.swift
[396/403] Compiling SQLiteStatement SQLIndexedColumnBuilder.swift
[397/404] Compiling SQLiteStatement TableDefinition.swift
[398/404] Compiling SQLiteStatement TableConstraint.swift
[399/404] Compiling SQLiteStatement SQLValue+SQLFragment.swift
[400/404] Compiling SQLiteStatement IndexDefinition.swift
[401/404] Compiling SQLiteStatement ColumnConstraint.swift
[402/404] Compiling SQLiteStatement ColumnDefinition.swift
[403/404] Emitting module SQLiteStatement
Swift.RawRepresentable.hashValue:2:23: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ReferentialAction' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
1 | protocol RawRepresentable {
2 | @inlinable public var hashValue: Int { get }}
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ReferentialAction' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
3 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[404/404] Compiling SQLiteStatement SQLStatement.swift
Swift.RawRepresentable.hashValue:2:23: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ReferentialAction' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
1 | protocol RawRepresentable {
2 | @inlinable public var hashValue: Int { get }}
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'ReferentialAction' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
3 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[405/423] Compiling SQLiteHandle DatabaseTransaction.swift
[406/423] Compiling SQLiteHandle SQLStatementShortcut.swift
[407/425] Compiling SQLiteHandle DatabaseConnection.swift
[408/425] Compiling SQLiteHandle DatabaseHandle.swift
[409/425] Compiling SQLiteHandle DatabaseProtocol.swift
[410/425] Compiling SQLiteHandle DatabaseQueue.swift
[411/425] Compiling SQLiteHandle DataStoreRole.swift
[412/425] Compiling SQLiteHandle DatabaseCallback.swift
[413/425] Compiling SQLiteHandle SQLError+SQLite.swift
[414/425] Compiling SQLiteHandle SQLStatementShortcut+SQLite.swift
[415/425] Compiling SQLiteHandle SQLite-Flags.swift
[416/425] Compiling SQLiteHandle SQLite-StoreType.swift
[417/425] Compiling SQLiteHandle DatabaseConnection+SQLite.swift
[418/425] Compiling SQLiteHandle DatabaseQueue+SQLite.swift
[419/425] Compiling SQLiteHandle DataChangeNotificationContext.swift
[420/425] Compiling SQLiteHandle Export.swift
[421/425] Compiling SQLiteHandle PreparedStatement.swift
[422/425] Compiling SQLiteHandle ResultCode.swift
[423/425] Emitting module SQLiteHandle
[424/425] Compiling SQLiteHandle SQLUtilities.swift
[425/425] Compiling SQLiteHandle SQLite.swift
[426/454] Compiling DataStoreRuntime PredicateTree.swift
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:9: error: extraneous '}' at top level
688 | }
689 |
690 | }) else { return nil }
| `- error: extraneous '}' at top level
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:10: error: consecutive statements on a line must be separated by ';'
688 | }
689 |
690 | }) else { return nil }
| `- error: consecutive statements on a line must be separated by ';'
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:10: error: expected expression
688 | }
689 |
690 | }) else { return nil }
| `- error: expected expression
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
[427/454] Compiling DataStoreRuntime SQLPassthrough.swift
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:9: error: extraneous '}' at top level
688 | }
689 |
690 | }) else { return nil }
| `- error: extraneous '}' at top level
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:10: error: consecutive statements on a line must be separated by ';'
688 | }
689 |
690 | }) else { return nil }
| `- error: consecutive statements on a line must be separated by ';'
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:10: error: expected expression
688 | }
689 |
690 | }) else { return nil }
| `- error: expected expression
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
[428/454] Compiling DataStoreRuntime SQLPredicateExpression.swift
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:9: error: extraneous '}' at top level
688 | }
689 |
690 | }) else { return nil }
| `- error: extraneous '}' at top level
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:10: error: consecutive statements on a line must be separated by ';'
688 | }
689 |
690 | }) else { return nil }
| `- error: consecutive statements on a line must be separated by ';'
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:10: error: expected expression
688 | }
689 |
690 | }) else { return nil }
| `- error: expected expression
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
[429/457] Compiling DataStoreRuntime MirrorSchemaEntity.swift
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:9: error: extraneous '}' at top level
688 | }
689 |
690 | }) else { return nil }
| `- error: extraneous '}' at top level
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:10: error: consecutive statements on a line must be separated by ';'
688 | }
689 |
690 | }) else { return nil }
| `- error: consecutive statements on a line must be separated by ';'
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:10: error: expected expression
688 | }
689 |
690 | }) else { return nil }
| `- error: expected expression
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
[430/457] Compiling DataStoreRuntime MirrorSchemaPropertyMetadata.swift
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:9: error: extraneous '}' at top level
688 | }
689 |
690 | }) else { return nil }
| `- error: extraneous '}' at top level
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:10: error: consecutive statements on a line must be separated by ';'
688 | }
689 |
690 | }) else { return nil }
| `- error: consecutive statements on a line must be separated by ';'
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:10: error: expected expression
688 | }
689 |
690 | }) else { return nil }
| `- error: expected expression
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
[431/457] Compiling DataStoreRuntime TypeRegistry+Bootstrap.swift
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:9: error: extraneous '}' at top level
688 | }
689 |
690 | }) else { return nil }
| `- error: extraneous '}' at top level
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:10: error: consecutive statements on a line must be separated by ';'
688 | }
689 |
690 | }) else { return nil }
| `- error: consecutive statements on a line must be separated by ';'
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:10: error: expected expression
688 | }
689 |
690 | }) else { return nil }
| `- error: expected expression
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
[432/457] Compiling DataStoreRuntime SQLPredicateTranslatorGlobal.swift
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:9: error: extraneous '}' at top level
688 | }
689 |
690 | }) else { return nil }
| `- error: extraneous '}' at top level
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:10: error: consecutive statements on a line must be separated by ';'
688 | }
689 |
690 | }) else { return nil }
| `- error: consecutive statements on a line must be separated by ';'
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:10: error: expected expression
688 | }
689 |
690 | }) else { return nil }
| `- error: expected expression
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
[433/457] Compiling DataStoreRuntime SQLPredicateTranslatorOptions.swift
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:9: error: extraneous '}' at top level
688 | }
689 |
690 | }) else { return nil }
| `- error: extraneous '}' at top level
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:10: error: consecutive statements on a line must be separated by ';'
688 | }
689 |
690 | }) else { return nil }
| `- error: consecutive statements on a line must be separated by ';'
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:10: error: expected expression
688 | }
689 |
690 | }) else { return nil }
| `- error: expected expression
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
[434/457] Compiling DataStoreRuntime DatabaseSchema.swift
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:9: error: extraneous '}' at top level
688 | }
689 |
690 | }) else { return nil }
| `- error: extraneous '}' at top level
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:10: error: consecutive statements on a line must be separated by ';'
688 | }
689 |
690 | }) else { return nil }
| `- error: consecutive statements on a line must be separated by ';'
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:10: error: expected expression
688 | }
689 |
690 | }) else { return nil }
| `- error: expected expression
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
[435/457] Compiling DataStoreRuntime RelationshipMapping.swift
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:9: error: extraneous '}' at top level
688 | }
689 |
690 | }) else { return nil }
| `- error: extraneous '}' at top level
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:10: error: consecutive statements on a line must be separated by ';'
688 | }
689 |
690 | }) else { return nil }
| `- error: consecutive statements on a line must be separated by ';'
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:10: error: expected expression
688 | }
689 |
690 | }) else { return nil }
| `- error: expected expression
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
[436/457] Compiling DataStoreRuntime Schema+TypeRegistry.swift
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:9: error: extraneous '}' at top level
688 | }
689 |
690 | }) else { return nil }
| `- error: extraneous '}' at top level
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:10: error: consecutive statements on a line must be separated by ';'
688 | }
689 |
690 | }) else { return nil }
| `- error: consecutive statements on a line must be separated by ';'
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:10: error: expected expression
688 | }
689 |
690 | }) else { return nil }
| `- error: expected expression
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
[437/457] Compiling DataStoreRuntime SchemaArtifacts.swift
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:9: error: extraneous '}' at top level
688 | }
689 |
690 | }) else { return nil }
| `- error: extraneous '}' at top level
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:10: error: consecutive statements on a line must be separated by ';'
688 | }
689 |
690 | }) else { return nil }
| `- error: consecutive statements on a line must be separated by ';'
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:10: error: expected expression
688 | }
689 |
690 | }) else { return nil }
| `- error: expected expression
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
[438/457] Compiling DataStoreRuntime PersistentIdentifier+PrimaryKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:9: error: extraneous '}' at top level
688 | }
689 |
690 | }) else { return nil }
| `- error: extraneous '}' at top level
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:10: error: consecutive statements on a line must be separated by ';'
688 | }
689 |
690 | }) else { return nil }
| `- error: consecutive statements on a line must be separated by ';'
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:10: error: expected expression
688 | }
689 |
690 | }) else { return nil }
| `- error: expected expression
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
[439/457] Compiling DataStoreRuntime PersistentModel+PropertyMetadata.swift
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:9: error: extraneous '}' at top level
688 | }
689 |
690 | }) else { return nil }
| `- error: extraneous '}' at top level
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:10: error: consecutive statements on a line must be separated by ';'
688 | }
689 |
690 | }) else { return nil }
| `- error: consecutive statements on a line must be separated by ';'
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:10: error: expected expression
688 | }
689 |
690 | }) else { return nil }
| `- error: expected expression
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
[440/457] Compiling DataStoreRuntime PropertyMetadata.swift
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:9: error: extraneous '}' at top level
688 | }
689 |
690 | }) else { return nil }
| `- error: extraneous '}' at top level
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:10: error: consecutive statements on a line must be separated by ';'
688 | }
689 |
690 | }) else { return nil }
| `- error: consecutive statements on a line must be separated by ';'
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:10: error: expected expression
688 | }
689 |
690 | }) else { return nil }
| `- error: expected expression
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
error: emit-module command failed with exit code 1 (use -v to see invocation)
[441/457] Emitting module DataStoreRuntime
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:9: error: extraneous '}' at top level
688 | }
689 |
690 | }) else { return nil }
| `- error: extraneous '}' at top level
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:10: error: consecutive statements on a line must be separated by ';'
688 | }
689 |
690 | }) else { return nil }
| `- error: consecutive statements on a line must be separated by ';'
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:10: error: expected expression
688 | }
689 |
690 | }) else { return nil }
| `- error: expected expression
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
[442/457] Compiling DataStoreRuntime SchemaMapping.swift
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:9: error: extraneous '}' at top level
688 | }
689 |
690 | }) else { return nil }
| `- error: extraneous '}' at top level
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:10: error: consecutive statements on a line must be separated by ';'
688 | }
689 |
690 | }) else { return nil }
| `- error: consecutive statements on a line must be separated by ';'
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:10: error: expected expression
688 | }
689 |
690 | }) else { return nil }
| `- error: expected expression
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/Schema/SchemaMetadata.swift:214:39: error: value of type 'Schema.Entity' has no member 'hierarchy'
212 | }
213 | func makeTableReferences(_ property: inout PropertyMetadata) throws {
214 | let owningEntity = entity.hierarchy.owningEntityByPropertyName[property.name] ?? entity
| `- error: value of type 'Schema.Entity' has no member 'hierarchy'
215 | let owningEntityName = owningEntity.name
216 | if let relationship = property.metadata as? Schema.Relationship,
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/Schema/SchemaMetadata.swift:506:29: error: value of type 'Schema.Entity' has no member 'hierarchy'
504 | ) -> [AnyKeyPath & Sendable] {
505 | var variants = [AnyKeyPath & Sendable]()
506 | for subentity in entity.hierarchy.descendingEntities.dropFirst() {
| `- error: value of type 'Schema.Entity' has no member 'hierarchy'
507 | guard let subType = Schema.type(for: subentity) else { continue }
508 | if let variant = castKeyPath(keyPath, to: subType) {
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/Schema/SchemaMetadata.swift:508:26: error: generic parameter 'T' could not be inferred
506 | for subentity in entity.hierarchy.descendingEntities.dropFirst() {
507 | guard let subType = Schema.type(for: subentity) else { continue }
508 | if let variant = castKeyPath(keyPath, to: subType) {
| `- error: generic parameter 'T' could not be inferred
509 | variants.append(variant)
510 | }
511 | }
512 | func castKeyPath<T: PersistentModel>(
| `- note: in call to function 'castKeyPath(_:to:)'
513 | _ keyPath: AnyKeyPath & Sendable,
514 | to type: T.Type
[443/457] Compiling DataStoreRuntime SchemaMetadata.swift
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:9: error: extraneous '}' at top level
688 | }
689 |
690 | }) else { return nil }
| `- error: extraneous '}' at top level
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:10: error: consecutive statements on a line must be separated by ';'
688 | }
689 |
690 | }) else { return nil }
| `- error: consecutive statements on a line must be separated by ';'
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:10: error: expected expression
688 | }
689 |
690 | }) else { return nil }
| `- error: expected expression
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/Schema/SchemaMetadata.swift:214:39: error: value of type 'Schema.Entity' has no member 'hierarchy'
212 | }
213 | func makeTableReferences(_ property: inout PropertyMetadata) throws {
214 | let owningEntity = entity.hierarchy.owningEntityByPropertyName[property.name] ?? entity
| `- error: value of type 'Schema.Entity' has no member 'hierarchy'
215 | let owningEntityName = owningEntity.name
216 | if let relationship = property.metadata as? Schema.Relationship,
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/Schema/SchemaMetadata.swift:506:29: error: value of type 'Schema.Entity' has no member 'hierarchy'
504 | ) -> [AnyKeyPath & Sendable] {
505 | var variants = [AnyKeyPath & Sendable]()
506 | for subentity in entity.hierarchy.descendingEntities.dropFirst() {
| `- error: value of type 'Schema.Entity' has no member 'hierarchy'
507 | guard let subType = Schema.type(for: subentity) else { continue }
508 | if let variant = castKeyPath(keyPath, to: subType) {
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/Schema/SchemaMetadata.swift:508:26: error: generic parameter 'T' could not be inferred
506 | for subentity in entity.hierarchy.descendingEntities.dropFirst() {
507 | guard let subType = Schema.type(for: subentity) else { continue }
508 | if let variant = castKeyPath(keyPath, to: subType) {
| `- error: generic parameter 'T' could not be inferred
509 | variants.append(variant)
510 | }
511 | }
512 | func castKeyPath<T: PersistentModel>(
| `- note: in call to function 'castKeyPath(_:to:)'
513 | _ keyPath: AnyKeyPath & Sendable,
514 | to type: T.Type
[444/457] Compiling DataStoreRuntime SchemaError.swift
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:9: error: extraneous '}' at top level
688 | }
689 |
690 | }) else { return nil }
| `- error: extraneous '}' at top level
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:10: error: consecutive statements on a line must be separated by ';'
688 | }
689 |
690 | }) else { return nil }
| `- error: consecutive statements on a line must be separated by ';'
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:10: error: expected expression
688 | }
689 |
690 | }) else { return nil }
| `- error: expected expression
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/Schema/SchemaMetadata.swift:214:39: error: value of type 'Schema.Entity' has no member 'hierarchy'
212 | }
213 | func makeTableReferences(_ property: inout PropertyMetadata) throws {
214 | let owningEntity = entity.hierarchy.owningEntityByPropertyName[property.name] ?? entity
| `- error: value of type 'Schema.Entity' has no member 'hierarchy'
215 | let owningEntityName = owningEntity.name
216 | if let relationship = property.metadata as? Schema.Relationship,
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/Schema/SchemaMetadata.swift:506:29: error: value of type 'Schema.Entity' has no member 'hierarchy'
504 | ) -> [AnyKeyPath & Sendable] {
505 | var variants = [AnyKeyPath & Sendable]()
506 | for subentity in entity.hierarchy.descendingEntities.dropFirst() {
| `- error: value of type 'Schema.Entity' has no member 'hierarchy'
507 | guard let subType = Schema.type(for: subentity) else { continue }
508 | if let variant = castKeyPath(keyPath, to: subType) {
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/Schema/SchemaMetadata.swift:508:26: error: generic parameter 'T' could not be inferred
506 | for subentity in entity.hierarchy.descendingEntities.dropFirst() {
507 | guard let subType = Schema.type(for: subentity) else { continue }
508 | if let variant = castKeyPath(keyPath, to: subType) {
| `- error: generic parameter 'T' could not be inferred
509 | variants.append(variant)
510 | }
511 | }
512 | func castKeyPath<T: PersistentModel>(
| `- note: in call to function 'castKeyPath(_:to:)'
513 | _ keyPath: AnyKeyPath & Sendable,
514 | to type: T.Type
[445/457] Compiling DataStoreRuntime ArchiveTable.swift
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:9: error: extraneous '}' at top level
688 | }
689 |
690 | }) else { return nil }
| `- error: extraneous '}' at top level
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:10: error: consecutive statements on a line must be separated by ';'
688 | }
689 |
690 | }) else { return nil }
| `- error: consecutive statements on a line must be separated by ';'
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:10: error: expected expression
688 | }
689 |
690 | }) else { return nil }
| `- error: expected expression
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
[446/457] Compiling DataStoreRuntime HistoryTable.swift
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:9: error: extraneous '}' at top level
688 | }
689 |
690 | }) else { return nil }
| `- error: extraneous '}' at top level
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:10: error: consecutive statements on a line must be separated by ';'
688 | }
689 |
690 | }) else { return nil }
| `- error: consecutive statements on a line must be separated by ';'
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:10: error: expected expression
688 | }
689 |
690 | }) else { return nil }
| `- error: expected expression
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
[447/457] Compiling DataStoreRuntime InternalTable.swift
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:9: error: extraneous '}' at top level
688 | }
689 |
690 | }) else { return nil }
| `- error: extraneous '}' at top level
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:10: error: consecutive statements on a line must be separated by ';'
688 | }
689 |
690 | }) else { return nil }
| `- error: consecutive statements on a line must be separated by ';'
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:10: error: expected expression
688 | }
689 |
690 | }) else { return nil }
| `- error: expected expression
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
[448/457] Compiling DataStoreRuntime SQLPredicateFragment.swift
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:9: error: extraneous '}' at top level
688 | }
689 |
690 | }) else { return nil }
| `- error: extraneous '}' at top level
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:10: error: consecutive statements on a line must be separated by ';'
688 | }
689 |
690 | }) else { return nil }
| `- error: consecutive statements on a line must be separated by ';'
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:10: error: expected expression
688 | }
689 |
690 | }) else { return nil }
| `- error: expected expression
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/SQLPredicateTranslator.swift:213:26: error: value of type 'SQLPredicateTranslator<T>' has no member 'joinClause'
211 | if !references.isEmpty {
212 | ForEach(references) {
213 | self.joinClause(for: $0)
| `- error: value of type 'SQLPredicateTranslator<T>' has no member 'joinClause'
214 | }
215 | }
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/SQLPredicateTranslator.swift:513:44: error: cannot find 'bindToOneRelationship' in scope
511 | let destinationAlias: String
512 | do {
513 | destinationAlias = try bindToOneRelationship(
| `- error: cannot find 'bindToOneRelationship' in scope
514 | key: nil,
515 | alias: entityAlias,
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/SQLPredicateTranslator.swift:514:30: error: 'nil' requires a contextual type
512 | do {
513 | destinationAlias = try bindToOneRelationship(
514 | key: nil,
| `- error: 'nil' requires a contextual type
515 | alias: entityAlias,
516 | entity: entity,
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/SQLPredicateTranslator.swift:513:40: warning: no calls to throwing functions occur within 'try' expression
511 | let destinationAlias: String
512 | do {
513 | destinationAlias = try bindToOneRelationship(
| `- warning: no calls to throwing functions occur within 'try' expression
514 | key: nil,
515 | alias: entityAlias,
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/SQLPredicateTranslator.swift:520:19: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
518 | preservingOptionalRows: true
519 | ).alias
520 | } catch {
| `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
521 | self.error = .invalidTranslation("\(error)")
522 | continue
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/SQLPredicateTranslator.swift:552:31: error: cannot find 'registeredPropertyPaths' in scope
550 | ) throws -> [SQLSort]? where Model: PersistentModel & SendableMetatype {
551 | guard !randomize else { return [.random] }
552 | let definitions = try registeredPropertyPaths(for: Model.self)
| `- error: cannot find 'registeredPropertyPaths' in scope
553 | return try descriptors.compactMap { descriptor -> SQLSort? in
554 | guard let keyPath = descriptor.keyPath,
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/SQLPredicateTranslator.swift:563:32: error: cannot find 'resolvePropertyPath' in scope
561 | }
562 | if let components = definitions[keyPath] {
563 | let path = try resolvePropertyPath(components, for: Model.self)
| `- error: cannot find 'resolvePropertyPath' in scope
564 | let bound = try bindPropertyPath(path, alias: alias, entity: entity)
565 | return .init(bound.clause, isOptional: bound.isOptional, order: descriptor.order)
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/SQLPredicateTranslator.swift:564:33: error: cannot find 'bindPropertyPath' in scope
562 | if let components = definitions[keyPath] {
563 | let path = try resolvePropertyPath(components, for: Model.self)
564 | let bound = try bindPropertyPath(path, alias: alias, entity: entity)
| `- error: cannot find 'bindPropertyPath' in scope
565 | return .init(bound.clause, isOptional: bound.isOptional, order: descriptor.order)
566 | }
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/SQLPredicateTranslator.swift:584:32: error: cannot find 'resolvePropertyPath' in scope
582 | throw Self.Error.invalidTranslation("Relationship sort requires a complete registered property path: \(keyPath)")
583 | }
584 | let path = try resolvePropertyPath([source.keyPath, destination.keyPath], for: Model.self)
| `- error: cannot find 'resolvePropertyPath' in scope
585 | let bound = try bindPropertyPath(path, alias: alias, entity: entity)
586 | return .init(bound.clause, isOptional: bound.isOptional, order: descriptor.order)
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/SQLPredicateTranslator.swift:585:33: error: cannot find 'bindPropertyPath' in scope
583 | }
584 | let path = try resolvePropertyPath([source.keyPath, destination.keyPath], for: Model.self)
585 | let bound = try bindPropertyPath(path, alias: alias, entity: entity)
| `- error: cannot find 'bindPropertyPath' in scope
586 | return .init(bound.clause, isOptional: bound.isOptional, order: descriptor.order)
587 | case is Schema.Attribute where property.enclosing is Schema.CompositeAttribute:
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/SQLPredicateTranslator.swift:616:28: error: cannot find 'ResolvedPropertyPath' in scope
614 | throw Self.Error.invalidTranslation("Sort key path has no registered stored-property identity: \(keyPath)")
615 | }
616 | let path = ResolvedPropertyPath(properties: [property], isOptional: property.metadata.isOptional)
| `- error: cannot find 'ResolvedPropertyPath' in scope
617 | let bound = try bindPropertyPath(path, alias: alias, entity: entity)
618 | return .init(bound.clause, isOptional: bound.isOptional, order: descriptor.order)
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/SQLPredicateTranslator.swift:617:33: error: cannot find 'bindPropertyPath' in scope
615 | }
616 | let path = ResolvedPropertyPath(properties: [property], isOptional: property.metadata.isOptional)
617 | let bound = try bindPropertyPath(path, alias: alias, entity: entity)
| `- error: cannot find 'bindPropertyPath' in scope
618 | return .init(bound.clause, isOptional: bound.isOptional, order: descriptor.order)
619 | }
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/SQLPredicateTranslator.swift:921:36: error: value of type 'Schema.Entity' has no member 'hierarchy'
919 | return sourceAlias
920 | }
921 | if let path = sourceEntity.hierarchy.path(to: destinationEntity) {
| `- error: value of type 'Schema.Entity' has no member 'hierarchy'
922 | return append(path, startingAt: (sourceEntity, sourceAlias))
923 | }
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/SQLPredicateTranslator.swift:937:17: error: cannot find 'appendReference' in scope
935 | destinationColumn: pk
936 | )
937 | appendReference(reference, key: key, isOptional: preservingOptionalRows)
| `- error: cannot find 'appendReference' in scope
938 | current = (entity, alias)
939 | }
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/SQLPredicateTranslator.swift:948:16: error: value of type 'Schema.Entity' has no member 'hierarchy'
946 | startingAt entity: Schema.Entity
947 | ) -> Schema.Entity? {
948 | entity.hierarchy.owningEntityByPropertyName[name]
| `- error: value of type 'Schema.Entity' has no member 'hierarchy'
949 | }
950 |
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/SQLPredicateTranslator.swift:984:38: error: value of type 'Schema.Entity' has no member 'hierarchy'
982 | loadSchemaMetadata(for: superType)
983 | let alias = self.variableAliases[variableID] ?? createTableAlias(variableID, currentEntity.name)
984 | let toEntity = currentEntity.hierarchy.ascendingEntities.last ?? superentity
| `- error: value of type 'Schema.Entity' has no member 'hierarchy'
985 | _ = createInheritedAlias(variableID, from: currentEntity, as: alias, to: toEntity)
986 | }
[449/457] Compiling DataStoreRuntime SQLPredicateResult.swift
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:9: error: extraneous '}' at top level
688 | }
689 |
690 | }) else { return nil }
| `- error: extraneous '}' at top level
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:10: error: consecutive statements on a line must be separated by ';'
688 | }
689 |
690 | }) else { return nil }
| `- error: consecutive statements on a line must be separated by ';'
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:10: error: expected expression
688 | }
689 |
690 | }) else { return nil }
| `- error: expected expression
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/SQLPredicateTranslator.swift:213:26: error: value of type 'SQLPredicateTranslator<T>' has no member 'joinClause'
211 | if !references.isEmpty {
212 | ForEach(references) {
213 | self.joinClause(for: $0)
| `- error: value of type 'SQLPredicateTranslator<T>' has no member 'joinClause'
214 | }
215 | }
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/SQLPredicateTranslator.swift:513:44: error: cannot find 'bindToOneRelationship' in scope
511 | let destinationAlias: String
512 | do {
513 | destinationAlias = try bindToOneRelationship(
| `- error: cannot find 'bindToOneRelationship' in scope
514 | key: nil,
515 | alias: entityAlias,
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/SQLPredicateTranslator.swift:514:30: error: 'nil' requires a contextual type
512 | do {
513 | destinationAlias = try bindToOneRelationship(
514 | key: nil,
| `- error: 'nil' requires a contextual type
515 | alias: entityAlias,
516 | entity: entity,
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/SQLPredicateTranslator.swift:513:40: warning: no calls to throwing functions occur within 'try' expression
511 | let destinationAlias: String
512 | do {
513 | destinationAlias = try bindToOneRelationship(
| `- warning: no calls to throwing functions occur within 'try' expression
514 | key: nil,
515 | alias: entityAlias,
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/SQLPredicateTranslator.swift:520:19: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
518 | preservingOptionalRows: true
519 | ).alias
520 | } catch {
| `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
521 | self.error = .invalidTranslation("\(error)")
522 | continue
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/SQLPredicateTranslator.swift:552:31: error: cannot find 'registeredPropertyPaths' in scope
550 | ) throws -> [SQLSort]? where Model: PersistentModel & SendableMetatype {
551 | guard !randomize else { return [.random] }
552 | let definitions = try registeredPropertyPaths(for: Model.self)
| `- error: cannot find 'registeredPropertyPaths' in scope
553 | return try descriptors.compactMap { descriptor -> SQLSort? in
554 | guard let keyPath = descriptor.keyPath,
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/SQLPredicateTranslator.swift:563:32: error: cannot find 'resolvePropertyPath' in scope
561 | }
562 | if let components = definitions[keyPath] {
563 | let path = try resolvePropertyPath(components, for: Model.self)
| `- error: cannot find 'resolvePropertyPath' in scope
564 | let bound = try bindPropertyPath(path, alias: alias, entity: entity)
565 | return .init(bound.clause, isOptional: bound.isOptional, order: descriptor.order)
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/SQLPredicateTranslator.swift:564:33: error: cannot find 'bindPropertyPath' in scope
562 | if let components = definitions[keyPath] {
563 | let path = try resolvePropertyPath(components, for: Model.self)
564 | let bound = try bindPropertyPath(path, alias: alias, entity: entity)
| `- error: cannot find 'bindPropertyPath' in scope
565 | return .init(bound.clause, isOptional: bound.isOptional, order: descriptor.order)
566 | }
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/SQLPredicateTranslator.swift:584:32: error: cannot find 'resolvePropertyPath' in scope
582 | throw Self.Error.invalidTranslation("Relationship sort requires a complete registered property path: \(keyPath)")
583 | }
584 | let path = try resolvePropertyPath([source.keyPath, destination.keyPath], for: Model.self)
| `- error: cannot find 'resolvePropertyPath' in scope
585 | let bound = try bindPropertyPath(path, alias: alias, entity: entity)
586 | return .init(bound.clause, isOptional: bound.isOptional, order: descriptor.order)
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/SQLPredicateTranslator.swift:585:33: error: cannot find 'bindPropertyPath' in scope
583 | }
584 | let path = try resolvePropertyPath([source.keyPath, destination.keyPath], for: Model.self)
585 | let bound = try bindPropertyPath(path, alias: alias, entity: entity)
| `- error: cannot find 'bindPropertyPath' in scope
586 | return .init(bound.clause, isOptional: bound.isOptional, order: descriptor.order)
587 | case is Schema.Attribute where property.enclosing is Schema.CompositeAttribute:
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/SQLPredicateTranslator.swift:616:28: error: cannot find 'ResolvedPropertyPath' in scope
614 | throw Self.Error.invalidTranslation("Sort key path has no registered stored-property identity: \(keyPath)")
615 | }
616 | let path = ResolvedPropertyPath(properties: [property], isOptional: property.metadata.isOptional)
| `- error: cannot find 'ResolvedPropertyPath' in scope
617 | let bound = try bindPropertyPath(path, alias: alias, entity: entity)
618 | return .init(bound.clause, isOptional: bound.isOptional, order: descriptor.order)
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/SQLPredicateTranslator.swift:617:33: error: cannot find 'bindPropertyPath' in scope
615 | }
616 | let path = ResolvedPropertyPath(properties: [property], isOptional: property.metadata.isOptional)
617 | let bound = try bindPropertyPath(path, alias: alias, entity: entity)
| `- error: cannot find 'bindPropertyPath' in scope
618 | return .init(bound.clause, isOptional: bound.isOptional, order: descriptor.order)
619 | }
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/SQLPredicateTranslator.swift:921:36: error: value of type 'Schema.Entity' has no member 'hierarchy'
919 | return sourceAlias
920 | }
921 | if let path = sourceEntity.hierarchy.path(to: destinationEntity) {
| `- error: value of type 'Schema.Entity' has no member 'hierarchy'
922 | return append(path, startingAt: (sourceEntity, sourceAlias))
923 | }
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/SQLPredicateTranslator.swift:937:17: error: cannot find 'appendReference' in scope
935 | destinationColumn: pk
936 | )
937 | appendReference(reference, key: key, isOptional: preservingOptionalRows)
| `- error: cannot find 'appendReference' in scope
938 | current = (entity, alias)
939 | }
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/SQLPredicateTranslator.swift:948:16: error: value of type 'Schema.Entity' has no member 'hierarchy'
946 | startingAt entity: Schema.Entity
947 | ) -> Schema.Entity? {
948 | entity.hierarchy.owningEntityByPropertyName[name]
| `- error: value of type 'Schema.Entity' has no member 'hierarchy'
949 | }
950 |
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/SQLPredicateTranslator.swift:984:38: error: value of type 'Schema.Entity' has no member 'hierarchy'
982 | loadSchemaMetadata(for: superType)
983 | let alias = self.variableAliases[variableID] ?? createTableAlias(variableID, currentEntity.name)
984 | let toEntity = currentEntity.hierarchy.ascendingEntities.last ?? superentity
| `- error: value of type 'Schema.Entity' has no member 'hierarchy'
985 | _ = createInheritedAlias(variableID, from: currentEntity, as: alias, to: toEntity)
986 | }
[450/457] Compiling DataStoreRuntime SQLPredicateTranslator.swift
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:9: error: extraneous '}' at top level
688 | }
689 |
690 | }) else { return nil }
| `- error: extraneous '}' at top level
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:10: error: consecutive statements on a line must be separated by ';'
688 | }
689 |
690 | }) else { return nil }
| `- error: consecutive statements on a line must be separated by ';'
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:10: error: expected expression
688 | }
689 |
690 | }) else { return nil }
| `- error: expected expression
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/SQLPredicateTranslator.swift:213:26: error: value of type 'SQLPredicateTranslator<T>' has no member 'joinClause'
211 | if !references.isEmpty {
212 | ForEach(references) {
213 | self.joinClause(for: $0)
| `- error: value of type 'SQLPredicateTranslator<T>' has no member 'joinClause'
214 | }
215 | }
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/SQLPredicateTranslator.swift:513:44: error: cannot find 'bindToOneRelationship' in scope
511 | let destinationAlias: String
512 | do {
513 | destinationAlias = try bindToOneRelationship(
| `- error: cannot find 'bindToOneRelationship' in scope
514 | key: nil,
515 | alias: entityAlias,
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/SQLPredicateTranslator.swift:514:30: error: 'nil' requires a contextual type
512 | do {
513 | destinationAlias = try bindToOneRelationship(
514 | key: nil,
| `- error: 'nil' requires a contextual type
515 | alias: entityAlias,
516 | entity: entity,
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/SQLPredicateTranslator.swift:513:40: warning: no calls to throwing functions occur within 'try' expression
511 | let destinationAlias: String
512 | do {
513 | destinationAlias = try bindToOneRelationship(
| `- warning: no calls to throwing functions occur within 'try' expression
514 | key: nil,
515 | alias: entityAlias,
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/SQLPredicateTranslator.swift:520:19: warning: 'catch' block is unreachable because no errors are thrown in 'do' block
518 | preservingOptionalRows: true
519 | ).alias
520 | } catch {
| `- warning: 'catch' block is unreachable because no errors are thrown in 'do' block
521 | self.error = .invalidTranslation("\(error)")
522 | continue
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/SQLPredicateTranslator.swift:552:31: error: cannot find 'registeredPropertyPaths' in scope
550 | ) throws -> [SQLSort]? where Model: PersistentModel & SendableMetatype {
551 | guard !randomize else { return [.random] }
552 | let definitions = try registeredPropertyPaths(for: Model.self)
| `- error: cannot find 'registeredPropertyPaths' in scope
553 | return try descriptors.compactMap { descriptor -> SQLSort? in
554 | guard let keyPath = descriptor.keyPath,
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/SQLPredicateTranslator.swift:563:32: error: cannot find 'resolvePropertyPath' in scope
561 | }
562 | if let components = definitions[keyPath] {
563 | let path = try resolvePropertyPath(components, for: Model.self)
| `- error: cannot find 'resolvePropertyPath' in scope
564 | let bound = try bindPropertyPath(path, alias: alias, entity: entity)
565 | return .init(bound.clause, isOptional: bound.isOptional, order: descriptor.order)
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/SQLPredicateTranslator.swift:564:33: error: cannot find 'bindPropertyPath' in scope
562 | if let components = definitions[keyPath] {
563 | let path = try resolvePropertyPath(components, for: Model.self)
564 | let bound = try bindPropertyPath(path, alias: alias, entity: entity)
| `- error: cannot find 'bindPropertyPath' in scope
565 | return .init(bound.clause, isOptional: bound.isOptional, order: descriptor.order)
566 | }
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/SQLPredicateTranslator.swift:584:32: error: cannot find 'resolvePropertyPath' in scope
582 | throw Self.Error.invalidTranslation("Relationship sort requires a complete registered property path: \(keyPath)")
583 | }
584 | let path = try resolvePropertyPath([source.keyPath, destination.keyPath], for: Model.self)
| `- error: cannot find 'resolvePropertyPath' in scope
585 | let bound = try bindPropertyPath(path, alias: alias, entity: entity)
586 | return .init(bound.clause, isOptional: bound.isOptional, order: descriptor.order)
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/SQLPredicateTranslator.swift:585:33: error: cannot find 'bindPropertyPath' in scope
583 | }
584 | let path = try resolvePropertyPath([source.keyPath, destination.keyPath], for: Model.self)
585 | let bound = try bindPropertyPath(path, alias: alias, entity: entity)
| `- error: cannot find 'bindPropertyPath' in scope
586 | return .init(bound.clause, isOptional: bound.isOptional, order: descriptor.order)
587 | case is Schema.Attribute where property.enclosing is Schema.CompositeAttribute:
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/SQLPredicateTranslator.swift:616:28: error: cannot find 'ResolvedPropertyPath' in scope
614 | throw Self.Error.invalidTranslation("Sort key path has no registered stored-property identity: \(keyPath)")
615 | }
616 | let path = ResolvedPropertyPath(properties: [property], isOptional: property.metadata.isOptional)
| `- error: cannot find 'ResolvedPropertyPath' in scope
617 | let bound = try bindPropertyPath(path, alias: alias, entity: entity)
618 | return .init(bound.clause, isOptional: bound.isOptional, order: descriptor.order)
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/SQLPredicateTranslator.swift:617:33: error: cannot find 'bindPropertyPath' in scope
615 | }
616 | let path = ResolvedPropertyPath(properties: [property], isOptional: property.metadata.isOptional)
617 | let bound = try bindPropertyPath(path, alias: alias, entity: entity)
| `- error: cannot find 'bindPropertyPath' in scope
618 | return .init(bound.clause, isOptional: bound.isOptional, order: descriptor.order)
619 | }
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/SQLPredicateTranslator.swift:921:36: error: value of type 'Schema.Entity' has no member 'hierarchy'
919 | return sourceAlias
920 | }
921 | if let path = sourceEntity.hierarchy.path(to: destinationEntity) {
| `- error: value of type 'Schema.Entity' has no member 'hierarchy'
922 | return append(path, startingAt: (sourceEntity, sourceAlias))
923 | }
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/SQLPredicateTranslator.swift:937:17: error: cannot find 'appendReference' in scope
935 | destinationColumn: pk
936 | )
937 | appendReference(reference, key: key, isOptional: preservingOptionalRows)
| `- error: cannot find 'appendReference' in scope
938 | current = (entity, alias)
939 | }
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/SQLPredicateTranslator.swift:948:16: error: value of type 'Schema.Entity' has no member 'hierarchy'
946 | startingAt entity: Schema.Entity
947 | ) -> Schema.Entity? {
948 | entity.hierarchy.owningEntityByPropertyName[name]
| `- error: value of type 'Schema.Entity' has no member 'hierarchy'
949 | }
950 |
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/SQLPredicateTranslator.swift:984:38: error: value of type 'Schema.Entity' has no member 'hierarchy'
982 | loadSchemaMetadata(for: superType)
983 | let alias = self.variableAliases[variableID] ?? createTableAlias(variableID, currentEntity.name)
984 | let toEntity = currentEntity.hierarchy.ascendingEntities.last ?? superentity
| `- error: value of type 'Schema.Entity' has no member 'hierarchy'
985 | _ = createInheritedAlias(variableID, from: currentEntity, as: alias, to: toEntity)
986 | }
[451/457] Compiling DataStoreRuntime ModelMappingError.swift
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:9: error: extraneous '}' at top level
688 | }
689 |
690 | }) else { return nil }
| `- error: extraneous '}' at top level
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:10: error: consecutive statements on a line must be separated by ';'
688 | }
689 |
690 | }) else { return nil }
| `- error: consecutive statements on a line must be separated by ';'
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:10: error: expected expression
688 | }
689 |
690 | }) else { return nil }
| `- error: expected expression
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:184:51: error: value of type 'SQLPredicateTranslator<T>' has no member 'bindToOneRelationship'
182 | return root.invalid("Missing relationship property", description)
183 | }
184 | let destination = try context.bindToOneRelationship(
| `- error: value of type 'SQLPredicateTranslator<T>' has no member 'bindToOneRelationship'
185 | key: root.key,
186 | alias: sourceAlias,
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:514:30: error: cannot find 'SQLPredicateEvaluationArgument' in scope
512 | if let base = self.expression as? PredicateExpressions.Value<Transformation.Output>,
513 | let expression = base.value.expression as? any SQLPredicateExpression {
514 | var arguments = [SQLPredicateEvaluationArgument]()
| `- error: cannot find 'SQLPredicateEvaluationArgument' in scope
515 | for argument in repeat each input {
516 | arguments.append(SQLPredicateEvaluationArgument(argument))
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:514:29: error: cannot call value of non-function type '[Any]'
512 | if let base = self.expression as? PredicateExpressions.Value<Transformation.Output>,
513 | let expression = base.value.expression as? any SQLPredicateExpression {
514 | var arguments = [SQLPredicateEvaluationArgument]()
| `- error: cannot call value of non-function type '[Any]'
515 | for argument in repeat each input {
516 | arguments.append(SQLPredicateEvaluationArgument(argument))
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:516:34: error: cannot find 'SQLPredicateEvaluationArgument' in scope
514 | var arguments = [SQLPredicateEvaluationArgument]()
515 | for argument in repeat each input {
516 | arguments.append(SQLPredicateEvaluationArgument(argument))
| `- error: cannot find 'SQLPredicateEvaluationArgument' in scope
517 | }
518 | var variables = [PredicateExpressions.VariableID]()
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:522:27: error: cannot find 'evaluateRelationshipArguments' in scope
520 | variables.append(variable.key)
521 | }
522 | if let body = evaluateRelationshipArguments(
| `- error: cannot find 'evaluateRelationshipArguments' in scope
523 | &context,
524 | arguments: arguments,
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:562:27: error: cannot find 'makeEvaluationCTE' in scope
560 | body = body.copy(clause: "(1 = \(value))")
561 | }
562 | let cte = makeEvaluationCTE(
| `- error: cannot find 'makeEvaluationCTE' in scope
563 | &context,
564 | name: "CTE_\(outerKey)_\(outerIndex)",
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:606:30: error: cannot find 'SQLPredicateEvaluationArgument' in scope
604 | if let base = self.predicate as? PredicateExpressions.Value<Condition.Output>,
605 | let expression = base.value.expression as? any SQLPredicateExpression {
606 | var arguments = [SQLPredicateEvaluationArgument]()
| `- error: cannot find 'SQLPredicateEvaluationArgument' in scope
607 | for argument in repeat each input {
608 | arguments.append(SQLPredicateEvaluationArgument(argument))
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:606:29: error: cannot call value of non-function type '[Any]'
604 | if let base = self.predicate as? PredicateExpressions.Value<Condition.Output>,
605 | let expression = base.value.expression as? any SQLPredicateExpression {
606 | var arguments = [SQLPredicateEvaluationArgument]()
| `- error: cannot call value of non-function type '[Any]'
607 | for argument in repeat each input {
608 | arguments.append(SQLPredicateEvaluationArgument(argument))
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:608:34: error: cannot find 'SQLPredicateEvaluationArgument' in scope
606 | var arguments = [SQLPredicateEvaluationArgument]()
607 | for argument in repeat each input {
608 | arguments.append(SQLPredicateEvaluationArgument(argument))
| `- error: cannot find 'SQLPredicateEvaluationArgument' in scope
609 | }
610 | var variables = [PredicateExpressions.VariableID]()
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:614:27: error: cannot find 'evaluateRelationshipArguments' in scope
612 | variables.append(variable.key)
613 | }
614 | if let body = evaluateRelationshipArguments(
| `- error: cannot find 'evaluateRelationshipArguments' in scope
615 | &context,
616 | arguments: arguments,
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:654:27: error: cannot find 'makeEvaluationCTE' in scope
652 | body = body.copy(clause: "(1 = \(value))")
653 | }
654 | let cte = makeEvaluationCTE(
| `- error: cannot find 'makeEvaluationCTE' in scope
655 | &context,
656 | name: "CTE_\(outerKey)_\(outerIndex)",
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:826:50: error: value of type 'SQLPredicateTranslator<T>' has no member 'joinClause'
824 | From(elementEntity.name, as: elementAlias)
825 | if let joins = context.references[variable.key].take(), !joins.isEmpty {
826 | ForEach(joins) { context.joinClause(for: $0) }
| `- error: value of type 'SQLPredicateTranslator<T>' has no member 'joinClause'
827 | }
828 | Where {
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:958:25: error: value of type 'SQLPredicateTranslator<T>' has no member 'joinClause'
956 | From(unwrappedEntity.name, as: unwrappedAlias)
957 | ForEach(references) {
958 | context.joinClause(for: $0)
| `- error: value of type 'SQLPredicateTranslator<T>' has no member 'joinClause'
959 | }
960 | Where("\(quote(unwrappedAlias)).\(quote(pk)) = \(wrapped.clause)")
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:1109:47: error: value of type 'SQLPredicateTranslator<T>' has no member 'bindToOneRelationship'
1107 | relationship.isToOneRelationship {
1108 | do {
1109 | let destination = try context.bindToOneRelationship(
| `- error: value of type 'SQLPredicateTranslator<T>' has no member 'bindToOneRelationship'
1110 | key: input.key,
1111 | alias: inputAlias,
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:1627:81: error: value of type 'SQLPredicateTranslator<T>' has no member 'joinClause'
1625 | return element.invalid("Filter requires a model sequence")
1626 | }
1627 | let joins = (context.references[elementKey].take() ?? []).map { context.joinClause(for: $0) }
| `- error: value of type 'SQLPredicateTranslator<T>' has no member 'joinClause'
1628 | return sequence.copy(
1629 | clause: condition.clause,
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:1872:51: error: value of type 'SQLPredicateTranslator<T>' has no member 'bindToOneRelationship'
1870 | relationship.isToOneRelationship {
1871 | do {
1872 | let destination = try context.bindToOneRelationship(
| `- error: value of type 'SQLPredicateTranslator<T>' has no member 'bindToOneRelationship'
1873 | key: input.key,
1874 | alias: inputAlias,
[452/457] Compiling DataStoreRuntime ParseRowData.swift
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:9: error: extraneous '}' at top level
688 | }
689 |
690 | }) else { return nil }
| `- error: extraneous '}' at top level
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:10: error: consecutive statements on a line must be separated by ';'
688 | }
689 |
690 | }) else { return nil }
| `- error: consecutive statements on a line must be separated by ';'
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:10: error: expected expression
688 | }
689 |
690 | }) else { return nil }
| `- error: expected expression
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:184:51: error: value of type 'SQLPredicateTranslator<T>' has no member 'bindToOneRelationship'
182 | return root.invalid("Missing relationship property", description)
183 | }
184 | let destination = try context.bindToOneRelationship(
| `- error: value of type 'SQLPredicateTranslator<T>' has no member 'bindToOneRelationship'
185 | key: root.key,
186 | alias: sourceAlias,
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:514:30: error: cannot find 'SQLPredicateEvaluationArgument' in scope
512 | if let base = self.expression as? PredicateExpressions.Value<Transformation.Output>,
513 | let expression = base.value.expression as? any SQLPredicateExpression {
514 | var arguments = [SQLPredicateEvaluationArgument]()
| `- error: cannot find 'SQLPredicateEvaluationArgument' in scope
515 | for argument in repeat each input {
516 | arguments.append(SQLPredicateEvaluationArgument(argument))
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:514:29: error: cannot call value of non-function type '[Any]'
512 | if let base = self.expression as? PredicateExpressions.Value<Transformation.Output>,
513 | let expression = base.value.expression as? any SQLPredicateExpression {
514 | var arguments = [SQLPredicateEvaluationArgument]()
| `- error: cannot call value of non-function type '[Any]'
515 | for argument in repeat each input {
516 | arguments.append(SQLPredicateEvaluationArgument(argument))
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:516:34: error: cannot find 'SQLPredicateEvaluationArgument' in scope
514 | var arguments = [SQLPredicateEvaluationArgument]()
515 | for argument in repeat each input {
516 | arguments.append(SQLPredicateEvaluationArgument(argument))
| `- error: cannot find 'SQLPredicateEvaluationArgument' in scope
517 | }
518 | var variables = [PredicateExpressions.VariableID]()
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:522:27: error: cannot find 'evaluateRelationshipArguments' in scope
520 | variables.append(variable.key)
521 | }
522 | if let body = evaluateRelationshipArguments(
| `- error: cannot find 'evaluateRelationshipArguments' in scope
523 | &context,
524 | arguments: arguments,
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:562:27: error: cannot find 'makeEvaluationCTE' in scope
560 | body = body.copy(clause: "(1 = \(value))")
561 | }
562 | let cte = makeEvaluationCTE(
| `- error: cannot find 'makeEvaluationCTE' in scope
563 | &context,
564 | name: "CTE_\(outerKey)_\(outerIndex)",
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:606:30: error: cannot find 'SQLPredicateEvaluationArgument' in scope
604 | if let base = self.predicate as? PredicateExpressions.Value<Condition.Output>,
605 | let expression = base.value.expression as? any SQLPredicateExpression {
606 | var arguments = [SQLPredicateEvaluationArgument]()
| `- error: cannot find 'SQLPredicateEvaluationArgument' in scope
607 | for argument in repeat each input {
608 | arguments.append(SQLPredicateEvaluationArgument(argument))
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:606:29: error: cannot call value of non-function type '[Any]'
604 | if let base = self.predicate as? PredicateExpressions.Value<Condition.Output>,
605 | let expression = base.value.expression as? any SQLPredicateExpression {
606 | var arguments = [SQLPredicateEvaluationArgument]()
| `- error: cannot call value of non-function type '[Any]'
607 | for argument in repeat each input {
608 | arguments.append(SQLPredicateEvaluationArgument(argument))
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:608:34: error: cannot find 'SQLPredicateEvaluationArgument' in scope
606 | var arguments = [SQLPredicateEvaluationArgument]()
607 | for argument in repeat each input {
608 | arguments.append(SQLPredicateEvaluationArgument(argument))
| `- error: cannot find 'SQLPredicateEvaluationArgument' in scope
609 | }
610 | var variables = [PredicateExpressions.VariableID]()
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:614:27: error: cannot find 'evaluateRelationshipArguments' in scope
612 | variables.append(variable.key)
613 | }
614 | if let body = evaluateRelationshipArguments(
| `- error: cannot find 'evaluateRelationshipArguments' in scope
615 | &context,
616 | arguments: arguments,
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:654:27: error: cannot find 'makeEvaluationCTE' in scope
652 | body = body.copy(clause: "(1 = \(value))")
653 | }
654 | let cte = makeEvaluationCTE(
| `- error: cannot find 'makeEvaluationCTE' in scope
655 | &context,
656 | name: "CTE_\(outerKey)_\(outerIndex)",
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:826:50: error: value of type 'SQLPredicateTranslator<T>' has no member 'joinClause'
824 | From(elementEntity.name, as: elementAlias)
825 | if let joins = context.references[variable.key].take(), !joins.isEmpty {
826 | ForEach(joins) { context.joinClause(for: $0) }
| `- error: value of type 'SQLPredicateTranslator<T>' has no member 'joinClause'
827 | }
828 | Where {
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:958:25: error: value of type 'SQLPredicateTranslator<T>' has no member 'joinClause'
956 | From(unwrappedEntity.name, as: unwrappedAlias)
957 | ForEach(references) {
958 | context.joinClause(for: $0)
| `- error: value of type 'SQLPredicateTranslator<T>' has no member 'joinClause'
959 | }
960 | Where("\(quote(unwrappedAlias)).\(quote(pk)) = \(wrapped.clause)")
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:1109:47: error: value of type 'SQLPredicateTranslator<T>' has no member 'bindToOneRelationship'
1107 | relationship.isToOneRelationship {
1108 | do {
1109 | let destination = try context.bindToOneRelationship(
| `- error: value of type 'SQLPredicateTranslator<T>' has no member 'bindToOneRelationship'
1110 | key: input.key,
1111 | alias: inputAlias,
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:1627:81: error: value of type 'SQLPredicateTranslator<T>' has no member 'joinClause'
1625 | return element.invalid("Filter requires a model sequence")
1626 | }
1627 | let joins = (context.references[elementKey].take() ?? []).map { context.joinClause(for: $0) }
| `- error: value of type 'SQLPredicateTranslator<T>' has no member 'joinClause'
1628 | return sequence.copy(
1629 | clause: condition.clause,
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:1872:51: error: value of type 'SQLPredicateTranslator<T>' has no member 'bindToOneRelationship'
1870 | relationship.isToOneRelationship {
1871 | do {
1872 | let destination = try context.bindToOneRelationship(
| `- error: value of type 'SQLPredicateTranslator<T>' has no member 'bindToOneRelationship'
1873 | key: input.key,
1874 | alias: inputAlias,
[453/457] Compiling DataStoreRuntime PredicateExpressions+SQLPredicateExpression.swift
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:9: error: extraneous '}' at top level
688 | }
689 |
690 | }) else { return nil }
| `- error: extraneous '}' at top level
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:10: error: consecutive statements on a line must be separated by ';'
688 | }
689 |
690 | }) else { return nil }
| `- error: consecutive statements on a line must be separated by ';'
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:10: error: expected expression
688 | }
689 |
690 | }) else { return nil }
| `- error: expected expression
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:184:51: error: value of type 'SQLPredicateTranslator<T>' has no member 'bindToOneRelationship'
182 | return root.invalid("Missing relationship property", description)
183 | }
184 | let destination = try context.bindToOneRelationship(
| `- error: value of type 'SQLPredicateTranslator<T>' has no member 'bindToOneRelationship'
185 | key: root.key,
186 | alias: sourceAlias,
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:514:30: error: cannot find 'SQLPredicateEvaluationArgument' in scope
512 | if let base = self.expression as? PredicateExpressions.Value<Transformation.Output>,
513 | let expression = base.value.expression as? any SQLPredicateExpression {
514 | var arguments = [SQLPredicateEvaluationArgument]()
| `- error: cannot find 'SQLPredicateEvaluationArgument' in scope
515 | for argument in repeat each input {
516 | arguments.append(SQLPredicateEvaluationArgument(argument))
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:514:29: error: cannot call value of non-function type '[Any]'
512 | if let base = self.expression as? PredicateExpressions.Value<Transformation.Output>,
513 | let expression = base.value.expression as? any SQLPredicateExpression {
514 | var arguments = [SQLPredicateEvaluationArgument]()
| `- error: cannot call value of non-function type '[Any]'
515 | for argument in repeat each input {
516 | arguments.append(SQLPredicateEvaluationArgument(argument))
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:516:34: error: cannot find 'SQLPredicateEvaluationArgument' in scope
514 | var arguments = [SQLPredicateEvaluationArgument]()
515 | for argument in repeat each input {
516 | arguments.append(SQLPredicateEvaluationArgument(argument))
| `- error: cannot find 'SQLPredicateEvaluationArgument' in scope
517 | }
518 | var variables = [PredicateExpressions.VariableID]()
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:522:27: error: cannot find 'evaluateRelationshipArguments' in scope
520 | variables.append(variable.key)
521 | }
522 | if let body = evaluateRelationshipArguments(
| `- error: cannot find 'evaluateRelationshipArguments' in scope
523 | &context,
524 | arguments: arguments,
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:562:27: error: cannot find 'makeEvaluationCTE' in scope
560 | body = body.copy(clause: "(1 = \(value))")
561 | }
562 | let cte = makeEvaluationCTE(
| `- error: cannot find 'makeEvaluationCTE' in scope
563 | &context,
564 | name: "CTE_\(outerKey)_\(outerIndex)",
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:606:30: error: cannot find 'SQLPredicateEvaluationArgument' in scope
604 | if let base = self.predicate as? PredicateExpressions.Value<Condition.Output>,
605 | let expression = base.value.expression as? any SQLPredicateExpression {
606 | var arguments = [SQLPredicateEvaluationArgument]()
| `- error: cannot find 'SQLPredicateEvaluationArgument' in scope
607 | for argument in repeat each input {
608 | arguments.append(SQLPredicateEvaluationArgument(argument))
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:606:29: error: cannot call value of non-function type '[Any]'
604 | if let base = self.predicate as? PredicateExpressions.Value<Condition.Output>,
605 | let expression = base.value.expression as? any SQLPredicateExpression {
606 | var arguments = [SQLPredicateEvaluationArgument]()
| `- error: cannot call value of non-function type '[Any]'
607 | for argument in repeat each input {
608 | arguments.append(SQLPredicateEvaluationArgument(argument))
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:608:34: error: cannot find 'SQLPredicateEvaluationArgument' in scope
606 | var arguments = [SQLPredicateEvaluationArgument]()
607 | for argument in repeat each input {
608 | arguments.append(SQLPredicateEvaluationArgument(argument))
| `- error: cannot find 'SQLPredicateEvaluationArgument' in scope
609 | }
610 | var variables = [PredicateExpressions.VariableID]()
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:614:27: error: cannot find 'evaluateRelationshipArguments' in scope
612 | variables.append(variable.key)
613 | }
614 | if let body = evaluateRelationshipArguments(
| `- error: cannot find 'evaluateRelationshipArguments' in scope
615 | &context,
616 | arguments: arguments,
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:654:27: error: cannot find 'makeEvaluationCTE' in scope
652 | body = body.copy(clause: "(1 = \(value))")
653 | }
654 | let cte = makeEvaluationCTE(
| `- error: cannot find 'makeEvaluationCTE' in scope
655 | &context,
656 | name: "CTE_\(outerKey)_\(outerIndex)",
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:826:50: error: value of type 'SQLPredicateTranslator<T>' has no member 'joinClause'
824 | From(elementEntity.name, as: elementAlias)
825 | if let joins = context.references[variable.key].take(), !joins.isEmpty {
826 | ForEach(joins) { context.joinClause(for: $0) }
| `- error: value of type 'SQLPredicateTranslator<T>' has no member 'joinClause'
827 | }
828 | Where {
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:958:25: error: value of type 'SQLPredicateTranslator<T>' has no member 'joinClause'
956 | From(unwrappedEntity.name, as: unwrappedAlias)
957 | ForEach(references) {
958 | context.joinClause(for: $0)
| `- error: value of type 'SQLPredicateTranslator<T>' has no member 'joinClause'
959 | }
960 | Where("\(quote(unwrappedAlias)).\(quote(pk)) = \(wrapped.clause)")
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:1109:47: error: value of type 'SQLPredicateTranslator<T>' has no member 'bindToOneRelationship'
1107 | relationship.isToOneRelationship {
1108 | do {
1109 | let destination = try context.bindToOneRelationship(
| `- error: value of type 'SQLPredicateTranslator<T>' has no member 'bindToOneRelationship'
1110 | key: input.key,
1111 | alias: inputAlias,
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:1627:81: error: value of type 'SQLPredicateTranslator<T>' has no member 'joinClause'
1625 | return element.invalid("Filter requires a model sequence")
1626 | }
1627 | let joins = (context.references[elementKey].take() ?? []).map { context.joinClause(for: $0) }
| `- error: value of type 'SQLPredicateTranslator<T>' has no member 'joinClause'
1628 | return sequence.copy(
1629 | clause: condition.clause,
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:1872:51: error: value of type 'SQLPredicateTranslator<T>' has no member 'bindToOneRelationship'
1870 | relationship.isToOneRelationship {
1871 | do {
1872 | let destination = try context.bindToOneRelationship(
| `- error: value of type 'SQLPredicateTranslator<T>' has no member 'bindToOneRelationship'
1873 | key: input.key,
1874 | alias: inputAlias,
[454/457] Compiling DataStoreRuntime ConstraintDiagnostic.swift
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:9: error: extraneous '}' at top level
688 | }
689 |
690 | }) else { return nil }
| `- error: extraneous '}' at top level
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:10: error: consecutive statements on a line must be separated by ';'
688 | }
689 |
690 | }) else { return nil }
| `- error: consecutive statements on a line must be separated by ';'
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:10: error: expected expression
688 | }
689 |
690 | }) else { return nil }
| `- error: expected expression
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
[455/457] Compiling DataStoreRuntime ConstraintError.swift
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:9: error: extraneous '}' at top level
688 | }
689 |
690 | }) else { return nil }
| `- error: extraneous '}' at top level
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:10: error: consecutive statements on a line must be separated by ';'
688 | }
689 |
690 | }) else { return nil }
| `- error: consecutive statements on a line must be separated by ';'
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:10: error: expected expression
688 | }
689 |
690 | }) else { return nil }
| `- error: expected expression
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
[456/457] Compiling DataStoreRuntime ConstraintViolation.swift
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:9: error: extraneous '}' at top level
688 | }
689 |
690 | }) else { return nil }
| `- error: extraneous '}' at top level
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:10: error: consecutive statements on a line must be separated by ';'
688 | }
689 |
690 | }) else { return nil }
| `- error: consecutive statements on a line must be separated by ';'
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:10: error: expected expression
688 | }
689 |
690 | }) else { return nil }
| `- error: expected expression
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
[457/457] Compiling DataStoreRuntime DataStoreObservable.swift
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:9: error: extraneous '}' at top level
688 | }
689 |
690 | }) else { return nil }
| `- error: extraneous '}' at top level
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:10: error: consecutive statements on a line must be separated by ';'
688 | }
689 |
690 | }) else { return nil }
| `- error: consecutive statements on a line must be separated by ';'
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
/Users/admin/builder/spi-builder-workspace/Sources/DataStoreRuntime/SQLQuery/PredicateExpressions+SQLPredicateExpression.swift:690:10: error: expected expression
688 | }
689 |
690 | }) else { return nil }
| `- error: expected expression
691 | /// `$0.properties.contains(value)`
692 | extension PredicateExpressions.SequenceContains: SQLPredicateExpression
BUILD FAILURE 6.3 macosSpm