Build Information
Successful build of smoke-dynamodb, reference 3.12.1 (7fc5c6), with Swift 6.2 for macOS (SPM) on 13 Aug 2025 02:28:42 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64Build Log
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:140:40: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
138 |
139 | accessQueue.async {
140 | let partition = self.store[item.compositePrimaryKey.partitionKey]
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
141 |
142 | // if there is already a partition
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:135:50: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
133 | }
134 |
135 | func clobberItem<AttributesType, ItemType>(_ item: TypedDatabaseItem<AttributesType, ItemType>,
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
136 | eventLoop: EventLoop) -> EventLoopFuture<Void> {
137 | let promise = eventLoop.makePromise(of: Void.self)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:135:50: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
133 | }
134 |
135 | func clobberItem<AttributesType, ItemType>(_ item: TypedDatabaseItem<AttributesType, ItemType>,
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
136 | eventLoop: EventLoop) -> EventLoopFuture<Void> {
137 | let promise = eventLoop.makePromise(of: Void.self)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:166:26: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
164 | accessQueue.async {
165 | do {
166 | try self.updateItemInternal(newItem: newItem, existingItem: existingItem)
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
167 | promise.succeed(())
168 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:166:26: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
164 | accessQueue.async {
165 | do {
166 | try self.updateItemInternal(newItem: newItem, existingItem: existingItem)
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
167 | promise.succeed(())
168 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:159:47: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
157 | }
158 |
159 | func updateItem<AttributesType, ItemType>(newItem: TypedDatabaseItem<AttributesType, ItemType>,
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
160 | existingItem: TypedDatabaseItem<AttributesType, ItemType>,
161 | eventLoop: EventLoop) -> EventLoopFuture<Void> {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:159:47: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
157 | }
158 |
159 | func updateItem<AttributesType, ItemType>(newItem: TypedDatabaseItem<AttributesType, ItemType>,
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
160 | existingItem: TypedDatabaseItem<AttributesType, ItemType>,
161 | eventLoop: EventLoop) -> EventLoopFuture<Void> {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:299:30: warning: capture of non-sendable type 'WriteEntryType.Type' in an isolated closure
297 |
298 | accessQueue.async {
299 | let entryCount = entries.count + constraints.count
| `- warning: capture of non-sendable type 'WriteEntryType.Type' in an isolated closure
300 | let context = StandardPolymorphicWriteEntryContext<InMemoryPolymorphicWriteEntryTransform,
301 | InMemoryPolymorphicTransactionConstraintTransform>(table: self)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:294:27: warning: capture of non-sendable type 'WriteEntryType.Type' in an isolated closure
292 | func bulkWrite<WriteEntryType: PolymorphicWriteEntry,
293 | TransactionConstraintEntryType: PolymorphicTransactionConstraintEntry>(
294 | _ entries: [WriteEntryType], constraints: [TransactionConstraintEntryType],
| `- warning: capture of non-sendable type 'WriteEntryType.Type' in an isolated closure
295 | isTransaction: Bool, eventLoop: EventLoop) -> EventLoopFuture<Void> {
296 | let promise = eventLoop.makePromise(of: Void.self)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:299:46: warning: capture of non-sendable type 'TransactionConstraintEntryType.Type' in an isolated closure
297 |
298 | accessQueue.async {
299 | let entryCount = entries.count + constraints.count
| `- warning: capture of non-sendable type 'TransactionConstraintEntryType.Type' in an isolated closure
300 | let context = StandardPolymorphicWriteEntryContext<InMemoryPolymorphicWriteEntryTransform,
301 | InMemoryPolymorphicTransactionConstraintTransform>(table: self)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:294:54: warning: capture of non-sendable type 'TransactionConstraintEntryType.Type' in an isolated closure
292 | func bulkWrite<WriteEntryType: PolymorphicWriteEntry,
293 | TransactionConstraintEntryType: PolymorphicTransactionConstraintEntry>(
294 | _ entries: [WriteEntryType], constraints: [TransactionConstraintEntryType],
| `- warning: capture of non-sendable type 'TransactionConstraintEntryType.Type' in an isolated closure
295 | isTransaction: Bool, eventLoop: EventLoop) -> EventLoopFuture<Void> {
296 | let promise = eventLoop.makePromise(of: Void.self)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:414:43: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
412 |
413 | accessQueue.async {
414 | if let partition = self.store[key.partitionKey] {
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
415 |
416 | guard let value = partition[key.sortKey] else {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:408:51: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
406 | }
407 |
408 | func getItem<AttributesType, ItemType>(forKey key: CompositePrimaryKey<AttributesType>,
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
409 | eventLoop: EventLoop)
410 | -> EventLoopFuture<TypedDatabaseItem<AttributesType, ItemType>?> {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:417:29: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
415 |
416 | guard let value = partition[key.sortKey] else {
417 | promise.succeed(nil)
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
418 | return
419 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:411:13: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
409 | eventLoop: EventLoop)
410 | -> EventLoopFuture<TypedDatabaseItem<AttributesType, ItemType>?> {
411 | let promise = eventLoop.makePromise(of: TypedDatabaseItem<AttributesType, ItemType>?.self)
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
412 |
413 | accessQueue.async {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:448:89: warning: capture of non-sendable type 'ReturnedType.AttributesType.Type' in an isolated closure
446 |
447 | accessQueue.async {
448 | var map: [CompositePrimaryKey<ReturnedType.AttributesType>: ReturnedType] = [:]
| `- warning: capture of non-sendable type 'ReturnedType.AttributesType.Type' in an isolated closure
449 |
450 | keys.forEach { key in
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:448:89: warning: capture of non-sendable type 'ReturnedType.Type' in an isolated closure
446 |
447 | accessQueue.async {
448 | var map: [CompositePrimaryKey<ReturnedType.AttributesType>: ReturnedType] = [:]
| `- warning: capture of non-sendable type 'ReturnedType.Type' in an isolated closure
449 |
450 | keys.forEach { key in
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:442:17: warning: capture of non-sendable type 'ReturnedType.Type' in an isolated closure
440 |
441 | func getItems<ReturnedType: PolymorphicOperationReturnType & BatchCapableReturnType>(
442 | forKeys keys: [CompositePrimaryKey<ReturnedType.AttributesType>],
| `- warning: capture of non-sendable type 'ReturnedType.Type' in an isolated closure
443 | eventLoop: EventLoop)
444 | -> EventLoopFuture<[CompositePrimaryKey<ReturnedType.AttributesType>: ReturnedType]> {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:481:18: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
479 |
480 | accessQueue.async {
481 | self.deleteItemInternal(forKey: key)
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
482 | promise.succeed(())
483 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:476:44: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
474 | }
475 |
476 | func deleteItem<AttributesType>(forKey key: CompositePrimaryKey<AttributesType>,
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
477 | eventLoop: EventLoop) -> EventLoopFuture<Void> {
478 | let promise = eventLoop.makePromise(of: Void.self)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:498:26: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
496 | accessQueue.async {
497 | do {
498 | try self.deleteItemInternal(existingItem: existingItem)
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
499 | promise.succeed(())
500 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:492:45: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
490 | }
491 |
492 | func deleteItem<ItemType: DatabaseItem>(existingItem: ItemType,
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
493 | eventLoop: EventLoop) -> EventLoopFuture<Void> {
494 | let promise = eventLoop.makePromise(of: Void.self)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:565:41: warning: capture of non-sendable type 'ReturnedType.Type' in an isolated closure
563 |
564 | accessQueue.async {
565 | var items: [ReturnedType] = []
| `- warning: capture of non-sendable type 'ReturnedType.Type' in an isolated closure
566 |
567 | if let partition = self.store[partitionKey] {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:562:13: warning: capture of non-sendable type 'ReturnedType.Type' in an isolated closure
560 | eventLoop: EventLoop)
561 | -> EventLoopFuture<[ReturnedType]> {
562 | let promise = eventLoop.makePromise(of: [ReturnedType].self)
| `- warning: capture of non-sendable type 'ReturnedType.Type' in an isolated closure
563 |
564 | accessQueue.async {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:673:21: warning: capture of non-sendable type 'ReturnedType.Type' in an isolated closure
671 | let items: [ReturnedType]
672 | if !scanIndexForward {
673 | items = rawItems.reversed()
| `- warning: capture of non-sendable type 'ReturnedType.Type' in an isolated closure
674 | } else {
675 | items = rawItems
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:61:34: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
59 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
60 | return self.primaryTable.insertItem(item) .flatMap { _ in
61 | return self.gsiLogic.onInsertItem(item, gsiDataStore: self.gsiDataStore)
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
62 | }
63 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:61:34: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
59 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
60 | return self.primaryTable.insertItem(item) .flatMap { _ in
61 | return self.gsiLogic.onInsertItem(item, gsiDataStore: self.gsiDataStore)
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
62 | }
63 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:61:25: warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
59 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
60 | return self.primaryTable.insertItem(item) .flatMap { _ in
61 | return self.gsiLogic.onInsertItem(item, gsiDataStore: self.gsiDataStore)
| `- warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
62 | }
63 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:58:17: warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
56 | }
57 |
58 | public func insertItem<AttributesType, ItemType>(_ item: TypedDatabaseItem<AttributesType, ItemType>)
| `- warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
59 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
60 | return self.primaryTable.insertItem(item) .flatMap { _ in
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:58:56: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
56 | }
57 |
58 | public func insertItem<AttributesType, ItemType>(_ item: TypedDatabaseItem<AttributesType, ItemType>)
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
59 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
60 | return self.primaryTable.insertItem(item) .flatMap { _ in
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:58:56: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
56 | }
57 |
58 | public func insertItem<AttributesType, ItemType>(_ item: TypedDatabaseItem<AttributesType, ItemType>)
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
59 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
60 | return self.primaryTable.insertItem(item) .flatMap { _ in
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:68:34: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
66 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
67 | return self.primaryTable.clobberItem(item) .flatMap { _ in
68 | return self.gsiLogic.onClobberItem(item, gsiDataStore: self.gsiDataStore)
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
69 | }
70 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:68:34: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
66 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
67 | return self.primaryTable.clobberItem(item) .flatMap { _ in
68 | return self.gsiLogic.onClobberItem(item, gsiDataStore: self.gsiDataStore)
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
69 | }
70 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:68:25: warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
66 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
67 | return self.primaryTable.clobberItem(item) .flatMap { _ in
68 | return self.gsiLogic.onClobberItem(item, gsiDataStore: self.gsiDataStore)
| `- warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
69 | }
70 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:65:17: warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
63 | }
64 |
65 | public func clobberItem<AttributesType, ItemType>(_ item: TypedDatabaseItem<AttributesType, ItemType>)
| `- warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
66 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
67 | return self.primaryTable.clobberItem(item) .flatMap { _ in
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:65:57: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
63 | }
64 |
65 | public func clobberItem<AttributesType, ItemType>(_ item: TypedDatabaseItem<AttributesType, ItemType>)
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
66 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
67 | return self.primaryTable.clobberItem(item) .flatMap { _ in
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:65:57: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
63 | }
64 |
65 | public func clobberItem<AttributesType, ItemType>(_ item: TypedDatabaseItem<AttributesType, ItemType>)
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
66 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
67 | return self.primaryTable.clobberItem(item) .flatMap { _ in
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:75:34: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
73 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
74 | return self.primaryTable.updateItem(newItem: newItem, existingItem: existingItem) .flatMap { _ in
75 | return self.gsiLogic.onUpdateItem(newItem: newItem, existingItem: existingItem, gsiDataStore: self.gsiDataStore)
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
76 | }
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:75:34: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
73 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
74 | return self.primaryTable.updateItem(newItem: newItem, existingItem: existingItem) .flatMap { _ in
75 | return self.gsiLogic.onUpdateItem(newItem: newItem, existingItem: existingItem, gsiDataStore: self.gsiDataStore)
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
76 | }
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:75:25: warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
73 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
74 | return self.primaryTable.updateItem(newItem: newItem, existingItem: existingItem) .flatMap { _ in
75 | return self.gsiLogic.onUpdateItem(newItem: newItem, existingItem: existingItem, gsiDataStore: self.gsiDataStore)
| `- warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
76 | }
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:72:17: warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
70 | }
71 |
72 | public func updateItem<AttributesType, ItemType>(newItem: TypedDatabaseItem<AttributesType, ItemType>, existingItem: TypedDatabaseItem<AttributesType, ItemType>)
| `- warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
73 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
74 | return self.primaryTable.updateItem(newItem: newItem, existingItem: existingItem) .flatMap { _ in
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:72:54: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
70 | }
71 |
72 | public func updateItem<AttributesType, ItemType>(newItem: TypedDatabaseItem<AttributesType, ItemType>, existingItem: TypedDatabaseItem<AttributesType, ItemType>)
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
73 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
74 | return self.primaryTable.updateItem(newItem: newItem, existingItem: existingItem) .flatMap { _ in
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:72:54: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
70 | }
71 |
72 | public func updateItem<AttributesType, ItemType>(newItem: TypedDatabaseItem<AttributesType, ItemType>, existingItem: TypedDatabaseItem<AttributesType, ItemType>)
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
73 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
74 | return self.primaryTable.updateItem(newItem: newItem, existingItem: existingItem) .flatMap { _ in
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:167:39: warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
165 | return nil
166 | }.flatMapError { error -> EventLoopFuture<BatchStatementErrorCodeEnum?> in
167 | let promise = eventLoop.makePromise(of: BatchStatementErrorCodeEnum?.self)
| `- warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
168 | promise.succeed(BatchStatementErrorCodeEnum.duplicateitem)
169 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:158:17: warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
156 | }
157 |
158 | public func monomorphicBulkWriteWithoutThrowing<AttributesType, ItemType>(_ entries: [WriteEntry<AttributesType, ItemType>])
| `- warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
159 | -> EventLoopFuture<Set<BatchStatementErrorCodeEnum>> {
160 | let futures = entries.map { entry -> EventLoopFuture<BatchStatementErrorCodeEnum?> in
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:176:39: warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
174 | return nil
175 | }.flatMapError { error -> EventLoopFuture<BatchStatementErrorCodeEnum?> in
176 | let promise = eventLoop.makePromise(of: BatchStatementErrorCodeEnum?.self)
| `- warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
177 | promise.succeed(BatchStatementErrorCodeEnum.duplicateitem)
178 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:158:17: warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
156 | }
157 |
158 | public func monomorphicBulkWriteWithoutThrowing<AttributesType, ItemType>(_ entries: [WriteEntry<AttributesType, ItemType>])
| `- warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
159 | -> EventLoopFuture<Set<BatchStatementErrorCodeEnum>> {
160 | let futures = entries.map { entry -> EventLoopFuture<BatchStatementErrorCodeEnum?> in
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:185:39: warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
183 | return nil
184 | }.flatMapError { error -> EventLoopFuture<BatchStatementErrorCodeEnum?> in
185 | let promise = eventLoop.makePromise(of: BatchStatementErrorCodeEnum?.self)
| `- warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
186 | promise.succeed(BatchStatementErrorCodeEnum.duplicateitem)
187 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:158:17: warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
156 | }
157 |
158 | public func monomorphicBulkWriteWithoutThrowing<AttributesType, ItemType>(_ entries: [WriteEntry<AttributesType, ItemType>])
| `- warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
159 | -> EventLoopFuture<Set<BatchStatementErrorCodeEnum>> {
160 | let futures = entries.map { entry -> EventLoopFuture<BatchStatementErrorCodeEnum?> in
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:194:39: warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
192 | return nil
193 | }.flatMapError { error -> EventLoopFuture<BatchStatementErrorCodeEnum?> in
194 | let promise = eventLoop.makePromise(of: BatchStatementErrorCodeEnum?.self)
| `- warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
195 | promise.succeed(BatchStatementErrorCodeEnum.duplicateitem)
196 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:158:17: warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
156 | }
157 |
158 | public func monomorphicBulkWriteWithoutThrowing<AttributesType, ItemType>(_ entries: [WriteEntry<AttributesType, ItemType>])
| `- warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
159 | -> EventLoopFuture<Set<BatchStatementErrorCodeEnum>> {
160 | let futures = entries.map { entry -> EventLoopFuture<BatchStatementErrorCodeEnum?> in
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:228:34: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
226 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes {
227 | return self.primaryTable.deleteItem(forKey: key) .flatMap { _ in
228 | return self.gsiLogic.onDeleteItem(forKey: key, gsiDataStore: self.gsiDataStore)
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
229 | }
230 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:228:25: warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
226 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes {
227 | return self.primaryTable.deleteItem(forKey: key) .flatMap { _ in
228 | return self.gsiLogic.onDeleteItem(forKey: key, gsiDataStore: self.gsiDataStore)
| `- warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
229 | }
230 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:225:17: warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
223 | }
224 |
225 | public func deleteItem<AttributesType>(forKey key: CompositePrimaryKey<AttributesType>)
| `- warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
226 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes {
227 | return self.primaryTable.deleteItem(forKey: key) .flatMap { _ in
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:225:51: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
223 | }
224 |
225 | public func deleteItem<AttributesType>(forKey key: CompositePrimaryKey<AttributesType>)
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
226 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes {
227 | return self.primaryTable.deleteItem(forKey: key) .flatMap { _ in
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:235:34: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
233 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
234 | return self.primaryTable.deleteItem(existingItem: existingItem) .flatMap { _ in
235 | return self.gsiLogic.onDeleteItem(forKey: existingItem.compositePrimaryKey, gsiDataStore: self.gsiDataStore)
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
236 | }
237 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:235:25: warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
233 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
234 | return self.primaryTable.deleteItem(existingItem: existingItem) .flatMap { _ in
235 | return self.gsiLogic.onDeleteItem(forKey: existingItem.compositePrimaryKey, gsiDataStore: self.gsiDataStore)
| `- warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
236 | }
237 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:232:17: warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
230 | }
231 |
232 | public func deleteItem<AttributesType, ItemType>(existingItem: TypedDatabaseItem<AttributesType, ItemType>)
| `- warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
233 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
234 | return self.primaryTable.deleteItem(existingItem: existingItem) .flatMap { _ in
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:235:55: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
233 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
234 | return self.primaryTable.deleteItem(existingItem: existingItem) .flatMap { _ in
235 | return self.gsiLogic.onDeleteItem(forKey: existingItem.compositePrimaryKey, gsiDataStore: self.gsiDataStore)
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
236 | }
237 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:232:54: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
230 | }
231 |
232 | public func deleteItem<AttributesType, ItemType>(existingItem: TypedDatabaseItem<AttributesType, ItemType>)
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
233 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
234 | return self.primaryTable.deleteItem(existingItem: existingItem) .flatMap { _ in
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:232:54: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
230 | }
231 |
232 | public func deleteItem<AttributesType, ItemType>(existingItem: TypedDatabaseItem<AttributesType, ItemType>)
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
233 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
234 | return self.primaryTable.deleteItem(existingItem: existingItem) .flatMap { _ in
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:241:32: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
239 | public func deleteItems<AttributesType>(forKeys keys: [CompositePrimaryKey<AttributesType>]) -> EventLoopFuture<Void> {
240 | return self.primaryTable.deleteItems(forKeys: keys).flatMap {
241 | let futures = keys.map { key in
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
242 | return self.gsiLogic.onDeleteItem(forKey: key, gsiDataStore: self.gsiDataStore)
243 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:239:53: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
237 | }
238 |
239 | public func deleteItems<AttributesType>(forKeys keys: [CompositePrimaryKey<AttributesType>]) -> EventLoopFuture<Void> {
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
240 | return self.primaryTable.deleteItems(forKeys: keys).flatMap {
241 | let futures = keys.map { key in
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:239:17: warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
237 | }
238 |
239 | public func deleteItems<AttributesType>(forKeys keys: [CompositePrimaryKey<AttributesType>]) -> EventLoopFuture<Void> {
| `- warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
240 | return self.primaryTable.deleteItems(forKeys: keys).flatMap {
241 | let futures = keys.map { key in
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:245:63: warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
243 | }
244 |
245 | return EventLoopFuture.andAllSucceed(futures, on: self.eventLoop)
| `- warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
246 | }
247 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:252:41: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
250 |
251 | return self.primaryTable.deleteItems(existingItems: existingItems).flatMap {
252 | let futures = existingItems.map { existingItem in
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
253 | return self.gsiLogic.onDeleteItem(forKey: existingItem.compositePrimaryKey, gsiDataStore: self.gsiDataStore)
254 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:249:53: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
247 | }
248 |
249 | public func deleteItems<ItemType: DatabaseItem>(existingItems: [ItemType]) -> EventLoopFuture<Void> {
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
250 |
251 | return self.primaryTable.deleteItems(existingItems: existingItems).flatMap {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:249:17: warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
247 | }
248 |
249 | public func deleteItems<ItemType: DatabaseItem>(existingItems: [ItemType]) -> EventLoopFuture<Void> {
| `- warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
250 |
251 | return self.primaryTable.deleteItems(existingItems: existingItems).flatMap {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:256:63: warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
254 | }
255 |
256 | return EventLoopFuture.andAllSucceed(futures, on: self.eventLoop)
| `- warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
257 | }
258 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeysProjectionStore.swift:51:64: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
49 |
50 | accessQueue.async {
51 | var items: [CompositePrimaryKey<AttributesType>] = []
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
52 |
53 | let sortedKeys = self.keys.compactMap { $0 as? CompositePrimaryKey<AttributesType> }.sorted(by: { (left, right) -> Bool in
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeysProjectionStore.swift:48:13: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
46 | eventLoop: EventLoop)
47 | -> EventLoopFuture<[CompositePrimaryKey<AttributesType>]> {
48 | let promise = eventLoop.makePromise(of: [CompositePrimaryKey<AttributesType>].self)
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
49 |
50 | accessQueue.async {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeysProjectionStore.swift:144:21: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
142 | let items: [CompositePrimaryKey<AttributesType>]
143 | if !scanIndexForward {
144 | items = rawItems.reversed()
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
145 | } else {
146 | items = rawItems
[1656/1667] Compiling SmokeDynamoDB InMemoryDynamoDBCompositePrimaryKeysProjectionStore.swift
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:102:26: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
100 | accessQueue.async {
101 | do {
102 | try self.insertItemInternal(item)
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
103 | promise.succeed(())
104 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:102:26: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
100 | accessQueue.async {
101 | do {
102 | try self.insertItemInternal(item)
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
103 | promise.succeed(())
104 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:96:49: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
94 |
95 | extension InMemoryDynamoDBCompositePrimaryKeyTableStore {
96 | func insertItem<AttributesType, ItemType>(_ item: TypedDatabaseItem<AttributesType, ItemType>,
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
97 | eventLoop: EventLoop) -> EventLoopFuture<Void> {
98 | let promise = eventLoop.makePromise(of: Void.self)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:96:49: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
94 |
95 | extension InMemoryDynamoDBCompositePrimaryKeyTableStore {
96 | func insertItem<AttributesType, ItemType>(_ item: TypedDatabaseItem<AttributesType, ItemType>,
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
97 | eventLoop: EventLoop) -> EventLoopFuture<Void> {
98 | let promise = eventLoop.makePromise(of: Void.self)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:140:45: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
138 |
139 | accessQueue.async {
140 | let partition = self.store[item.compositePrimaryKey.partitionKey]
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
141 |
142 | // if there is already a partition
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:140:40: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
138 |
139 | accessQueue.async {
140 | let partition = self.store[item.compositePrimaryKey.partitionKey]
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
141 |
142 | // if there is already a partition
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:135:50: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
133 | }
134 |
135 | func clobberItem<AttributesType, ItemType>(_ item: TypedDatabaseItem<AttributesType, ItemType>,
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
136 | eventLoop: EventLoop) -> EventLoopFuture<Void> {
137 | let promise = eventLoop.makePromise(of: Void.self)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:135:50: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
133 | }
134 |
135 | func clobberItem<AttributesType, ItemType>(_ item: TypedDatabaseItem<AttributesType, ItemType>,
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
136 | eventLoop: EventLoop) -> EventLoopFuture<Void> {
137 | let promise = eventLoop.makePromise(of: Void.self)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:166:26: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
164 | accessQueue.async {
165 | do {
166 | try self.updateItemInternal(newItem: newItem, existingItem: existingItem)
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
167 | promise.succeed(())
168 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:166:26: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
164 | accessQueue.async {
165 | do {
166 | try self.updateItemInternal(newItem: newItem, existingItem: existingItem)
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
167 | promise.succeed(())
168 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:159:47: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
157 | }
158 |
159 | func updateItem<AttributesType, ItemType>(newItem: TypedDatabaseItem<AttributesType, ItemType>,
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
160 | existingItem: TypedDatabaseItem<AttributesType, ItemType>,
161 | eventLoop: EventLoop) -> EventLoopFuture<Void> {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:159:47: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
157 | }
158 |
159 | func updateItem<AttributesType, ItemType>(newItem: TypedDatabaseItem<AttributesType, ItemType>,
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
160 | existingItem: TypedDatabaseItem<AttributesType, ItemType>,
161 | eventLoop: EventLoop) -> EventLoopFuture<Void> {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:299:30: warning: capture of non-sendable type 'WriteEntryType.Type' in an isolated closure
297 |
298 | accessQueue.async {
299 | let entryCount = entries.count + constraints.count
| `- warning: capture of non-sendable type 'WriteEntryType.Type' in an isolated closure
300 | let context = StandardPolymorphicWriteEntryContext<InMemoryPolymorphicWriteEntryTransform,
301 | InMemoryPolymorphicTransactionConstraintTransform>(table: self)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:294:27: warning: capture of non-sendable type 'WriteEntryType.Type' in an isolated closure
292 | func bulkWrite<WriteEntryType: PolymorphicWriteEntry,
293 | TransactionConstraintEntryType: PolymorphicTransactionConstraintEntry>(
294 | _ entries: [WriteEntryType], constraints: [TransactionConstraintEntryType],
| `- warning: capture of non-sendable type 'WriteEntryType.Type' in an isolated closure
295 | isTransaction: Bool, eventLoop: EventLoop) -> EventLoopFuture<Void> {
296 | let promise = eventLoop.makePromise(of: Void.self)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:299:46: warning: capture of non-sendable type 'TransactionConstraintEntryType.Type' in an isolated closure
297 |
298 | accessQueue.async {
299 | let entryCount = entries.count + constraints.count
| `- warning: capture of non-sendable type 'TransactionConstraintEntryType.Type' in an isolated closure
300 | let context = StandardPolymorphicWriteEntryContext<InMemoryPolymorphicWriteEntryTransform,
301 | InMemoryPolymorphicTransactionConstraintTransform>(table: self)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:294:54: warning: capture of non-sendable type 'TransactionConstraintEntryType.Type' in an isolated closure
292 | func bulkWrite<WriteEntryType: PolymorphicWriteEntry,
293 | TransactionConstraintEntryType: PolymorphicTransactionConstraintEntry>(
294 | _ entries: [WriteEntryType], constraints: [TransactionConstraintEntryType],
| `- warning: capture of non-sendable type 'TransactionConstraintEntryType.Type' in an isolated closure
295 | isTransaction: Bool, eventLoop: EventLoop) -> EventLoopFuture<Void> {
296 | let promise = eventLoop.makePromise(of: Void.self)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:414:43: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
412 |
413 | accessQueue.async {
414 | if let partition = self.store[key.partitionKey] {
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
415 |
416 | guard let value = partition[key.sortKey] else {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:408:51: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
406 | }
407 |
408 | func getItem<AttributesType, ItemType>(forKey key: CompositePrimaryKey<AttributesType>,
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
409 | eventLoop: EventLoop)
410 | -> EventLoopFuture<TypedDatabaseItem<AttributesType, ItemType>?> {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:417:29: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
415 |
416 | guard let value = partition[key.sortKey] else {
417 | promise.succeed(nil)
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
418 | return
419 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:411:13: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
409 | eventLoop: EventLoop)
410 | -> EventLoopFuture<TypedDatabaseItem<AttributesType, ItemType>?> {
411 | let promise = eventLoop.makePromise(of: TypedDatabaseItem<AttributesType, ItemType>?.self)
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
412 |
413 | accessQueue.async {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:448:89: warning: capture of non-sendable type 'ReturnedType.AttributesType.Type' in an isolated closure
446 |
447 | accessQueue.async {
448 | var map: [CompositePrimaryKey<ReturnedType.AttributesType>: ReturnedType] = [:]
| `- warning: capture of non-sendable type 'ReturnedType.AttributesType.Type' in an isolated closure
449 |
450 | keys.forEach { key in
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:448:89: warning: capture of non-sendable type 'ReturnedType.Type' in an isolated closure
446 |
447 | accessQueue.async {
448 | var map: [CompositePrimaryKey<ReturnedType.AttributesType>: ReturnedType] = [:]
| `- warning: capture of non-sendable type 'ReturnedType.Type' in an isolated closure
449 |
450 | keys.forEach { key in
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:442:17: warning: capture of non-sendable type 'ReturnedType.Type' in an isolated closure
440 |
441 | func getItems<ReturnedType: PolymorphicOperationReturnType & BatchCapableReturnType>(
442 | forKeys keys: [CompositePrimaryKey<ReturnedType.AttributesType>],
| `- warning: capture of non-sendable type 'ReturnedType.Type' in an isolated closure
443 | eventLoop: EventLoop)
444 | -> EventLoopFuture<[CompositePrimaryKey<ReturnedType.AttributesType>: ReturnedType]> {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:481:18: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
479 |
480 | accessQueue.async {
481 | self.deleteItemInternal(forKey: key)
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
482 | promise.succeed(())
483 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:476:44: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
474 | }
475 |
476 | func deleteItem<AttributesType>(forKey key: CompositePrimaryKey<AttributesType>,
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
477 | eventLoop: EventLoop) -> EventLoopFuture<Void> {
478 | let promise = eventLoop.makePromise(of: Void.self)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:498:26: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
496 | accessQueue.async {
497 | do {
498 | try self.deleteItemInternal(existingItem: existingItem)
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
499 | promise.succeed(())
500 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:492:45: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
490 | }
491 |
492 | func deleteItem<ItemType: DatabaseItem>(existingItem: ItemType,
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
493 | eventLoop: EventLoop) -> EventLoopFuture<Void> {
494 | let promise = eventLoop.makePromise(of: Void.self)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:565:41: warning: capture of non-sendable type 'ReturnedType.Type' in an isolated closure
563 |
564 | accessQueue.async {
565 | var items: [ReturnedType] = []
| `- warning: capture of non-sendable type 'ReturnedType.Type' in an isolated closure
566 |
567 | if let partition = self.store[partitionKey] {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:562:13: warning: capture of non-sendable type 'ReturnedType.Type' in an isolated closure
560 | eventLoop: EventLoop)
561 | -> EventLoopFuture<[ReturnedType]> {
562 | let promise = eventLoop.makePromise(of: [ReturnedType].self)
| `- warning: capture of non-sendable type 'ReturnedType.Type' in an isolated closure
563 |
564 | accessQueue.async {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:673:21: warning: capture of non-sendable type 'ReturnedType.Type' in an isolated closure
671 | let items: [ReturnedType]
672 | if !scanIndexForward {
673 | items = rawItems.reversed()
| `- warning: capture of non-sendable type 'ReturnedType.Type' in an isolated closure
674 | } else {
675 | items = rawItems
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:61:34: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
59 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
60 | return self.primaryTable.insertItem(item) .flatMap { _ in
61 | return self.gsiLogic.onInsertItem(item, gsiDataStore: self.gsiDataStore)
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
62 | }
63 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:61:34: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
59 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
60 | return self.primaryTable.insertItem(item) .flatMap { _ in
61 | return self.gsiLogic.onInsertItem(item, gsiDataStore: self.gsiDataStore)
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
62 | }
63 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:61:25: warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
59 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
60 | return self.primaryTable.insertItem(item) .flatMap { _ in
61 | return self.gsiLogic.onInsertItem(item, gsiDataStore: self.gsiDataStore)
| `- warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
62 | }
63 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:58:17: warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
56 | }
57 |
58 | public func insertItem<AttributesType, ItemType>(_ item: TypedDatabaseItem<AttributesType, ItemType>)
| `- warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
59 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
60 | return self.primaryTable.insertItem(item) .flatMap { _ in
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:58:56: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
56 | }
57 |
58 | public func insertItem<AttributesType, ItemType>(_ item: TypedDatabaseItem<AttributesType, ItemType>)
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
59 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
60 | return self.primaryTable.insertItem(item) .flatMap { _ in
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:58:56: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
56 | }
57 |
58 | public func insertItem<AttributesType, ItemType>(_ item: TypedDatabaseItem<AttributesType, ItemType>)
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
59 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
60 | return self.primaryTable.insertItem(item) .flatMap { _ in
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:68:34: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
66 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
67 | return self.primaryTable.clobberItem(item) .flatMap { _ in
68 | return self.gsiLogic.onClobberItem(item, gsiDataStore: self.gsiDataStore)
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
69 | }
70 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:68:34: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
66 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
67 | return self.primaryTable.clobberItem(item) .flatMap { _ in
68 | return self.gsiLogic.onClobberItem(item, gsiDataStore: self.gsiDataStore)
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
69 | }
70 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:68:25: warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
66 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
67 | return self.primaryTable.clobberItem(item) .flatMap { _ in
68 | return self.gsiLogic.onClobberItem(item, gsiDataStore: self.gsiDataStore)
| `- warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
69 | }
70 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:65:17: warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
63 | }
64 |
65 | public func clobberItem<AttributesType, ItemType>(_ item: TypedDatabaseItem<AttributesType, ItemType>)
| `- warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
66 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
67 | return self.primaryTable.clobberItem(item) .flatMap { _ in
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:65:57: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
63 | }
64 |
65 | public func clobberItem<AttributesType, ItemType>(_ item: TypedDatabaseItem<AttributesType, ItemType>)
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
66 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
67 | return self.primaryTable.clobberItem(item) .flatMap { _ in
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:65:57: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
63 | }
64 |
65 | public func clobberItem<AttributesType, ItemType>(_ item: TypedDatabaseItem<AttributesType, ItemType>)
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
66 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
67 | return self.primaryTable.clobberItem(item) .flatMap { _ in
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:75:34: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
73 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
74 | return self.primaryTable.updateItem(newItem: newItem, existingItem: existingItem) .flatMap { _ in
75 | return self.gsiLogic.onUpdateItem(newItem: newItem, existingItem: existingItem, gsiDataStore: self.gsiDataStore)
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
76 | }
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:75:34: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
73 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
74 | return self.primaryTable.updateItem(newItem: newItem, existingItem: existingItem) .flatMap { _ in
75 | return self.gsiLogic.onUpdateItem(newItem: newItem, existingItem: existingItem, gsiDataStore: self.gsiDataStore)
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
76 | }
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:75:25: warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
73 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
74 | return self.primaryTable.updateItem(newItem: newItem, existingItem: existingItem) .flatMap { _ in
75 | return self.gsiLogic.onUpdateItem(newItem: newItem, existingItem: existingItem, gsiDataStore: self.gsiDataStore)
| `- warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
76 | }
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:72:17: warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
70 | }
71 |
72 | public func updateItem<AttributesType, ItemType>(newItem: TypedDatabaseItem<AttributesType, ItemType>, existingItem: TypedDatabaseItem<AttributesType, ItemType>)
| `- warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
73 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
74 | return self.primaryTable.updateItem(newItem: newItem, existingItem: existingItem) .flatMap { _ in
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:72:54: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
70 | }
71 |
72 | public func updateItem<AttributesType, ItemType>(newItem: TypedDatabaseItem<AttributesType, ItemType>, existingItem: TypedDatabaseItem<AttributesType, ItemType>)
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
73 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
74 | return self.primaryTable.updateItem(newItem: newItem, existingItem: existingItem) .flatMap { _ in
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:72:54: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
70 | }
71 |
72 | public func updateItem<AttributesType, ItemType>(newItem: TypedDatabaseItem<AttributesType, ItemType>, existingItem: TypedDatabaseItem<AttributesType, ItemType>)
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
73 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
74 | return self.primaryTable.updateItem(newItem: newItem, existingItem: existingItem) .flatMap { _ in
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:167:39: warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
165 | return nil
166 | }.flatMapError { error -> EventLoopFuture<BatchStatementErrorCodeEnum?> in
167 | let promise = eventLoop.makePromise(of: BatchStatementErrorCodeEnum?.self)
| `- warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
168 | promise.succeed(BatchStatementErrorCodeEnum.duplicateitem)
169 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:158:17: warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
156 | }
157 |
158 | public func monomorphicBulkWriteWithoutThrowing<AttributesType, ItemType>(_ entries: [WriteEntry<AttributesType, ItemType>])
| `- warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
159 | -> EventLoopFuture<Set<BatchStatementErrorCodeEnum>> {
160 | let futures = entries.map { entry -> EventLoopFuture<BatchStatementErrorCodeEnum?> in
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:176:39: warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
174 | return nil
175 | }.flatMapError { error -> EventLoopFuture<BatchStatementErrorCodeEnum?> in
176 | let promise = eventLoop.makePromise(of: BatchStatementErrorCodeEnum?.self)
| `- warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
177 | promise.succeed(BatchStatementErrorCodeEnum.duplicateitem)
178 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:158:17: warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
156 | }
157 |
158 | public func monomorphicBulkWriteWithoutThrowing<AttributesType, ItemType>(_ entries: [WriteEntry<AttributesType, ItemType>])
| `- warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
159 | -> EventLoopFuture<Set<BatchStatementErrorCodeEnum>> {
160 | let futures = entries.map { entry -> EventLoopFuture<BatchStatementErrorCodeEnum?> in
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:185:39: warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
183 | return nil
184 | }.flatMapError { error -> EventLoopFuture<BatchStatementErrorCodeEnum?> in
185 | let promise = eventLoop.makePromise(of: BatchStatementErrorCodeEnum?.self)
| `- warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
186 | promise.succeed(BatchStatementErrorCodeEnum.duplicateitem)
187 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:158:17: warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
156 | }
157 |
158 | public func monomorphicBulkWriteWithoutThrowing<AttributesType, ItemType>(_ entries: [WriteEntry<AttributesType, ItemType>])
| `- warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
159 | -> EventLoopFuture<Set<BatchStatementErrorCodeEnum>> {
160 | let futures = entries.map { entry -> EventLoopFuture<BatchStatementErrorCodeEnum?> in
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:194:39: warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
192 | return nil
193 | }.flatMapError { error -> EventLoopFuture<BatchStatementErrorCodeEnum?> in
194 | let promise = eventLoop.makePromise(of: BatchStatementErrorCodeEnum?.self)
| `- warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
195 | promise.succeed(BatchStatementErrorCodeEnum.duplicateitem)
196 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:158:17: warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
156 | }
157 |
158 | public func monomorphicBulkWriteWithoutThrowing<AttributesType, ItemType>(_ entries: [WriteEntry<AttributesType, ItemType>])
| `- warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
159 | -> EventLoopFuture<Set<BatchStatementErrorCodeEnum>> {
160 | let futures = entries.map { entry -> EventLoopFuture<BatchStatementErrorCodeEnum?> in
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:228:34: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
226 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes {
227 | return self.primaryTable.deleteItem(forKey: key) .flatMap { _ in
228 | return self.gsiLogic.onDeleteItem(forKey: key, gsiDataStore: self.gsiDataStore)
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
229 | }
230 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:228:25: warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
226 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes {
227 | return self.primaryTable.deleteItem(forKey: key) .flatMap { _ in
228 | return self.gsiLogic.onDeleteItem(forKey: key, gsiDataStore: self.gsiDataStore)
| `- warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
229 | }
230 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:225:17: warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
223 | }
224 |
225 | public func deleteItem<AttributesType>(forKey key: CompositePrimaryKey<AttributesType>)
| `- warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
226 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes {
227 | return self.primaryTable.deleteItem(forKey: key) .flatMap { _ in
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:225:51: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
223 | }
224 |
225 | public func deleteItem<AttributesType>(forKey key: CompositePrimaryKey<AttributesType>)
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
226 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes {
227 | return self.primaryTable.deleteItem(forKey: key) .flatMap { _ in
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:235:34: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
233 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
234 | return self.primaryTable.deleteItem(existingItem: existingItem) .flatMap { _ in
235 | return self.gsiLogic.onDeleteItem(forKey: existingItem.compositePrimaryKey, gsiDataStore: self.gsiDataStore)
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
236 | }
237 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:235:25: warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
233 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
234 | return self.primaryTable.deleteItem(existingItem: existingItem) .flatMap { _ in
235 | return self.gsiLogic.onDeleteItem(forKey: existingItem.compositePrimaryKey, gsiDataStore: self.gsiDataStore)
| `- warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
236 | }
237 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:232:17: warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
230 | }
231 |
232 | public func deleteItem<AttributesType, ItemType>(existingItem: TypedDatabaseItem<AttributesType, ItemType>)
| `- warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
233 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
234 | return self.primaryTable.deleteItem(existingItem: existingItem) .flatMap { _ in
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:235:55: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
233 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
234 | return self.primaryTable.deleteItem(existingItem: existingItem) .flatMap { _ in
235 | return self.gsiLogic.onDeleteItem(forKey: existingItem.compositePrimaryKey, gsiDataStore: self.gsiDataStore)
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
236 | }
237 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:232:54: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
230 | }
231 |
232 | public func deleteItem<AttributesType, ItemType>(existingItem: TypedDatabaseItem<AttributesType, ItemType>)
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
233 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
234 | return self.primaryTable.deleteItem(existingItem: existingItem) .flatMap { _ in
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:232:54: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
230 | }
231 |
232 | public func deleteItem<AttributesType, ItemType>(existingItem: TypedDatabaseItem<AttributesType, ItemType>)
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
233 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
234 | return self.primaryTable.deleteItem(existingItem: existingItem) .flatMap { _ in
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:241:32: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
239 | public func deleteItems<AttributesType>(forKeys keys: [CompositePrimaryKey<AttributesType>]) -> EventLoopFuture<Void> {
240 | return self.primaryTable.deleteItems(forKeys: keys).flatMap {
241 | let futures = keys.map { key in
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
242 | return self.gsiLogic.onDeleteItem(forKey: key, gsiDataStore: self.gsiDataStore)
243 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:239:53: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
237 | }
238 |
239 | public func deleteItems<AttributesType>(forKeys keys: [CompositePrimaryKey<AttributesType>]) -> EventLoopFuture<Void> {
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
240 | return self.primaryTable.deleteItems(forKeys: keys).flatMap {
241 | let futures = keys.map { key in
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:239:17: warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
237 | }
238 |
239 | public func deleteItems<AttributesType>(forKeys keys: [CompositePrimaryKey<AttributesType>]) -> EventLoopFuture<Void> {
| `- warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
240 | return self.primaryTable.deleteItems(forKeys: keys).flatMap {
241 | let futures = keys.map { key in
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:245:63: warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
243 | }
244 |
245 | return EventLoopFuture.andAllSucceed(futures, on: self.eventLoop)
| `- warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
246 | }
247 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:252:41: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
250 |
251 | return self.primaryTable.deleteItems(existingItems: existingItems).flatMap {
252 | let futures = existingItems.map { existingItem in
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
253 | return self.gsiLogic.onDeleteItem(forKey: existingItem.compositePrimaryKey, gsiDataStore: self.gsiDataStore)
254 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:249:53: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
247 | }
248 |
249 | public func deleteItems<ItemType: DatabaseItem>(existingItems: [ItemType]) -> EventLoopFuture<Void> {
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
250 |
251 | return self.primaryTable.deleteItems(existingItems: existingItems).flatMap {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:249:17: warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
247 | }
248 |
249 | public func deleteItems<ItemType: DatabaseItem>(existingItems: [ItemType]) -> EventLoopFuture<Void> {
| `- warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
250 |
251 | return self.primaryTable.deleteItems(existingItems: existingItems).flatMap {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:256:63: warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
254 | }
255 |
256 | return EventLoopFuture.andAllSucceed(futures, on: self.eventLoop)
| `- warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
257 | }
258 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeysProjectionStore.swift:51:64: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
49 |
50 | accessQueue.async {
51 | var items: [CompositePrimaryKey<AttributesType>] = []
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
52 |
53 | let sortedKeys = self.keys.compactMap { $0 as? CompositePrimaryKey<AttributesType> }.sorted(by: { (left, right) -> Bool in
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeysProjectionStore.swift:48:13: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
46 | eventLoop: EventLoop)
47 | -> EventLoopFuture<[CompositePrimaryKey<AttributesType>]> {
48 | let promise = eventLoop.makePromise(of: [CompositePrimaryKey<AttributesType>].self)
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
49 |
50 | accessQueue.async {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeysProjectionStore.swift:144:21: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
142 | let items: [CompositePrimaryKey<AttributesType>]
143 | if !scanIndexForward {
144 | items = rawItems.reversed()
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
145 | } else {
146 | items = rawItems
[1657/1667] Compiling SmokeDynamoDB InternalDynamoDBCodingKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:102:26: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
100 | accessQueue.async {
101 | do {
102 | try self.insertItemInternal(item)
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
103 | promise.succeed(())
104 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:102:26: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
100 | accessQueue.async {
101 | do {
102 | try self.insertItemInternal(item)
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
103 | promise.succeed(())
104 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:96:49: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
94 |
95 | extension InMemoryDynamoDBCompositePrimaryKeyTableStore {
96 | func insertItem<AttributesType, ItemType>(_ item: TypedDatabaseItem<AttributesType, ItemType>,
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
97 | eventLoop: EventLoop) -> EventLoopFuture<Void> {
98 | let promise = eventLoop.makePromise(of: Void.self)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:96:49: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
94 |
95 | extension InMemoryDynamoDBCompositePrimaryKeyTableStore {
96 | func insertItem<AttributesType, ItemType>(_ item: TypedDatabaseItem<AttributesType, ItemType>,
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
97 | eventLoop: EventLoop) -> EventLoopFuture<Void> {
98 | let promise = eventLoop.makePromise(of: Void.self)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:140:45: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
138 |
139 | accessQueue.async {
140 | let partition = self.store[item.compositePrimaryKey.partitionKey]
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
141 |
142 | // if there is already a partition
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:140:40: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
138 |
139 | accessQueue.async {
140 | let partition = self.store[item.compositePrimaryKey.partitionKey]
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
141 |
142 | // if there is already a partition
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:135:50: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
133 | }
134 |
135 | func clobberItem<AttributesType, ItemType>(_ item: TypedDatabaseItem<AttributesType, ItemType>,
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
136 | eventLoop: EventLoop) -> EventLoopFuture<Void> {
137 | let promise = eventLoop.makePromise(of: Void.self)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:135:50: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
133 | }
134 |
135 | func clobberItem<AttributesType, ItemType>(_ item: TypedDatabaseItem<AttributesType, ItemType>,
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
136 | eventLoop: EventLoop) -> EventLoopFuture<Void> {
137 | let promise = eventLoop.makePromise(of: Void.self)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:166:26: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
164 | accessQueue.async {
165 | do {
166 | try self.updateItemInternal(newItem: newItem, existingItem: existingItem)
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
167 | promise.succeed(())
168 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:166:26: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
164 | accessQueue.async {
165 | do {
166 | try self.updateItemInternal(newItem: newItem, existingItem: existingItem)
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
167 | promise.succeed(())
168 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:159:47: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
157 | }
158 |
159 | func updateItem<AttributesType, ItemType>(newItem: TypedDatabaseItem<AttributesType, ItemType>,
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
160 | existingItem: TypedDatabaseItem<AttributesType, ItemType>,
161 | eventLoop: EventLoop) -> EventLoopFuture<Void> {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:159:47: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
157 | }
158 |
159 | func updateItem<AttributesType, ItemType>(newItem: TypedDatabaseItem<AttributesType, ItemType>,
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
160 | existingItem: TypedDatabaseItem<AttributesType, ItemType>,
161 | eventLoop: EventLoop) -> EventLoopFuture<Void> {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:299:30: warning: capture of non-sendable type 'WriteEntryType.Type' in an isolated closure
297 |
298 | accessQueue.async {
299 | let entryCount = entries.count + constraints.count
| `- warning: capture of non-sendable type 'WriteEntryType.Type' in an isolated closure
300 | let context = StandardPolymorphicWriteEntryContext<InMemoryPolymorphicWriteEntryTransform,
301 | InMemoryPolymorphicTransactionConstraintTransform>(table: self)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:294:27: warning: capture of non-sendable type 'WriteEntryType.Type' in an isolated closure
292 | func bulkWrite<WriteEntryType: PolymorphicWriteEntry,
293 | TransactionConstraintEntryType: PolymorphicTransactionConstraintEntry>(
294 | _ entries: [WriteEntryType], constraints: [TransactionConstraintEntryType],
| `- warning: capture of non-sendable type 'WriteEntryType.Type' in an isolated closure
295 | isTransaction: Bool, eventLoop: EventLoop) -> EventLoopFuture<Void> {
296 | let promise = eventLoop.makePromise(of: Void.self)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:299:46: warning: capture of non-sendable type 'TransactionConstraintEntryType.Type' in an isolated closure
297 |
298 | accessQueue.async {
299 | let entryCount = entries.count + constraints.count
| `- warning: capture of non-sendable type 'TransactionConstraintEntryType.Type' in an isolated closure
300 | let context = StandardPolymorphicWriteEntryContext<InMemoryPolymorphicWriteEntryTransform,
301 | InMemoryPolymorphicTransactionConstraintTransform>(table: self)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:294:54: warning: capture of non-sendable type 'TransactionConstraintEntryType.Type' in an isolated closure
292 | func bulkWrite<WriteEntryType: PolymorphicWriteEntry,
293 | TransactionConstraintEntryType: PolymorphicTransactionConstraintEntry>(
294 | _ entries: [WriteEntryType], constraints: [TransactionConstraintEntryType],
| `- warning: capture of non-sendable type 'TransactionConstraintEntryType.Type' in an isolated closure
295 | isTransaction: Bool, eventLoop: EventLoop) -> EventLoopFuture<Void> {
296 | let promise = eventLoop.makePromise(of: Void.self)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:414:43: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
412 |
413 | accessQueue.async {
414 | if let partition = self.store[key.partitionKey] {
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
415 |
416 | guard let value = partition[key.sortKey] else {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:408:51: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
406 | }
407 |
408 | func getItem<AttributesType, ItemType>(forKey key: CompositePrimaryKey<AttributesType>,
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
409 | eventLoop: EventLoop)
410 | -> EventLoopFuture<TypedDatabaseItem<AttributesType, ItemType>?> {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:417:29: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
415 |
416 | guard let value = partition[key.sortKey] else {
417 | promise.succeed(nil)
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
418 | return
419 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:411:13: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
409 | eventLoop: EventLoop)
410 | -> EventLoopFuture<TypedDatabaseItem<AttributesType, ItemType>?> {
411 | let promise = eventLoop.makePromise(of: TypedDatabaseItem<AttributesType, ItemType>?.self)
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
412 |
413 | accessQueue.async {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:448:89: warning: capture of non-sendable type 'ReturnedType.AttributesType.Type' in an isolated closure
446 |
447 | accessQueue.async {
448 | var map: [CompositePrimaryKey<ReturnedType.AttributesType>: ReturnedType] = [:]
| `- warning: capture of non-sendable type 'ReturnedType.AttributesType.Type' in an isolated closure
449 |
450 | keys.forEach { key in
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:448:89: warning: capture of non-sendable type 'ReturnedType.Type' in an isolated closure
446 |
447 | accessQueue.async {
448 | var map: [CompositePrimaryKey<ReturnedType.AttributesType>: ReturnedType] = [:]
| `- warning: capture of non-sendable type 'ReturnedType.Type' in an isolated closure
449 |
450 | keys.forEach { key in
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:442:17: warning: capture of non-sendable type 'ReturnedType.Type' in an isolated closure
440 |
441 | func getItems<ReturnedType: PolymorphicOperationReturnType & BatchCapableReturnType>(
442 | forKeys keys: [CompositePrimaryKey<ReturnedType.AttributesType>],
| `- warning: capture of non-sendable type 'ReturnedType.Type' in an isolated closure
443 | eventLoop: EventLoop)
444 | -> EventLoopFuture<[CompositePrimaryKey<ReturnedType.AttributesType>: ReturnedType]> {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:481:18: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
479 |
480 | accessQueue.async {
481 | self.deleteItemInternal(forKey: key)
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
482 | promise.succeed(())
483 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:476:44: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
474 | }
475 |
476 | func deleteItem<AttributesType>(forKey key: CompositePrimaryKey<AttributesType>,
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
477 | eventLoop: EventLoop) -> EventLoopFuture<Void> {
478 | let promise = eventLoop.makePromise(of: Void.self)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:498:26: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
496 | accessQueue.async {
497 | do {
498 | try self.deleteItemInternal(existingItem: existingItem)
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
499 | promise.succeed(())
500 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:492:45: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
490 | }
491 |
492 | func deleteItem<ItemType: DatabaseItem>(existingItem: ItemType,
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
493 | eventLoop: EventLoop) -> EventLoopFuture<Void> {
494 | let promise = eventLoop.makePromise(of: Void.self)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:565:41: warning: capture of non-sendable type 'ReturnedType.Type' in an isolated closure
563 |
564 | accessQueue.async {
565 | var items: [ReturnedType] = []
| `- warning: capture of non-sendable type 'ReturnedType.Type' in an isolated closure
566 |
567 | if let partition = self.store[partitionKey] {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:562:13: warning: capture of non-sendable type 'ReturnedType.Type' in an isolated closure
560 | eventLoop: EventLoop)
561 | -> EventLoopFuture<[ReturnedType]> {
562 | let promise = eventLoop.makePromise(of: [ReturnedType].self)
| `- warning: capture of non-sendable type 'ReturnedType.Type' in an isolated closure
563 |
564 | accessQueue.async {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift:673:21: warning: capture of non-sendable type 'ReturnedType.Type' in an isolated closure
671 | let items: [ReturnedType]
672 | if !scanIndexForward {
673 | items = rawItems.reversed()
| `- warning: capture of non-sendable type 'ReturnedType.Type' in an isolated closure
674 | } else {
675 | items = rawItems
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:61:34: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
59 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
60 | return self.primaryTable.insertItem(item) .flatMap { _ in
61 | return self.gsiLogic.onInsertItem(item, gsiDataStore: self.gsiDataStore)
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
62 | }
63 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:61:34: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
59 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
60 | return self.primaryTable.insertItem(item) .flatMap { _ in
61 | return self.gsiLogic.onInsertItem(item, gsiDataStore: self.gsiDataStore)
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
62 | }
63 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:61:25: warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
59 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
60 | return self.primaryTable.insertItem(item) .flatMap { _ in
61 | return self.gsiLogic.onInsertItem(item, gsiDataStore: self.gsiDataStore)
| `- warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
62 | }
63 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:58:17: warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
56 | }
57 |
58 | public func insertItem<AttributesType, ItemType>(_ item: TypedDatabaseItem<AttributesType, ItemType>)
| `- warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
59 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
60 | return self.primaryTable.insertItem(item) .flatMap { _ in
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:58:56: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
56 | }
57 |
58 | public func insertItem<AttributesType, ItemType>(_ item: TypedDatabaseItem<AttributesType, ItemType>)
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
59 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
60 | return self.primaryTable.insertItem(item) .flatMap { _ in
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:58:56: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
56 | }
57 |
58 | public func insertItem<AttributesType, ItemType>(_ item: TypedDatabaseItem<AttributesType, ItemType>)
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
59 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
60 | return self.primaryTable.insertItem(item) .flatMap { _ in
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:68:34: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
66 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
67 | return self.primaryTable.clobberItem(item) .flatMap { _ in
68 | return self.gsiLogic.onClobberItem(item, gsiDataStore: self.gsiDataStore)
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
69 | }
70 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:68:34: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
66 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
67 | return self.primaryTable.clobberItem(item) .flatMap { _ in
68 | return self.gsiLogic.onClobberItem(item, gsiDataStore: self.gsiDataStore)
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
69 | }
70 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:68:25: warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
66 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
67 | return self.primaryTable.clobberItem(item) .flatMap { _ in
68 | return self.gsiLogic.onClobberItem(item, gsiDataStore: self.gsiDataStore)
| `- warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
69 | }
70 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:65:17: warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
63 | }
64 |
65 | public func clobberItem<AttributesType, ItemType>(_ item: TypedDatabaseItem<AttributesType, ItemType>)
| `- warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
66 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
67 | return self.primaryTable.clobberItem(item) .flatMap { _ in
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:65:57: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
63 | }
64 |
65 | public func clobberItem<AttributesType, ItemType>(_ item: TypedDatabaseItem<AttributesType, ItemType>)
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
66 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
67 | return self.primaryTable.clobberItem(item) .flatMap { _ in
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:65:57: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
63 | }
64 |
65 | public func clobberItem<AttributesType, ItemType>(_ item: TypedDatabaseItem<AttributesType, ItemType>)
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
66 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
67 | return self.primaryTable.clobberItem(item) .flatMap { _ in
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:75:34: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
73 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
74 | return self.primaryTable.updateItem(newItem: newItem, existingItem: existingItem) .flatMap { _ in
75 | return self.gsiLogic.onUpdateItem(newItem: newItem, existingItem: existingItem, gsiDataStore: self.gsiDataStore)
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
76 | }
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:75:34: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
73 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
74 | return self.primaryTable.updateItem(newItem: newItem, existingItem: existingItem) .flatMap { _ in
75 | return self.gsiLogic.onUpdateItem(newItem: newItem, existingItem: existingItem, gsiDataStore: self.gsiDataStore)
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
76 | }
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:75:25: warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
73 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
74 | return self.primaryTable.updateItem(newItem: newItem, existingItem: existingItem) .flatMap { _ in
75 | return self.gsiLogic.onUpdateItem(newItem: newItem, existingItem: existingItem, gsiDataStore: self.gsiDataStore)
| `- warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
76 | }
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:72:17: warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
70 | }
71 |
72 | public func updateItem<AttributesType, ItemType>(newItem: TypedDatabaseItem<AttributesType, ItemType>, existingItem: TypedDatabaseItem<AttributesType, ItemType>)
| `- warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
73 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
74 | return self.primaryTable.updateItem(newItem: newItem, existingItem: existingItem) .flatMap { _ in
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:72:54: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
70 | }
71 |
72 | public func updateItem<AttributesType, ItemType>(newItem: TypedDatabaseItem<AttributesType, ItemType>, existingItem: TypedDatabaseItem<AttributesType, ItemType>)
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
73 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
74 | return self.primaryTable.updateItem(newItem: newItem, existingItem: existingItem) .flatMap { _ in
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:72:54: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
70 | }
71 |
72 | public func updateItem<AttributesType, ItemType>(newItem: TypedDatabaseItem<AttributesType, ItemType>, existingItem: TypedDatabaseItem<AttributesType, ItemType>)
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
73 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
74 | return self.primaryTable.updateItem(newItem: newItem, existingItem: existingItem) .flatMap { _ in
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:167:39: warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
165 | return nil
166 | }.flatMapError { error -> EventLoopFuture<BatchStatementErrorCodeEnum?> in
167 | let promise = eventLoop.makePromise(of: BatchStatementErrorCodeEnum?.self)
| `- warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
168 | promise.succeed(BatchStatementErrorCodeEnum.duplicateitem)
169 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:158:17: warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
156 | }
157 |
158 | public func monomorphicBulkWriteWithoutThrowing<AttributesType, ItemType>(_ entries: [WriteEntry<AttributesType, ItemType>])
| `- warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
159 | -> EventLoopFuture<Set<BatchStatementErrorCodeEnum>> {
160 | let futures = entries.map { entry -> EventLoopFuture<BatchStatementErrorCodeEnum?> in
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:176:39: warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
174 | return nil
175 | }.flatMapError { error -> EventLoopFuture<BatchStatementErrorCodeEnum?> in
176 | let promise = eventLoop.makePromise(of: BatchStatementErrorCodeEnum?.self)
| `- warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
177 | promise.succeed(BatchStatementErrorCodeEnum.duplicateitem)
178 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:158:17: warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
156 | }
157 |
158 | public func monomorphicBulkWriteWithoutThrowing<AttributesType, ItemType>(_ entries: [WriteEntry<AttributesType, ItemType>])
| `- warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
159 | -> EventLoopFuture<Set<BatchStatementErrorCodeEnum>> {
160 | let futures = entries.map { entry -> EventLoopFuture<BatchStatementErrorCodeEnum?> in
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:185:39: warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
183 | return nil
184 | }.flatMapError { error -> EventLoopFuture<BatchStatementErrorCodeEnum?> in
185 | let promise = eventLoop.makePromise(of: BatchStatementErrorCodeEnum?.self)
| `- warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
186 | promise.succeed(BatchStatementErrorCodeEnum.duplicateitem)
187 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:158:17: warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
156 | }
157 |
158 | public func monomorphicBulkWriteWithoutThrowing<AttributesType, ItemType>(_ entries: [WriteEntry<AttributesType, ItemType>])
| `- warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
159 | -> EventLoopFuture<Set<BatchStatementErrorCodeEnum>> {
160 | let futures = entries.map { entry -> EventLoopFuture<BatchStatementErrorCodeEnum?> in
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:194:39: warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
192 | return nil
193 | }.flatMapError { error -> EventLoopFuture<BatchStatementErrorCodeEnum?> in
194 | let promise = eventLoop.makePromise(of: BatchStatementErrorCodeEnum?.self)
| `- warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
195 | promise.succeed(BatchStatementErrorCodeEnum.duplicateitem)
196 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:158:17: warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
156 | }
157 |
158 | public func monomorphicBulkWriteWithoutThrowing<AttributesType, ItemType>(_ entries: [WriteEntry<AttributesType, ItemType>])
| `- warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
159 | -> EventLoopFuture<Set<BatchStatementErrorCodeEnum>> {
160 | let futures = entries.map { entry -> EventLoopFuture<BatchStatementErrorCodeEnum?> in
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:228:34: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
226 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes {
227 | return self.primaryTable.deleteItem(forKey: key) .flatMap { _ in
228 | return self.gsiLogic.onDeleteItem(forKey: key, gsiDataStore: self.gsiDataStore)
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
229 | }
230 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:228:25: warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
226 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes {
227 | return self.primaryTable.deleteItem(forKey: key) .flatMap { _ in
228 | return self.gsiLogic.onDeleteItem(forKey: key, gsiDataStore: self.gsiDataStore)
| `- warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
229 | }
230 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:225:17: warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
223 | }
224 |
225 | public func deleteItem<AttributesType>(forKey key: CompositePrimaryKey<AttributesType>)
| `- warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
226 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes {
227 | return self.primaryTable.deleteItem(forKey: key) .flatMap { _ in
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:225:51: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
223 | }
224 |
225 | public func deleteItem<AttributesType>(forKey key: CompositePrimaryKey<AttributesType>)
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
226 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes {
227 | return self.primaryTable.deleteItem(forKey: key) .flatMap { _ in
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:235:34: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
233 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
234 | return self.primaryTable.deleteItem(existingItem: existingItem) .flatMap { _ in
235 | return self.gsiLogic.onDeleteItem(forKey: existingItem.compositePrimaryKey, gsiDataStore: self.gsiDataStore)
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
236 | }
237 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:235:25: warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
233 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
234 | return self.primaryTable.deleteItem(existingItem: existingItem) .flatMap { _ in
235 | return self.gsiLogic.onDeleteItem(forKey: existingItem.compositePrimaryKey, gsiDataStore: self.gsiDataStore)
| `- warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
236 | }
237 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:232:17: warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
230 | }
231 |
232 | public func deleteItem<AttributesType, ItemType>(existingItem: TypedDatabaseItem<AttributesType, ItemType>)
| `- warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
233 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
234 | return self.primaryTable.deleteItem(existingItem: existingItem) .flatMap { _ in
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:235:55: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
233 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
234 | return self.primaryTable.deleteItem(existingItem: existingItem) .flatMap { _ in
235 | return self.gsiLogic.onDeleteItem(forKey: existingItem.compositePrimaryKey, gsiDataStore: self.gsiDataStore)
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
236 | }
237 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:232:54: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
230 | }
231 |
232 | public func deleteItem<AttributesType, ItemType>(existingItem: TypedDatabaseItem<AttributesType, ItemType>)
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
233 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
234 | return self.primaryTable.deleteItem(existingItem: existingItem) .flatMap { _ in
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:232:54: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
230 | }
231 |
232 | public func deleteItem<AttributesType, ItemType>(existingItem: TypedDatabaseItem<AttributesType, ItemType>)
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
233 | -> EventLoopFuture<Void> where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
234 | return self.primaryTable.deleteItem(existingItem: existingItem) .flatMap { _ in
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:241:32: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
239 | public func deleteItems<AttributesType>(forKeys keys: [CompositePrimaryKey<AttributesType>]) -> EventLoopFuture<Void> {
240 | return self.primaryTable.deleteItems(forKeys: keys).flatMap {
241 | let futures = keys.map { key in
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
242 | return self.gsiLogic.onDeleteItem(forKey: key, gsiDataStore: self.gsiDataStore)
243 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:239:53: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
237 | }
238 |
239 | public func deleteItems<AttributesType>(forKeys keys: [CompositePrimaryKey<AttributesType>]) -> EventLoopFuture<Void> {
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
240 | return self.primaryTable.deleteItems(forKeys: keys).flatMap {
241 | let futures = keys.map { key in
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:239:17: warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
237 | }
238 |
239 | public func deleteItems<AttributesType>(forKeys keys: [CompositePrimaryKey<AttributesType>]) -> EventLoopFuture<Void> {
| `- warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
240 | return self.primaryTable.deleteItems(forKeys: keys).flatMap {
241 | let futures = keys.map { key in
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:245:63: warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
243 | }
244 |
245 | return EventLoopFuture.andAllSucceed(futures, on: self.eventLoop)
| `- warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
246 | }
247 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:252:41: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
250 |
251 | return self.primaryTable.deleteItems(existingItems: existingItems).flatMap {
252 | let futures = existingItems.map { existingItem in
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
253 | return self.gsiLogic.onDeleteItem(forKey: existingItem.compositePrimaryKey, gsiDataStore: self.gsiDataStore)
254 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:249:53: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
247 | }
248 |
249 | public func deleteItems<ItemType: DatabaseItem>(existingItems: [ItemType]) -> EventLoopFuture<Void> {
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
250 |
251 | return self.primaryTable.deleteItems(existingItems: existingItems).flatMap {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:249:17: warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
247 | }
248 |
249 | public func deleteItems<ItemType: DatabaseItem>(existingItems: [ItemType]) -> EventLoopFuture<Void> {
| `- warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
250 |
251 | return self.primaryTable.deleteItems(existingItems: existingItems).flatMap {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift:256:63: warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
254 | }
255 |
256 | return EventLoopFuture.andAllSucceed(futures, on: self.eventLoop)
| `- warning: capture of non-sendable type 'GSILogic.Type' in an isolated closure
257 | }
258 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeysProjectionStore.swift:51:64: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
49 |
50 | accessQueue.async {
51 | var items: [CompositePrimaryKey<AttributesType>] = []
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
52 |
53 | let sortedKeys = self.keys.compactMap { $0 as? CompositePrimaryKey<AttributesType> }.sorted(by: { (left, right) -> Bool in
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeysProjectionStore.swift:48:13: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
46 | eventLoop: EventLoop)
47 | -> EventLoopFuture<[CompositePrimaryKey<AttributesType>]> {
48 | let promise = eventLoop.makePromise(of: [CompositePrimaryKey<AttributesType>].self)
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
49 |
50 | accessQueue.async {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeysProjectionStore.swift:144:21: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
142 | let items: [CompositePrimaryKey<AttributesType>]
143 | if !scanIndexForward {
144 | items = rawItems.reversed()
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
145 | } else {
146 | items = rawItems
[1658/1667] Compiling SmokeDynamoDB RowWithItemVersion.swift
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/SimulateConcurrencyDynamoDBCompositePrimaryKeyTable.swift:74:50: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
72 |
73 | // then delegate to the wrapped implementation
74 | return self.wrappedDynamoDBTable.insertItem(item)
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
75 | }
76 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/SimulateConcurrencyDynamoDBCompositePrimaryKeyTable.swift:74:50: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
72 |
73 | // then delegate to the wrapped implementation
74 | return self.wrappedDynamoDBTable.insertItem(item)
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
75 | }
76 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/SimulateConcurrencyDynamoDBCompositePrimaryKeyTable.swift:66:56: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
64 | }
65 |
66 | public func insertItem<AttributesType, ItemType>(_ item: TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<Void> {
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
67 | // if there are still modifications to be made and there is an existing row
68 | if simulateOnInsertItem && previousConcurrencyModifications < simulateConcurrencyModifications {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/SimulateConcurrencyDynamoDBCompositePrimaryKeyTable.swift:66:56: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
64 | }
65 |
66 | public func insertItem<AttributesType, ItemType>(_ item: TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<Void> {
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
67 | // if there are still modifications to be made and there is an existing row
68 | if simulateOnInsertItem && previousConcurrencyModifications < simulateConcurrencyModifications {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/SimulateConcurrencyDynamoDBCompositePrimaryKeyTable.swift:96:50: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
94 |
95 | // then delegate to the wrapped implementation
96 | return self.wrappedDynamoDBTable.updateItem(newItem: newItem, existingItem: existingItem)
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
97 | }
98 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/SimulateConcurrencyDynamoDBCompositePrimaryKeyTable.swift:96:50: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
94 |
95 | // then delegate to the wrapped implementation
96 | return self.wrappedDynamoDBTable.updateItem(newItem: newItem, existingItem: existingItem)
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
97 | }
98 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/SimulateConcurrencyDynamoDBCompositePrimaryKeyTable.swift:86:54: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
84 | }
85 |
86 | public func updateItem<AttributesType, ItemType>(newItem: TypedDatabaseItem<AttributesType, ItemType>,
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
87 | existingItem: TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<Void> {
88 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/SimulateConcurrencyDynamoDBCompositePrimaryKeyTable.swift:86:54: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
84 | }
85 |
86 | public func updateItem<AttributesType, ItemType>(newItem: TypedDatabaseItem<AttributesType, ItemType>,
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
87 | existingItem: TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<Void> {
88 |
[1659/1667] Compiling SmokeDynamoDB RowWithItemVersionProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/SimulateConcurrencyDynamoDBCompositePrimaryKeyTable.swift:74:50: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
72 |
73 | // then delegate to the wrapped implementation
74 | return self.wrappedDynamoDBTable.insertItem(item)
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
75 | }
76 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/SimulateConcurrencyDynamoDBCompositePrimaryKeyTable.swift:74:50: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
72 |
73 | // then delegate to the wrapped implementation
74 | return self.wrappedDynamoDBTable.insertItem(item)
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
75 | }
76 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/SimulateConcurrencyDynamoDBCompositePrimaryKeyTable.swift:66:56: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
64 | }
65 |
66 | public func insertItem<AttributesType, ItemType>(_ item: TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<Void> {
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
67 | // if there are still modifications to be made and there is an existing row
68 | if simulateOnInsertItem && previousConcurrencyModifications < simulateConcurrencyModifications {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/SimulateConcurrencyDynamoDBCompositePrimaryKeyTable.swift:66:56: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
64 | }
65 |
66 | public func insertItem<AttributesType, ItemType>(_ item: TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<Void> {
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
67 | // if there are still modifications to be made and there is an existing row
68 | if simulateOnInsertItem && previousConcurrencyModifications < simulateConcurrencyModifications {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/SimulateConcurrencyDynamoDBCompositePrimaryKeyTable.swift:96:50: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
94 |
95 | // then delegate to the wrapped implementation
96 | return self.wrappedDynamoDBTable.updateItem(newItem: newItem, existingItem: existingItem)
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
97 | }
98 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/SimulateConcurrencyDynamoDBCompositePrimaryKeyTable.swift:96:50: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
94 |
95 | // then delegate to the wrapped implementation
96 | return self.wrappedDynamoDBTable.updateItem(newItem: newItem, existingItem: existingItem)
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
97 | }
98 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/SimulateConcurrencyDynamoDBCompositePrimaryKeyTable.swift:86:54: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
84 | }
85 |
86 | public func updateItem<AttributesType, ItemType>(newItem: TypedDatabaseItem<AttributesType, ItemType>,
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
87 | existingItem: TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<Void> {
88 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/SimulateConcurrencyDynamoDBCompositePrimaryKeyTable.swift:86:54: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
84 | }
85 |
86 | public func updateItem<AttributesType, ItemType>(newItem: TypedDatabaseItem<AttributesType, ItemType>,
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
87 | existingItem: TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<Void> {
88 |
[1660/1667] Compiling SmokeDynamoDB SimulateConcurrencyDynamoDBCompositePrimaryKeyTable.swift
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/SimulateConcurrencyDynamoDBCompositePrimaryKeyTable.swift:74:50: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
72 |
73 | // then delegate to the wrapped implementation
74 | return self.wrappedDynamoDBTable.insertItem(item)
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
75 | }
76 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/SimulateConcurrencyDynamoDBCompositePrimaryKeyTable.swift:74:50: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
72 |
73 | // then delegate to the wrapped implementation
74 | return self.wrappedDynamoDBTable.insertItem(item)
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
75 | }
76 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/SimulateConcurrencyDynamoDBCompositePrimaryKeyTable.swift:66:56: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
64 | }
65 |
66 | public func insertItem<AttributesType, ItemType>(_ item: TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<Void> {
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
67 | // if there are still modifications to be made and there is an existing row
68 | if simulateOnInsertItem && previousConcurrencyModifications < simulateConcurrencyModifications {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/SimulateConcurrencyDynamoDBCompositePrimaryKeyTable.swift:66:56: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
64 | }
65 |
66 | public func insertItem<AttributesType, ItemType>(_ item: TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<Void> {
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
67 | // if there are still modifications to be made and there is an existing row
68 | if simulateOnInsertItem && previousConcurrencyModifications < simulateConcurrencyModifications {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/SimulateConcurrencyDynamoDBCompositePrimaryKeyTable.swift:96:50: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
94 |
95 | // then delegate to the wrapped implementation
96 | return self.wrappedDynamoDBTable.updateItem(newItem: newItem, existingItem: existingItem)
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
97 | }
98 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/SimulateConcurrencyDynamoDBCompositePrimaryKeyTable.swift:96:50: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
94 |
95 | // then delegate to the wrapped implementation
96 | return self.wrappedDynamoDBTable.updateItem(newItem: newItem, existingItem: existingItem)
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
97 | }
98 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/SimulateConcurrencyDynamoDBCompositePrimaryKeyTable.swift:86:54: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
84 | }
85 |
86 | public func updateItem<AttributesType, ItemType>(newItem: TypedDatabaseItem<AttributesType, ItemType>,
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
87 | existingItem: TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<Void> {
88 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/SimulateConcurrencyDynamoDBCompositePrimaryKeyTable.swift:86:54: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
84 | }
85 |
86 | public func updateItem<AttributesType, ItemType>(newItem: TypedDatabaseItem<AttributesType, ItemType>,
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
87 | existingItem: TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<Void> {
88 |
[1661/1667] Compiling SmokeDynamoDB String+DynamoDBKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/SimulateConcurrencyDynamoDBCompositePrimaryKeyTable.swift:74:50: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
72 |
73 | // then delegate to the wrapped implementation
74 | return self.wrappedDynamoDBTable.insertItem(item)
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
75 | }
76 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/SimulateConcurrencyDynamoDBCompositePrimaryKeyTable.swift:74:50: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
72 |
73 | // then delegate to the wrapped implementation
74 | return self.wrappedDynamoDBTable.insertItem(item)
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
75 | }
76 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/SimulateConcurrencyDynamoDBCompositePrimaryKeyTable.swift:66:56: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
64 | }
65 |
66 | public func insertItem<AttributesType, ItemType>(_ item: TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<Void> {
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
67 | // if there are still modifications to be made and there is an existing row
68 | if simulateOnInsertItem && previousConcurrencyModifications < simulateConcurrencyModifications {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/SimulateConcurrencyDynamoDBCompositePrimaryKeyTable.swift:66:56: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
64 | }
65 |
66 | public func insertItem<AttributesType, ItemType>(_ item: TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<Void> {
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
67 | // if there are still modifications to be made and there is an existing row
68 | if simulateOnInsertItem && previousConcurrencyModifications < simulateConcurrencyModifications {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/SimulateConcurrencyDynamoDBCompositePrimaryKeyTable.swift:96:50: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
94 |
95 | // then delegate to the wrapped implementation
96 | return self.wrappedDynamoDBTable.updateItem(newItem: newItem, existingItem: existingItem)
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
97 | }
98 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/SimulateConcurrencyDynamoDBCompositePrimaryKeyTable.swift:96:50: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
94 |
95 | // then delegate to the wrapped implementation
96 | return self.wrappedDynamoDBTable.updateItem(newItem: newItem, existingItem: existingItem)
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
97 | }
98 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/SimulateConcurrencyDynamoDBCompositePrimaryKeyTable.swift:86:54: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
84 | }
85 |
86 | public func updateItem<AttributesType, ItemType>(newItem: TypedDatabaseItem<AttributesType, ItemType>,
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
87 | existingItem: TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<Void> {
88 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/SimulateConcurrencyDynamoDBCompositePrimaryKeyTable.swift:86:54: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
84 | }
85 |
86 | public func updateItem<AttributesType, ItemType>(newItem: TypedDatabaseItem<AttributesType, ItemType>,
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
87 | existingItem: TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<Void> {
88 |
[1662/1667] Compiling SmokeDynamoDB TimeToLive.swift
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/SimulateConcurrencyDynamoDBCompositePrimaryKeyTable.swift:74:50: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
72 |
73 | // then delegate to the wrapped implementation
74 | return self.wrappedDynamoDBTable.insertItem(item)
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
75 | }
76 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/SimulateConcurrencyDynamoDBCompositePrimaryKeyTable.swift:74:50: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
72 |
73 | // then delegate to the wrapped implementation
74 | return self.wrappedDynamoDBTable.insertItem(item)
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
75 | }
76 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/SimulateConcurrencyDynamoDBCompositePrimaryKeyTable.swift:66:56: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
64 | }
65 |
66 | public func insertItem<AttributesType, ItemType>(_ item: TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<Void> {
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
67 | // if there are still modifications to be made and there is an existing row
68 | if simulateOnInsertItem && previousConcurrencyModifications < simulateConcurrencyModifications {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/SimulateConcurrencyDynamoDBCompositePrimaryKeyTable.swift:66:56: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
64 | }
65 |
66 | public func insertItem<AttributesType, ItemType>(_ item: TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<Void> {
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
67 | // if there are still modifications to be made and there is an existing row
68 | if simulateOnInsertItem && previousConcurrencyModifications < simulateConcurrencyModifications {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/SimulateConcurrencyDynamoDBCompositePrimaryKeyTable.swift:96:50: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
94 |
95 | // then delegate to the wrapped implementation
96 | return self.wrappedDynamoDBTable.updateItem(newItem: newItem, existingItem: existingItem)
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
97 | }
98 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/SimulateConcurrencyDynamoDBCompositePrimaryKeyTable.swift:96:50: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
94 |
95 | // then delegate to the wrapped implementation
96 | return self.wrappedDynamoDBTable.updateItem(newItem: newItem, existingItem: existingItem)
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
97 | }
98 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/SimulateConcurrencyDynamoDBCompositePrimaryKeyTable.swift:86:54: warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
84 | }
85 |
86 | public func updateItem<AttributesType, ItemType>(newItem: TypedDatabaseItem<AttributesType, ItemType>,
| `- warning: capture of non-sendable type 'AttributesType.Type' in an isolated closure
87 | existingItem: TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<Void> {
88 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/SimulateConcurrencyDynamoDBCompositePrimaryKeyTable.swift:86:54: warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
84 | }
85 |
86 | public func updateItem<AttributesType, ItemType>(newItem: TypedDatabaseItem<AttributesType, ItemType>,
| `- warning: capture of non-sendable type 'ItemType.Type' in an isolated closure
87 | existingItem: TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<Void> {
88 |
[1663/1667] Compiling SmokeDynamoDB TypedDatabaseItemWithTimeToLive+RowWithItemVersionProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/_DynamoDBClient/_AWSDynamoDBClient.swift:64:73: warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly [#DeprecatedDeclaration]
62 | connectionTimeoutSeconds: Int64 = 10,
63 | retryConfiguration: HTTPClientRetryConfiguration = .default,
64 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
| |- warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly [#DeprecatedDeclaration]
| `- note: use 'singleton' instead
65 | reportingConfiguration: SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>
66 | = SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>() ) {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/_DynamoDBClient/_AWSDynamoDBClientGenerator.swift:59:73: warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly [#DeprecatedDeclaration]
57 | connectionTimeoutSeconds: Int64 = 10,
58 | retryConfiguration: HTTPClientRetryConfiguration = .default,
59 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
| |- warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly [#DeprecatedDeclaration]
| `- note: use 'singleton' instead
60 | reportingConfiguration: SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>
61 | = SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>() ) {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1664/1667] Compiling SmokeDynamoDB TypedDatabaseItemWithTimeToLive.swift
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/_DynamoDBClient/_AWSDynamoDBClient.swift:64:73: warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly [#DeprecatedDeclaration]
62 | connectionTimeoutSeconds: Int64 = 10,
63 | retryConfiguration: HTTPClientRetryConfiguration = .default,
64 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
| |- warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly [#DeprecatedDeclaration]
| `- note: use 'singleton' instead
65 | reportingConfiguration: SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>
66 | = SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>() ) {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/_DynamoDBClient/_AWSDynamoDBClientGenerator.swift:59:73: warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly [#DeprecatedDeclaration]
57 | connectionTimeoutSeconds: Int64 = 10,
58 | retryConfiguration: HTTPClientRetryConfiguration = .default,
59 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
| |- warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly [#DeprecatedDeclaration]
| `- note: use 'singleton' instead
60 | reportingConfiguration: SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>
61 | = SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>() ) {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1665/1667] Compiling SmokeDynamoDB _AWSDynamoDBClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/_DynamoDBClient/_AWSDynamoDBClient.swift:64:73: warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly [#DeprecatedDeclaration]
62 | connectionTimeoutSeconds: Int64 = 10,
63 | retryConfiguration: HTTPClientRetryConfiguration = .default,
64 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
| |- warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly [#DeprecatedDeclaration]
| `- note: use 'singleton' instead
65 | reportingConfiguration: SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>
66 | = SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>() ) {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/_DynamoDBClient/_AWSDynamoDBClientGenerator.swift:59:73: warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly [#DeprecatedDeclaration]
57 | connectionTimeoutSeconds: Int64 = 10,
58 | retryConfiguration: HTTPClientRetryConfiguration = .default,
59 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
| |- warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly [#DeprecatedDeclaration]
| `- note: use 'singleton' instead
60 | reportingConfiguration: SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>
61 | = SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>() ) {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1666/1667] Compiling SmokeDynamoDB _AWSDynamoDBClientGenerator.swift
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/_DynamoDBClient/_AWSDynamoDBClient.swift:64:73: warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly [#DeprecatedDeclaration]
62 | connectionTimeoutSeconds: Int64 = 10,
63 | retryConfiguration: HTTPClientRetryConfiguration = .default,
64 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
| |- warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly [#DeprecatedDeclaration]
| `- note: use 'singleton' instead
65 | reportingConfiguration: SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>
66 | = SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>() ) {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/_DynamoDBClient/_AWSDynamoDBClientGenerator.swift:59:73: warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly [#DeprecatedDeclaration]
57 | connectionTimeoutSeconds: Int64 = 10,
58 | retryConfiguration: HTTPClientRetryConfiguration = .default,
59 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
| |- warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly [#DeprecatedDeclaration]
| `- note: use 'singleton' instead
60 | reportingConfiguration: SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>
61 | = SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>() ) {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1667/1667] Compiling SmokeDynamoDB _DynamoDBClientProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/_DynamoDBClient/_AWSDynamoDBClient.swift:64:73: warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly [#DeprecatedDeclaration]
62 | connectionTimeoutSeconds: Int64 = 10,
63 | retryConfiguration: HTTPClientRetryConfiguration = .default,
64 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
| |- warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly [#DeprecatedDeclaration]
| `- note: use 'singleton' instead
65 | reportingConfiguration: SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>
66 | = SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>() ) {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/_DynamoDBClient/_AWSDynamoDBClientGenerator.swift:59:73: warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly [#DeprecatedDeclaration]
57 | connectionTimeoutSeconds: Int64 = 10,
58 | retryConfiguration: HTTPClientRetryConfiguration = .default,
59 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
| |- warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly [#DeprecatedDeclaration]
| `- note: use 'singleton' instead
60 | reportingConfiguration: SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>
61 | = SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>() ) {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Build complete! (85.74s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/amzn/smoke-aws.git
Fetching https://github.com/amzn/smoke-http.git
Fetching https://github.com/JohnSundell/CollectionConcurrencyKit
[1/100] Fetching collectionconcurrencykit
[98/2319] Fetching collectionconcurrencykit, swift-metrics
[276/9229] Fetching collectionconcurrencykit, swift-metrics, smoke-aws
[277/11912] Fetching collectionconcurrencykit, swift-metrics, smoke-aws, smoke-http
[407/15798] Fetching collectionconcurrencykit, swift-metrics, smoke-aws, smoke-http, swift-log
Fetched https://github.com/apple/swift-metrics.git from cache (0.89s)
Fetched https://github.com/JohnSundell/CollectionConcurrencyKit from cache (0.89s)
[3325/13479] Fetching smoke-aws, smoke-http, swift-log
Fetched https://github.com/amzn/smoke-http.git from cache (1.54s)
Fetched https://github.com/apple/swift-log.git from cache (1.54s)
Fetched https://github.com/amzn/smoke-aws.git from cache (1.54s)
Computing version for https://github.com/JohnSundell/CollectionConcurrencyKit
Computed https://github.com/JohnSundell/CollectionConcurrencyKit at 0.2.0 (2.11s)
Computing version for https://github.com/amzn/smoke-http.git
Computed https://github.com/amzn/smoke-http.git at 3.0.2 (0.54s)
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/swift-server/async-http-client.git
[1/5116] Fetching swift-distributed-tracing
[1587/20128] Fetching swift-distributed-tracing, swift-nio-ssl
[3328/34215] Fetching swift-distributed-tracing, swift-nio-ssl, async-http-client
[11877/111606] Fetching swift-distributed-tracing, swift-nio-ssl, async-http-client, swift-nio
Fetched https://github.com/swift-server/async-http-client.git from cache (3.83s)
Fetched https://github.com/apple/swift-nio.git from cache (3.83s)
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (3.83s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (3.83s)
Computing version for https://github.com/amzn/smoke-aws.git
Computed https://github.com/amzn/smoke-aws.git at 3.0.2 (4.44s)
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/LiveUI/XMLCoding.git
Fetching https://github.com/amzn/smoke-aws-support.git
[1/536] Fetching xmlcoding
[71/1141] Fetching xmlcoding, smoke-aws-support
[1076/17379] Fetching xmlcoding, smoke-aws-support, swift-crypto
Fetched https://github.com/LiveUI/XMLCoding.git from cache (0.84s)
[768/16843] Fetching smoke-aws-support, swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.91s)
Fetched https://github.com/amzn/smoke-aws-support.git from cache (1.90s)
Computing version for https://github.com/LiveUI/XMLCoding.git
Computed https://github.com/LiveUI/XMLCoding.git at 0.4.1 (3.96s)
Computing version for https://github.com/amzn/smoke-aws-support.git
Computed https://github.com/amzn/smoke-aws-support.git at 2.0.1 (0.54s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.2.1 (0.43s)
Fetching https://github.com/apple/swift-service-context.git
[1/1088] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.82s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.1 (1.29s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 1.1.7 (0.54s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.46s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (0.47s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.33.0 (0.60s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.86.0 (0.59s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
[1/1808] Fetching swift-atomics
[74/6686] Fetching swift-atomics, swift-system
[1118/23639] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.98s)
[2656/18761] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.67s)
Fetched https://github.com/apple/swift-atomics.git from cache (1.67s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.13s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.2 (0.48s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (0.50s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.26.1 (0.43s)
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-algorithms.git
[1/5968] Fetching swift-algorithms
[121/8669] Fetching swift-algorithms, swift-nio-transport-services
[311/14796] Fetching swift-algorithms, swift-nio-transport-services, swift-nio-extras
[569/26457] Fetching swift-algorithms, swift-nio-transport-services, swift-nio-extras, swift-nio-http2
Fetched https://github.com/apple/swift-nio-extras.git from cache (1.41s)
Fetched https://github.com/apple/swift-algorithms.git from cache (1.41s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.41s)
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (1.41s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.25.1 (1.85s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.38.0 (0.43s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.51s)
Fetching https://github.com/apple/swift-numerics.git
[1/5946] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.95s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (1.49s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.29.0 (0.46s)
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-asn1.git
[1/917] Fetching swift-http-types
[121/3350] Fetching swift-http-types, swift-service-lifecycle
[292/4979] Fetching swift-http-types, swift-service-lifecycle, swift-asn1
[599/6155] Fetching swift-http-types, swift-service-lifecycle, swift-asn1, swift-http-structured-headers
[1796/12615] Fetching swift-http-types, swift-service-lifecycle, swift-asn1, swift-http-structured-headers, swift-certificates
[2463/17658] Fetching swift-http-types, swift-service-lifecycle, swift-asn1, swift-http-structured-headers, swift-certificates, swift-async-algorithms
Fetched https://github.com/apple/swift-http-types.git from cache (0.78s)
[2036/16741] Fetching swift-service-lifecycle, swift-asn1, swift-http-structured-headers, swift-certificates, swift-async-algorithms
Fetched https://github.com/apple/swift-asn1.git from cache (0.98s)
[6502/15112] Fetching swift-service-lifecycle, swift-http-structured-headers, swift-certificates, swift-async-algorithms
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (1.15s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.15s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (1.15s)
Fetched https://github.com/apple/swift-certificates.git from cache (1.19s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.8.0 (1.67s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (0.49s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (0.50s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (0.41s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/LiveUI/XMLCoding.git at 0.4.1 (0.00s)
Computed https://github.com/amzn/smoke-aws-support.git at 2.0.1 (0.00s)
Computed https://github.com/apple/swift-distributed-tracing.git at 1.2.1 (0.00s)
Computed https://github.com/apple/swift-service-context.git at 1.2.1 (0.00s)
Computed https://github.com/apple/swift-crypto.git at 1.1.7 (0.00s)
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.00s)
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (0.00s)
Computed https://github.com/apple/swift-nio-ssl.git at 2.33.0 (0.00s)
Computed https://github.com/apple/swift-nio.git at 2.86.0 (0.00s)
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.00s)
Computed https://github.com/apple/swift-system.git at 1.6.2 (0.00s)
Computed https://github.com/apple/swift-collections.git at 1.2.1 (0.00s)
Computed https://github.com/swift-server/async-http-client.git at 1.26.1 (0.00s)
Computed https://github.com/apple/swift-nio-transport-services.git at 1.25.1 (0.00s)
Computed https://github.com/apple/swift-nio-http2.git at 1.38.0 (0.00s)
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.00s)
Computed https://github.com/apple/swift-nio-extras.git at 1.26.0 (0.44s)
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (0.00s)
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.00s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.4.0 (0.41s)
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.86.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.26.0
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.33.0
Creating working copy for https://github.com/LiveUI/XMLCoding.git
Working copy of https://github.com/LiveUI/XMLCoding.git resolved at 0.4.1
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.25.1
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.2
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/JohnSundell/CollectionConcurrencyKit
Working copy of https://github.com/JohnSundell/CollectionConcurrencyKit resolved at 0.2.0
Creating working copy for https://github.com/amzn/smoke-aws.git
Working copy of https://github.com/amzn/smoke-aws.git resolved at 3.0.2
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.38.0
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/amzn/smoke-http.git
Working copy of https://github.com/amzn/smoke-http.git resolved at 3.0.2
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 1.1.7
Creating working copy for https://github.com/amzn/smoke-aws-support.git
Working copy of https://github.com/amzn/smoke-aws-support.git resolved at 2.0.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/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.2.1
Creating working copy for https://github.com/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.26.1
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.7.0
Build complete.
{
"dependencies" : [
{
"identity" : "smoke-aws",
"requirement" : {
"range" : [
{
"lower_bound" : "3.0.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/amzn/smoke-aws.git"
},
{
"identity" : "smoke-http",
"requirement" : {
"range" : [
{
"lower_bound" : "3.0.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/amzn/smoke-http.git"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
},
{
"identity" : "swift-metrics",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-metrics.git"
},
{
"identity" : "collectionconcurrencykit",
"requirement" : {
"range" : [
{
"lower_bound" : "0.2.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/JohnSundell/CollectionConcurrencyKit"
}
],
"manifest_display_name" : "smoke-dynamodb",
"name" : "smoke-dynamodb",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "tvos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "SmokeDynamoDB",
"targets" : [
"SmokeDynamoDB"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "SmokeDynamoDBTests",
"module_type" : "SwiftTarget",
"name" : "SmokeDynamoDBTests",
"path" : "Tests/SmokeDynamoDBTests",
"product_dependencies" : [
"SmokeHTTPClient"
],
"sources" : [
"DynamoDBCompositePrimaryKeyTableClobberVersionedItemWithHistoricalRowTests.swift",
"DynamoDBCompositePrimaryKeyTableHistoricalItemExtensionsTests.swift",
"DynamoDBCompositePrimaryKeyTableTests.swift",
"DynamoDBCompositePrimaryKeyTableUpdateItemConditionallyAtKeyTests.swift",
"DynamoDBEncoderDecoderTests.swift",
"InMemoryDynamoDBCompositePrimaryKeyTableTests.swift",
"SimulateConcurrencyDynamoDBCompositePrimaryKeyTableTests.swift",
"SmokeDynamoDBTestInput.swift",
"SmokeDynamoDBTests.swift",
"String+DynamoDBKeyTests.swift",
"TestConfiguration.swift",
"TypedDatabaseItem+RowWithItemVersionProtocolTests.swift"
],
"target_dependencies" : [
"SmokeDynamoDB"
],
"type" : "test"
},
{
"c99name" : "SmokeDynamoDB",
"module_type" : "SwiftTarget",
"name" : "SmokeDynamoDB",
"path" : "Sources/SmokeDynamoDB",
"product_dependencies" : [
"Logging",
"Metrics",
"DynamoDBClient",
"SmokeHTTPClient",
"_SmokeAWSHttpConcurrency",
"CollectionConcurrencyKit"
],
"product_memberships" : [
"SmokeDynamoDB"
],
"sources" : [
"AWSDynamoDBClientConfiguration.swift",
"AWSDynamoDBCompositePrimaryKeyTable+DynamoDBTableAsync.swift",
"AWSDynamoDBCompositePrimaryKeyTable+deleteItems.swift",
"AWSDynamoDBCompositePrimaryKeyTable+execute.swift",
"AWSDynamoDBCompositePrimaryKeyTable+getItems.swift",
"AWSDynamoDBCompositePrimaryKeyTable+monomorphicGetItems.swift",
"AWSDynamoDBCompositePrimaryKeyTable+updateItems.swift",
"AWSDynamoDBCompositePrimaryKeyTable.swift",
"AWSDynamoDBCompositePrimaryKeyTableGenerator.swift",
"AWSDynamoDBCompositePrimaryKeysProjection+DynamoDBKeysProjectionAsync.swift",
"AWSDynamoDBCompositePrimaryKeysProjection.swift",
"AWSDynamoDBCompositePrimaryKeysProjectionGenerator.swift",
"AWSDynamoDBTableOperationsClient.swift",
"CompositePrimaryKey.swift",
"CustomRowTypeIdentifier.swift",
"DynamoDBCompositePrimaryKeyGSILogic.swift",
"DynamoDBCompositePrimaryKeyTable+bulkUpdateSupport.swift",
"DynamoDBCompositePrimaryKeyTable+clobberVersionedItemWithHistoricalRow.swift",
"DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift",
"DynamoDBCompositePrimaryKeyTable+consistentReadQuery.swift",
"DynamoDBCompositePrimaryKeyTable.swift",
"DynamoDBCompositePrimaryKeyTableHistoricalItemExtensions.swift",
"DynamoDBCompositePrimaryKeysProjection.swift",
"DynamoDBDecoder.swift",
"DynamoDBEncoder.swift",
"InMemoryDynamoDBCompositePrimaryKeyTable.swift",
"InMemoryDynamoDBCompositePrimaryKeyTableStore+execute.swift",
"InMemoryDynamoDBCompositePrimaryKeyTableStore+monomorphicQuery.swift",
"InMemoryDynamoDBCompositePrimaryKeyTableStore.swift",
"InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift",
"InMemoryDynamoDBCompositePrimaryKeysProjection.swift",
"InMemoryDynamoDBCompositePrimaryKeysProjectionStore.swift",
"InternalDynamoDBCodingKey.swift",
"InternalKeyedDecodingContainer.swift",
"InternalKeyedEncodingContainer.swift",
"InternalSingleValueDecodingContainer.swift",
"InternalSingleValueEncodingContainer.swift",
"InternalUnkeyedDecodingContainer.swift",
"InternalUnkeyedEncodingContainer.swift",
"PolymorphicOperationReturnType.swift",
"PolymorphicWriteEntry.swift",
"QueryInput+forSortKeyCondition.swift",
"RowWithIndex.swift",
"RowWithItemVersion.swift",
"RowWithItemVersionProtocol.swift",
"SimulateConcurrencyDynamoDBCompositePrimaryKeyTable.swift",
"String+DynamoDBKey.swift",
"TimeToLive.swift",
"TypedDatabaseItemWithTimeToLive+RowWithItemVersionProtocol.swift",
"TypedDatabaseItemWithTimeToLive.swift",
"_DynamoDBClient/_AWSDynamoDBClient.swift",
"_DynamoDBClient/_AWSDynamoDBClientGenerator.swift",
"_DynamoDBClient/_DynamoDBClientProtocol.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.