Build Information
Failed to build smoke-dynamodb, reference 3.12.1 (7fc5c6), with Swift 6.2 for Linux on 13 Aug 2025 02:30:09 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
261 | withRetries: retries - 1,
262 | updatedItemProvider: updatedItemProvider)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:260:32: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
258 | if case SmokeDynamoDBError.conditionalCheckFailed = error {
259 | // try again
260 | return self.conditionallyUpdateItem(forKey: key,
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
261 | withRetries: retries - 1,
262 | updatedItemProvider: updatedItemProvider)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:236:10: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
234 | }
235 |
236 | func conditionallyUpdateItem<AttributesType, ItemType: Codable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
237 | forKey key: CompositePrimaryKey<AttributesType>,
238 | withRetries retries: Int = 10,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:237:16: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
235 |
236 | func conditionallyUpdateItem<AttributesType, ItemType: Codable>(
237 | forKey key: CompositePrimaryKey<AttributesType>,
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
238 | withRetries retries: Int = 10,
239 | updatedItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<TypedDatabaseItem<AttributesType, ItemType>>)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:239:9: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
237 | forKey key: CompositePrimaryKey<AttributesType>,
238 | withRetries retries: Int = 10,
239 | updatedItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<TypedDatabaseItem<AttributesType, ItemType>>)
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
240 | -> EventLoopFuture<Void> {
241 | guard retries > 0 else {
[1667/1701] Compiling SmokeDynamoDB DynamoDBCompositePrimaryKeyGSILogic.swift
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:80:38: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
78 |
79 | return getItem(forKey: key).flatMap { (databaseItemOptional: TypedDatabaseItem<AttributesType, ItemType>?) in
80 | guard let databaseItem = databaseItemOptional else {
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
81 | let error = SmokeDynamoDBError.conditionalCheckFailed(partitionKey: key.partitionKey,
82 | sortKey: key.sortKey,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:80:38: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
78 |
79 | return getItem(forKey: key).flatMap { (databaseItemOptional: TypedDatabaseItem<AttributesType, ItemType>?) in
80 | guard let databaseItem = databaseItemOptional else {
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
81 | let error = SmokeDynamoDBError.conditionalCheckFailed(partitionKey: key.partitionKey,
82 | sortKey: key.sortKey,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:68:16: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
66 | */
67 | func conditionallyUpdateItem<AttributesType, ItemType: Codable>(
68 | forKey key: CompositePrimaryKey<AttributesType>,
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
69 | withRetries retries: Int = 10,
70 | updatedItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>) throws -> TypedDatabaseItem<AttributesType, ItemType>)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:84:24: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
82 | sortKey: key.sortKey,
83 | message: "Item not present in database.")
84 | return self.eventLoop.makeFailedFuture(error)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
85 | }
86 |
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:67:10: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
65 | updatedItemProvider: the provider that will return updated items.
66 | */
67 | func conditionallyUpdateItem<AttributesType, ItemType: Codable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
68 | forKey key: CompositePrimaryKey<AttributesType>,
69 | withRetries retries: Int = 10,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:70:9: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
68 | forKey key: CompositePrimaryKey<AttributesType>,
69 | withRetries retries: Int = 10,
70 | updatedItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>) throws -> TypedDatabaseItem<AttributesType, ItemType>)
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
71 | -> EventLoopFuture<Void> {
72 | guard retries > 0 else {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:98:33: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
96 | if case SmokeDynamoDBError.conditionalCheckFailed = error {
97 | // try again
98 | return self.conditionallyUpdateItem(forKey: key,
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
99 | withRetries: retries - 1,
100 | updatedItemProvider: updatedItemProvider)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:98:33: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
96 | if case SmokeDynamoDBError.conditionalCheckFailed = error {
97 | // try again
98 | return self.conditionallyUpdateItem(forKey: key,
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
99 | withRetries: retries - 1,
100 | updatedItemProvider: updatedItemProvider)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:98:28: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
96 | if case SmokeDynamoDBError.conditionalCheckFailed = error {
97 | // try again
98 | return self.conditionallyUpdateItem(forKey: key,
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
99 | withRetries: retries - 1,
100 | updatedItemProvider: updatedItemProvider)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:67:10: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
65 | updatedItemProvider: the provider that will return updated items.
66 | */
67 | func conditionallyUpdateItem<AttributesType, ItemType: Codable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
68 | forKey key: CompositePrimaryKey<AttributesType>,
69 | withRetries retries: Int = 10,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:68:16: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
66 | */
67 | func conditionallyUpdateItem<AttributesType, ItemType: Codable>(
68 | forKey key: CompositePrimaryKey<AttributesType>,
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
69 | withRetries retries: Int = 10,
70 | updatedItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>) throws -> TypedDatabaseItem<AttributesType, ItemType>)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:70:9: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
68 | forKey key: CompositePrimaryKey<AttributesType>,
69 | withRetries retries: Int = 10,
70 | updatedItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>) throws -> TypedDatabaseItem<AttributesType, ItemType>)
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
71 | -> EventLoopFuture<Void> {
72 | guard retries > 0 else {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:227:41: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
225 | let updatedItemProvider: (TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<TypedDatabaseItem<AttributesType, ItemType>> = { existingItem in
226 | return updatedPayloadProvider(existingItem.rowValue).map { updatedPayload in
227 | return existingItem.createUpdatedItem(withValue: updatedPayload)
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
228 | }
229 | }
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:227:41: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
225 | let updatedItemProvider: (TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<TypedDatabaseItem<AttributesType, ItemType>> = { existingItem in
226 | return updatedPayloadProvider(existingItem.rowValue).map { updatedPayload in
227 | return existingItem.createUpdatedItem(withValue: updatedPayload)
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
228 | }
229 | }
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:225:152: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
223 | withRetries retries: Int = 10,
224 | updatedPayloadProvider: @escaping (ItemType) -> EventLoopFuture<ItemType>) -> EventLoopFuture<Void> {
225 | let updatedItemProvider: (TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<TypedDatabaseItem<AttributesType, ItemType>> = { existingItem in
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
226 | return updatedPayloadProvider(existingItem.rowValue).map { updatedPayload in
227 | return existingItem.createUpdatedItem(withValue: updatedPayload)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:225:152: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
223 | withRetries retries: Int = 10,
224 | updatedPayloadProvider: @escaping (ItemType) -> EventLoopFuture<ItemType>) -> EventLoopFuture<Void> {
225 | let updatedItemProvider: (TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<TypedDatabaseItem<AttributesType, ItemType>> = { existingItem in
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
226 | return updatedPayloadProvider(existingItem.rowValue).map { updatedPayload in
227 | return existingItem.createUpdatedItem(withValue: updatedPayload)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:249:38: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
247 |
248 | return getItem(forKey: key).flatMap { (databaseItemOptional: TypedDatabaseItem<AttributesType, ItemType>?) in
249 | guard let databaseItem = databaseItemOptional else {
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
250 | let error = SmokeDynamoDBError.conditionalCheckFailed(partitionKey: key.partitionKey,
251 | sortKey: key.sortKey,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:249:38: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
247 |
248 | return getItem(forKey: key).flatMap { (databaseItemOptional: TypedDatabaseItem<AttributesType, ItemType>?) in
249 | guard let databaseItem = databaseItemOptional else {
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
250 | let error = SmokeDynamoDBError.conditionalCheckFailed(partitionKey: key.partitionKey,
251 | sortKey: key.sortKey,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:237:16: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
235 |
236 | func conditionallyUpdateItem<AttributesType, ItemType: Codable>(
237 | forKey key: CompositePrimaryKey<AttributesType>,
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
238 | withRetries retries: Int = 10,
239 | updatedItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<TypedDatabaseItem<AttributesType, ItemType>>)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:253:24: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
251 | sortKey: key.sortKey,
252 | message: "Item not present in database.")
253 | return self.eventLoop.makeFailedFuture(error)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
254 | }
255 |
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:236:10: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
234 | }
235 |
236 | func conditionallyUpdateItem<AttributesType, ItemType: Codable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
237 | forKey key: CompositePrimaryKey<AttributesType>,
238 | withRetries retries: Int = 10,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:239:9: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
237 | forKey key: CompositePrimaryKey<AttributesType>,
238 | withRetries retries: Int = 10,
239 | updatedItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<TypedDatabaseItem<AttributesType, ItemType>>)
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
240 | -> EventLoopFuture<Void> {
241 | guard retries > 0 else {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:257:29: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
255 |
256 | return updatedItemProvider(databaseItem).flatMap { updatedDatabaseItem in
257 | return self.updateItem(newItem: updatedDatabaseItem, existingItem: databaseItem).flatMapError { error in
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
258 | if case SmokeDynamoDBError.conditionalCheckFailed = error {
259 | // try again
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:257:29: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
255 |
256 | return updatedItemProvider(databaseItem).flatMap { updatedDatabaseItem in
257 | return self.updateItem(newItem: updatedDatabaseItem, existingItem: databaseItem).flatMapError { error in
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
258 | if case SmokeDynamoDBError.conditionalCheckFailed = error {
259 | // try again
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:257:24: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
255 |
256 | return updatedItemProvider(databaseItem).flatMap { updatedDatabaseItem in
257 | return self.updateItem(newItem: updatedDatabaseItem, existingItem: databaseItem).flatMapError { error in
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
258 | if case SmokeDynamoDBError.conditionalCheckFailed = error {
259 | // try again
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:236:10: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
234 | }
235 |
236 | func conditionallyUpdateItem<AttributesType, ItemType: Codable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
237 | forKey key: CompositePrimaryKey<AttributesType>,
238 | withRetries retries: Int = 10,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:249:23: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
247 |
248 | return getItem(forKey: key).flatMap { (databaseItemOptional: TypedDatabaseItem<AttributesType, ItemType>?) in
249 | guard let databaseItem = databaseItemOptional else {
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
250 | let error = SmokeDynamoDBError.conditionalCheckFailed(partitionKey: key.partitionKey,
251 | sortKey: key.sortKey,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:249:23: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
247 |
248 | return getItem(forKey: key).flatMap { (databaseItemOptional: TypedDatabaseItem<AttributesType, ItemType>?) in
249 | guard let databaseItem = databaseItemOptional else {
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
250 | let error = SmokeDynamoDBError.conditionalCheckFailed(partitionKey: key.partitionKey,
251 | sortKey: key.sortKey,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:260:37: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
258 | if case SmokeDynamoDBError.conditionalCheckFailed = error {
259 | // try again
260 | return self.conditionallyUpdateItem(forKey: key,
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
261 | withRetries: retries - 1,
262 | updatedItemProvider: updatedItemProvider)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:260:37: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
258 | if case SmokeDynamoDBError.conditionalCheckFailed = error {
259 | // try again
260 | return self.conditionallyUpdateItem(forKey: key,
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
261 | withRetries: retries - 1,
262 | updatedItemProvider: updatedItemProvider)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:260:32: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
258 | if case SmokeDynamoDBError.conditionalCheckFailed = error {
259 | // try again
260 | return self.conditionallyUpdateItem(forKey: key,
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
261 | withRetries: retries - 1,
262 | updatedItemProvider: updatedItemProvider)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:236:10: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
234 | }
235 |
236 | func conditionallyUpdateItem<AttributesType, ItemType: Codable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
237 | forKey key: CompositePrimaryKey<AttributesType>,
238 | withRetries retries: Int = 10,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:237:16: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
235 |
236 | func conditionallyUpdateItem<AttributesType, ItemType: Codable>(
237 | forKey key: CompositePrimaryKey<AttributesType>,
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
238 | withRetries retries: Int = 10,
239 | updatedItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<TypedDatabaseItem<AttributesType, ItemType>>)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:239:9: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
237 | forKey key: CompositePrimaryKey<AttributesType>,
238 | withRetries retries: Int = 10,
239 | updatedItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<TypedDatabaseItem<AttributesType, ItemType>>)
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
240 | -> EventLoopFuture<Void> {
241 | guard retries > 0 else {
[1668/1701] Compiling SmokeDynamoDB DynamoDBCompositePrimaryKeyTable+bulkUpdateSupport.swift
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:80:38: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
78 |
79 | return getItem(forKey: key).flatMap { (databaseItemOptional: TypedDatabaseItem<AttributesType, ItemType>?) in
80 | guard let databaseItem = databaseItemOptional else {
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
81 | let error = SmokeDynamoDBError.conditionalCheckFailed(partitionKey: key.partitionKey,
82 | sortKey: key.sortKey,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:80:38: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
78 |
79 | return getItem(forKey: key).flatMap { (databaseItemOptional: TypedDatabaseItem<AttributesType, ItemType>?) in
80 | guard let databaseItem = databaseItemOptional else {
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
81 | let error = SmokeDynamoDBError.conditionalCheckFailed(partitionKey: key.partitionKey,
82 | sortKey: key.sortKey,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:68:16: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
66 | */
67 | func conditionallyUpdateItem<AttributesType, ItemType: Codable>(
68 | forKey key: CompositePrimaryKey<AttributesType>,
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
69 | withRetries retries: Int = 10,
70 | updatedItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>) throws -> TypedDatabaseItem<AttributesType, ItemType>)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:84:24: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
82 | sortKey: key.sortKey,
83 | message: "Item not present in database.")
84 | return self.eventLoop.makeFailedFuture(error)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
85 | }
86 |
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:67:10: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
65 | updatedItemProvider: the provider that will return updated items.
66 | */
67 | func conditionallyUpdateItem<AttributesType, ItemType: Codable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
68 | forKey key: CompositePrimaryKey<AttributesType>,
69 | withRetries retries: Int = 10,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:70:9: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
68 | forKey key: CompositePrimaryKey<AttributesType>,
69 | withRetries retries: Int = 10,
70 | updatedItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>) throws -> TypedDatabaseItem<AttributesType, ItemType>)
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
71 | -> EventLoopFuture<Void> {
72 | guard retries > 0 else {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:98:33: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
96 | if case SmokeDynamoDBError.conditionalCheckFailed = error {
97 | // try again
98 | return self.conditionallyUpdateItem(forKey: key,
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
99 | withRetries: retries - 1,
100 | updatedItemProvider: updatedItemProvider)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:98:33: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
96 | if case SmokeDynamoDBError.conditionalCheckFailed = error {
97 | // try again
98 | return self.conditionallyUpdateItem(forKey: key,
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
99 | withRetries: retries - 1,
100 | updatedItemProvider: updatedItemProvider)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:98:28: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
96 | if case SmokeDynamoDBError.conditionalCheckFailed = error {
97 | // try again
98 | return self.conditionallyUpdateItem(forKey: key,
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
99 | withRetries: retries - 1,
100 | updatedItemProvider: updatedItemProvider)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:67:10: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
65 | updatedItemProvider: the provider that will return updated items.
66 | */
67 | func conditionallyUpdateItem<AttributesType, ItemType: Codable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
68 | forKey key: CompositePrimaryKey<AttributesType>,
69 | withRetries retries: Int = 10,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:68:16: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
66 | */
67 | func conditionallyUpdateItem<AttributesType, ItemType: Codable>(
68 | forKey key: CompositePrimaryKey<AttributesType>,
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
69 | withRetries retries: Int = 10,
70 | updatedItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>) throws -> TypedDatabaseItem<AttributesType, ItemType>)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:70:9: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
68 | forKey key: CompositePrimaryKey<AttributesType>,
69 | withRetries retries: Int = 10,
70 | updatedItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>) throws -> TypedDatabaseItem<AttributesType, ItemType>)
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
71 | -> EventLoopFuture<Void> {
72 | guard retries > 0 else {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:227:41: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
225 | let updatedItemProvider: (TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<TypedDatabaseItem<AttributesType, ItemType>> = { existingItem in
226 | return updatedPayloadProvider(existingItem.rowValue).map { updatedPayload in
227 | return existingItem.createUpdatedItem(withValue: updatedPayload)
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
228 | }
229 | }
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:227:41: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
225 | let updatedItemProvider: (TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<TypedDatabaseItem<AttributesType, ItemType>> = { existingItem in
226 | return updatedPayloadProvider(existingItem.rowValue).map { updatedPayload in
227 | return existingItem.createUpdatedItem(withValue: updatedPayload)
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
228 | }
229 | }
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:225:152: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
223 | withRetries retries: Int = 10,
224 | updatedPayloadProvider: @escaping (ItemType) -> EventLoopFuture<ItemType>) -> EventLoopFuture<Void> {
225 | let updatedItemProvider: (TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<TypedDatabaseItem<AttributesType, ItemType>> = { existingItem in
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
226 | return updatedPayloadProvider(existingItem.rowValue).map { updatedPayload in
227 | return existingItem.createUpdatedItem(withValue: updatedPayload)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:225:152: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
223 | withRetries retries: Int = 10,
224 | updatedPayloadProvider: @escaping (ItemType) -> EventLoopFuture<ItemType>) -> EventLoopFuture<Void> {
225 | let updatedItemProvider: (TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<TypedDatabaseItem<AttributesType, ItemType>> = { existingItem in
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
226 | return updatedPayloadProvider(existingItem.rowValue).map { updatedPayload in
227 | return existingItem.createUpdatedItem(withValue: updatedPayload)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:249:38: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
247 |
248 | return getItem(forKey: key).flatMap { (databaseItemOptional: TypedDatabaseItem<AttributesType, ItemType>?) in
249 | guard let databaseItem = databaseItemOptional else {
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
250 | let error = SmokeDynamoDBError.conditionalCheckFailed(partitionKey: key.partitionKey,
251 | sortKey: key.sortKey,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:249:38: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
247 |
248 | return getItem(forKey: key).flatMap { (databaseItemOptional: TypedDatabaseItem<AttributesType, ItemType>?) in
249 | guard let databaseItem = databaseItemOptional else {
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
250 | let error = SmokeDynamoDBError.conditionalCheckFailed(partitionKey: key.partitionKey,
251 | sortKey: key.sortKey,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:237:16: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
235 |
236 | func conditionallyUpdateItem<AttributesType, ItemType: Codable>(
237 | forKey key: CompositePrimaryKey<AttributesType>,
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
238 | withRetries retries: Int = 10,
239 | updatedItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<TypedDatabaseItem<AttributesType, ItemType>>)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:253:24: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
251 | sortKey: key.sortKey,
252 | message: "Item not present in database.")
253 | return self.eventLoop.makeFailedFuture(error)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
254 | }
255 |
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:236:10: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
234 | }
235 |
236 | func conditionallyUpdateItem<AttributesType, ItemType: Codable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
237 | forKey key: CompositePrimaryKey<AttributesType>,
238 | withRetries retries: Int = 10,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:239:9: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
237 | forKey key: CompositePrimaryKey<AttributesType>,
238 | withRetries retries: Int = 10,
239 | updatedItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<TypedDatabaseItem<AttributesType, ItemType>>)
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
240 | -> EventLoopFuture<Void> {
241 | guard retries > 0 else {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:257:29: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
255 |
256 | return updatedItemProvider(databaseItem).flatMap { updatedDatabaseItem in
257 | return self.updateItem(newItem: updatedDatabaseItem, existingItem: databaseItem).flatMapError { error in
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
258 | if case SmokeDynamoDBError.conditionalCheckFailed = error {
259 | // try again
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:257:29: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
255 |
256 | return updatedItemProvider(databaseItem).flatMap { updatedDatabaseItem in
257 | return self.updateItem(newItem: updatedDatabaseItem, existingItem: databaseItem).flatMapError { error in
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
258 | if case SmokeDynamoDBError.conditionalCheckFailed = error {
259 | // try again
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:257:24: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
255 |
256 | return updatedItemProvider(databaseItem).flatMap { updatedDatabaseItem in
257 | return self.updateItem(newItem: updatedDatabaseItem, existingItem: databaseItem).flatMapError { error in
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
258 | if case SmokeDynamoDBError.conditionalCheckFailed = error {
259 | // try again
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:236:10: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
234 | }
235 |
236 | func conditionallyUpdateItem<AttributesType, ItemType: Codable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
237 | forKey key: CompositePrimaryKey<AttributesType>,
238 | withRetries retries: Int = 10,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:249:23: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
247 |
248 | return getItem(forKey: key).flatMap { (databaseItemOptional: TypedDatabaseItem<AttributesType, ItemType>?) in
249 | guard let databaseItem = databaseItemOptional else {
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
250 | let error = SmokeDynamoDBError.conditionalCheckFailed(partitionKey: key.partitionKey,
251 | sortKey: key.sortKey,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:249:23: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
247 |
248 | return getItem(forKey: key).flatMap { (databaseItemOptional: TypedDatabaseItem<AttributesType, ItemType>?) in
249 | guard let databaseItem = databaseItemOptional else {
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
250 | let error = SmokeDynamoDBError.conditionalCheckFailed(partitionKey: key.partitionKey,
251 | sortKey: key.sortKey,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:260:37: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
258 | if case SmokeDynamoDBError.conditionalCheckFailed = error {
259 | // try again
260 | return self.conditionallyUpdateItem(forKey: key,
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
261 | withRetries: retries - 1,
262 | updatedItemProvider: updatedItemProvider)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:260:37: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
258 | if case SmokeDynamoDBError.conditionalCheckFailed = error {
259 | // try again
260 | return self.conditionallyUpdateItem(forKey: key,
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
261 | withRetries: retries - 1,
262 | updatedItemProvider: updatedItemProvider)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:260:32: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
258 | if case SmokeDynamoDBError.conditionalCheckFailed = error {
259 | // try again
260 | return self.conditionallyUpdateItem(forKey: key,
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
261 | withRetries: retries - 1,
262 | updatedItemProvider: updatedItemProvider)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:236:10: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
234 | }
235 |
236 | func conditionallyUpdateItem<AttributesType, ItemType: Codable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
237 | forKey key: CompositePrimaryKey<AttributesType>,
238 | withRetries retries: Int = 10,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:237:16: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
235 |
236 | func conditionallyUpdateItem<AttributesType, ItemType: Codable>(
237 | forKey key: CompositePrimaryKey<AttributesType>,
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
238 | withRetries retries: Int = 10,
239 | updatedItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<TypedDatabaseItem<AttributesType, ItemType>>)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:239:9: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
237 | forKey key: CompositePrimaryKey<AttributesType>,
238 | withRetries retries: Int = 10,
239 | updatedItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<TypedDatabaseItem<AttributesType, ItemType>>)
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
240 | -> EventLoopFuture<Void> {
241 | guard retries > 0 else {
[1669/1701] Compiling SmokeDynamoDB DynamoDBCompositePrimaryKeyTable+clobberVersionedItemWithHistoricalRow.swift
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:80:38: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
78 |
79 | return getItem(forKey: key).flatMap { (databaseItemOptional: TypedDatabaseItem<AttributesType, ItemType>?) in
80 | guard let databaseItem = databaseItemOptional else {
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
81 | let error = SmokeDynamoDBError.conditionalCheckFailed(partitionKey: key.partitionKey,
82 | sortKey: key.sortKey,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:80:38: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
78 |
79 | return getItem(forKey: key).flatMap { (databaseItemOptional: TypedDatabaseItem<AttributesType, ItemType>?) in
80 | guard let databaseItem = databaseItemOptional else {
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
81 | let error = SmokeDynamoDBError.conditionalCheckFailed(partitionKey: key.partitionKey,
82 | sortKey: key.sortKey,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:68:16: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
66 | */
67 | func conditionallyUpdateItem<AttributesType, ItemType: Codable>(
68 | forKey key: CompositePrimaryKey<AttributesType>,
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
69 | withRetries retries: Int = 10,
70 | updatedItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>) throws -> TypedDatabaseItem<AttributesType, ItemType>)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:84:24: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
82 | sortKey: key.sortKey,
83 | message: "Item not present in database.")
84 | return self.eventLoop.makeFailedFuture(error)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
85 | }
86 |
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:67:10: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
65 | updatedItemProvider: the provider that will return updated items.
66 | */
67 | func conditionallyUpdateItem<AttributesType, ItemType: Codable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
68 | forKey key: CompositePrimaryKey<AttributesType>,
69 | withRetries retries: Int = 10,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:70:9: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
68 | forKey key: CompositePrimaryKey<AttributesType>,
69 | withRetries retries: Int = 10,
70 | updatedItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>) throws -> TypedDatabaseItem<AttributesType, ItemType>)
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
71 | -> EventLoopFuture<Void> {
72 | guard retries > 0 else {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:98:33: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
96 | if case SmokeDynamoDBError.conditionalCheckFailed = error {
97 | // try again
98 | return self.conditionallyUpdateItem(forKey: key,
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
99 | withRetries: retries - 1,
100 | updatedItemProvider: updatedItemProvider)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:98:33: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
96 | if case SmokeDynamoDBError.conditionalCheckFailed = error {
97 | // try again
98 | return self.conditionallyUpdateItem(forKey: key,
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
99 | withRetries: retries - 1,
100 | updatedItemProvider: updatedItemProvider)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:98:28: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
96 | if case SmokeDynamoDBError.conditionalCheckFailed = error {
97 | // try again
98 | return self.conditionallyUpdateItem(forKey: key,
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
99 | withRetries: retries - 1,
100 | updatedItemProvider: updatedItemProvider)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:67:10: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
65 | updatedItemProvider: the provider that will return updated items.
66 | */
67 | func conditionallyUpdateItem<AttributesType, ItemType: Codable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
68 | forKey key: CompositePrimaryKey<AttributesType>,
69 | withRetries retries: Int = 10,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:68:16: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
66 | */
67 | func conditionallyUpdateItem<AttributesType, ItemType: Codable>(
68 | forKey key: CompositePrimaryKey<AttributesType>,
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
69 | withRetries retries: Int = 10,
70 | updatedItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>) throws -> TypedDatabaseItem<AttributesType, ItemType>)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:70:9: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
68 | forKey key: CompositePrimaryKey<AttributesType>,
69 | withRetries retries: Int = 10,
70 | updatedItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>) throws -> TypedDatabaseItem<AttributesType, ItemType>)
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
71 | -> EventLoopFuture<Void> {
72 | guard retries > 0 else {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:227:41: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
225 | let updatedItemProvider: (TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<TypedDatabaseItem<AttributesType, ItemType>> = { existingItem in
226 | return updatedPayloadProvider(existingItem.rowValue).map { updatedPayload in
227 | return existingItem.createUpdatedItem(withValue: updatedPayload)
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
228 | }
229 | }
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:227:41: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
225 | let updatedItemProvider: (TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<TypedDatabaseItem<AttributesType, ItemType>> = { existingItem in
226 | return updatedPayloadProvider(existingItem.rowValue).map { updatedPayload in
227 | return existingItem.createUpdatedItem(withValue: updatedPayload)
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
228 | }
229 | }
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:225:152: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
223 | withRetries retries: Int = 10,
224 | updatedPayloadProvider: @escaping (ItemType) -> EventLoopFuture<ItemType>) -> EventLoopFuture<Void> {
225 | let updatedItemProvider: (TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<TypedDatabaseItem<AttributesType, ItemType>> = { existingItem in
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
226 | return updatedPayloadProvider(existingItem.rowValue).map { updatedPayload in
227 | return existingItem.createUpdatedItem(withValue: updatedPayload)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:225:152: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
223 | withRetries retries: Int = 10,
224 | updatedPayloadProvider: @escaping (ItemType) -> EventLoopFuture<ItemType>) -> EventLoopFuture<Void> {
225 | let updatedItemProvider: (TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<TypedDatabaseItem<AttributesType, ItemType>> = { existingItem in
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
226 | return updatedPayloadProvider(existingItem.rowValue).map { updatedPayload in
227 | return existingItem.createUpdatedItem(withValue: updatedPayload)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:249:38: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
247 |
248 | return getItem(forKey: key).flatMap { (databaseItemOptional: TypedDatabaseItem<AttributesType, ItemType>?) in
249 | guard let databaseItem = databaseItemOptional else {
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
250 | let error = SmokeDynamoDBError.conditionalCheckFailed(partitionKey: key.partitionKey,
251 | sortKey: key.sortKey,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:249:38: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
247 |
248 | return getItem(forKey: key).flatMap { (databaseItemOptional: TypedDatabaseItem<AttributesType, ItemType>?) in
249 | guard let databaseItem = databaseItemOptional else {
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
250 | let error = SmokeDynamoDBError.conditionalCheckFailed(partitionKey: key.partitionKey,
251 | sortKey: key.sortKey,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:237:16: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
235 |
236 | func conditionallyUpdateItem<AttributesType, ItemType: Codable>(
237 | forKey key: CompositePrimaryKey<AttributesType>,
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
238 | withRetries retries: Int = 10,
239 | updatedItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<TypedDatabaseItem<AttributesType, ItemType>>)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:253:24: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
251 | sortKey: key.sortKey,
252 | message: "Item not present in database.")
253 | return self.eventLoop.makeFailedFuture(error)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
254 | }
255 |
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:236:10: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
234 | }
235 |
236 | func conditionallyUpdateItem<AttributesType, ItemType: Codable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
237 | forKey key: CompositePrimaryKey<AttributesType>,
238 | withRetries retries: Int = 10,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:239:9: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
237 | forKey key: CompositePrimaryKey<AttributesType>,
238 | withRetries retries: Int = 10,
239 | updatedItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<TypedDatabaseItem<AttributesType, ItemType>>)
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
240 | -> EventLoopFuture<Void> {
241 | guard retries > 0 else {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:257:29: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
255 |
256 | return updatedItemProvider(databaseItem).flatMap { updatedDatabaseItem in
257 | return self.updateItem(newItem: updatedDatabaseItem, existingItem: databaseItem).flatMapError { error in
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
258 | if case SmokeDynamoDBError.conditionalCheckFailed = error {
259 | // try again
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:257:29: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
255 |
256 | return updatedItemProvider(databaseItem).flatMap { updatedDatabaseItem in
257 | return self.updateItem(newItem: updatedDatabaseItem, existingItem: databaseItem).flatMapError { error in
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
258 | if case SmokeDynamoDBError.conditionalCheckFailed = error {
259 | // try again
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:257:24: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
255 |
256 | return updatedItemProvider(databaseItem).flatMap { updatedDatabaseItem in
257 | return self.updateItem(newItem: updatedDatabaseItem, existingItem: databaseItem).flatMapError { error in
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
258 | if case SmokeDynamoDBError.conditionalCheckFailed = error {
259 | // try again
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:236:10: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
234 | }
235 |
236 | func conditionallyUpdateItem<AttributesType, ItemType: Codable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
237 | forKey key: CompositePrimaryKey<AttributesType>,
238 | withRetries retries: Int = 10,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:249:23: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
247 |
248 | return getItem(forKey: key).flatMap { (databaseItemOptional: TypedDatabaseItem<AttributesType, ItemType>?) in
249 | guard let databaseItem = databaseItemOptional else {
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
250 | let error = SmokeDynamoDBError.conditionalCheckFailed(partitionKey: key.partitionKey,
251 | sortKey: key.sortKey,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:249:23: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
247 |
248 | return getItem(forKey: key).flatMap { (databaseItemOptional: TypedDatabaseItem<AttributesType, ItemType>?) in
249 | guard let databaseItem = databaseItemOptional else {
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
250 | let error = SmokeDynamoDBError.conditionalCheckFailed(partitionKey: key.partitionKey,
251 | sortKey: key.sortKey,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:260:37: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
258 | if case SmokeDynamoDBError.conditionalCheckFailed = error {
259 | // try again
260 | return self.conditionallyUpdateItem(forKey: key,
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
261 | withRetries: retries - 1,
262 | updatedItemProvider: updatedItemProvider)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:260:37: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
258 | if case SmokeDynamoDBError.conditionalCheckFailed = error {
259 | // try again
260 | return self.conditionallyUpdateItem(forKey: key,
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
261 | withRetries: retries - 1,
262 | updatedItemProvider: updatedItemProvider)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:260:32: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
258 | if case SmokeDynamoDBError.conditionalCheckFailed = error {
259 | // try again
260 | return self.conditionallyUpdateItem(forKey: key,
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
261 | withRetries: retries - 1,
262 | updatedItemProvider: updatedItemProvider)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:236:10: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
234 | }
235 |
236 | func conditionallyUpdateItem<AttributesType, ItemType: Codable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
237 | forKey key: CompositePrimaryKey<AttributesType>,
238 | withRetries retries: Int = 10,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:237:16: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
235 |
236 | func conditionallyUpdateItem<AttributesType, ItemType: Codable>(
237 | forKey key: CompositePrimaryKey<AttributesType>,
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
238 | withRetries retries: Int = 10,
239 | updatedItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<TypedDatabaseItem<AttributesType, ItemType>>)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:239:9: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
237 | forKey key: CompositePrimaryKey<AttributesType>,
238 | withRetries retries: Int = 10,
239 | updatedItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<TypedDatabaseItem<AttributesType, ItemType>>)
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
240 | -> EventLoopFuture<Void> {
241 | guard retries > 0 else {
[1670/1701] Compiling SmokeDynamoDB DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:80:38: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
78 |
79 | return getItem(forKey: key).flatMap { (databaseItemOptional: TypedDatabaseItem<AttributesType, ItemType>?) in
80 | guard let databaseItem = databaseItemOptional else {
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
81 | let error = SmokeDynamoDBError.conditionalCheckFailed(partitionKey: key.partitionKey,
82 | sortKey: key.sortKey,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:80:38: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
78 |
79 | return getItem(forKey: key).flatMap { (databaseItemOptional: TypedDatabaseItem<AttributesType, ItemType>?) in
80 | guard let databaseItem = databaseItemOptional else {
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
81 | let error = SmokeDynamoDBError.conditionalCheckFailed(partitionKey: key.partitionKey,
82 | sortKey: key.sortKey,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:68:16: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
66 | */
67 | func conditionallyUpdateItem<AttributesType, ItemType: Codable>(
68 | forKey key: CompositePrimaryKey<AttributesType>,
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
69 | withRetries retries: Int = 10,
70 | updatedItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>) throws -> TypedDatabaseItem<AttributesType, ItemType>)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:84:24: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
82 | sortKey: key.sortKey,
83 | message: "Item not present in database.")
84 | return self.eventLoop.makeFailedFuture(error)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
85 | }
86 |
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:67:10: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
65 | updatedItemProvider: the provider that will return updated items.
66 | */
67 | func conditionallyUpdateItem<AttributesType, ItemType: Codable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
68 | forKey key: CompositePrimaryKey<AttributesType>,
69 | withRetries retries: Int = 10,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:70:9: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
68 | forKey key: CompositePrimaryKey<AttributesType>,
69 | withRetries retries: Int = 10,
70 | updatedItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>) throws -> TypedDatabaseItem<AttributesType, ItemType>)
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
71 | -> EventLoopFuture<Void> {
72 | guard retries > 0 else {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:98:33: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
96 | if case SmokeDynamoDBError.conditionalCheckFailed = error {
97 | // try again
98 | return self.conditionallyUpdateItem(forKey: key,
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
99 | withRetries: retries - 1,
100 | updatedItemProvider: updatedItemProvider)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:98:33: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
96 | if case SmokeDynamoDBError.conditionalCheckFailed = error {
97 | // try again
98 | return self.conditionallyUpdateItem(forKey: key,
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
99 | withRetries: retries - 1,
100 | updatedItemProvider: updatedItemProvider)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:98:28: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
96 | if case SmokeDynamoDBError.conditionalCheckFailed = error {
97 | // try again
98 | return self.conditionallyUpdateItem(forKey: key,
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
99 | withRetries: retries - 1,
100 | updatedItemProvider: updatedItemProvider)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:67:10: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
65 | updatedItemProvider: the provider that will return updated items.
66 | */
67 | func conditionallyUpdateItem<AttributesType, ItemType: Codable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
68 | forKey key: CompositePrimaryKey<AttributesType>,
69 | withRetries retries: Int = 10,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:68:16: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
66 | */
67 | func conditionallyUpdateItem<AttributesType, ItemType: Codable>(
68 | forKey key: CompositePrimaryKey<AttributesType>,
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
69 | withRetries retries: Int = 10,
70 | updatedItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>) throws -> TypedDatabaseItem<AttributesType, ItemType>)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:70:9: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
68 | forKey key: CompositePrimaryKey<AttributesType>,
69 | withRetries retries: Int = 10,
70 | updatedItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>) throws -> TypedDatabaseItem<AttributesType, ItemType>)
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
71 | -> EventLoopFuture<Void> {
72 | guard retries > 0 else {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:227:41: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
225 | let updatedItemProvider: (TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<TypedDatabaseItem<AttributesType, ItemType>> = { existingItem in
226 | return updatedPayloadProvider(existingItem.rowValue).map { updatedPayload in
227 | return existingItem.createUpdatedItem(withValue: updatedPayload)
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
228 | }
229 | }
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:227:41: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
225 | let updatedItemProvider: (TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<TypedDatabaseItem<AttributesType, ItemType>> = { existingItem in
226 | return updatedPayloadProvider(existingItem.rowValue).map { updatedPayload in
227 | return existingItem.createUpdatedItem(withValue: updatedPayload)
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
228 | }
229 | }
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:225:152: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
223 | withRetries retries: Int = 10,
224 | updatedPayloadProvider: @escaping (ItemType) -> EventLoopFuture<ItemType>) -> EventLoopFuture<Void> {
225 | let updatedItemProvider: (TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<TypedDatabaseItem<AttributesType, ItemType>> = { existingItem in
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
226 | return updatedPayloadProvider(existingItem.rowValue).map { updatedPayload in
227 | return existingItem.createUpdatedItem(withValue: updatedPayload)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:225:152: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
223 | withRetries retries: Int = 10,
224 | updatedPayloadProvider: @escaping (ItemType) -> EventLoopFuture<ItemType>) -> EventLoopFuture<Void> {
225 | let updatedItemProvider: (TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<TypedDatabaseItem<AttributesType, ItemType>> = { existingItem in
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
226 | return updatedPayloadProvider(existingItem.rowValue).map { updatedPayload in
227 | return existingItem.createUpdatedItem(withValue: updatedPayload)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:249:38: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
247 |
248 | return getItem(forKey: key).flatMap { (databaseItemOptional: TypedDatabaseItem<AttributesType, ItemType>?) in
249 | guard let databaseItem = databaseItemOptional else {
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
250 | let error = SmokeDynamoDBError.conditionalCheckFailed(partitionKey: key.partitionKey,
251 | sortKey: key.sortKey,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:249:38: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
247 |
248 | return getItem(forKey: key).flatMap { (databaseItemOptional: TypedDatabaseItem<AttributesType, ItemType>?) in
249 | guard let databaseItem = databaseItemOptional else {
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
250 | let error = SmokeDynamoDBError.conditionalCheckFailed(partitionKey: key.partitionKey,
251 | sortKey: key.sortKey,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:237:16: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
235 |
236 | func conditionallyUpdateItem<AttributesType, ItemType: Codable>(
237 | forKey key: CompositePrimaryKey<AttributesType>,
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
238 | withRetries retries: Int = 10,
239 | updatedItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<TypedDatabaseItem<AttributesType, ItemType>>)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:253:24: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
251 | sortKey: key.sortKey,
252 | message: "Item not present in database.")
253 | return self.eventLoop.makeFailedFuture(error)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
254 | }
255 |
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:236:10: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
234 | }
235 |
236 | func conditionallyUpdateItem<AttributesType, ItemType: Codable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
237 | forKey key: CompositePrimaryKey<AttributesType>,
238 | withRetries retries: Int = 10,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:239:9: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
237 | forKey key: CompositePrimaryKey<AttributesType>,
238 | withRetries retries: Int = 10,
239 | updatedItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<TypedDatabaseItem<AttributesType, ItemType>>)
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
240 | -> EventLoopFuture<Void> {
241 | guard retries > 0 else {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:257:29: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
255 |
256 | return updatedItemProvider(databaseItem).flatMap { updatedDatabaseItem in
257 | return self.updateItem(newItem: updatedDatabaseItem, existingItem: databaseItem).flatMapError { error in
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
258 | if case SmokeDynamoDBError.conditionalCheckFailed = error {
259 | // try again
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:257:29: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
255 |
256 | return updatedItemProvider(databaseItem).flatMap { updatedDatabaseItem in
257 | return self.updateItem(newItem: updatedDatabaseItem, existingItem: databaseItem).flatMapError { error in
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
258 | if case SmokeDynamoDBError.conditionalCheckFailed = error {
259 | // try again
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:257:24: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
255 |
256 | return updatedItemProvider(databaseItem).flatMap { updatedDatabaseItem in
257 | return self.updateItem(newItem: updatedDatabaseItem, existingItem: databaseItem).flatMapError { error in
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
258 | if case SmokeDynamoDBError.conditionalCheckFailed = error {
259 | // try again
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:236:10: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
234 | }
235 |
236 | func conditionallyUpdateItem<AttributesType, ItemType: Codable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
237 | forKey key: CompositePrimaryKey<AttributesType>,
238 | withRetries retries: Int = 10,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:249:23: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
247 |
248 | return getItem(forKey: key).flatMap { (databaseItemOptional: TypedDatabaseItem<AttributesType, ItemType>?) in
249 | guard let databaseItem = databaseItemOptional else {
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
250 | let error = SmokeDynamoDBError.conditionalCheckFailed(partitionKey: key.partitionKey,
251 | sortKey: key.sortKey,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:249:23: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
247 |
248 | return getItem(forKey: key).flatMap { (databaseItemOptional: TypedDatabaseItem<AttributesType, ItemType>?) in
249 | guard let databaseItem = databaseItemOptional else {
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
250 | let error = SmokeDynamoDBError.conditionalCheckFailed(partitionKey: key.partitionKey,
251 | sortKey: key.sortKey,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:260:37: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
258 | if case SmokeDynamoDBError.conditionalCheckFailed = error {
259 | // try again
260 | return self.conditionallyUpdateItem(forKey: key,
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
261 | withRetries: retries - 1,
262 | updatedItemProvider: updatedItemProvider)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:260:37: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
258 | if case SmokeDynamoDBError.conditionalCheckFailed = error {
259 | // try again
260 | return self.conditionallyUpdateItem(forKey: key,
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
261 | withRetries: retries - 1,
262 | updatedItemProvider: updatedItemProvider)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:260:32: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
258 | if case SmokeDynamoDBError.conditionalCheckFailed = error {
259 | // try again
260 | return self.conditionallyUpdateItem(forKey: key,
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
261 | withRetries: retries - 1,
262 | updatedItemProvider: updatedItemProvider)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:236:10: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
234 | }
235 |
236 | func conditionallyUpdateItem<AttributesType, ItemType: Codable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
237 | forKey key: CompositePrimaryKey<AttributesType>,
238 | withRetries retries: Int = 10,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:237:16: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
235 |
236 | func conditionallyUpdateItem<AttributesType, ItemType: Codable>(
237 | forKey key: CompositePrimaryKey<AttributesType>,
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
238 | withRetries retries: Int = 10,
239 | updatedItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<TypedDatabaseItem<AttributesType, ItemType>>)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:239:9: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
237 | forKey key: CompositePrimaryKey<AttributesType>,
238 | withRetries retries: Int = 10,
239 | updatedItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<TypedDatabaseItem<AttributesType, ItemType>>)
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
240 | -> EventLoopFuture<Void> {
241 | guard retries > 0 else {
[1671/1701] Compiling SmokeDynamoDB DynamoDBCompositePrimaryKeyTable+consistentReadQuery.swift
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:80:38: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
78 |
79 | return getItem(forKey: key).flatMap { (databaseItemOptional: TypedDatabaseItem<AttributesType, ItemType>?) in
80 | guard let databaseItem = databaseItemOptional else {
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
81 | let error = SmokeDynamoDBError.conditionalCheckFailed(partitionKey: key.partitionKey,
82 | sortKey: key.sortKey,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:80:38: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
78 |
79 | return getItem(forKey: key).flatMap { (databaseItemOptional: TypedDatabaseItem<AttributesType, ItemType>?) in
80 | guard let databaseItem = databaseItemOptional else {
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
81 | let error = SmokeDynamoDBError.conditionalCheckFailed(partitionKey: key.partitionKey,
82 | sortKey: key.sortKey,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:68:16: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
66 | */
67 | func conditionallyUpdateItem<AttributesType, ItemType: Codable>(
68 | forKey key: CompositePrimaryKey<AttributesType>,
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
69 | withRetries retries: Int = 10,
70 | updatedItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>) throws -> TypedDatabaseItem<AttributesType, ItemType>)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:84:24: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
82 | sortKey: key.sortKey,
83 | message: "Item not present in database.")
84 | return self.eventLoop.makeFailedFuture(error)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
85 | }
86 |
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:67:10: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
65 | updatedItemProvider: the provider that will return updated items.
66 | */
67 | func conditionallyUpdateItem<AttributesType, ItemType: Codable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
68 | forKey key: CompositePrimaryKey<AttributesType>,
69 | withRetries retries: Int = 10,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:70:9: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
68 | forKey key: CompositePrimaryKey<AttributesType>,
69 | withRetries retries: Int = 10,
70 | updatedItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>) throws -> TypedDatabaseItem<AttributesType, ItemType>)
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
71 | -> EventLoopFuture<Void> {
72 | guard retries > 0 else {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:98:33: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
96 | if case SmokeDynamoDBError.conditionalCheckFailed = error {
97 | // try again
98 | return self.conditionallyUpdateItem(forKey: key,
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
99 | withRetries: retries - 1,
100 | updatedItemProvider: updatedItemProvider)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:98:33: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
96 | if case SmokeDynamoDBError.conditionalCheckFailed = error {
97 | // try again
98 | return self.conditionallyUpdateItem(forKey: key,
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
99 | withRetries: retries - 1,
100 | updatedItemProvider: updatedItemProvider)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:98:28: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
96 | if case SmokeDynamoDBError.conditionalCheckFailed = error {
97 | // try again
98 | return self.conditionallyUpdateItem(forKey: key,
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
99 | withRetries: retries - 1,
100 | updatedItemProvider: updatedItemProvider)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:67:10: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
65 | updatedItemProvider: the provider that will return updated items.
66 | */
67 | func conditionallyUpdateItem<AttributesType, ItemType: Codable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
68 | forKey key: CompositePrimaryKey<AttributesType>,
69 | withRetries retries: Int = 10,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:68:16: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
66 | */
67 | func conditionallyUpdateItem<AttributesType, ItemType: Codable>(
68 | forKey key: CompositePrimaryKey<AttributesType>,
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
69 | withRetries retries: Int = 10,
70 | updatedItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>) throws -> TypedDatabaseItem<AttributesType, ItemType>)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:70:9: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
68 | forKey key: CompositePrimaryKey<AttributesType>,
69 | withRetries retries: Int = 10,
70 | updatedItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>) throws -> TypedDatabaseItem<AttributesType, ItemType>)
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
71 | -> EventLoopFuture<Void> {
72 | guard retries > 0 else {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:227:41: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
225 | let updatedItemProvider: (TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<TypedDatabaseItem<AttributesType, ItemType>> = { existingItem in
226 | return updatedPayloadProvider(existingItem.rowValue).map { updatedPayload in
227 | return existingItem.createUpdatedItem(withValue: updatedPayload)
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
228 | }
229 | }
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:227:41: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
225 | let updatedItemProvider: (TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<TypedDatabaseItem<AttributesType, ItemType>> = { existingItem in
226 | return updatedPayloadProvider(existingItem.rowValue).map { updatedPayload in
227 | return existingItem.createUpdatedItem(withValue: updatedPayload)
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
228 | }
229 | }
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:225:152: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
223 | withRetries retries: Int = 10,
224 | updatedPayloadProvider: @escaping (ItemType) -> EventLoopFuture<ItemType>) -> EventLoopFuture<Void> {
225 | let updatedItemProvider: (TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<TypedDatabaseItem<AttributesType, ItemType>> = { existingItem in
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
226 | return updatedPayloadProvider(existingItem.rowValue).map { updatedPayload in
227 | return existingItem.createUpdatedItem(withValue: updatedPayload)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:225:152: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
223 | withRetries retries: Int = 10,
224 | updatedPayloadProvider: @escaping (ItemType) -> EventLoopFuture<ItemType>) -> EventLoopFuture<Void> {
225 | let updatedItemProvider: (TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<TypedDatabaseItem<AttributesType, ItemType>> = { existingItem in
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
226 | return updatedPayloadProvider(existingItem.rowValue).map { updatedPayload in
227 | return existingItem.createUpdatedItem(withValue: updatedPayload)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:249:38: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
247 |
248 | return getItem(forKey: key).flatMap { (databaseItemOptional: TypedDatabaseItem<AttributesType, ItemType>?) in
249 | guard let databaseItem = databaseItemOptional else {
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
250 | let error = SmokeDynamoDBError.conditionalCheckFailed(partitionKey: key.partitionKey,
251 | sortKey: key.sortKey,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:249:38: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
247 |
248 | return getItem(forKey: key).flatMap { (databaseItemOptional: TypedDatabaseItem<AttributesType, ItemType>?) in
249 | guard let databaseItem = databaseItemOptional else {
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
250 | let error = SmokeDynamoDBError.conditionalCheckFailed(partitionKey: key.partitionKey,
251 | sortKey: key.sortKey,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:237:16: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
235 |
236 | func conditionallyUpdateItem<AttributesType, ItemType: Codable>(
237 | forKey key: CompositePrimaryKey<AttributesType>,
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
238 | withRetries retries: Int = 10,
239 | updatedItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<TypedDatabaseItem<AttributesType, ItemType>>)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:253:24: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
251 | sortKey: key.sortKey,
252 | message: "Item not present in database.")
253 | return self.eventLoop.makeFailedFuture(error)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
254 | }
255 |
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:236:10: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
234 | }
235 |
236 | func conditionallyUpdateItem<AttributesType, ItemType: Codable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
237 | forKey key: CompositePrimaryKey<AttributesType>,
238 | withRetries retries: Int = 10,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:239:9: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
237 | forKey key: CompositePrimaryKey<AttributesType>,
238 | withRetries retries: Int = 10,
239 | updatedItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<TypedDatabaseItem<AttributesType, ItemType>>)
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
240 | -> EventLoopFuture<Void> {
241 | guard retries > 0 else {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:257:29: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
255 |
256 | return updatedItemProvider(databaseItem).flatMap { updatedDatabaseItem in
257 | return self.updateItem(newItem: updatedDatabaseItem, existingItem: databaseItem).flatMapError { error in
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
258 | if case SmokeDynamoDBError.conditionalCheckFailed = error {
259 | // try again
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:257:29: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
255 |
256 | return updatedItemProvider(databaseItem).flatMap { updatedDatabaseItem in
257 | return self.updateItem(newItem: updatedDatabaseItem, existingItem: databaseItem).flatMapError { error in
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
258 | if case SmokeDynamoDBError.conditionalCheckFailed = error {
259 | // try again
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:257:24: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
255 |
256 | return updatedItemProvider(databaseItem).flatMap { updatedDatabaseItem in
257 | return self.updateItem(newItem: updatedDatabaseItem, existingItem: databaseItem).flatMapError { error in
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
258 | if case SmokeDynamoDBError.conditionalCheckFailed = error {
259 | // try again
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:236:10: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
234 | }
235 |
236 | func conditionallyUpdateItem<AttributesType, ItemType: Codable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
237 | forKey key: CompositePrimaryKey<AttributesType>,
238 | withRetries retries: Int = 10,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:249:23: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
247 |
248 | return getItem(forKey: key).flatMap { (databaseItemOptional: TypedDatabaseItem<AttributesType, ItemType>?) in
249 | guard let databaseItem = databaseItemOptional else {
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
250 | let error = SmokeDynamoDBError.conditionalCheckFailed(partitionKey: key.partitionKey,
251 | sortKey: key.sortKey,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:249:23: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
247 |
248 | return getItem(forKey: key).flatMap { (databaseItemOptional: TypedDatabaseItem<AttributesType, ItemType>?) in
249 | guard let databaseItem = databaseItemOptional else {
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
250 | let error = SmokeDynamoDBError.conditionalCheckFailed(partitionKey: key.partitionKey,
251 | sortKey: key.sortKey,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:260:37: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
258 | if case SmokeDynamoDBError.conditionalCheckFailed = error {
259 | // try again
260 | return self.conditionallyUpdateItem(forKey: key,
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
261 | withRetries: retries - 1,
262 | updatedItemProvider: updatedItemProvider)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:260:37: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
258 | if case SmokeDynamoDBError.conditionalCheckFailed = error {
259 | // try again
260 | return self.conditionallyUpdateItem(forKey: key,
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
261 | withRetries: retries - 1,
262 | updatedItemProvider: updatedItemProvider)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:260:32: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
258 | if case SmokeDynamoDBError.conditionalCheckFailed = error {
259 | // try again
260 | return self.conditionallyUpdateItem(forKey: key,
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
261 | withRetries: retries - 1,
262 | updatedItemProvider: updatedItemProvider)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:236:10: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
234 | }
235 |
236 | func conditionallyUpdateItem<AttributesType, ItemType: Codable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
237 | forKey key: CompositePrimaryKey<AttributesType>,
238 | withRetries retries: Int = 10,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:237:16: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
235 |
236 | func conditionallyUpdateItem<AttributesType, ItemType: Codable>(
237 | forKey key: CompositePrimaryKey<AttributesType>,
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
238 | withRetries retries: Int = 10,
239 | updatedItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<TypedDatabaseItem<AttributesType, ItemType>>)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:239:9: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
237 | forKey key: CompositePrimaryKey<AttributesType>,
238 | withRetries retries: Int = 10,
239 | updatedItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<TypedDatabaseItem<AttributesType, ItemType>>)
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
240 | -> EventLoopFuture<Void> {
241 | guard retries > 0 else {
[1672/1701] Compiling SmokeDynamoDB DynamoDBCompositePrimaryKeyTable.swift
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:80:38: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
78 |
79 | return getItem(forKey: key).flatMap { (databaseItemOptional: TypedDatabaseItem<AttributesType, ItemType>?) in
80 | guard let databaseItem = databaseItemOptional else {
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
81 | let error = SmokeDynamoDBError.conditionalCheckFailed(partitionKey: key.partitionKey,
82 | sortKey: key.sortKey,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:80:38: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
78 |
79 | return getItem(forKey: key).flatMap { (databaseItemOptional: TypedDatabaseItem<AttributesType, ItemType>?) in
80 | guard let databaseItem = databaseItemOptional else {
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
81 | let error = SmokeDynamoDBError.conditionalCheckFailed(partitionKey: key.partitionKey,
82 | sortKey: key.sortKey,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:68:16: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
66 | */
67 | func conditionallyUpdateItem<AttributesType, ItemType: Codable>(
68 | forKey key: CompositePrimaryKey<AttributesType>,
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
69 | withRetries retries: Int = 10,
70 | updatedItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>) throws -> TypedDatabaseItem<AttributesType, ItemType>)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:84:24: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
82 | sortKey: key.sortKey,
83 | message: "Item not present in database.")
84 | return self.eventLoop.makeFailedFuture(error)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
85 | }
86 |
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:67:10: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
65 | updatedItemProvider: the provider that will return updated items.
66 | */
67 | func conditionallyUpdateItem<AttributesType, ItemType: Codable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
68 | forKey key: CompositePrimaryKey<AttributesType>,
69 | withRetries retries: Int = 10,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:70:9: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
68 | forKey key: CompositePrimaryKey<AttributesType>,
69 | withRetries retries: Int = 10,
70 | updatedItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>) throws -> TypedDatabaseItem<AttributesType, ItemType>)
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
71 | -> EventLoopFuture<Void> {
72 | guard retries > 0 else {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:98:33: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
96 | if case SmokeDynamoDBError.conditionalCheckFailed = error {
97 | // try again
98 | return self.conditionallyUpdateItem(forKey: key,
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
99 | withRetries: retries - 1,
100 | updatedItemProvider: updatedItemProvider)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:98:33: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
96 | if case SmokeDynamoDBError.conditionalCheckFailed = error {
97 | // try again
98 | return self.conditionallyUpdateItem(forKey: key,
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
99 | withRetries: retries - 1,
100 | updatedItemProvider: updatedItemProvider)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:98:28: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
96 | if case SmokeDynamoDBError.conditionalCheckFailed = error {
97 | // try again
98 | return self.conditionallyUpdateItem(forKey: key,
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
99 | withRetries: retries - 1,
100 | updatedItemProvider: updatedItemProvider)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:67:10: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
65 | updatedItemProvider: the provider that will return updated items.
66 | */
67 | func conditionallyUpdateItem<AttributesType, ItemType: Codable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
68 | forKey key: CompositePrimaryKey<AttributesType>,
69 | withRetries retries: Int = 10,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:68:16: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
66 | */
67 | func conditionallyUpdateItem<AttributesType, ItemType: Codable>(
68 | forKey key: CompositePrimaryKey<AttributesType>,
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
69 | withRetries retries: Int = 10,
70 | updatedItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>) throws -> TypedDatabaseItem<AttributesType, ItemType>)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:70:9: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
68 | forKey key: CompositePrimaryKey<AttributesType>,
69 | withRetries retries: Int = 10,
70 | updatedItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>) throws -> TypedDatabaseItem<AttributesType, ItemType>)
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
71 | -> EventLoopFuture<Void> {
72 | guard retries > 0 else {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:227:41: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
225 | let updatedItemProvider: (TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<TypedDatabaseItem<AttributesType, ItemType>> = { existingItem in
226 | return updatedPayloadProvider(existingItem.rowValue).map { updatedPayload in
227 | return existingItem.createUpdatedItem(withValue: updatedPayload)
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
228 | }
229 | }
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:227:41: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
225 | let updatedItemProvider: (TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<TypedDatabaseItem<AttributesType, ItemType>> = { existingItem in
226 | return updatedPayloadProvider(existingItem.rowValue).map { updatedPayload in
227 | return existingItem.createUpdatedItem(withValue: updatedPayload)
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
228 | }
229 | }
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:225:152: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
223 | withRetries retries: Int = 10,
224 | updatedPayloadProvider: @escaping (ItemType) -> EventLoopFuture<ItemType>) -> EventLoopFuture<Void> {
225 | let updatedItemProvider: (TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<TypedDatabaseItem<AttributesType, ItemType>> = { existingItem in
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
226 | return updatedPayloadProvider(existingItem.rowValue).map { updatedPayload in
227 | return existingItem.createUpdatedItem(withValue: updatedPayload)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:225:152: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
223 | withRetries retries: Int = 10,
224 | updatedPayloadProvider: @escaping (ItemType) -> EventLoopFuture<ItemType>) -> EventLoopFuture<Void> {
225 | let updatedItemProvider: (TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<TypedDatabaseItem<AttributesType, ItemType>> = { existingItem in
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
226 | return updatedPayloadProvider(existingItem.rowValue).map { updatedPayload in
227 | return existingItem.createUpdatedItem(withValue: updatedPayload)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:249:38: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
247 |
248 | return getItem(forKey: key).flatMap { (databaseItemOptional: TypedDatabaseItem<AttributesType, ItemType>?) in
249 | guard let databaseItem = databaseItemOptional else {
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
250 | let error = SmokeDynamoDBError.conditionalCheckFailed(partitionKey: key.partitionKey,
251 | sortKey: key.sortKey,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:249:38: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
247 |
248 | return getItem(forKey: key).flatMap { (databaseItemOptional: TypedDatabaseItem<AttributesType, ItemType>?) in
249 | guard let databaseItem = databaseItemOptional else {
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
250 | let error = SmokeDynamoDBError.conditionalCheckFailed(partitionKey: key.partitionKey,
251 | sortKey: key.sortKey,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:237:16: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
235 |
236 | func conditionallyUpdateItem<AttributesType, ItemType: Codable>(
237 | forKey key: CompositePrimaryKey<AttributesType>,
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
238 | withRetries retries: Int = 10,
239 | updatedItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<TypedDatabaseItem<AttributesType, ItemType>>)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:253:24: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
251 | sortKey: key.sortKey,
252 | message: "Item not present in database.")
253 | return self.eventLoop.makeFailedFuture(error)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
254 | }
255 |
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:236:10: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
234 | }
235 |
236 | func conditionallyUpdateItem<AttributesType, ItemType: Codable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
237 | forKey key: CompositePrimaryKey<AttributesType>,
238 | withRetries retries: Int = 10,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:239:9: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
237 | forKey key: CompositePrimaryKey<AttributesType>,
238 | withRetries retries: Int = 10,
239 | updatedItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<TypedDatabaseItem<AttributesType, ItemType>>)
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
240 | -> EventLoopFuture<Void> {
241 | guard retries > 0 else {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:257:29: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
255 |
256 | return updatedItemProvider(databaseItem).flatMap { updatedDatabaseItem in
257 | return self.updateItem(newItem: updatedDatabaseItem, existingItem: databaseItem).flatMapError { error in
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
258 | if case SmokeDynamoDBError.conditionalCheckFailed = error {
259 | // try again
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:257:29: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
255 |
256 | return updatedItemProvider(databaseItem).flatMap { updatedDatabaseItem in
257 | return self.updateItem(newItem: updatedDatabaseItem, existingItem: databaseItem).flatMapError { error in
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
258 | if case SmokeDynamoDBError.conditionalCheckFailed = error {
259 | // try again
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:257:24: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
255 |
256 | return updatedItemProvider(databaseItem).flatMap { updatedDatabaseItem in
257 | return self.updateItem(newItem: updatedDatabaseItem, existingItem: databaseItem).flatMapError { error in
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
258 | if case SmokeDynamoDBError.conditionalCheckFailed = error {
259 | // try again
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:236:10: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
234 | }
235 |
236 | func conditionallyUpdateItem<AttributesType, ItemType: Codable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
237 | forKey key: CompositePrimaryKey<AttributesType>,
238 | withRetries retries: Int = 10,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:249:23: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
247 |
248 | return getItem(forKey: key).flatMap { (databaseItemOptional: TypedDatabaseItem<AttributesType, ItemType>?) in
249 | guard let databaseItem = databaseItemOptional else {
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
250 | let error = SmokeDynamoDBError.conditionalCheckFailed(partitionKey: key.partitionKey,
251 | sortKey: key.sortKey,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:249:23: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
247 |
248 | return getItem(forKey: key).flatMap { (databaseItemOptional: TypedDatabaseItem<AttributesType, ItemType>?) in
249 | guard let databaseItem = databaseItemOptional else {
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
250 | let error = SmokeDynamoDBError.conditionalCheckFailed(partitionKey: key.partitionKey,
251 | sortKey: key.sortKey,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:260:37: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
258 | if case SmokeDynamoDBError.conditionalCheckFailed = error {
259 | // try again
260 | return self.conditionallyUpdateItem(forKey: key,
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
261 | withRetries: retries - 1,
262 | updatedItemProvider: updatedItemProvider)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:260:37: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
258 | if case SmokeDynamoDBError.conditionalCheckFailed = error {
259 | // try again
260 | return self.conditionallyUpdateItem(forKey: key,
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
261 | withRetries: retries - 1,
262 | updatedItemProvider: updatedItemProvider)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:260:32: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
258 | if case SmokeDynamoDBError.conditionalCheckFailed = error {
259 | // try again
260 | return self.conditionallyUpdateItem(forKey: key,
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
261 | withRetries: retries - 1,
262 | updatedItemProvider: updatedItemProvider)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:236:10: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
234 | }
235 |
236 | func conditionallyUpdateItem<AttributesType, ItemType: Codable>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
237 | forKey key: CompositePrimaryKey<AttributesType>,
238 | withRetries retries: Int = 10,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:237:16: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
235 |
236 | func conditionallyUpdateItem<AttributesType, ItemType: Codable>(
237 | forKey key: CompositePrimaryKey<AttributesType>,
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
238 | withRetries retries: Int = 10,
239 | updatedItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<TypedDatabaseItem<AttributesType, ItemType>>)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift:239:9: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
237 | forKey key: CompositePrimaryKey<AttributesType>,
238 | withRetries retries: Int = 10,
239 | updatedItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<TypedDatabaseItem<AttributesType, ItemType>>)
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
240 | -> EventLoopFuture<Void> {
241 | guard retries > 0 else {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTableHistoricalItemExtensions.swift:34:25: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
32 | historicalItem: TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<Void> {
33 | return insertItem(primaryItem).flatMap { _ in
34 | return self.insertItem(historicalItem)
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
35 | }
36 | }
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTableHistoricalItemExtensions.swift:34:25: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
32 | historicalItem: TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<Void> {
33 | return insertItem(primaryItem).flatMap { _ in
34 | return self.insertItem(historicalItem)
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
35 | }
36 | }
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTableHistoricalItemExtensions.swift:34:20: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
32 | historicalItem: TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<Void> {
33 | return insertItem(primaryItem).flatMap { _ in
34 | return self.insertItem(historicalItem)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
35 | }
36 | }
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTableHistoricalItemExtensions.swift:31:10: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
29 | * rows in a single call.
30 | */
31 | func insertItemWithHistoricalRow<AttributesType, ItemType>(primaryItem: TypedDatabaseItem<AttributesType, ItemType>,
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
32 | historicalItem: TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<Void> {
33 | return insertItem(primaryItem).flatMap { _ in
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTableHistoricalItemExtensions.swift:32:64: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
30 | */
31 | func insertItemWithHistoricalRow<AttributesType, ItemType>(primaryItem: TypedDatabaseItem<AttributesType, ItemType>,
32 | historicalItem: TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<Void> {
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
33 | return insertItem(primaryItem).flatMap { _ in
34 | return self.insertItem(historicalItem)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTableHistoricalItemExtensions.swift:32:64: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
30 | */
31 | func insertItemWithHistoricalRow<AttributesType, ItemType>(primaryItem: TypedDatabaseItem<AttributesType, ItemType>,
32 | historicalItem: TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<Void> {
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
33 | return insertItem(primaryItem).flatMap { _ in
34 | return self.insertItem(historicalItem)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTableHistoricalItemExtensions.swift:42:25: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
40 | historicalItem: TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<Void> {
41 | return updateItem(newItem: primaryItem, existingItem: existingItem).flatMap { _ in
42 | return self.insertItem(historicalItem)
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
43 | }
44 | }
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTableHistoricalItemExtensions.swift:42:25: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
40 | historicalItem: TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<Void> {
41 | return updateItem(newItem: primaryItem, existingItem: existingItem).flatMap { _ in
42 | return self.insertItem(historicalItem)
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
43 | }
44 | }
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTableHistoricalItemExtensions.swift:42:20: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
40 | historicalItem: TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<Void> {
41 | return updateItem(newItem: primaryItem, existingItem: existingItem).flatMap { _ in
42 | return self.insertItem(historicalItem)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
43 | }
44 | }
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTableHistoricalItemExtensions.swift:38:10: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
36 | }
37 |
38 | func updateItemWithHistoricalRow<AttributesType, ItemType>(primaryItem: TypedDatabaseItem<AttributesType, ItemType>,
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
39 | existingItem: TypedDatabaseItem<AttributesType, ItemType>,
40 | historicalItem: TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<Void> {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTableHistoricalItemExtensions.swift:40:64: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
38 | func updateItemWithHistoricalRow<AttributesType, ItemType>(primaryItem: TypedDatabaseItem<AttributesType, ItemType>,
39 | existingItem: TypedDatabaseItem<AttributesType, ItemType>,
40 | historicalItem: TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<Void> {
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
41 | return updateItem(newItem: primaryItem, existingItem: existingItem).flatMap { _ in
42 | return self.insertItem(historicalItem)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTableHistoricalItemExtensions.swift:40:64: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
38 | func updateItemWithHistoricalRow<AttributesType, ItemType>(primaryItem: TypedDatabaseItem<AttributesType, ItemType>,
39 | existingItem: TypedDatabaseItem<AttributesType, ItemType>,
40 | historicalItem: TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<Void> {
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
41 | return updateItem(newItem: primaryItem, existingItem: existingItem).flatMap { _ in
42 | return self.insertItem(historicalItem)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTableHistoricalItemExtensions.swift:89:35: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
87 |
88 | return getItem(forKey: primaryItem.compositePrimaryKey).flatMap { (existingItemOptional: TypedDatabaseItem<AttributesType, ItemType>?) in
89 | if let existingItem = existingItemOptional {
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
90 | let newItem: TypedDatabaseItem<AttributesType, ItemType> = primaryItemProvider(existingItem)
91 |
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTableHistoricalItemExtensions.swift:89:35: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
87 |
88 | return getItem(forKey: primaryItem.compositePrimaryKey).flatMap { (existingItemOptional: TypedDatabaseItem<AttributesType, ItemType>?) in
89 | if let existingItem = existingItemOptional {
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
90 | let newItem: TypedDatabaseItem<AttributesType, ItemType> = primaryItemProvider(existingItem)
91 |
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTableHistoricalItemExtensions.swift:59:13: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
57 | */
58 | func clobberItemWithHistoricalRow<AttributesType, ItemType>(
59 | primaryItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>?) -> TypedDatabaseItem<AttributesType, ItemType>,
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
60 | historicalItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>) -> TypedDatabaseItem<AttributesType, ItemType>,
61 | withRetries retries: Int = 10) -> EventLoopFuture<Void> {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTableHistoricalItemExtensions.swift:59:13: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
57 | */
58 | func clobberItemWithHistoricalRow<AttributesType, ItemType>(
59 | primaryItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>?) -> TypedDatabaseItem<AttributesType, ItemType>,
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
60 | historicalItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>) -> TypedDatabaseItem<AttributesType, ItemType>,
61 | withRetries retries: Int = 10) -> EventLoopFuture<Void> {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTableHistoricalItemExtensions.swift:92:24: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
90 | let newItem: TypedDatabaseItem<AttributesType, ItemType> = primaryItemProvider(existingItem)
91 |
92 | return self.updateItemWithHistoricalRow(primaryItem: newItem, existingItem: existingItem,
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
93 | historicalItem: historicalItemProvider(newItem))
94 | .flatMapError(insertOrUpdateItemErrorHander)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTableHistoricalItemExtensions.swift:58:10: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
56 | * historical data.
57 | */
58 | func clobberItemWithHistoricalRow<AttributesType, ItemType>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
59 | primaryItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>?) -> TypedDatabaseItem<AttributesType, ItemType>,
60 | historicalItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>) -> TypedDatabaseItem<AttributesType, ItemType>,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTableHistoricalItemExtensions.swift:133:38: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
131 |
132 | return getItem(forKey: compositePrimaryKey).flatMap { (existingItemOptional: TypedDatabaseItem<AttributesType, ItemType>?) in
133 | guard let existingItem = existingItemOptional else {
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
134 | let error = SmokeDynamoDBError.conditionalCheckFailed(partitionKey: compositePrimaryKey.partitionKey,
135 | sortKey: compositePrimaryKey.sortKey,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTableHistoricalItemExtensions.swift:133:38: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
131 |
132 | return getItem(forKey: compositePrimaryKey).flatMap { (existingItemOptional: TypedDatabaseItem<AttributesType, ItemType>?) in
133 | guard let existingItem = existingItemOptional else {
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
134 | let error = SmokeDynamoDBError.conditionalCheckFailed(partitionKey: compositePrimaryKey.partitionKey,
135 | sortKey: compositePrimaryKey.sortKey,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTableHistoricalItemExtensions.swift:118:13: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
116 | */
117 | func conditionallyUpdateItemWithHistoricalRow<AttributesType, ItemType>(
118 | compositePrimaryKey: CompositePrimaryKey<AttributesType>,
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
119 | primaryItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>) throws -> TypedDatabaseItem<AttributesType, ItemType>,
120 | historicalItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>) -> TypedDatabaseItem<AttributesType, ItemType>,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTableHistoricalItemExtensions.swift:138:31: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
136 | message: "Item not present in database.")
137 |
138 | let promise = self.eventLoop.makePromise(of: TypedDatabaseItem<AttributesType, ItemType>.self)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
139 | promise.fail(error)
140 | return promise.futureResult
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTableHistoricalItemExtensions.swift:117:10: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
115 | - historicalItemProvider: Function to provide the historical item for the primary item.
116 | */
117 | func conditionallyUpdateItemWithHistoricalRow<AttributesType, ItemType>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
118 | compositePrimaryKey: CompositePrimaryKey<AttributesType>,
119 | primaryItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>) throws -> TypedDatabaseItem<AttributesType, ItemType>,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTableHistoricalItemExtensions.swift:119:13: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
117 | func conditionallyUpdateItemWithHistoricalRow<AttributesType, ItemType>(
118 | compositePrimaryKey: CompositePrimaryKey<AttributesType>,
119 | primaryItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>) throws -> TypedDatabaseItem<AttributesType, ItemType>,
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
120 | historicalItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>) -> TypedDatabaseItem<AttributesType, ItemType>,
121 | withRetries retries: Int = 10) -> EventLoopFuture<TypedDatabaseItem<AttributesType, ItemType>> {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTableHistoricalItemExtensions.swift:158:32: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
156 | .map { _ in
157 | // return the updated item
158 | return updatedItem
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
159 | } .flatMapError(errorHandler)
160 | } catch {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTableHistoricalItemExtensions.swift:158:32: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
156 | .map { _ in
157 | // return the updated item
158 | return updatedItem
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
159 | } .flatMapError(errorHandler)
160 | } catch {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTableHistoricalItemExtensions.swift:144:21: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
142 |
143 | do {
144 | let updatedItem = try primaryItemProvider(existingItem)
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
145 | let historicalItem = historicalItemProvider(updatedItem)
146 |
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTableHistoricalItemExtensions.swift:144:21: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
142 |
143 | do {
144 | let updatedItem = try primaryItemProvider(existingItem)
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
145 | let historicalItem = historicalItemProvider(updatedItem)
146 |
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTableHistoricalItemExtensions.swift:332:38: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
330 |
331 | return getItem(forKey: compositePrimaryKey).flatMap { (existingItemOptional: TypedDatabaseItem<AttributesType, ItemType>?) in
332 | guard let existingItem = existingItemOptional else {
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
333 | let error = SmokeDynamoDBError.conditionalCheckFailed(partitionKey: compositePrimaryKey.partitionKey,
334 | sortKey: compositePrimaryKey.sortKey,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTableHistoricalItemExtensions.swift:332:38: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
330 |
331 | return getItem(forKey: compositePrimaryKey).flatMap { (existingItemOptional: TypedDatabaseItem<AttributesType, ItemType>?) in
332 | guard let existingItem = existingItemOptional else {
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
333 | let error = SmokeDynamoDBError.conditionalCheckFailed(partitionKey: compositePrimaryKey.partitionKey,
334 | sortKey: compositePrimaryKey.sortKey,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTableHistoricalItemExtensions.swift:317:13: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
315 |
316 | func conditionallyUpdateItemWithHistoricalRow<AttributesType, ItemType>(
317 | compositePrimaryKey: CompositePrimaryKey<AttributesType>,
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
318 | primaryItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<TypedDatabaseItem<AttributesType, ItemType>>,
319 | historicalItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>) -> TypedDatabaseItem<AttributesType, ItemType>,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTableHistoricalItemExtensions.swift:337:31: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
335 | message: "Item not present in database.")
336 |
337 | let promise = self.eventLoop.makePromise(of: TypedDatabaseItem<AttributesType, ItemType>.self)
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
338 | promise.fail(error)
339 | return promise.futureResult
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTableHistoricalItemExtensions.swift:316:10: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
314 | #endif
315 |
316 | func conditionallyUpdateItemWithHistoricalRow<AttributesType, ItemType>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
317 | compositePrimaryKey: CompositePrimaryKey<AttributesType>,
318 | primaryItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<TypedDatabaseItem<AttributesType, ItemType>>,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTableHistoricalItemExtensions.swift:318:13: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
316 | func conditionallyUpdateItemWithHistoricalRow<AttributesType, ItemType>(
317 | compositePrimaryKey: CompositePrimaryKey<AttributesType>,
318 | primaryItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<TypedDatabaseItem<AttributesType, ItemType>>,
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
319 | historicalItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>) -> TypedDatabaseItem<AttributesType, ItemType>,
320 | withRetries retries: Int = 10) -> EventLoopFuture<TypedDatabaseItem<AttributesType, ItemType>> {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTableHistoricalItemExtensions.swift:345:38: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
343 |
344 | return updatedItemFuture.flatMap { updatedItem in
345 | let historicalItem = historicalItemProvider(updatedItem)
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
346 |
347 | let errorHandler: ((Error) -> EventLoopFuture<TypedDatabaseItem<AttributesType, ItemType>>) = self.getUpdateItemErrorHandler(
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTableHistoricalItemExtensions.swift:345:38: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
343 |
344 | return updatedItemFuture.flatMap { updatedItem in
345 | let historicalItem = historicalItemProvider(updatedItem)
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
346 |
347 | let errorHandler: ((Error) -> EventLoopFuture<TypedDatabaseItem<AttributesType, ItemType>>) = self.getUpdateItemErrorHandler(
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTableHistoricalItemExtensions.swift:319:13: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
317 | compositePrimaryKey: CompositePrimaryKey<AttributesType>,
318 | primaryItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<TypedDatabaseItem<AttributesType, ItemType>>,
319 | historicalItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>) -> TypedDatabaseItem<AttributesType, ItemType>,
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
320 | withRetries retries: Int = 10) -> EventLoopFuture<TypedDatabaseItem<AttributesType, ItemType>> {
321 | guard retries > 0 else {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTableHistoricalItemExtensions.swift:319:13: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
317 | compositePrimaryKey: CompositePrimaryKey<AttributesType>,
318 | primaryItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<TypedDatabaseItem<AttributesType, ItemType>>,
319 | historicalItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>) -> TypedDatabaseItem<AttributesType, ItemType>,
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
320 | withRetries retries: Int = 10) -> EventLoopFuture<TypedDatabaseItem<AttributesType, ItemType>> {
321 | guard retries > 0 else {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTableHistoricalItemExtensions.swift:347:111: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
345 | let historicalItem = historicalItemProvider(updatedItem)
346 |
347 | let errorHandler: ((Error) -> EventLoopFuture<TypedDatabaseItem<AttributesType, ItemType>>) = self.getUpdateItemErrorHandler(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
348 | forPrimaryKey: compositePrimaryKey,
349 | primaryItemProvider: primaryItemProvider,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTableHistoricalItemExtensions.swift:316:10: warning: capture of non-Sendable type 'Self.Type' in an isolated closure
314 | #endif
315 |
316 | func conditionallyUpdateItemWithHistoricalRow<AttributesType, ItemType>(
| `- warning: capture of non-Sendable type 'Self.Type' in an isolated closure
317 | compositePrimaryKey: CompositePrimaryKey<AttributesType>,
318 | primaryItemProvider: @escaping (TypedDatabaseItem<AttributesType, ItemType>) -> EventLoopFuture<TypedDatabaseItem<AttributesType, ItemType>>,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTableHistoricalItemExtensions.swift:358:32: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
356 | .map { _ in
357 | // return the updated item
358 | return updatedItem
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
359 | } .flatMapError(errorHandler)
360 | }
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTableHistoricalItemExtensions.swift:358:32: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
356 | .map { _ in
357 | // return the updated item
358 | return updatedItem
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
359 | } .flatMapError(errorHandler)
360 | }
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTableHistoricalItemExtensions.swift:344:48: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
342 | let updatedItemFuture = primaryItemProvider(existingItem)
343 |
344 | return updatedItemFuture.flatMap { updatedItem in
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
345 | let historicalItem = historicalItemProvider(updatedItem)
346 |
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTableHistoricalItemExtensions.swift:344:48: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
342 | let updatedItemFuture = primaryItemProvider(existingItem)
343 |
344 | return updatedItemFuture.flatMap { updatedItem in
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure
345 | let historicalItem = historicalItemProvider(updatedItem)
346 |
/host/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore+execute.swift:38:17: warning: capture of non-Sendable type 'ReturnedType.Type' in an isolated closure; this is an error in the Swift 6 language mode
36 | let returnedItems: [ReturnedType]
37 | do {
38 | returnedItems = try items.map { item in
| `- warning: capture of non-Sendable type 'ReturnedType.Type' in an isolated closure; this is an error in the Swift 6 language mode
39 | return try self.convertToQueryableType(input: item)
40 | }
/host/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore+execute.swift:31:13: warning: capture of non-Sendable type 'ReturnedType.Type' in an isolated closure; this is an error in the Swift 6 language mode
29 | additionalWhereClause: String?,
30 | eventLoop: EventLoop) -> EventLoopFuture<[ReturnedType]> {
31 | let promise = eventLoop.makePromise(of: [ReturnedType].self)
| `- warning: capture of non-Sendable type 'ReturnedType.Type' in an isolated closure; this is an error in the Swift 6 language mode
32 |
33 | accessQueue.async {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore+execute.swift:65:17: warning: capture of non-Sendable type 'ReturnedType.Type' in an isolated closure; this is an error in the Swift 6 language mode
63 | let returnedItems: [ReturnedType]
64 | do {
65 | returnedItems = try items.map { item in
| `- warning: capture of non-Sendable type 'ReturnedType.Type' in an isolated closure; this is an error in the Swift 6 language mode
66 | return try self.convertToQueryableType(input: item)
67 | }
/host/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore+execute.swift:58:13: warning: capture of non-Sendable type 'ReturnedType.Type' in an isolated closure; this is an error in the Swift 6 language mode
56 | nextToken: String?,
57 | eventLoop: EventLoop) -> EventLoopFuture<([ReturnedType], String?)> {
58 | let promise = eventLoop.makePromise(of: ([ReturnedType], String?).self)
| `- warning: capture of non-Sendable type 'ReturnedType.Type' in an isolated closure; this is an error in the Swift 6 language mode
59 |
60 | accessQueue.async {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore+execute.swift:92:17: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure; this is an error in the Swift 6 language mode
90 | let returnedItems: [TypedDatabaseItem<AttributesType, ItemType>]
91 | do {
92 | returnedItems = try items.map { item in
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure; this is an error in the Swift 6 language mode
93 | guard let typedItem = item as? TypedDatabaseItem<AttributesType, ItemType> else {
94 | let foundType = type(of: item)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore+execute.swift:92:17: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure; this is an error in the Swift 6 language mode
90 | let returnedItems: [TypedDatabaseItem<AttributesType, ItemType>]
91 | do {
92 | returnedItems = try items.map { item in
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure; this is an error in the Swift 6 language mode
93 | guard let typedItem = item as? TypedDatabaseItem<AttributesType, ItemType> else {
94 | let foundType = type(of: item)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore+execute.swift:85:13: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure; this is an error in the Swift 6 language mode
83 | eventLoop: EventLoop)
84 | -> EventLoopFuture<[TypedDatabaseItem<AttributesType, ItemType>]> {
85 | let promise = eventLoop.makePromise(of: [TypedDatabaseItem<AttributesType, ItemType>].self)
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure; this is an error in the Swift 6 language mode
86 |
87 | accessQueue.async {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore+execute.swift:85:13: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure; this is an error in the Swift 6 language mode
83 | eventLoop: EventLoop)
84 | -> EventLoopFuture<[TypedDatabaseItem<AttributesType, ItemType>]> {
85 | let promise = eventLoop.makePromise(of: [TypedDatabaseItem<AttributesType, ItemType>].self)
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure; this is an error in the Swift 6 language mode
86 |
87 | accessQueue.async {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore+execute.swift:129:17: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure; this is an error in the Swift 6 language mode
127 | let returnedItems: [TypedDatabaseItem<AttributesType, ItemType>]
128 | do {
129 | returnedItems = try items.map { item in
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure; this is an error in the Swift 6 language mode
130 | guard let typedItem = item as? TypedDatabaseItem<AttributesType, ItemType> else {
131 | let foundType = type(of: item)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore+execute.swift:129:17: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure; this is an error in the Swift 6 language mode
127 | let returnedItems: [TypedDatabaseItem<AttributesType, ItemType>]
128 | do {
129 | returnedItems = try items.map { item in
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure; this is an error in the Swift 6 language mode
130 | guard let typedItem = item as? TypedDatabaseItem<AttributesType, ItemType> else {
131 | let foundType = type(of: item)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore+execute.swift:122:13: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure; this is an error in the Swift 6 language mode
120 | eventLoop: EventLoop)
121 | -> EventLoopFuture<([TypedDatabaseItem<AttributesType, ItemType>], String?)> {
122 | let promise = eventLoop.makePromise(of: ([TypedDatabaseItem<AttributesType, ItemType>], String?).self)
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure; this is an error in the Swift 6 language mode
123 |
124 | accessQueue.async {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore+execute.swift:122:13: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure; this is an error in the Swift 6 language mode
120 | eventLoop: EventLoop)
121 | -> EventLoopFuture<([TypedDatabaseItem<AttributesType, ItemType>], String?)> {
122 | let promise = eventLoop.makePromise(of: ([TypedDatabaseItem<AttributesType, ItemType>], String?).self)
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure; this is an error in the Swift 6 language mode
123 |
124 | accessQueue.async {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore+monomorphicQuery.swift:33:107: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure; this is an error in the Swift 6 language mode
31 |
32 | accessQueue.async {
33 | var map: [CompositePrimaryKey<AttributesType>: TypedDatabaseItem<AttributesType, ItemType>] = [:]
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure; this is an error in the Swift 6 language mode
34 |
35 | keys.forEach { key in
/host/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore+monomorphicQuery.swift:33:107: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure; this is an error in the Swift 6 language mode
31 |
32 | accessQueue.async {
33 | var map: [CompositePrimaryKey<AttributesType>: TypedDatabaseItem<AttributesType, ItemType>] = [:]
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure; this is an error in the Swift 6 language mode
34 |
35 | keys.forEach { key in
/host/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore+monomorphicQuery.swift:27:17: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure; this is an error in the Swift 6 language mode
25 |
26 | func monomorphicGetItems<AttributesType, ItemType>(
27 | forKeys keys: [CompositePrimaryKey<AttributesType>],
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure; this is an error in the Swift 6 language mode
28 | eventLoop: EventLoop)
29 | -> EventLoopFuture<[CompositePrimaryKey<AttributesType>: TypedDatabaseItem<AttributesType, ItemType>]> {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore+monomorphicQuery.swift:30:13: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure; this is an error in the Swift 6 language mode
28 | eventLoop: EventLoop)
29 | -> EventLoopFuture<[CompositePrimaryKey<AttributesType>: TypedDatabaseItem<AttributesType, ItemType>]> {
30 | let promise = eventLoop.makePromise(of: [CompositePrimaryKey<AttributesType>: TypedDatabaseItem<AttributesType, ItemType>].self)
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure; this is an error in the Swift 6 language mode
31 |
32 | accessQueue.async {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore+monomorphicQuery.swift:70:72: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure; this is an error in the Swift 6 language mode
68 |
69 | accessQueue.async {
70 | var items: [TypedDatabaseItem<AttributesType, ItemType>] = []
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure; this is an error in the Swift 6 language mode
71 |
72 | if let partition = self.store[partitionKey] {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore+monomorphicQuery.swift:70:72: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure; this is an error in the Swift 6 language mode
68 |
69 | accessQueue.async {
70 | var items: [TypedDatabaseItem<AttributesType, ItemType>] = []
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure; this is an error in the Swift 6 language mode
71 |
72 | if let partition = self.store[partitionKey] {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore+monomorphicQuery.swift:67:13: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure; this is an error in the Swift 6 language mode
65 | -> EventLoopFuture<[TypedDatabaseItem<AttributesType, ItemType>]>
66 | where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
67 | let promise = eventLoop.makePromise(of: [TypedDatabaseItem<AttributesType, ItemType>].self)
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure; this is an error in the Swift 6 language mode
68 |
69 | accessQueue.async {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore+monomorphicQuery.swift:67:13: warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure; this is an error in the Swift 6 language mode
65 | -> EventLoopFuture<[TypedDatabaseItem<AttributesType, ItemType>]>
66 | where AttributesType : PrimaryKeyAttributes, ItemType : Decodable, ItemType : Encodable {
67 | let promise = eventLoop.makePromise(of: [TypedDatabaseItem<AttributesType, ItemType>].self)
| `- warning: capture of non-Sendable type 'ItemType.Type' in an isolated closure; this is an error in the Swift 6 language mode
68 |
69 | accessQueue.async {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore+monomorphicQuery.swift:154:21: warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
152 | let items: [TypedDatabaseItem<AttributesType, ItemType>]
153 | if !scanIndexForward {
154 | items = rawItems.reversed()
| `- warning: capture of non-Sendable type 'AttributesType.Type' in an isolated closure
155 | } else {
156 | items = rawItems
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0. Program arguments: /usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBClientConfiguration.swift /host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+DynamoDBTableAsync.swift /host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+deleteItems.swift /host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+execute.swift /host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+getItems.swift /host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+monomorphicGetItems.swift /host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+updateItems.swift /host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable.swift /host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTableGenerator.swift /host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeysProjection+DynamoDBKeysProjectionAsync.swift /host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeysProjection.swift /host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeysProjectionGenerator.swift /host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBTableOperationsClient.swift /host/spi-builder-workspace/Sources/SmokeDynamoDB/CompositePrimaryKey.swift /host/spi-builder-workspace/Sources/SmokeDynamoDB/CustomRowTypeIdentifier.swift /host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyGSILogic.swift /host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+bulkUpdateSupport.swift /host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+clobberVersionedItemWithHistoricalRow.swift /host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift /host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable+consistentReadQuery.swift /host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable.swift -primary-file /host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTableHistoricalItemExtensions.swift -primary-file /host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeysProjection.swift -primary-file /host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBDecoder.swift -primary-file /host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBEncoder.swift -primary-file /host/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTable.swift -primary-file /host/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore+execute.swift -primary-file /host/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore+monomorphicQuery.swift /host/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableStore.swift /host/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift /host/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeysProjection.swift /host/spi-builder-workspace/Sources/SmokeDynamoDB/InMemoryDynamoDBCompositePrimaryKeysProjectionStore.swift /host/spi-builder-workspace/Sources/SmokeDynamoDB/InternalDynamoDBCodingKey.swift /host/spi-builder-workspace/Sources/SmokeDynamoDB/InternalKeyedDecodingContainer.swift /host/spi-builder-workspace/Sources/SmokeDynamoDB/InternalKeyedEncodingContainer.swift /host/spi-builder-workspace/Sources/SmokeDynamoDB/InternalSingleValueDecodingContainer.swift /host/spi-builder-workspace/Sources/SmokeDynamoDB/InternalSingleValueEncodingContainer.swift /host/spi-builder-workspace/Sources/SmokeDynamoDB/InternalUnkeyedDecodingContainer.swift /host/spi-builder-workspace/Sources/SmokeDynamoDB/InternalUnkeyedEncodingContainer.swift /host/spi-builder-workspace/Sources/SmokeDynamoDB/PolymorphicOperationReturnType.swift /host/spi-builder-workspace/Sources/SmokeDynamoDB/PolymorphicWriteEntry.swift /host/spi-builder-workspace/Sources/SmokeDynamoDB/QueryInput+forSortKeyCondition.swift /host/spi-builder-workspace/Sources/SmokeDynamoDB/RowWithIndex.swift /host/spi-builder-workspace/Sources/SmokeDynamoDB/RowWithItemVersion.swift /host/spi-builder-workspace/Sources/SmokeDynamoDB/RowWithItemVersionProtocol.swift /host/spi-builder-workspace/Sources/SmokeDynamoDB/SimulateConcurrencyDynamoDBCompositePrimaryKeyTable.swift /host/spi-builder-workspace/Sources/SmokeDynamoDB/String+DynamoDBKey.swift /host/spi-builder-workspace/Sources/SmokeDynamoDB/TimeToLive.swift /host/spi-builder-workspace/Sources/SmokeDynamoDB/TypedDatabaseItemWithTimeToLive+RowWithItemVersionProtocol.swift /host/spi-builder-workspace/Sources/SmokeDynamoDB/TypedDatabaseItemWithTimeToLive.swift /host/spi-builder-workspace/Sources/SmokeDynamoDB/_DynamoDBClient/_AWSDynamoDBClient.swift /host/spi-builder-workspace/Sources/SmokeDynamoDB/_DynamoDBClient/_AWSDynamoDBClientGenerator.swift /host/spi-builder-workspace/Sources/SmokeDynamoDB/_DynamoDBClient/_DynamoDBClientProtocol.swift -supplementary-output-file-map /tmp/TemporaryDirectory.aQTM5Q/supplementaryOutputs-4 -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Modules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format=dwarf -dwarf-version=4 -module-cache-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -empty-abi-descriptor -enable-anonymous-context-mangled-names -file-compilation-dir /host/spi-builder-workspace -Xcc -fmodule-map-file=/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSLShims/include/module.modulemap -Xcc -I -Xcc /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSLShims/include -Xcc -fmodule-map-file=/host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/include/module.modulemap -Xcc -I -Xcc /host/spi-builder-workspace/.build/checkouts/swift-crypto/Sources/CCryptoBoringSSL/include -Xcc -fmodule-map-file=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CNIOLLHTTP.build/module.modulemap -Xcc -I -Xcc /host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOLLHTTP/include -Xcc -fmodule-map-file=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CNIOAtomics.build/module.modulemap -Xcc -I -Xcc /host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOAtomics/include -Xcc -fmodule-map-file=/host/spi-builder-workspace/.build/checkouts/swift-atomics/Sources/_AtomicsShims/include/module.modulemap -Xcc -I -Xcc /host/spi-builder-workspace/.build/checkouts/swift-atomics/Sources/_AtomicsShims/include -Xcc -fmodule-map-file=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CNIOWASI.build/module.modulemap -Xcc -I -Xcc /host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOWASI/include -Xcc -fmodule-map-file=/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOWindows/include/module.modulemap -Xcc -I -Xcc /host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOWindows/include -Xcc -fmodule-map-file=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CNIOLinux.build/module.modulemap -Xcc -I -Xcc /host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOLinux/include -Xcc -fmodule-map-file=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CNIODarwin.build/module.modulemap -Xcc -I -Xcc /host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIODarwin/include -Xcc -fmodule-map-file=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CNIOPosix.build/module.modulemap -Xcc -I -Xcc /host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOPosix/include -Xcc -fmodule-map-file=/host/spi-builder-workspace/.build/checkouts/swift-numerics/Sources/_NumericsShims/include/module.modulemap -Xcc -I -Xcc /host/spi-builder-workspace/.build/checkouts/swift-numerics/Sources/_NumericsShims/include -Xcc -fmodule-map-file=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CNIOExtrasZlib.build/module.modulemap -Xcc -I -Xcc /host/spi-builder-workspace/.build/checkouts/swift-nio-extras/Sources/CNIOExtrasZlib/include -Xcc -fmodule-map-file=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CAsyncHTTPClient.build/module.modulemap -Xcc -I -Xcc /host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/CAsyncHTTPClient/include -Xcc -fmodule-map-file=/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/CNIOBoringSSLShims.build/module.modulemap -Xcc -I -Xcc /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSLShims/include -Xcc -fmodule-map-file=/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include/module.modulemap -Xcc -I -Xcc /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/include -Xcc -g -Xcc -fno-omit-frame-pointer -no-auto-bridging-header-chaining -module-name SmokeDynamoDB -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/SmokeDynamoDB.build/DynamoDBCompositePrimaryKeyTableHistoricalItemExtensions.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/SmokeDynamoDB.build/DynamoDBCompositePrimaryKeysProjection.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/SmokeDynamoDB.build/DynamoDBDecoder.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/SmokeDynamoDB.build/DynamoDBEncoder.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/SmokeDynamoDB.build/InMemoryDynamoDBCompositePrimaryKeyTable.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/SmokeDynamoDB.build/InMemoryDynamoDBCompositePrimaryKeyTableStore+execute.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/SmokeDynamoDB.build/InMemoryDynamoDBCompositePrimaryKeyTableStore+monomorphicQuery.swift.o -index-store-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/index/store -index-system-modules
1. Swift version 6.2-dev (LLVM 0d47fa0a0fd41fb, Swift 536aa932a9e0ea3)
2. Compiling with effective version 5.10
3. Running pass "coro-cond(coro-early,cgscc(coro-split),coro-cleanup,globaldce)" on module "/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/SmokeDynamoDB.build/DynamoDBCompositePrimaryKeyTableHistoricalItemExtensions.swift.o"
4. Running pass "cgscc(coro-split)" on module "/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/SmokeDynamoDB.build/DynamoDBCompositePrimaryKeyTableHistoricalItemExtensions.swift.o"
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0 swift-frontend 0x00005616703ba918
1 swift-frontend 0x00005616703b843e
2 swift-frontend 0x00005616703bafb1
3 libc.so.6 0x00007f25a68ce520
4 swift-frontend 0x000056166fa6bc71
5 swift-frontend 0x000056166f97e738
6 swift-frontend 0x000056166f97a8ec
7 swift-frontend 0x000056166f9780ed
8 swift-frontend 0x000056166c48dcbb
9 swift-frontend 0x000056166c3ee29d
10 swift-frontend 0x000056166f9729ff
11 swift-frontend 0x000056166c3e2a8d
12 swift-frontend 0x000056166f9745bc
13 swift-frontend 0x000056166c3e2d1d
14 swift-frontend 0x00005616701e6b9a
15 swift-frontend 0x000056166c486be1
16 swift-frontend 0x000056166c3e282d
17 swift-frontend 0x00005616701e6b9a
18 swift-frontend 0x0000561668be5ea6
19 swift-frontend 0x0000561668be6dd8
20 swift-frontend 0x0000561668758894
21 swift-frontend 0x0000561668753c01
22 swift-frontend 0x000056166875284e
23 swift-frontend 0x000056166876442a
24 swift-frontend 0x00005616687557de
25 swift-frontend 0x0000561668754878
26 swift-frontend 0x00005616684d026b
27 libc.so.6 0x00007f25a68b5d90
28 libc.so.6 0x00007f25a68b5e40 __libc_start_main + 128
29 swift-frontend 0x00005616684cf265
*** Signal 11: Backtracing from 0x7f25a69229fc... done ***
*** Program crashed: Bad pointer dereference at 0x000000000000196e ***
Platform: x86_64 Linux (Ubuntu 22.04.5 LTS)
Thread 0 "swift-frontend" crashed:
0 0x00007f25a69229fc <unknown> in libc.so.6
...
Registers:
rax 0x0000000000000000 0
rdx 0x00007f25a676af80 80 af 76 a6 25 7f 00 00 80 b9 76 a6 25 7f 00 00 ·¯v¦%····¹v¦%···
rcx 0x00007f25a69229fc 41 89 c5 41 f7 dd 3d 00 f0 ff ff b8 00 00 00 00 A·ÅA÷Ý=·ðÿÿ¸····
rbx 0x000000000000000b 11
rsi 0x000000000000196e 6510
rdi 0x000000000000196e 6510
rbp 0x000000000000196e 6510
rsp 0x000056167595f660 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ················
r8 0x0000000000000000 0
r9 0x000056167595f430 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ················
r10 0x00007f25a689b108 be 01 00 00 12 00 0f 00 60 24 04 00 00 00 00 00 ¾·······`$······
r11 0x0000000000000246 582
r12 0x000000000000000b 11
r13 0x0000000000000016 22
r14 0x0000000000000000 0
r15 0x000056167595f738 11 08 00 00 00 00 00 00 09 c6 27 01 00 00 00 00 ·········Æ'·····
rip 0x00007f25a69229fc 41 89 c5 41 f7 dd 3d 00 f0 ff ff b8 00 00 00 00 A·ÅA÷Ý=·ðÿÿ¸····
rflags 0x0000000000000246 ZF PF
cs 0x0033 fs 0x0000 gs 0x0000
Images (47 omitted):
0x00007f25a688c000–0x00007f25a6a48341 d5197096f709801829b118af1b7cf6631efa2dcd libc.so.6 /usr/lib/x86_64-linux-gnu/libc.so.6
Backtrace took 0.04s
BUILD FAILURE 6.2 linux