Build Information
Successful build of smoke-dynamodb, reference smoke-dynamodb-3.x (7fc5c6), with Swift 6.1 for Linux on 13 Aug 2025 02:43:47 UTC.
Swift 6 data race errors: 16
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1Build Log
| `- note: enum 'BatchStatementErrorCodeEnum' does not conform to the 'Sendable' protocol
185 | case accessdenied = "AccessDenied"
186 | case conditionalcheckfailed = "ConditionalCheckFailed"
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+updateItems.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'DynamoDBModel'
18 | import Foundation
19 | import SmokeAWSCore
20 | import DynamoDBModel
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'DynamoDBModel'
21 | import SmokeHTTPClient
22 | import Logging
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+updateItems.swift:271:21: warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>' in a '@Sendable' closure
269 | // if there are errors
270 | if !errorSet.isEmpty {
271 | self.logger.error("Received BatchStatmentErrors from dynamodb are \(errorSet)")
| `- warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>' in a '@Sendable' closure
272 | }
273 | return errorCodeSet
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable.swift:38:14: note: generic class 'AWSDynamoDBCompositePrimaryKeyTable' does not conform to the 'Sendable' protocol
36 | }
37 |
38 | public class AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType: HTTPClientCoreInvocationReporting>: DynamoDBCompositePrimaryKeyTable {
| `- note: generic class 'AWSDynamoDBCompositePrimaryKeyTable' does not conform to the 'Sendable' protocol
39 | internal let dynamodb: _AWSDynamoDBClient<InvocationReportingType>
40 | internal let targetTableName: String
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+updateItems.swift:292:32: warning: type 'BatchStatementErrorCodeEnum' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
290 | }
291 |
292 | return EventLoopFuture.whenAllComplete(futures, on: self.eventLoop).flatMapThrowing { results in
| `- warning: type 'BatchStatementErrorCodeEnum' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
293 | var errors: Set<BatchStatementErrorCodeEnum> = Set()
294 | try results.forEach { result in
/host/spi-builder-workspace/.build/checkouts/smoke-aws/Sources/DynamoDBModel/DynamoDBModelTypes.swift:184:13: note: enum 'BatchStatementErrorCodeEnum' does not conform to the 'Sendable' protocol
182 | Enumeration restricting the values of the BatchStatementErrorCodeEnum field.
183 | */
184 | public enum BatchStatementErrorCodeEnum: String, Codable, CustomStringConvertible {
| `- note: enum 'BatchStatementErrorCodeEnum' does not conform to the 'Sendable' protocol
185 | case accessdenied = "AccessDenied"
186 | case conditionalcheckfailed = "ConditionalCheckFailed"
[1700/1707] Compiling SmokeDynamoDB AWSDynamoDBCompositePrimaryKeyTable+monomorphicGetItems.swift
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBClientConfiguration.swift:75:61: warning: reference to static property 'default' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
73 | traceContext: TraceContextType,
74 | timeoutConfiguration: HTTPClient.Configuration.Timeout = .init(),
75 | retryConfiguration: HTTPClientRetryConfiguration = .default,
| `- warning: reference to static property 'default' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
76 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
77 | reportingConfiguration: SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>
/host/spi-builder-workspace/.build/checkouts/smoke-http/Sources/SmokeHTTPClient/HTTPClientRetryConfiguration.swift:73:23: note: static property declared here
71 |
72 | /// Default try configuration with 5 retries starting at 500 ms interval.
73 | public static var `default` = HTTPClientRetryConfiguration(numRetries: 5, baseRetryInterval: 500,
| `- note: static property declared here
74 | maxRetryInterval: 10000, exponentialBackoff: 2)
75 |
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBClientConfiguration.swift:76:65: warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly
74 | timeoutConfiguration: HTTPClient.Configuration.Timeout = .init(),
75 | retryConfiguration: HTTPClientRetryConfiguration = .default,
76 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
| |- warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly
| `- note: use 'singleton' instead
77 | reportingConfiguration: SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>
78 | = SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>(),
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBClientConfiguration.swift:122:61: warning: reference to static property 'default' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
120 | ignoreInvocationEventLoop: Bool = false,
121 | timeoutConfiguration: HTTPClient.Configuration.Timeout = .init(),
122 | retryConfiguration: HTTPClientRetryConfiguration = .default,
| `- warning: reference to static property 'default' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
123 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
124 | reportingConfiguration: SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>
/host/spi-builder-workspace/.build/checkouts/smoke-http/Sources/SmokeHTTPClient/HTTPClientRetryConfiguration.swift:73:23: note: static property declared here
71 |
72 | /// Default try configuration with 5 retries starting at 500 ms interval.
73 | public static var `default` = HTTPClientRetryConfiguration(numRetries: 5, baseRetryInterval: 500,
| `- note: static property declared here
74 | maxRetryInterval: 10000, exponentialBackoff: 2)
75 |
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBClientConfiguration.swift:123:65: warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly
121 | timeoutConfiguration: HTTPClient.Configuration.Timeout = .init(),
122 | retryConfiguration: HTTPClientRetryConfiguration = .default,
123 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
| |- warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly
| `- note: use 'singleton' instead
124 | reportingConfiguration: SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>
125 | = SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>(),
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+DynamoDBTableAsync.swift:169:28: warning: type 'ReturnedType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
154 |
155 | // function to return a future with the results of a query call and all future paginated calls
156 | private func partialQuery<ReturnedType: PolymorphicOperationReturnType>(
| `- note: consider making generic parameter 'ReturnedType' conform to the 'Sendable' protocol
157 | forPartitionKey partitionKey: String,
158 | sortKeyCondition: AttributeCondition?,
:
167 | consistentRead: consistentRead)
168 |
169 | return queryFuture.flatMap { paginatedItems in
| `- warning: type 'ReturnedType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
170 | // if there are more items
171 | if let lastEvaluatedKey = paginatedItems.1 {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+DynamoDBTableAsync.swift:184:25: warning: type 'ReturnedType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
154 |
155 | // function to return a future with the results of a query call and all future paginated calls
156 | private func partialQuery<ReturnedType: PolymorphicOperationReturnType>(
| `- note: consider making generic parameter 'ReturnedType' conform to the 'Sendable' protocol
157 | forPartitionKey partitionKey: String,
158 | sortKeyCondition: AttributeCondition?,
:
182 | // this is it, all results have been obtained
183 | let promise = self.eventLoop.makePromise(of: [ReturnedType].self)
184 | promise.succeed(paginatedItems.0)
| `- warning: type 'ReturnedType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
185 | return promise.futureResult
186 | }
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+DynamoDBTableAsync.swift:173:24: warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>' in a '@Sendable' closure
171 | if let lastEvaluatedKey = paginatedItems.1 {
172 | // returns a future with all the results from all later paginated calls
173 | return self.partialQuery(forPartitionKey: partitionKey,
| `- warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>' in a '@Sendable' closure
174 | sortKeyCondition: sortKeyCondition,
175 | exclusiveStartKey: lastEvaluatedKey,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable.swift:38:14: note: generic class 'AWSDynamoDBCompositePrimaryKeyTable' does not conform to the 'Sendable' protocol
36 | }
37 |
38 | public class AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType: HTTPClientCoreInvocationReporting>: DynamoDBCompositePrimaryKeyTable {
| `- note: generic class 'AWSDynamoDBCompositePrimaryKeyTable' does not conform to the 'Sendable' protocol
39 | internal let dynamodb: _AWSDynamoDBClient<InvocationReportingType>
40 | internal let targetTableName: String
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+DynamoDBTableAsync.swift:174:60: warning: capture of 'sortKeyCondition' with non-sendable type 'AttributeCondition?' in a '@Sendable' closure
172 | // returns a future with all the results from all later paginated calls
173 | return self.partialQuery(forPartitionKey: partitionKey,
174 | sortKeyCondition: sortKeyCondition,
| `- warning: capture of 'sortKeyCondition' with non-sendable type 'AttributeCondition?' in a '@Sendable' closure
175 | exclusiveStartKey: lastEvaluatedKey,
176 | consistentRead: consistentRead)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable.swift:72:13: note: consider making enum 'AttributeCondition' conform to the 'Sendable' protocol
70 | Enumeration of the types of conditions that can be specified for an attribute.
71 | */
72 | public enum AttributeCondition {
| `- note: consider making enum 'AttributeCondition' conform to the 'Sendable' protocol
73 | case equals(String)
74 | case lessThan(String)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+DynamoDBTableAsync.swift:179:32: warning: capture of 'paginatedItems' with non-sendable type '([ReturnedType], String?)' in a '@Sendable' closure
154 |
155 | // function to return a future with the results of a query call and all future paginated calls
156 | private func partialQuery<ReturnedType: PolymorphicOperationReturnType>(
| `- note: consider making generic parameter 'ReturnedType' conform to the 'Sendable' protocol
157 | forPartitionKey partitionKey: String,
158 | sortKeyCondition: AttributeCondition?,
:
177 | .map { partialResult in
178 | // return the results from 'this' call and all later paginated calls
179 | return paginatedItems.0 + partialResult
| `- warning: capture of 'paginatedItems' with non-sendable type '([ReturnedType], String?)' in a '@Sendable' closure
180 | }
181 | } else {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+DynamoDBTableAsync.swift:245:17: warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>' in a '@Sendable' closure
243 | let items: [ReturnedType]
244 |
245 | self.logger.trace("Starting to construct \(outputAttributeValues.count) of type \(ReturnedType.self).")
| `- warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>' in a '@Sendable' closure
246 |
247 | do {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable.swift:38:14: note: generic class 'AWSDynamoDBCompositePrimaryKeyTable' does not conform to the 'Sendable' protocol
36 | }
37 |
38 | public class AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType: HTTPClientCoreInvocationReporting>: DynamoDBCompositePrimaryKeyTable {
| `- note: generic class 'AWSDynamoDBCompositePrimaryKeyTable' does not conform to the 'Sendable' protocol
39 | internal let dynamodb: _AWSDynamoDBClient<InvocationReportingType>
40 | internal let targetTableName: String
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+DynamoDBTableAsync.swift:284:79: warning: capture of 'compositePrimaryKey' with non-sendable type 'CompositePrimaryKey<AttributesType>' in a '@Sendable' closure
282 | switch error {
283 | case DynamoDBError.conditionalCheckFailed(let errorPayload):
284 | throw SmokeDynamoDBError.conditionalCheckFailed(partitionKey: compositePrimaryKey.partitionKey,
| `- warning: capture of 'compositePrimaryKey' with non-sendable type 'CompositePrimaryKey<AttributesType>' in a '@Sendable' closure
285 | sortKey: compositePrimaryKey.sortKey,
286 | message: errorPayload.message)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/CompositePrimaryKey.swift:59:15: note: consider making generic struct 'CompositePrimaryKey' conform to the 'Sendable' protocol
57 | }
58 |
59 | public struct CompositePrimaryKey<AttributesType: PrimaryKeyAttributes>: Codable, CustomStringConvertible, Hashable {
| `- note: consider making generic struct 'CompositePrimaryKey' conform to the 'Sendable' protocol
60 | public var description: String {
61 | return "CompositePrimaryKey(partitionKey: \(partitionKey), sortKey: \(sortKey))"
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+DynamoDBTableAsync.swift:288:17: warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>' in a '@Sendable' closure
286 | message: errorPayload.message)
287 | default:
288 | self.logger.warning("Error from AWSDynamoDBTable: \(error)")
| `- warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>' in a '@Sendable' closure
289 |
290 | throw SmokeDynamoDBError.unexpectedError(cause: error)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable.swift:38:14: note: generic class 'AWSDynamoDBCompositePrimaryKeyTable' does not conform to the 'Sendable' protocol
36 | }
37 |
38 | public class AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType: HTTPClientCoreInvocationReporting>: DynamoDBCompositePrimaryKeyTable {
| `- note: generic class 'AWSDynamoDBCompositePrimaryKeyTable' does not conform to the 'Sendable' protocol
39 | internal let dynamodb: _AWSDynamoDBClient<InvocationReportingType>
40 | internal let targetTableName: String
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+DynamoDBTableAsync.swift:321:28: warning: type 'TypedDatabaseItem<AttributesType, ItemType>' (aka 'TypedDatabaseItemWithTimeToLive<AttributesType, ItemType, StandardTimeToLiveAttributes>') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
319 | consistentRead: consistentRead)
320 |
321 | return queryFuture.flatMap { paginatedItems in
| `- warning: type 'TypedDatabaseItem<AttributesType, ItemType>' (aka 'TypedDatabaseItemWithTimeToLive<AttributesType, ItemType, StandardTimeToLiveAttributes>') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
322 | // if there are more items
323 | if let lastEvaluatedKey = paginatedItems.1 {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/TypedDatabaseItemWithTimeToLive.swift:59:15: note: consider making generic struct 'TypedDatabaseItemWithTimeToLive' conform to the 'Sendable' protocol
57 | public typealias TypedDatabaseItem<AttributesType: PrimaryKeyAttributes, RowType: Codable> = TypedDatabaseItemWithTimeToLive<AttributesType, RowType, StandardTimeToLiveAttributes>
58 |
59 | public struct TypedDatabaseItemWithTimeToLive<AttributesType: PrimaryKeyAttributes,
| `- note: consider making generic struct 'TypedDatabaseItemWithTimeToLive' conform to the 'Sendable' protocol
60 | RowType: Codable,
61 | TimeToLiveAttributesType: TimeToLiveAttributes>: DatabaseItem, Codable {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+DynamoDBTableAsync.swift:336:25: warning: type 'TypedDatabaseItem<AttributesType, ItemType>' (aka 'TypedDatabaseItemWithTimeToLive<AttributesType, ItemType, StandardTimeToLiveAttributes>') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
334 | // this is it, all results have been obtained
335 | let promise = self.eventLoop.makePromise(of: [TypedDatabaseItem<AttributesType, ItemType>].self)
336 | promise.succeed(paginatedItems.0)
| `- warning: type 'TypedDatabaseItem<AttributesType, ItemType>' (aka 'TypedDatabaseItemWithTimeToLive<AttributesType, ItemType, StandardTimeToLiveAttributes>') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
337 | return promise.futureResult
338 | }
/host/spi-builder-workspace/Sources/SmokeDynamoDB/TypedDatabaseItemWithTimeToLive.swift:59:15: note: consider making generic struct 'TypedDatabaseItemWithTimeToLive' conform to the 'Sendable' protocol
57 | public typealias TypedDatabaseItem<AttributesType: PrimaryKeyAttributes, RowType: Codable> = TypedDatabaseItemWithTimeToLive<AttributesType, RowType, StandardTimeToLiveAttributes>
58 |
59 | public struct TypedDatabaseItemWithTimeToLive<AttributesType: PrimaryKeyAttributes,
| `- note: consider making generic struct 'TypedDatabaseItemWithTimeToLive' conform to the 'Sendable' protocol
60 | RowType: Codable,
61 | TimeToLiveAttributesType: TimeToLiveAttributes>: DatabaseItem, Codable {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+DynamoDBTableAsync.swift:325:24: warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>' in a '@Sendable' closure
323 | if let lastEvaluatedKey = paginatedItems.1 {
324 | // returns a future with all the results from all later paginated calls
325 | return self.monomorphicPartialQuery(forPartitionKey: partitionKey,
| `- warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>' in a '@Sendable' closure
326 | sortKeyCondition: sortKeyCondition,
327 | exclusiveStartKey: lastEvaluatedKey,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable.swift:38:14: note: generic class 'AWSDynamoDBCompositePrimaryKeyTable' does not conform to the 'Sendable' protocol
36 | }
37 |
38 | public class AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType: HTTPClientCoreInvocationReporting>: DynamoDBCompositePrimaryKeyTable {
| `- note: generic class 'AWSDynamoDBCompositePrimaryKeyTable' does not conform to the 'Sendable' protocol
39 | internal let dynamodb: _AWSDynamoDBClient<InvocationReportingType>
40 | internal let targetTableName: String
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+DynamoDBTableAsync.swift:326:71: warning: capture of 'sortKeyCondition' with non-sendable type 'AttributeCondition?' in a '@Sendable' closure
324 | // returns a future with all the results from all later paginated calls
325 | return self.monomorphicPartialQuery(forPartitionKey: partitionKey,
326 | sortKeyCondition: sortKeyCondition,
| `- warning: capture of 'sortKeyCondition' with non-sendable type 'AttributeCondition?' in a '@Sendable' closure
327 | exclusiveStartKey: lastEvaluatedKey,
328 | consistentRead: consistentRead)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable.swift:72:13: note: consider making enum 'AttributeCondition' conform to the 'Sendable' protocol
70 | Enumeration of the types of conditions that can be specified for an attribute.
71 | */
72 | public enum AttributeCondition {
| `- note: consider making enum 'AttributeCondition' conform to the 'Sendable' protocol
73 | case equals(String)
74 | case lessThan(String)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+DynamoDBTableAsync.swift:331:32: warning: capture of 'paginatedItems' with non-sendable type '([TypedDatabaseItem<AttributesType, ItemType>], String?)' (aka '(Array<TypedDatabaseItemWithTimeToLive<AttributesType, ItemType, StandardTimeToLiveAttributes>>, Optional<String>)') in a '@Sendable' closure
329 | .map { partialResult in
330 | // return the results from 'this' call and all later paginated calls
331 | return paginatedItems.0 + partialResult
| `- warning: capture of 'paginatedItems' with non-sendable type '([TypedDatabaseItem<AttributesType, ItemType>], String?)' (aka '(Array<TypedDatabaseItemWithTimeToLive<AttributesType, ItemType, StandardTimeToLiveAttributes>>, Optional<String>)') in a '@Sendable' closure
332 | }
333 | } else {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/TypedDatabaseItemWithTimeToLive.swift:59:15: note: consider making generic struct 'TypedDatabaseItemWithTimeToLive' conform to the 'Sendable' protocol
57 | public typealias TypedDatabaseItem<AttributesType: PrimaryKeyAttributes, RowType: Codable> = TypedDatabaseItemWithTimeToLive<AttributesType, RowType, StandardTimeToLiveAttributes>
58 |
59 | public struct TypedDatabaseItemWithTimeToLive<AttributesType: PrimaryKeyAttributes,
| `- note: consider making generic struct 'TypedDatabaseItemWithTimeToLive' conform to the 'Sendable' protocol
60 | RowType: Codable,
61 | TimeToLiveAttributesType: TimeToLiveAttributes>: DatabaseItem, Codable {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+deleteItems.swift:57:17: warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>' in a '@Sendable' closure
55 |
56 | return dynamodb.batchExecuteStatement(input: executeInput).flatMapThrowing { response in
57 | try self.throwOnBatchExecuteStatementErrors(response: response)
| `- warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>' in a '@Sendable' closure
58 | }
59 | }
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable.swift:38:14: note: generic class 'AWSDynamoDBCompositePrimaryKeyTable' does not conform to the 'Sendable' protocol
36 | }
37 |
38 | public class AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType: HTTPClientCoreInvocationReporting>: DynamoDBCompositePrimaryKeyTable {
| `- note: generic class 'AWSDynamoDBCompositePrimaryKeyTable' does not conform to the 'Sendable' protocol
39 | internal let dynamodb: _AWSDynamoDBClient<InvocationReportingType>
40 | internal let targetTableName: String
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+deleteItems.swift:88:17: warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>' in a '@Sendable' closure
86 |
87 | return dynamodb.batchExecuteStatement(input: executeInput).flatMapThrowing { response in
88 | try self.throwOnBatchExecuteStatementErrors(response: response)
| `- warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>' in a '@Sendable' closure
89 | }
90 | }
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable.swift:38:14: note: generic class 'AWSDynamoDBCompositePrimaryKeyTable' does not conform to the 'Sendable' protocol
36 | }
37 |
38 | public class AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType: HTTPClientCoreInvocationReporting>: DynamoDBCompositePrimaryKeyTable {
| `- note: generic class 'AWSDynamoDBCompositePrimaryKeyTable' does not conform to the 'Sendable' protocol
39 | internal let dynamodb: _AWSDynamoDBClient<InvocationReportingType>
40 | internal let targetTableName: String
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+execute.swift:39:21: warning: type 'ReturnedType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
28 | /// DynamoDBTable conformance execute function
29 | public extension AWSDynamoDBCompositePrimaryKeyTable {
30 | func execute<ReturnedType: PolymorphicOperationReturnType>(
| `- note: consider making generic parameter 'ReturnedType' conform to the 'Sendable' protocol
31 | partitionKeys: [String],
32 | attributesFilter: [String]?,
:
37 | guard partitionKeys.count > 0 else {
38 | let promise = self.eventLoop.makePromise(of: ([ReturnedType], String?).self)
39 | promise.succeed(([], nil))
| `- warning: type 'ReturnedType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
40 | return promise.futureResult
41 | }
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+execute.swift:103:32: warning: type 'ReturnedType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
87 | }
88 |
89 | func execute<ReturnedType: PolymorphicOperationReturnType>(
| `- note: consider making generic parameter 'ReturnedType' conform to the 'Sendable' protocol
90 | partitionKeys: [String],
91 | attributesFilter: [String]?,
:
101 | }
102 |
103 | return EventLoopFuture.whenAllSucceed(futures, on: self.eventLoop).map { itemLists in
| `- warning: type 'ReturnedType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
104 | itemLists.flatMap { $0 }
105 | }
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+execute.swift:117:21: warning: type 'TypedDatabaseItem<AttributesType, ItemType>' (aka 'TypedDatabaseItemWithTimeToLive<AttributesType, ItemType, StandardTimeToLiveAttributes>') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
115 | guard partitionKeys.count > 0 else {
116 | let promise = self.eventLoop.makePromise(of: ([TypedDatabaseItem<AttributesType, ItemType>], String?).self)
117 | promise.succeed(([], nil))
| `- warning: type 'TypedDatabaseItem<AttributesType, ItemType>' (aka 'TypedDatabaseItemWithTimeToLive<AttributesType, ItemType, StandardTimeToLiveAttributes>') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
118 | return promise.futureResult
119 | }
/host/spi-builder-workspace/Sources/SmokeDynamoDB/TypedDatabaseItemWithTimeToLive.swift:59:15: note: consider making generic struct 'TypedDatabaseItemWithTimeToLive' conform to the 'Sendable' protocol
57 | public typealias TypedDatabaseItem<AttributesType: PrimaryKeyAttributes, RowType: Codable> = TypedDatabaseItemWithTimeToLive<AttributesType, RowType, StandardTimeToLiveAttributes>
58 |
59 | public struct TypedDatabaseItemWithTimeToLive<AttributesType: PrimaryKeyAttributes,
| `- note: consider making generic struct 'TypedDatabaseItemWithTimeToLive' conform to the 'Sendable' protocol
60 | RowType: Codable,
61 | TimeToLiveAttributesType: TimeToLiveAttributes>: DatabaseItem, Codable {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+execute.swift:179:32: warning: type 'TypedDatabaseItem<AttributesType, ItemType>' (aka 'TypedDatabaseItemWithTimeToLive<AttributesType, ItemType, StandardTimeToLiveAttributes>') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
177 | }
178 |
179 | return EventLoopFuture.whenAllSucceed(futures, on: self.eventLoop).map { itemLists in
| `- warning: type 'TypedDatabaseItem<AttributesType, ItemType>' (aka 'TypedDatabaseItemWithTimeToLive<AttributesType, ItemType, StandardTimeToLiveAttributes>') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
180 | itemLists.flatMap { $0 }
181 | }
/host/spi-builder-workspace/Sources/SmokeDynamoDB/TypedDatabaseItemWithTimeToLive.swift:59:15: note: consider making generic struct 'TypedDatabaseItemWithTimeToLive' conform to the 'Sendable' protocol
57 | public typealias TypedDatabaseItem<AttributesType: PrimaryKeyAttributes, RowType: Codable> = TypedDatabaseItemWithTimeToLive<AttributesType, RowType, StandardTimeToLiveAttributes>
58 |
59 | public struct TypedDatabaseItemWithTimeToLive<AttributesType: PrimaryKeyAttributes,
| `- note: consider making generic struct 'TypedDatabaseItemWithTimeToLive' conform to the 'Sendable' protocol
60 | RowType: Codable,
61 | TimeToLiveAttributesType: TimeToLiveAttributes>: DatabaseItem, Codable {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+execute.swift:196:30: warning: type 'ReturnedType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
183 |
184 | // function to return a future with the results of an execute call and all future paginated calls
185 | private func partialExecute<ReturnedType: PolymorphicOperationReturnType>(
| `- note: consider making generic parameter 'ReturnedType' conform to the 'Sendable' protocol
186 | partitionKeys: [String],
187 | attributesFilter: [String]?,
:
194 | nextToken: nextToken)
195 |
196 | return executeFuture.flatMap { paginatedItems in
| `- warning: type 'ReturnedType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
197 | // if there are more items
198 | if let returnedNextToken = paginatedItems.1 {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+execute.swift:211:25: warning: type 'ReturnedType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
183 |
184 | // function to return a future with the results of an execute call and all future paginated calls
185 | private func partialExecute<ReturnedType: PolymorphicOperationReturnType>(
| `- note: consider making generic parameter 'ReturnedType' conform to the 'Sendable' protocol
186 | partitionKeys: [String],
187 | attributesFilter: [String]?,
:
209 | // this is it, all results have been obtained
210 | let promise = self.eventLoop.makePromise(of: [ReturnedType].self)
211 | promise.succeed(paginatedItems.0)
| `- warning: type 'ReturnedType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
212 | return promise.futureResult
213 | }
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+execute.swift:200:24: warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>' in a '@Sendable' closure
198 | if let returnedNextToken = paginatedItems.1 {
199 | // returns a future with all the results from all later paginated calls
200 | return self.partialExecute(partitionKeys: partitionKeys,
| `- warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>' in a '@Sendable' closure
201 | attributesFilter: attributesFilter,
202 | additionalWhereClause: additionalWhereClause,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable.swift:38:14: note: generic class 'AWSDynamoDBCompositePrimaryKeyTable' does not conform to the 'Sendable' protocol
36 | }
37 |
38 | public class AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType: HTTPClientCoreInvocationReporting>: DynamoDBCompositePrimaryKeyTable {
| `- note: generic class 'AWSDynamoDBCompositePrimaryKeyTable' does not conform to the 'Sendable' protocol
39 | internal let dynamodb: _AWSDynamoDBClient<InvocationReportingType>
40 | internal let targetTableName: String
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+execute.swift:206:32: warning: capture of 'paginatedItems' with non-sendable type '([ReturnedType], String?)' in a '@Sendable' closure
183 |
184 | // function to return a future with the results of an execute call and all future paginated calls
185 | private func partialExecute<ReturnedType: PolymorphicOperationReturnType>(
| `- note: consider making generic parameter 'ReturnedType' conform to the 'Sendable' protocol
186 | partitionKeys: [String],
187 | attributesFilter: [String]?,
:
204 | .map { partialResult in
205 | // return the results from 'this' call and all later paginated calls
206 | return paginatedItems.0 + partialResult
| `- warning: capture of 'paginatedItems' with non-sendable type '([ReturnedType], String?)' in a '@Sendable' closure
207 | }
208 | } else {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+execute.swift:228:30: warning: type 'TypedDatabaseItem<AttributesType, ItemType>' (aka 'TypedDatabaseItemWithTimeToLive<AttributesType, ItemType, StandardTimeToLiveAttributes>') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
226 | nextToken: nextToken)
227 |
228 | return executeFuture.flatMap { paginatedItems in
| `- warning: type 'TypedDatabaseItem<AttributesType, ItemType>' (aka 'TypedDatabaseItemWithTimeToLive<AttributesType, ItemType, StandardTimeToLiveAttributes>') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
229 | // if there are more items
230 | if let returnedNextToken = paginatedItems.1 {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/TypedDatabaseItemWithTimeToLive.swift:59:15: note: consider making generic struct 'TypedDatabaseItemWithTimeToLive' conform to the 'Sendable' protocol
57 | public typealias TypedDatabaseItem<AttributesType: PrimaryKeyAttributes, RowType: Codable> = TypedDatabaseItemWithTimeToLive<AttributesType, RowType, StandardTimeToLiveAttributes>
58 |
59 | public struct TypedDatabaseItemWithTimeToLive<AttributesType: PrimaryKeyAttributes,
| `- note: consider making generic struct 'TypedDatabaseItemWithTimeToLive' conform to the 'Sendable' protocol
60 | RowType: Codable,
61 | TimeToLiveAttributesType: TimeToLiveAttributes>: DatabaseItem, Codable {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+execute.swift:243:25: warning: type 'TypedDatabaseItem<AttributesType, ItemType>' (aka 'TypedDatabaseItemWithTimeToLive<AttributesType, ItemType, StandardTimeToLiveAttributes>') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
241 | // this is it, all results have been obtained
242 | let promise = self.eventLoop.makePromise(of: [TypedDatabaseItem<AttributesType, ItemType>].self)
243 | promise.succeed(paginatedItems.0)
| `- warning: type 'TypedDatabaseItem<AttributesType, ItemType>' (aka 'TypedDatabaseItemWithTimeToLive<AttributesType, ItemType, StandardTimeToLiveAttributes>') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
244 | return promise.futureResult
245 | }
/host/spi-builder-workspace/Sources/SmokeDynamoDB/TypedDatabaseItemWithTimeToLive.swift:59:15: note: consider making generic struct 'TypedDatabaseItemWithTimeToLive' conform to the 'Sendable' protocol
57 | public typealias TypedDatabaseItem<AttributesType: PrimaryKeyAttributes, RowType: Codable> = TypedDatabaseItemWithTimeToLive<AttributesType, RowType, StandardTimeToLiveAttributes>
58 |
59 | public struct TypedDatabaseItemWithTimeToLive<AttributesType: PrimaryKeyAttributes,
| `- note: consider making generic struct 'TypedDatabaseItemWithTimeToLive' conform to the 'Sendable' protocol
60 | RowType: Codable,
61 | TimeToLiveAttributesType: TimeToLiveAttributes>: DatabaseItem, Codable {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+execute.swift:232:24: warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>' in a '@Sendable' closure
230 | if let returnedNextToken = paginatedItems.1 {
231 | // returns a future with all the results from all later paginated calls
232 | return self.monomorphicPartialExecute(partitionKeys: partitionKeys,
| `- warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>' in a '@Sendable' closure
233 | attributesFilter: attributesFilter,
234 | additionalWhereClause: additionalWhereClause,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable.swift:38:14: note: generic class 'AWSDynamoDBCompositePrimaryKeyTable' does not conform to the 'Sendable' protocol
36 | }
37 |
38 | public class AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType: HTTPClientCoreInvocationReporting>: DynamoDBCompositePrimaryKeyTable {
| `- note: generic class 'AWSDynamoDBCompositePrimaryKeyTable' does not conform to the 'Sendable' protocol
39 | internal let dynamodb: _AWSDynamoDBClient<InvocationReportingType>
40 | internal let targetTableName: String
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+execute.swift:238:32: warning: capture of 'paginatedItems' with non-sendable type '([TypedDatabaseItem<AttributesType, ItemType>], String?)' (aka '(Array<TypedDatabaseItemWithTimeToLive<AttributesType, ItemType, StandardTimeToLiveAttributes>>, Optional<String>)') in a '@Sendable' closure
236 | .map { partialResult in
237 | // return the results from 'this' call and all later paginated calls
238 | return paginatedItems.0 + partialResult
| `- warning: capture of 'paginatedItems' with non-sendable type '([TypedDatabaseItem<AttributesType, ItemType>], String?)' (aka '(Array<TypedDatabaseItemWithTimeToLive<AttributesType, ItemType, StandardTimeToLiveAttributes>>, Optional<String>)') in a '@Sendable' closure
239 | }
240 | } else {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/TypedDatabaseItemWithTimeToLive.swift:59:15: note: consider making generic struct 'TypedDatabaseItemWithTimeToLive' conform to the 'Sendable' protocol
57 | public typealias TypedDatabaseItem<AttributesType: PrimaryKeyAttributes, RowType: Codable> = TypedDatabaseItemWithTimeToLive<AttributesType, RowType, StandardTimeToLiveAttributes>
58 |
59 | public struct TypedDatabaseItemWithTimeToLive<AttributesType: PrimaryKeyAttributes,
| `- note: consider making generic struct 'TypedDatabaseItemWithTimeToLive' conform to the 'Sendable' protocol
60 | RowType: Codable,
61 | TimeToLiveAttributesType: TimeToLiveAttributes>: DatabaseItem, Codable {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+getItems.swift:62:66: warning: type 'CompositePrimaryKey<ReturnedType.AttributesType>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
60 | func batchGetItem() -> EventLoopFuture<OutputType> {
61 | // submit the asynchronous request
62 | return self.dynamodb.batchGetItem(input: self.input).flatMap { output -> EventLoopFuture<OutputType> in
| `- warning: type 'CompositePrimaryKey<ReturnedType.AttributesType>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
63 | let errors = output.responses?.flatMap({ (tableName, itemList) -> [Error] in
64 | return itemList.compactMap { values -> Error? in
/host/spi-builder-workspace/Sources/SmokeDynamoDB/CompositePrimaryKey.swift:59:15: note: consider making generic struct 'CompositePrimaryKey' conform to the 'Sendable' protocol
57 | }
58 |
59 | public struct CompositePrimaryKey<AttributesType: PrimaryKeyAttributes>: Codable, CustomStringConvertible, Hashable {
| `- note: consider making generic struct 'CompositePrimaryKey' conform to the 'Sendable' protocol
60 | public var description: String {
61 | return "CompositePrimaryKey(partitionKey: \(partitionKey), sortKey: \(sortKey))"
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+getItems.swift:62:66: warning: type 'ReturnedType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
37 | the same retry configuration as the underlying DynamoDB client.
38 | */
39 | private class GetItemsRetriable<ReturnedType: PolymorphicOperationReturnType & BatchCapableReturnType> {
| `- note: consider making generic parameter 'ReturnedType' conform to the 'Sendable' protocol
40 | typealias OutputType = [CompositePrimaryKey<ReturnedType.AttributesType>: ReturnedType]
41 |
:
60 | func batchGetItem() -> EventLoopFuture<OutputType> {
61 | // submit the asynchronous request
62 | return self.dynamodb.batchGetItem(input: self.input).flatMap { output -> EventLoopFuture<OutputType> in
| `- warning: type 'ReturnedType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
63 | let errors = output.responses?.flatMap({ (tableName, itemList) -> [Error] in
64 | return itemList.compactMap { values -> Error? in
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+getItems.swift:94:25: warning: type 'CompositePrimaryKey<ReturnedType.AttributesType>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
92 |
93 | let promise = self.eventLoop.makePromise(of: OutputType.self)
94 | promise.succeed(self.outputItems)
| `- warning: type 'CompositePrimaryKey<ReturnedType.AttributesType>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
95 | return promise.futureResult
96 | }
/host/spi-builder-workspace/Sources/SmokeDynamoDB/CompositePrimaryKey.swift:59:15: note: consider making generic struct 'CompositePrimaryKey' conform to the 'Sendable' protocol
57 | }
58 |
59 | public struct CompositePrimaryKey<AttributesType: PrimaryKeyAttributes>: Codable, CustomStringConvertible, Hashable {
| `- note: consider making generic struct 'CompositePrimaryKey' conform to the 'Sendable' protocol
60 | public var description: String {
61 | return "CompositePrimaryKey(partitionKey: \(partitionKey), sortKey: \(sortKey))"
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+getItems.swift:94:25: warning: type 'ReturnedType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
37 | the same retry configuration as the underlying DynamoDB client.
38 | */
39 | private class GetItemsRetriable<ReturnedType: PolymorphicOperationReturnType & BatchCapableReturnType> {
| `- note: consider making generic parameter 'ReturnedType' conform to the 'Sendable' protocol
40 | typealias OutputType = [CompositePrimaryKey<ReturnedType.AttributesType>: ReturnedType]
41 |
:
92 |
93 | let promise = self.eventLoop.makePromise(of: OutputType.self)
94 | promise.succeed(self.outputItems)
| `- warning: type 'ReturnedType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
95 | return promise.futureResult
96 | }
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+getItems.swift:72:29: warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>.GetItemsRetriable<ReturnedType>' in a '@Sendable' closure
37 | the same retry configuration as the underlying DynamoDB client.
38 | */
39 | private class GetItemsRetriable<ReturnedType: PolymorphicOperationReturnType & BatchCapableReturnType> {
| `- note: generic class 'GetItemsRetriable' does not conform to the 'Sendable' protocol
40 | typealias OutputType = [CompositePrimaryKey<ReturnedType.AttributesType>: ReturnedType]
41 |
:
70 | let key = decodedValue.getItemKey()
71 |
72 | self.outputItems[key] = decodedValue
| `- warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>.GetItemsRetriable<ReturnedType>' in a '@Sendable' closure
73 | return nil
74 | } catch {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+getItems.swift:72:29: warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>.GetItemsRetriable<ReturnedType>' in an isolated closure; this is an error in the Swift 6 language mode
37 | the same retry configuration as the underlying DynamoDB client.
38 | */
39 | private class GetItemsRetriable<ReturnedType: PolymorphicOperationReturnType & BatchCapableReturnType> {
| `- note: generic class 'GetItemsRetriable' does not conform to the 'Sendable' protocol
40 | typealias OutputType = [CompositePrimaryKey<ReturnedType.AttributesType>: ReturnedType]
41 |
:
70 | let key = decodedValue.getItemKey()
71 |
72 | self.outputItems[key] = decodedValue
| `- warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>.GetItemsRetriable<ReturnedType>' in an isolated closure; this is an error in the Swift 6 language mode
73 | return nil
74 | } catch {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+getItems.swift:72:29: warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>.GetItemsRetriable<ReturnedType>' in an isolated closure; this is an error in the Swift 6 language mode
37 | the same retry configuration as the underlying DynamoDB client.
38 | */
39 | private class GetItemsRetriable<ReturnedType: PolymorphicOperationReturnType & BatchCapableReturnType> {
| `- note: generic class 'GetItemsRetriable' does not conform to the 'Sendable' protocol
40 | typealias OutputType = [CompositePrimaryKey<ReturnedType.AttributesType>: ReturnedType]
41 |
:
70 | let key = decodedValue.getItemKey()
71 |
72 | self.outputItems[key] = decodedValue
| `- warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>.GetItemsRetriable<ReturnedType>' in an isolated closure; this is an error in the Swift 6 language mode
73 | return nil
74 | } catch {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+getItems.swift:121:29: warning: type 'CompositePrimaryKey<ReturnedType.AttributesType>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
119 | let nextFuture = self.batchGetItem()
120 |
121 | promise.completeWith(nextFuture)
| `- warning: type 'CompositePrimaryKey<ReturnedType.AttributesType>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
122 | }
123 |
/host/spi-builder-workspace/Sources/SmokeDynamoDB/CompositePrimaryKey.swift:59:15: note: consider making generic struct 'CompositePrimaryKey' conform to the 'Sendable' protocol
57 | }
58 |
59 | public struct CompositePrimaryKey<AttributesType: PrimaryKeyAttributes>: Codable, CustomStringConvertible, Hashable {
| `- note: consider making generic struct 'CompositePrimaryKey' conform to the 'Sendable' protocol
60 | public var description: String {
61 | return "CompositePrimaryKey(partitionKey: \(partitionKey), sortKey: \(sortKey))"
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+getItems.swift:121:29: warning: type 'ReturnedType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
37 | the same retry configuration as the underlying DynamoDB client.
38 | */
39 | private class GetItemsRetriable<ReturnedType: PolymorphicOperationReturnType & BatchCapableReturnType> {
| `- note: consider making generic parameter 'ReturnedType' conform to the 'Sendable' protocol
40 | typealias OutputType = [CompositePrimaryKey<ReturnedType.AttributesType>: ReturnedType]
41 |
:
119 | let nextFuture = self.batchGetItem()
120 |
121 | promise.completeWith(nextFuture)
| `- warning: type 'ReturnedType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
122 | }
123 |
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+getItems.swift:119:38: warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>.GetItemsRetriable<ReturnedType>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
37 | the same retry configuration as the underlying DynamoDB client.
38 | */
39 | private class GetItemsRetriable<ReturnedType: PolymorphicOperationReturnType & BatchCapableReturnType> {
| `- note: generic class 'GetItemsRetriable' does not conform to the 'Sendable' protocol
40 | typealias OutputType = [CompositePrimaryKey<ReturnedType.AttributesType>: ReturnedType]
41 |
:
117 | logger.trace("Reattempting request due to remaining retries: \(currentRetriesRemaining)")
118 |
119 | let nextFuture = self.batchGetItem()
| `- warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>.GetItemsRetriable<ReturnedType>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
120 |
121 | promise.completeWith(nextFuture)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+getItems.swift:160:32: warning: type 'CompositePrimaryKey<ReturnedType.AttributesType>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
158 | // maps is of type [[CompositePrimaryKey<ReturnedType.AttributesType>: ReturnedType]]
159 | // with each map coming from each chunk of the original key list
160 | return EventLoopFuture.whenAllSucceed(futures, on: self.eventLoop) .map { maps in
| `- warning: type 'CompositePrimaryKey<ReturnedType.AttributesType>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
161 | return maps.reduce([:]) { (partialMap, chunkMap) in
162 | // reduce the maps from the chunks into a single map
/host/spi-builder-workspace/Sources/SmokeDynamoDB/CompositePrimaryKey.swift:59:15: note: consider making generic struct 'CompositePrimaryKey' conform to the 'Sendable' protocol
57 | }
58 |
59 | public struct CompositePrimaryKey<AttributesType: PrimaryKeyAttributes>: Codable, CustomStringConvertible, Hashable {
| `- note: consider making generic struct 'CompositePrimaryKey' conform to the 'Sendable' protocol
60 | public var description: String {
61 | return "CompositePrimaryKey(partitionKey: \(partitionKey), sortKey: \(sortKey))"
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+getItems.swift:160:32: warning: type 'ReturnedType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
133 | }
134 |
135 | func getItems<ReturnedType: PolymorphicOperationReturnType & BatchCapableReturnType>(
| `- note: consider making generic parameter 'ReturnedType' conform to the 'Sendable' protocol
136 | forKeys keys: [CompositePrimaryKey<ReturnedType.AttributesType>])
137 | -> EventLoopFuture<[CompositePrimaryKey<ReturnedType.AttributesType>: ReturnedType]> {
:
158 | // maps is of type [[CompositePrimaryKey<ReturnedType.AttributesType>: ReturnedType]]
159 | // with each map coming from each chunk of the original key list
160 | return EventLoopFuture.whenAllSucceed(futures, on: self.eventLoop) .map { maps in
| `- warning: type 'ReturnedType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
161 | return maps.reduce([:]) { (partialMap, chunkMap) in
162 | // reduce the maps from the chunks into a single map
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+monomorphicGetItems.swift:62:66: warning: type 'CompositePrimaryKey<AttributesType>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
60 | func batchGetItem() -> EventLoopFuture<OutputType> {
61 | // submit the asynchronous request
62 | return self.dynamodb.batchGetItem(input: self.input).flatMap { output -> EventLoopFuture<OutputType> in
| `- warning: type 'CompositePrimaryKey<AttributesType>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
63 | let errors = output.responses?.flatMap({ (tableName, itemList) -> [Error] in
64 | return itemList.compactMap { values -> Error? in
/host/spi-builder-workspace/Sources/SmokeDynamoDB/CompositePrimaryKey.swift:59:15: note: consider making generic struct 'CompositePrimaryKey' conform to the 'Sendable' protocol
57 | }
58 |
59 | public struct CompositePrimaryKey<AttributesType: PrimaryKeyAttributes>: Codable, CustomStringConvertible, Hashable {
| `- note: consider making generic struct 'CompositePrimaryKey' conform to the 'Sendable' protocol
60 | public var description: String {
61 | return "CompositePrimaryKey(partitionKey: \(partitionKey), sortKey: \(sortKey))"
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+monomorphicGetItems.swift:62:66: warning: type 'TypedDatabaseItem<AttributesType, ItemType>' (aka 'TypedDatabaseItemWithTimeToLive<AttributesType, ItemType, StandardTimeToLiveAttributes>') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
60 | func batchGetItem() -> EventLoopFuture<OutputType> {
61 | // submit the asynchronous request
62 | return self.dynamodb.batchGetItem(input: self.input).flatMap { output -> EventLoopFuture<OutputType> in
| `- warning: type 'TypedDatabaseItem<AttributesType, ItemType>' (aka 'TypedDatabaseItemWithTimeToLive<AttributesType, ItemType, StandardTimeToLiveAttributes>') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
63 | let errors = output.responses?.flatMap({ (tableName, itemList) -> [Error] in
64 | return itemList.compactMap { values -> Error? in
/host/spi-builder-workspace/Sources/SmokeDynamoDB/TypedDatabaseItemWithTimeToLive.swift:59:15: note: consider making generic struct 'TypedDatabaseItemWithTimeToLive' conform to the 'Sendable' protocol
57 | public typealias TypedDatabaseItem<AttributesType: PrimaryKeyAttributes, RowType: Codable> = TypedDatabaseItemWithTimeToLive<AttributesType, RowType, StandardTimeToLiveAttributes>
58 |
59 | public struct TypedDatabaseItemWithTimeToLive<AttributesType: PrimaryKeyAttributes,
| `- note: consider making generic struct 'TypedDatabaseItemWithTimeToLive' conform to the 'Sendable' protocol
60 | RowType: Codable,
61 | TimeToLiveAttributesType: TimeToLiveAttributes>: DatabaseItem, Codable {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+monomorphicGetItems.swift:93:25: warning: type 'CompositePrimaryKey<AttributesType>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
91 |
92 | let promise = self.eventLoop.makePromise(of: OutputType.self)
93 | promise.succeed(self.outputItems)
| `- warning: type 'CompositePrimaryKey<AttributesType>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
94 | return promise.futureResult
95 | }
/host/spi-builder-workspace/Sources/SmokeDynamoDB/CompositePrimaryKey.swift:59:15: note: consider making generic struct 'CompositePrimaryKey' conform to the 'Sendable' protocol
57 | }
58 |
59 | public struct CompositePrimaryKey<AttributesType: PrimaryKeyAttributes>: Codable, CustomStringConvertible, Hashable {
| `- note: consider making generic struct 'CompositePrimaryKey' conform to the 'Sendable' protocol
60 | public var description: String {
61 | return "CompositePrimaryKey(partitionKey: \(partitionKey), sortKey: \(sortKey))"
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+monomorphicGetItems.swift:93:25: warning: type 'TypedDatabaseItem<AttributesType, ItemType>' (aka 'TypedDatabaseItemWithTimeToLive<AttributesType, ItemType, StandardTimeToLiveAttributes>') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
91 |
92 | let promise = self.eventLoop.makePromise(of: OutputType.self)
93 | promise.succeed(self.outputItems)
| `- warning: type 'TypedDatabaseItem<AttributesType, ItemType>' (aka 'TypedDatabaseItemWithTimeToLive<AttributesType, ItemType, StandardTimeToLiveAttributes>') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
94 | return promise.futureResult
95 | }
/host/spi-builder-workspace/Sources/SmokeDynamoDB/TypedDatabaseItemWithTimeToLive.swift:59:15: note: consider making generic struct 'TypedDatabaseItemWithTimeToLive' conform to the 'Sendable' protocol
57 | public typealias TypedDatabaseItem<AttributesType: PrimaryKeyAttributes, RowType: Codable> = TypedDatabaseItemWithTimeToLive<AttributesType, RowType, StandardTimeToLiveAttributes>
58 |
59 | public struct TypedDatabaseItemWithTimeToLive<AttributesType: PrimaryKeyAttributes,
| `- note: consider making generic struct 'TypedDatabaseItemWithTimeToLive' conform to the 'Sendable' protocol
60 | RowType: Codable,
61 | TimeToLiveAttributesType: TimeToLiveAttributes>: DatabaseItem, Codable {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+monomorphicGetItems.swift:71:29: warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>.MonomorphicGetItemsRetriable<AttributesType, ItemType>' in a '@Sendable' closure
37 | the same retry configuration as the underlying DynamoDB client.
38 | */
39 | private class MonomorphicGetItemsRetriable<AttributesType: PrimaryKeyAttributes, ItemType: Codable> {
| `- note: generic class 'MonomorphicGetItemsRetriable' does not conform to the 'Sendable' protocol
40 | typealias OutputType = [CompositePrimaryKey<AttributesType>: TypedDatabaseItem<AttributesType, ItemType>]
41 |
:
69 | let key = decodedValue.compositePrimaryKey
70 |
71 | self.outputItems[key] = decodedValue
| `- warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>.MonomorphicGetItemsRetriable<AttributesType, ItemType>' in a '@Sendable' closure
72 | return nil
73 | } catch {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+monomorphicGetItems.swift:71:29: warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>.MonomorphicGetItemsRetriable<AttributesType, ItemType>' in an isolated closure; this is an error in the Swift 6 language mode
37 | the same retry configuration as the underlying DynamoDB client.
38 | */
39 | private class MonomorphicGetItemsRetriable<AttributesType: PrimaryKeyAttributes, ItemType: Codable> {
| `- note: generic class 'MonomorphicGetItemsRetriable' does not conform to the 'Sendable' protocol
40 | typealias OutputType = [CompositePrimaryKey<AttributesType>: TypedDatabaseItem<AttributesType, ItemType>]
41 |
:
69 | let key = decodedValue.compositePrimaryKey
70 |
71 | self.outputItems[key] = decodedValue
| `- warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>.MonomorphicGetItemsRetriable<AttributesType, ItemType>' in an isolated closure; this is an error in the Swift 6 language mode
72 | return nil
73 | } catch {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+monomorphicGetItems.swift:71:29: warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>.MonomorphicGetItemsRetriable<AttributesType, ItemType>' in an isolated closure; this is an error in the Swift 6 language mode
37 | the same retry configuration as the underlying DynamoDB client.
38 | */
39 | private class MonomorphicGetItemsRetriable<AttributesType: PrimaryKeyAttributes, ItemType: Codable> {
| `- note: generic class 'MonomorphicGetItemsRetriable' does not conform to the 'Sendable' protocol
40 | typealias OutputType = [CompositePrimaryKey<AttributesType>: TypedDatabaseItem<AttributesType, ItemType>]
41 |
:
69 | let key = decodedValue.compositePrimaryKey
70 |
71 | self.outputItems[key] = decodedValue
| `- warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>.MonomorphicGetItemsRetriable<AttributesType, ItemType>' in an isolated closure; this is an error in the Swift 6 language mode
72 | return nil
73 | } catch {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+monomorphicGetItems.swift:120:29: warning: type 'CompositePrimaryKey<AttributesType>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
118 | let nextFuture = self.batchGetItem()
119 |
120 | promise.completeWith(nextFuture)
| `- warning: type 'CompositePrimaryKey<AttributesType>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
121 | }
122 |
/host/spi-builder-workspace/Sources/SmokeDynamoDB/CompositePrimaryKey.swift:59:15: note: consider making generic struct 'CompositePrimaryKey' conform to the 'Sendable' protocol
57 | }
58 |
59 | public struct CompositePrimaryKey<AttributesType: PrimaryKeyAttributes>: Codable, CustomStringConvertible, Hashable {
| `- note: consider making generic struct 'CompositePrimaryKey' conform to the 'Sendable' protocol
60 | public var description: String {
61 | return "CompositePrimaryKey(partitionKey: \(partitionKey), sortKey: \(sortKey))"
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+monomorphicGetItems.swift:120:29: warning: type 'TypedDatabaseItem<AttributesType, ItemType>' (aka 'TypedDatabaseItemWithTimeToLive<AttributesType, ItemType, StandardTimeToLiveAttributes>') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
118 | let nextFuture = self.batchGetItem()
119 |
120 | promise.completeWith(nextFuture)
| `- warning: type 'TypedDatabaseItem<AttributesType, ItemType>' (aka 'TypedDatabaseItemWithTimeToLive<AttributesType, ItemType, StandardTimeToLiveAttributes>') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
121 | }
122 |
/host/spi-builder-workspace/Sources/SmokeDynamoDB/TypedDatabaseItemWithTimeToLive.swift:59:15: note: consider making generic struct 'TypedDatabaseItemWithTimeToLive' conform to the 'Sendable' protocol
57 | public typealias TypedDatabaseItem<AttributesType: PrimaryKeyAttributes, RowType: Codable> = TypedDatabaseItemWithTimeToLive<AttributesType, RowType, StandardTimeToLiveAttributes>
58 |
59 | public struct TypedDatabaseItemWithTimeToLive<AttributesType: PrimaryKeyAttributes,
| `- note: consider making generic struct 'TypedDatabaseItemWithTimeToLive' conform to the 'Sendable' protocol
60 | RowType: Codable,
61 | TimeToLiveAttributesType: TimeToLiveAttributes>: DatabaseItem, Codable {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+monomorphicGetItems.swift:118:38: warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>.MonomorphicGetItemsRetriable<AttributesType, ItemType>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
37 | the same retry configuration as the underlying DynamoDB client.
38 | */
39 | private class MonomorphicGetItemsRetriable<AttributesType: PrimaryKeyAttributes, ItemType: Codable> {
| `- note: generic class 'MonomorphicGetItemsRetriable' does not conform to the 'Sendable' protocol
40 | typealias OutputType = [CompositePrimaryKey<AttributesType>: TypedDatabaseItem<AttributesType, ItemType>]
41 |
:
116 | logger.trace("Reattempting request due to remaining retries: \(currentRetriesRemaining)")
117 |
118 | let nextFuture = self.batchGetItem()
| `- warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>.MonomorphicGetItemsRetriable<AttributesType, ItemType>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
119 |
120 | promise.completeWith(nextFuture)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+monomorphicGetItems.swift:159:32: warning: type 'CompositePrimaryKey<AttributesType>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
157 | // maps is of type [[CompositePrimaryKey<AttributesType>: TypedDatabaseItem<AttributesType, ItemType>]]
158 | // with each map coming from each chunk of the original key list
159 | return EventLoopFuture.whenAllSucceed(futures, on: self.eventLoop) .map { maps in
| `- warning: type 'CompositePrimaryKey<AttributesType>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
160 | return maps.reduce([:]) { (partialMap, chunkMap) in
161 | // reduce the maps from the chunks into a single map
/host/spi-builder-workspace/Sources/SmokeDynamoDB/CompositePrimaryKey.swift:59:15: note: consider making generic struct 'CompositePrimaryKey' conform to the 'Sendable' protocol
57 | }
58 |
59 | public struct CompositePrimaryKey<AttributesType: PrimaryKeyAttributes>: Codable, CustomStringConvertible, Hashable {
| `- note: consider making generic struct 'CompositePrimaryKey' conform to the 'Sendable' protocol
60 | public var description: String {
61 | return "CompositePrimaryKey(partitionKey: \(partitionKey), sortKey: \(sortKey))"
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+monomorphicGetItems.swift:159:32: warning: type 'TypedDatabaseItem<AttributesType, ItemType>' (aka 'TypedDatabaseItemWithTimeToLive<AttributesType, ItemType, StandardTimeToLiveAttributes>') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
157 | // maps is of type [[CompositePrimaryKey<AttributesType>: TypedDatabaseItem<AttributesType, ItemType>]]
158 | // with each map coming from each chunk of the original key list
159 | return EventLoopFuture.whenAllSucceed(futures, on: self.eventLoop) .map { maps in
| `- warning: type 'TypedDatabaseItem<AttributesType, ItemType>' (aka 'TypedDatabaseItemWithTimeToLive<AttributesType, ItemType, StandardTimeToLiveAttributes>') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
160 | return maps.reduce([:]) { (partialMap, chunkMap) in
161 | // reduce the maps from the chunks into a single map
/host/spi-builder-workspace/Sources/SmokeDynamoDB/TypedDatabaseItemWithTimeToLive.swift:59:15: note: consider making generic struct 'TypedDatabaseItemWithTimeToLive' conform to the 'Sendable' protocol
57 | public typealias TypedDatabaseItem<AttributesType: PrimaryKeyAttributes, RowType: Codable> = TypedDatabaseItemWithTimeToLive<AttributesType, RowType, StandardTimeToLiveAttributes>
58 |
59 | public struct TypedDatabaseItemWithTimeToLive<AttributesType: PrimaryKeyAttributes,
| `- note: consider making generic struct 'TypedDatabaseItemWithTimeToLive' conform to the 'Sendable' protocol
60 | RowType: Codable,
61 | TimeToLiveAttributesType: TimeToLiveAttributes>: DatabaseItem, Codable {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+updateItems.swift:600:1: warning: extension declares a conformance of imported type 'BatchStatementError' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'DynamoDBModel' introduce this conformance in the future
598 | }
599 |
600 | extension BatchStatementError: Hashable {
| |- warning: extension declares a conformance of imported type 'BatchStatementError' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'DynamoDBModel' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
601 |
602 | public func hash(into hasher: inout Hasher) {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+updateItems.swift:157:17: warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>' in a '@Sendable' closure
155 |
156 | return dynamodb.batchExecuteStatement(input: executeInput).flatMapThrowing { response in
157 | try self.throwOnBatchExecuteStatementErrors(response: response)
| `- warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>' in a '@Sendable' closure
158 | }
159 | }
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable.swift:38:14: note: generic class 'AWSDynamoDBCompositePrimaryKeyTable' does not conform to the 'Sendable' protocol
36 | }
37 |
38 | public class AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType: HTTPClientCoreInvocationReporting>: DynamoDBCompositePrimaryKeyTable {
| `- note: generic class 'AWSDynamoDBCompositePrimaryKeyTable' does not conform to the 'Sendable' protocol
39 | internal let dynamodb: _AWSDynamoDBClient<InvocationReportingType>
40 | internal let targetTableName: String
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+updateItems.swift:251:21: warning: type 'BatchStatementErrorCodeEnum' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
249 | self.logger.trace("\(entries) with count = 0")
250 | let promise = self.eventLoop.makePromise(of: Set<BatchStatementErrorCodeEnum>.self)
251 | promise.succeed(Set())
| `- warning: type 'BatchStatementErrorCodeEnum' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
252 | return promise.futureResult
253 | }
/host/spi-builder-workspace/.build/checkouts/smoke-aws/Sources/DynamoDBModel/DynamoDBModelTypes.swift:184:13: note: enum 'BatchStatementErrorCodeEnum' does not conform to the 'Sendable' protocol
182 | Enumeration restricting the values of the BatchStatementErrorCodeEnum field.
183 | */
184 | public enum BatchStatementErrorCodeEnum: String, Codable, CustomStringConvertible {
| `- note: enum 'BatchStatementErrorCodeEnum' does not conform to the 'Sendable' protocol
185 | case accessdenied = "AccessDenied"
186 | case conditionalcheckfailed = "ConditionalCheckFailed"
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+updateItems.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'DynamoDBModel'
18 | import Foundation
19 | import SmokeAWSCore
20 | import DynamoDBModel
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'DynamoDBModel'
21 | import SmokeHTTPClient
22 | import Logging
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+updateItems.swift:271:21: warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>' in a '@Sendable' closure
269 | // if there are errors
270 | if !errorSet.isEmpty {
271 | self.logger.error("Received BatchStatmentErrors from dynamodb are \(errorSet)")
| `- warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>' in a '@Sendable' closure
272 | }
273 | return errorCodeSet
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable.swift:38:14: note: generic class 'AWSDynamoDBCompositePrimaryKeyTable' does not conform to the 'Sendable' protocol
36 | }
37 |
38 | public class AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType: HTTPClientCoreInvocationReporting>: DynamoDBCompositePrimaryKeyTable {
| `- note: generic class 'AWSDynamoDBCompositePrimaryKeyTable' does not conform to the 'Sendable' protocol
39 | internal let dynamodb: _AWSDynamoDBClient<InvocationReportingType>
40 | internal let targetTableName: String
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+updateItems.swift:292:32: warning: type 'BatchStatementErrorCodeEnum' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
290 | }
291 |
292 | return EventLoopFuture.whenAllComplete(futures, on: self.eventLoop).flatMapThrowing { results in
| `- warning: type 'BatchStatementErrorCodeEnum' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
293 | var errors: Set<BatchStatementErrorCodeEnum> = Set()
294 | try results.forEach { result in
/host/spi-builder-workspace/.build/checkouts/smoke-aws/Sources/DynamoDBModel/DynamoDBModelTypes.swift:184:13: note: enum 'BatchStatementErrorCodeEnum' does not conform to the 'Sendable' protocol
182 | Enumeration restricting the values of the BatchStatementErrorCodeEnum field.
183 | */
184 | public enum BatchStatementErrorCodeEnum: String, Codable, CustomStringConvertible {
| `- note: enum 'BatchStatementErrorCodeEnum' does not conform to the 'Sendable' protocol
185 | case accessdenied = "AccessDenied"
186 | case conditionalcheckfailed = "ConditionalCheckFailed"
[1701/1707] Compiling SmokeDynamoDB AWSDynamoDBCompositePrimaryKeyTable+updateItems.swift
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBClientConfiguration.swift:75:61: warning: reference to static property 'default' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
73 | traceContext: TraceContextType,
74 | timeoutConfiguration: HTTPClient.Configuration.Timeout = .init(),
75 | retryConfiguration: HTTPClientRetryConfiguration = .default,
| `- warning: reference to static property 'default' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
76 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
77 | reportingConfiguration: SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>
/host/spi-builder-workspace/.build/checkouts/smoke-http/Sources/SmokeHTTPClient/HTTPClientRetryConfiguration.swift:73:23: note: static property declared here
71 |
72 | /// Default try configuration with 5 retries starting at 500 ms interval.
73 | public static var `default` = HTTPClientRetryConfiguration(numRetries: 5, baseRetryInterval: 500,
| `- note: static property declared here
74 | maxRetryInterval: 10000, exponentialBackoff: 2)
75 |
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBClientConfiguration.swift:76:65: warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly
74 | timeoutConfiguration: HTTPClient.Configuration.Timeout = .init(),
75 | retryConfiguration: HTTPClientRetryConfiguration = .default,
76 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
| |- warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly
| `- note: use 'singleton' instead
77 | reportingConfiguration: SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>
78 | = SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>(),
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBClientConfiguration.swift:122:61: warning: reference to static property 'default' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
120 | ignoreInvocationEventLoop: Bool = false,
121 | timeoutConfiguration: HTTPClient.Configuration.Timeout = .init(),
122 | retryConfiguration: HTTPClientRetryConfiguration = .default,
| `- warning: reference to static property 'default' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
123 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
124 | reportingConfiguration: SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>
/host/spi-builder-workspace/.build/checkouts/smoke-http/Sources/SmokeHTTPClient/HTTPClientRetryConfiguration.swift:73:23: note: static property declared here
71 |
72 | /// Default try configuration with 5 retries starting at 500 ms interval.
73 | public static var `default` = HTTPClientRetryConfiguration(numRetries: 5, baseRetryInterval: 500,
| `- note: static property declared here
74 | maxRetryInterval: 10000, exponentialBackoff: 2)
75 |
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBClientConfiguration.swift:123:65: warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly
121 | timeoutConfiguration: HTTPClient.Configuration.Timeout = .init(),
122 | retryConfiguration: HTTPClientRetryConfiguration = .default,
123 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
| |- warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly
| `- note: use 'singleton' instead
124 | reportingConfiguration: SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>
125 | = SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>(),
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+DynamoDBTableAsync.swift:169:28: warning: type 'ReturnedType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
154 |
155 | // function to return a future with the results of a query call and all future paginated calls
156 | private func partialQuery<ReturnedType: PolymorphicOperationReturnType>(
| `- note: consider making generic parameter 'ReturnedType' conform to the 'Sendable' protocol
157 | forPartitionKey partitionKey: String,
158 | sortKeyCondition: AttributeCondition?,
:
167 | consistentRead: consistentRead)
168 |
169 | return queryFuture.flatMap { paginatedItems in
| `- warning: type 'ReturnedType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
170 | // if there are more items
171 | if let lastEvaluatedKey = paginatedItems.1 {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+DynamoDBTableAsync.swift:184:25: warning: type 'ReturnedType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
154 |
155 | // function to return a future with the results of a query call and all future paginated calls
156 | private func partialQuery<ReturnedType: PolymorphicOperationReturnType>(
| `- note: consider making generic parameter 'ReturnedType' conform to the 'Sendable' protocol
157 | forPartitionKey partitionKey: String,
158 | sortKeyCondition: AttributeCondition?,
:
182 | // this is it, all results have been obtained
183 | let promise = self.eventLoop.makePromise(of: [ReturnedType].self)
184 | promise.succeed(paginatedItems.0)
| `- warning: type 'ReturnedType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
185 | return promise.futureResult
186 | }
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+DynamoDBTableAsync.swift:173:24: warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>' in a '@Sendable' closure
171 | if let lastEvaluatedKey = paginatedItems.1 {
172 | // returns a future with all the results from all later paginated calls
173 | return self.partialQuery(forPartitionKey: partitionKey,
| `- warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>' in a '@Sendable' closure
174 | sortKeyCondition: sortKeyCondition,
175 | exclusiveStartKey: lastEvaluatedKey,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable.swift:38:14: note: generic class 'AWSDynamoDBCompositePrimaryKeyTable' does not conform to the 'Sendable' protocol
36 | }
37 |
38 | public class AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType: HTTPClientCoreInvocationReporting>: DynamoDBCompositePrimaryKeyTable {
| `- note: generic class 'AWSDynamoDBCompositePrimaryKeyTable' does not conform to the 'Sendable' protocol
39 | internal let dynamodb: _AWSDynamoDBClient<InvocationReportingType>
40 | internal let targetTableName: String
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+DynamoDBTableAsync.swift:174:60: warning: capture of 'sortKeyCondition' with non-sendable type 'AttributeCondition?' in a '@Sendable' closure
172 | // returns a future with all the results from all later paginated calls
173 | return self.partialQuery(forPartitionKey: partitionKey,
174 | sortKeyCondition: sortKeyCondition,
| `- warning: capture of 'sortKeyCondition' with non-sendable type 'AttributeCondition?' in a '@Sendable' closure
175 | exclusiveStartKey: lastEvaluatedKey,
176 | consistentRead: consistentRead)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable.swift:72:13: note: consider making enum 'AttributeCondition' conform to the 'Sendable' protocol
70 | Enumeration of the types of conditions that can be specified for an attribute.
71 | */
72 | public enum AttributeCondition {
| `- note: consider making enum 'AttributeCondition' conform to the 'Sendable' protocol
73 | case equals(String)
74 | case lessThan(String)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+DynamoDBTableAsync.swift:179:32: warning: capture of 'paginatedItems' with non-sendable type '([ReturnedType], String?)' in a '@Sendable' closure
154 |
155 | // function to return a future with the results of a query call and all future paginated calls
156 | private func partialQuery<ReturnedType: PolymorphicOperationReturnType>(
| `- note: consider making generic parameter 'ReturnedType' conform to the 'Sendable' protocol
157 | forPartitionKey partitionKey: String,
158 | sortKeyCondition: AttributeCondition?,
:
177 | .map { partialResult in
178 | // return the results from 'this' call and all later paginated calls
179 | return paginatedItems.0 + partialResult
| `- warning: capture of 'paginatedItems' with non-sendable type '([ReturnedType], String?)' in a '@Sendable' closure
180 | }
181 | } else {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+DynamoDBTableAsync.swift:245:17: warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>' in a '@Sendable' closure
243 | let items: [ReturnedType]
244 |
245 | self.logger.trace("Starting to construct \(outputAttributeValues.count) of type \(ReturnedType.self).")
| `- warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>' in a '@Sendable' closure
246 |
247 | do {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable.swift:38:14: note: generic class 'AWSDynamoDBCompositePrimaryKeyTable' does not conform to the 'Sendable' protocol
36 | }
37 |
38 | public class AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType: HTTPClientCoreInvocationReporting>: DynamoDBCompositePrimaryKeyTable {
| `- note: generic class 'AWSDynamoDBCompositePrimaryKeyTable' does not conform to the 'Sendable' protocol
39 | internal let dynamodb: _AWSDynamoDBClient<InvocationReportingType>
40 | internal let targetTableName: String
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+DynamoDBTableAsync.swift:284:79: warning: capture of 'compositePrimaryKey' with non-sendable type 'CompositePrimaryKey<AttributesType>' in a '@Sendable' closure
282 | switch error {
283 | case DynamoDBError.conditionalCheckFailed(let errorPayload):
284 | throw SmokeDynamoDBError.conditionalCheckFailed(partitionKey: compositePrimaryKey.partitionKey,
| `- warning: capture of 'compositePrimaryKey' with non-sendable type 'CompositePrimaryKey<AttributesType>' in a '@Sendable' closure
285 | sortKey: compositePrimaryKey.sortKey,
286 | message: errorPayload.message)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/CompositePrimaryKey.swift:59:15: note: consider making generic struct 'CompositePrimaryKey' conform to the 'Sendable' protocol
57 | }
58 |
59 | public struct CompositePrimaryKey<AttributesType: PrimaryKeyAttributes>: Codable, CustomStringConvertible, Hashable {
| `- note: consider making generic struct 'CompositePrimaryKey' conform to the 'Sendable' protocol
60 | public var description: String {
61 | return "CompositePrimaryKey(partitionKey: \(partitionKey), sortKey: \(sortKey))"
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+DynamoDBTableAsync.swift:288:17: warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>' in a '@Sendable' closure
286 | message: errorPayload.message)
287 | default:
288 | self.logger.warning("Error from AWSDynamoDBTable: \(error)")
| `- warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>' in a '@Sendable' closure
289 |
290 | throw SmokeDynamoDBError.unexpectedError(cause: error)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable.swift:38:14: note: generic class 'AWSDynamoDBCompositePrimaryKeyTable' does not conform to the 'Sendable' protocol
36 | }
37 |
38 | public class AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType: HTTPClientCoreInvocationReporting>: DynamoDBCompositePrimaryKeyTable {
| `- note: generic class 'AWSDynamoDBCompositePrimaryKeyTable' does not conform to the 'Sendable' protocol
39 | internal let dynamodb: _AWSDynamoDBClient<InvocationReportingType>
40 | internal let targetTableName: String
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+DynamoDBTableAsync.swift:321:28: warning: type 'TypedDatabaseItem<AttributesType, ItemType>' (aka 'TypedDatabaseItemWithTimeToLive<AttributesType, ItemType, StandardTimeToLiveAttributes>') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
319 | consistentRead: consistentRead)
320 |
321 | return queryFuture.flatMap { paginatedItems in
| `- warning: type 'TypedDatabaseItem<AttributesType, ItemType>' (aka 'TypedDatabaseItemWithTimeToLive<AttributesType, ItemType, StandardTimeToLiveAttributes>') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
322 | // if there are more items
323 | if let lastEvaluatedKey = paginatedItems.1 {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/TypedDatabaseItemWithTimeToLive.swift:59:15: note: consider making generic struct 'TypedDatabaseItemWithTimeToLive' conform to the 'Sendable' protocol
57 | public typealias TypedDatabaseItem<AttributesType: PrimaryKeyAttributes, RowType: Codable> = TypedDatabaseItemWithTimeToLive<AttributesType, RowType, StandardTimeToLiveAttributes>
58 |
59 | public struct TypedDatabaseItemWithTimeToLive<AttributesType: PrimaryKeyAttributes,
| `- note: consider making generic struct 'TypedDatabaseItemWithTimeToLive' conform to the 'Sendable' protocol
60 | RowType: Codable,
61 | TimeToLiveAttributesType: TimeToLiveAttributes>: DatabaseItem, Codable {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+DynamoDBTableAsync.swift:336:25: warning: type 'TypedDatabaseItem<AttributesType, ItemType>' (aka 'TypedDatabaseItemWithTimeToLive<AttributesType, ItemType, StandardTimeToLiveAttributes>') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
334 | // this is it, all results have been obtained
335 | let promise = self.eventLoop.makePromise(of: [TypedDatabaseItem<AttributesType, ItemType>].self)
336 | promise.succeed(paginatedItems.0)
| `- warning: type 'TypedDatabaseItem<AttributesType, ItemType>' (aka 'TypedDatabaseItemWithTimeToLive<AttributesType, ItemType, StandardTimeToLiveAttributes>') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
337 | return promise.futureResult
338 | }
/host/spi-builder-workspace/Sources/SmokeDynamoDB/TypedDatabaseItemWithTimeToLive.swift:59:15: note: consider making generic struct 'TypedDatabaseItemWithTimeToLive' conform to the 'Sendable' protocol
57 | public typealias TypedDatabaseItem<AttributesType: PrimaryKeyAttributes, RowType: Codable> = TypedDatabaseItemWithTimeToLive<AttributesType, RowType, StandardTimeToLiveAttributes>
58 |
59 | public struct TypedDatabaseItemWithTimeToLive<AttributesType: PrimaryKeyAttributes,
| `- note: consider making generic struct 'TypedDatabaseItemWithTimeToLive' conform to the 'Sendable' protocol
60 | RowType: Codable,
61 | TimeToLiveAttributesType: TimeToLiveAttributes>: DatabaseItem, Codable {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+DynamoDBTableAsync.swift:325:24: warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>' in a '@Sendable' closure
323 | if let lastEvaluatedKey = paginatedItems.1 {
324 | // returns a future with all the results from all later paginated calls
325 | return self.monomorphicPartialQuery(forPartitionKey: partitionKey,
| `- warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>' in a '@Sendable' closure
326 | sortKeyCondition: sortKeyCondition,
327 | exclusiveStartKey: lastEvaluatedKey,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable.swift:38:14: note: generic class 'AWSDynamoDBCompositePrimaryKeyTable' does not conform to the 'Sendable' protocol
36 | }
37 |
38 | public class AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType: HTTPClientCoreInvocationReporting>: DynamoDBCompositePrimaryKeyTable {
| `- note: generic class 'AWSDynamoDBCompositePrimaryKeyTable' does not conform to the 'Sendable' protocol
39 | internal let dynamodb: _AWSDynamoDBClient<InvocationReportingType>
40 | internal let targetTableName: String
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+DynamoDBTableAsync.swift:326:71: warning: capture of 'sortKeyCondition' with non-sendable type 'AttributeCondition?' in a '@Sendable' closure
324 | // returns a future with all the results from all later paginated calls
325 | return self.monomorphicPartialQuery(forPartitionKey: partitionKey,
326 | sortKeyCondition: sortKeyCondition,
| `- warning: capture of 'sortKeyCondition' with non-sendable type 'AttributeCondition?' in a '@Sendable' closure
327 | exclusiveStartKey: lastEvaluatedKey,
328 | consistentRead: consistentRead)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/DynamoDBCompositePrimaryKeyTable.swift:72:13: note: consider making enum 'AttributeCondition' conform to the 'Sendable' protocol
70 | Enumeration of the types of conditions that can be specified for an attribute.
71 | */
72 | public enum AttributeCondition {
| `- note: consider making enum 'AttributeCondition' conform to the 'Sendable' protocol
73 | case equals(String)
74 | case lessThan(String)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+DynamoDBTableAsync.swift:331:32: warning: capture of 'paginatedItems' with non-sendable type '([TypedDatabaseItem<AttributesType, ItemType>], String?)' (aka '(Array<TypedDatabaseItemWithTimeToLive<AttributesType, ItemType, StandardTimeToLiveAttributes>>, Optional<String>)') in a '@Sendable' closure
329 | .map { partialResult in
330 | // return the results from 'this' call and all later paginated calls
331 | return paginatedItems.0 + partialResult
| `- warning: capture of 'paginatedItems' with non-sendable type '([TypedDatabaseItem<AttributesType, ItemType>], String?)' (aka '(Array<TypedDatabaseItemWithTimeToLive<AttributesType, ItemType, StandardTimeToLiveAttributes>>, Optional<String>)') in a '@Sendable' closure
332 | }
333 | } else {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/TypedDatabaseItemWithTimeToLive.swift:59:15: note: consider making generic struct 'TypedDatabaseItemWithTimeToLive' conform to the 'Sendable' protocol
57 | public typealias TypedDatabaseItem<AttributesType: PrimaryKeyAttributes, RowType: Codable> = TypedDatabaseItemWithTimeToLive<AttributesType, RowType, StandardTimeToLiveAttributes>
58 |
59 | public struct TypedDatabaseItemWithTimeToLive<AttributesType: PrimaryKeyAttributes,
| `- note: consider making generic struct 'TypedDatabaseItemWithTimeToLive' conform to the 'Sendable' protocol
60 | RowType: Codable,
61 | TimeToLiveAttributesType: TimeToLiveAttributes>: DatabaseItem, Codable {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+deleteItems.swift:57:17: warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>' in a '@Sendable' closure
55 |
56 | return dynamodb.batchExecuteStatement(input: executeInput).flatMapThrowing { response in
57 | try self.throwOnBatchExecuteStatementErrors(response: response)
| `- warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>' in a '@Sendable' closure
58 | }
59 | }
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable.swift:38:14: note: generic class 'AWSDynamoDBCompositePrimaryKeyTable' does not conform to the 'Sendable' protocol
36 | }
37 |
38 | public class AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType: HTTPClientCoreInvocationReporting>: DynamoDBCompositePrimaryKeyTable {
| `- note: generic class 'AWSDynamoDBCompositePrimaryKeyTable' does not conform to the 'Sendable' protocol
39 | internal let dynamodb: _AWSDynamoDBClient<InvocationReportingType>
40 | internal let targetTableName: String
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+deleteItems.swift:88:17: warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>' in a '@Sendable' closure
86 |
87 | return dynamodb.batchExecuteStatement(input: executeInput).flatMapThrowing { response in
88 | try self.throwOnBatchExecuteStatementErrors(response: response)
| `- warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>' in a '@Sendable' closure
89 | }
90 | }
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable.swift:38:14: note: generic class 'AWSDynamoDBCompositePrimaryKeyTable' does not conform to the 'Sendable' protocol
36 | }
37 |
38 | public class AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType: HTTPClientCoreInvocationReporting>: DynamoDBCompositePrimaryKeyTable {
| `- note: generic class 'AWSDynamoDBCompositePrimaryKeyTable' does not conform to the 'Sendable' protocol
39 | internal let dynamodb: _AWSDynamoDBClient<InvocationReportingType>
40 | internal let targetTableName: String
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+execute.swift:39:21: warning: type 'ReturnedType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
28 | /// DynamoDBTable conformance execute function
29 | public extension AWSDynamoDBCompositePrimaryKeyTable {
30 | func execute<ReturnedType: PolymorphicOperationReturnType>(
| `- note: consider making generic parameter 'ReturnedType' conform to the 'Sendable' protocol
31 | partitionKeys: [String],
32 | attributesFilter: [String]?,
:
37 | guard partitionKeys.count > 0 else {
38 | let promise = self.eventLoop.makePromise(of: ([ReturnedType], String?).self)
39 | promise.succeed(([], nil))
| `- warning: type 'ReturnedType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
40 | return promise.futureResult
41 | }
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+execute.swift:103:32: warning: type 'ReturnedType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
87 | }
88 |
89 | func execute<ReturnedType: PolymorphicOperationReturnType>(
| `- note: consider making generic parameter 'ReturnedType' conform to the 'Sendable' protocol
90 | partitionKeys: [String],
91 | attributesFilter: [String]?,
:
101 | }
102 |
103 | return EventLoopFuture.whenAllSucceed(futures, on: self.eventLoop).map { itemLists in
| `- warning: type 'ReturnedType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
104 | itemLists.flatMap { $0 }
105 | }
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+execute.swift:117:21: warning: type 'TypedDatabaseItem<AttributesType, ItemType>' (aka 'TypedDatabaseItemWithTimeToLive<AttributesType, ItemType, StandardTimeToLiveAttributes>') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
115 | guard partitionKeys.count > 0 else {
116 | let promise = self.eventLoop.makePromise(of: ([TypedDatabaseItem<AttributesType, ItemType>], String?).self)
117 | promise.succeed(([], nil))
| `- warning: type 'TypedDatabaseItem<AttributesType, ItemType>' (aka 'TypedDatabaseItemWithTimeToLive<AttributesType, ItemType, StandardTimeToLiveAttributes>') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
118 | return promise.futureResult
119 | }
/host/spi-builder-workspace/Sources/SmokeDynamoDB/TypedDatabaseItemWithTimeToLive.swift:59:15: note: consider making generic struct 'TypedDatabaseItemWithTimeToLive' conform to the 'Sendable' protocol
57 | public typealias TypedDatabaseItem<AttributesType: PrimaryKeyAttributes, RowType: Codable> = TypedDatabaseItemWithTimeToLive<AttributesType, RowType, StandardTimeToLiveAttributes>
58 |
59 | public struct TypedDatabaseItemWithTimeToLive<AttributesType: PrimaryKeyAttributes,
| `- note: consider making generic struct 'TypedDatabaseItemWithTimeToLive' conform to the 'Sendable' protocol
60 | RowType: Codable,
61 | TimeToLiveAttributesType: TimeToLiveAttributes>: DatabaseItem, Codable {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+execute.swift:179:32: warning: type 'TypedDatabaseItem<AttributesType, ItemType>' (aka 'TypedDatabaseItemWithTimeToLive<AttributesType, ItemType, StandardTimeToLiveAttributes>') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
177 | }
178 |
179 | return EventLoopFuture.whenAllSucceed(futures, on: self.eventLoop).map { itemLists in
| `- warning: type 'TypedDatabaseItem<AttributesType, ItemType>' (aka 'TypedDatabaseItemWithTimeToLive<AttributesType, ItemType, StandardTimeToLiveAttributes>') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
180 | itemLists.flatMap { $0 }
181 | }
/host/spi-builder-workspace/Sources/SmokeDynamoDB/TypedDatabaseItemWithTimeToLive.swift:59:15: note: consider making generic struct 'TypedDatabaseItemWithTimeToLive' conform to the 'Sendable' protocol
57 | public typealias TypedDatabaseItem<AttributesType: PrimaryKeyAttributes, RowType: Codable> = TypedDatabaseItemWithTimeToLive<AttributesType, RowType, StandardTimeToLiveAttributes>
58 |
59 | public struct TypedDatabaseItemWithTimeToLive<AttributesType: PrimaryKeyAttributes,
| `- note: consider making generic struct 'TypedDatabaseItemWithTimeToLive' conform to the 'Sendable' protocol
60 | RowType: Codable,
61 | TimeToLiveAttributesType: TimeToLiveAttributes>: DatabaseItem, Codable {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+execute.swift:196:30: warning: type 'ReturnedType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
183 |
184 | // function to return a future with the results of an execute call and all future paginated calls
185 | private func partialExecute<ReturnedType: PolymorphicOperationReturnType>(
| `- note: consider making generic parameter 'ReturnedType' conform to the 'Sendable' protocol
186 | partitionKeys: [String],
187 | attributesFilter: [String]?,
:
194 | nextToken: nextToken)
195 |
196 | return executeFuture.flatMap { paginatedItems in
| `- warning: type 'ReturnedType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
197 | // if there are more items
198 | if let returnedNextToken = paginatedItems.1 {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+execute.swift:211:25: warning: type 'ReturnedType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
183 |
184 | // function to return a future with the results of an execute call and all future paginated calls
185 | private func partialExecute<ReturnedType: PolymorphicOperationReturnType>(
| `- note: consider making generic parameter 'ReturnedType' conform to the 'Sendable' protocol
186 | partitionKeys: [String],
187 | attributesFilter: [String]?,
:
209 | // this is it, all results have been obtained
210 | let promise = self.eventLoop.makePromise(of: [ReturnedType].self)
211 | promise.succeed(paginatedItems.0)
| `- warning: type 'ReturnedType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
212 | return promise.futureResult
213 | }
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+execute.swift:200:24: warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>' in a '@Sendable' closure
198 | if let returnedNextToken = paginatedItems.1 {
199 | // returns a future with all the results from all later paginated calls
200 | return self.partialExecute(partitionKeys: partitionKeys,
| `- warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>' in a '@Sendable' closure
201 | attributesFilter: attributesFilter,
202 | additionalWhereClause: additionalWhereClause,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable.swift:38:14: note: generic class 'AWSDynamoDBCompositePrimaryKeyTable' does not conform to the 'Sendable' protocol
36 | }
37 |
38 | public class AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType: HTTPClientCoreInvocationReporting>: DynamoDBCompositePrimaryKeyTable {
| `- note: generic class 'AWSDynamoDBCompositePrimaryKeyTable' does not conform to the 'Sendable' protocol
39 | internal let dynamodb: _AWSDynamoDBClient<InvocationReportingType>
40 | internal let targetTableName: String
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+execute.swift:206:32: warning: capture of 'paginatedItems' with non-sendable type '([ReturnedType], String?)' in a '@Sendable' closure
183 |
184 | // function to return a future with the results of an execute call and all future paginated calls
185 | private func partialExecute<ReturnedType: PolymorphicOperationReturnType>(
| `- note: consider making generic parameter 'ReturnedType' conform to the 'Sendable' protocol
186 | partitionKeys: [String],
187 | attributesFilter: [String]?,
:
204 | .map { partialResult in
205 | // return the results from 'this' call and all later paginated calls
206 | return paginatedItems.0 + partialResult
| `- warning: capture of 'paginatedItems' with non-sendable type '([ReturnedType], String?)' in a '@Sendable' closure
207 | }
208 | } else {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+execute.swift:228:30: warning: type 'TypedDatabaseItem<AttributesType, ItemType>' (aka 'TypedDatabaseItemWithTimeToLive<AttributesType, ItemType, StandardTimeToLiveAttributes>') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
226 | nextToken: nextToken)
227 |
228 | return executeFuture.flatMap { paginatedItems in
| `- warning: type 'TypedDatabaseItem<AttributesType, ItemType>' (aka 'TypedDatabaseItemWithTimeToLive<AttributesType, ItemType, StandardTimeToLiveAttributes>') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
229 | // if there are more items
230 | if let returnedNextToken = paginatedItems.1 {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/TypedDatabaseItemWithTimeToLive.swift:59:15: note: consider making generic struct 'TypedDatabaseItemWithTimeToLive' conform to the 'Sendable' protocol
57 | public typealias TypedDatabaseItem<AttributesType: PrimaryKeyAttributes, RowType: Codable> = TypedDatabaseItemWithTimeToLive<AttributesType, RowType, StandardTimeToLiveAttributes>
58 |
59 | public struct TypedDatabaseItemWithTimeToLive<AttributesType: PrimaryKeyAttributes,
| `- note: consider making generic struct 'TypedDatabaseItemWithTimeToLive' conform to the 'Sendable' protocol
60 | RowType: Codable,
61 | TimeToLiveAttributesType: TimeToLiveAttributes>: DatabaseItem, Codable {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+execute.swift:243:25: warning: type 'TypedDatabaseItem<AttributesType, ItemType>' (aka 'TypedDatabaseItemWithTimeToLive<AttributesType, ItemType, StandardTimeToLiveAttributes>') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
241 | // this is it, all results have been obtained
242 | let promise = self.eventLoop.makePromise(of: [TypedDatabaseItem<AttributesType, ItemType>].self)
243 | promise.succeed(paginatedItems.0)
| `- warning: type 'TypedDatabaseItem<AttributesType, ItemType>' (aka 'TypedDatabaseItemWithTimeToLive<AttributesType, ItemType, StandardTimeToLiveAttributes>') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
244 | return promise.futureResult
245 | }
/host/spi-builder-workspace/Sources/SmokeDynamoDB/TypedDatabaseItemWithTimeToLive.swift:59:15: note: consider making generic struct 'TypedDatabaseItemWithTimeToLive' conform to the 'Sendable' protocol
57 | public typealias TypedDatabaseItem<AttributesType: PrimaryKeyAttributes, RowType: Codable> = TypedDatabaseItemWithTimeToLive<AttributesType, RowType, StandardTimeToLiveAttributes>
58 |
59 | public struct TypedDatabaseItemWithTimeToLive<AttributesType: PrimaryKeyAttributes,
| `- note: consider making generic struct 'TypedDatabaseItemWithTimeToLive' conform to the 'Sendable' protocol
60 | RowType: Codable,
61 | TimeToLiveAttributesType: TimeToLiveAttributes>: DatabaseItem, Codable {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+execute.swift:232:24: warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>' in a '@Sendable' closure
230 | if let returnedNextToken = paginatedItems.1 {
231 | // returns a future with all the results from all later paginated calls
232 | return self.monomorphicPartialExecute(partitionKeys: partitionKeys,
| `- warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>' in a '@Sendable' closure
233 | attributesFilter: attributesFilter,
234 | additionalWhereClause: additionalWhereClause,
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable.swift:38:14: note: generic class 'AWSDynamoDBCompositePrimaryKeyTable' does not conform to the 'Sendable' protocol
36 | }
37 |
38 | public class AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType: HTTPClientCoreInvocationReporting>: DynamoDBCompositePrimaryKeyTable {
| `- note: generic class 'AWSDynamoDBCompositePrimaryKeyTable' does not conform to the 'Sendable' protocol
39 | internal let dynamodb: _AWSDynamoDBClient<InvocationReportingType>
40 | internal let targetTableName: String
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+execute.swift:238:32: warning: capture of 'paginatedItems' with non-sendable type '([TypedDatabaseItem<AttributesType, ItemType>], String?)' (aka '(Array<TypedDatabaseItemWithTimeToLive<AttributesType, ItemType, StandardTimeToLiveAttributes>>, Optional<String>)') in a '@Sendable' closure
236 | .map { partialResult in
237 | // return the results from 'this' call and all later paginated calls
238 | return paginatedItems.0 + partialResult
| `- warning: capture of 'paginatedItems' with non-sendable type '([TypedDatabaseItem<AttributesType, ItemType>], String?)' (aka '(Array<TypedDatabaseItemWithTimeToLive<AttributesType, ItemType, StandardTimeToLiveAttributes>>, Optional<String>)') in a '@Sendable' closure
239 | }
240 | } else {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/TypedDatabaseItemWithTimeToLive.swift:59:15: note: consider making generic struct 'TypedDatabaseItemWithTimeToLive' conform to the 'Sendable' protocol
57 | public typealias TypedDatabaseItem<AttributesType: PrimaryKeyAttributes, RowType: Codable> = TypedDatabaseItemWithTimeToLive<AttributesType, RowType, StandardTimeToLiveAttributes>
58 |
59 | public struct TypedDatabaseItemWithTimeToLive<AttributesType: PrimaryKeyAttributes,
| `- note: consider making generic struct 'TypedDatabaseItemWithTimeToLive' conform to the 'Sendable' protocol
60 | RowType: Codable,
61 | TimeToLiveAttributesType: TimeToLiveAttributes>: DatabaseItem, Codable {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+getItems.swift:62:66: warning: type 'CompositePrimaryKey<ReturnedType.AttributesType>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
60 | func batchGetItem() -> EventLoopFuture<OutputType> {
61 | // submit the asynchronous request
62 | return self.dynamodb.batchGetItem(input: self.input).flatMap { output -> EventLoopFuture<OutputType> in
| `- warning: type 'CompositePrimaryKey<ReturnedType.AttributesType>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
63 | let errors = output.responses?.flatMap({ (tableName, itemList) -> [Error] in
64 | return itemList.compactMap { values -> Error? in
/host/spi-builder-workspace/Sources/SmokeDynamoDB/CompositePrimaryKey.swift:59:15: note: consider making generic struct 'CompositePrimaryKey' conform to the 'Sendable' protocol
57 | }
58 |
59 | public struct CompositePrimaryKey<AttributesType: PrimaryKeyAttributes>: Codable, CustomStringConvertible, Hashable {
| `- note: consider making generic struct 'CompositePrimaryKey' conform to the 'Sendable' protocol
60 | public var description: String {
61 | return "CompositePrimaryKey(partitionKey: \(partitionKey), sortKey: \(sortKey))"
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+getItems.swift:62:66: warning: type 'ReturnedType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
37 | the same retry configuration as the underlying DynamoDB client.
38 | */
39 | private class GetItemsRetriable<ReturnedType: PolymorphicOperationReturnType & BatchCapableReturnType> {
| `- note: consider making generic parameter 'ReturnedType' conform to the 'Sendable' protocol
40 | typealias OutputType = [CompositePrimaryKey<ReturnedType.AttributesType>: ReturnedType]
41 |
:
60 | func batchGetItem() -> EventLoopFuture<OutputType> {
61 | // submit the asynchronous request
62 | return self.dynamodb.batchGetItem(input: self.input).flatMap { output -> EventLoopFuture<OutputType> in
| `- warning: type 'ReturnedType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
63 | let errors = output.responses?.flatMap({ (tableName, itemList) -> [Error] in
64 | return itemList.compactMap { values -> Error? in
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+getItems.swift:94:25: warning: type 'CompositePrimaryKey<ReturnedType.AttributesType>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
92 |
93 | let promise = self.eventLoop.makePromise(of: OutputType.self)
94 | promise.succeed(self.outputItems)
| `- warning: type 'CompositePrimaryKey<ReturnedType.AttributesType>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
95 | return promise.futureResult
96 | }
/host/spi-builder-workspace/Sources/SmokeDynamoDB/CompositePrimaryKey.swift:59:15: note: consider making generic struct 'CompositePrimaryKey' conform to the 'Sendable' protocol
57 | }
58 |
59 | public struct CompositePrimaryKey<AttributesType: PrimaryKeyAttributes>: Codable, CustomStringConvertible, Hashable {
| `- note: consider making generic struct 'CompositePrimaryKey' conform to the 'Sendable' protocol
60 | public var description: String {
61 | return "CompositePrimaryKey(partitionKey: \(partitionKey), sortKey: \(sortKey))"
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+getItems.swift:94:25: warning: type 'ReturnedType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
37 | the same retry configuration as the underlying DynamoDB client.
38 | */
39 | private class GetItemsRetriable<ReturnedType: PolymorphicOperationReturnType & BatchCapableReturnType> {
| `- note: consider making generic parameter 'ReturnedType' conform to the 'Sendable' protocol
40 | typealias OutputType = [CompositePrimaryKey<ReturnedType.AttributesType>: ReturnedType]
41 |
:
92 |
93 | let promise = self.eventLoop.makePromise(of: OutputType.self)
94 | promise.succeed(self.outputItems)
| `- warning: type 'ReturnedType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
95 | return promise.futureResult
96 | }
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+getItems.swift:72:29: warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>.GetItemsRetriable<ReturnedType>' in a '@Sendable' closure
37 | the same retry configuration as the underlying DynamoDB client.
38 | */
39 | private class GetItemsRetriable<ReturnedType: PolymorphicOperationReturnType & BatchCapableReturnType> {
| `- note: generic class 'GetItemsRetriable' does not conform to the 'Sendable' protocol
40 | typealias OutputType = [CompositePrimaryKey<ReturnedType.AttributesType>: ReturnedType]
41 |
:
70 | let key = decodedValue.getItemKey()
71 |
72 | self.outputItems[key] = decodedValue
| `- warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>.GetItemsRetriable<ReturnedType>' in a '@Sendable' closure
73 | return nil
74 | } catch {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+getItems.swift:72:29: warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>.GetItemsRetriable<ReturnedType>' in an isolated closure; this is an error in the Swift 6 language mode
37 | the same retry configuration as the underlying DynamoDB client.
38 | */
39 | private class GetItemsRetriable<ReturnedType: PolymorphicOperationReturnType & BatchCapableReturnType> {
| `- note: generic class 'GetItemsRetriable' does not conform to the 'Sendable' protocol
40 | typealias OutputType = [CompositePrimaryKey<ReturnedType.AttributesType>: ReturnedType]
41 |
:
70 | let key = decodedValue.getItemKey()
71 |
72 | self.outputItems[key] = decodedValue
| `- warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>.GetItemsRetriable<ReturnedType>' in an isolated closure; this is an error in the Swift 6 language mode
73 | return nil
74 | } catch {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+getItems.swift:72:29: warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>.GetItemsRetriable<ReturnedType>' in an isolated closure; this is an error in the Swift 6 language mode
37 | the same retry configuration as the underlying DynamoDB client.
38 | */
39 | private class GetItemsRetriable<ReturnedType: PolymorphicOperationReturnType & BatchCapableReturnType> {
| `- note: generic class 'GetItemsRetriable' does not conform to the 'Sendable' protocol
40 | typealias OutputType = [CompositePrimaryKey<ReturnedType.AttributesType>: ReturnedType]
41 |
:
70 | let key = decodedValue.getItemKey()
71 |
72 | self.outputItems[key] = decodedValue
| `- warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>.GetItemsRetriable<ReturnedType>' in an isolated closure; this is an error in the Swift 6 language mode
73 | return nil
74 | } catch {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+getItems.swift:121:29: warning: type 'CompositePrimaryKey<ReturnedType.AttributesType>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
119 | let nextFuture = self.batchGetItem()
120 |
121 | promise.completeWith(nextFuture)
| `- warning: type 'CompositePrimaryKey<ReturnedType.AttributesType>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
122 | }
123 |
/host/spi-builder-workspace/Sources/SmokeDynamoDB/CompositePrimaryKey.swift:59:15: note: consider making generic struct 'CompositePrimaryKey' conform to the 'Sendable' protocol
57 | }
58 |
59 | public struct CompositePrimaryKey<AttributesType: PrimaryKeyAttributes>: Codable, CustomStringConvertible, Hashable {
| `- note: consider making generic struct 'CompositePrimaryKey' conform to the 'Sendable' protocol
60 | public var description: String {
61 | return "CompositePrimaryKey(partitionKey: \(partitionKey), sortKey: \(sortKey))"
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+getItems.swift:121:29: warning: type 'ReturnedType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
37 | the same retry configuration as the underlying DynamoDB client.
38 | */
39 | private class GetItemsRetriable<ReturnedType: PolymorphicOperationReturnType & BatchCapableReturnType> {
| `- note: consider making generic parameter 'ReturnedType' conform to the 'Sendable' protocol
40 | typealias OutputType = [CompositePrimaryKey<ReturnedType.AttributesType>: ReturnedType]
41 |
:
119 | let nextFuture = self.batchGetItem()
120 |
121 | promise.completeWith(nextFuture)
| `- warning: type 'ReturnedType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
122 | }
123 |
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+getItems.swift:119:38: warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>.GetItemsRetriable<ReturnedType>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
37 | the same retry configuration as the underlying DynamoDB client.
38 | */
39 | private class GetItemsRetriable<ReturnedType: PolymorphicOperationReturnType & BatchCapableReturnType> {
| `- note: generic class 'GetItemsRetriable' does not conform to the 'Sendable' protocol
40 | typealias OutputType = [CompositePrimaryKey<ReturnedType.AttributesType>: ReturnedType]
41 |
:
117 | logger.trace("Reattempting request due to remaining retries: \(currentRetriesRemaining)")
118 |
119 | let nextFuture = self.batchGetItem()
| `- warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>.GetItemsRetriable<ReturnedType>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
120 |
121 | promise.completeWith(nextFuture)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+getItems.swift:160:32: warning: type 'CompositePrimaryKey<ReturnedType.AttributesType>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
158 | // maps is of type [[CompositePrimaryKey<ReturnedType.AttributesType>: ReturnedType]]
159 | // with each map coming from each chunk of the original key list
160 | return EventLoopFuture.whenAllSucceed(futures, on: self.eventLoop) .map { maps in
| `- warning: type 'CompositePrimaryKey<ReturnedType.AttributesType>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
161 | return maps.reduce([:]) { (partialMap, chunkMap) in
162 | // reduce the maps from the chunks into a single map
/host/spi-builder-workspace/Sources/SmokeDynamoDB/CompositePrimaryKey.swift:59:15: note: consider making generic struct 'CompositePrimaryKey' conform to the 'Sendable' protocol
57 | }
58 |
59 | public struct CompositePrimaryKey<AttributesType: PrimaryKeyAttributes>: Codable, CustomStringConvertible, Hashable {
| `- note: consider making generic struct 'CompositePrimaryKey' conform to the 'Sendable' protocol
60 | public var description: String {
61 | return "CompositePrimaryKey(partitionKey: \(partitionKey), sortKey: \(sortKey))"
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+getItems.swift:160:32: warning: type 'ReturnedType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
133 | }
134 |
135 | func getItems<ReturnedType: PolymorphicOperationReturnType & BatchCapableReturnType>(
| `- note: consider making generic parameter 'ReturnedType' conform to the 'Sendable' protocol
136 | forKeys keys: [CompositePrimaryKey<ReturnedType.AttributesType>])
137 | -> EventLoopFuture<[CompositePrimaryKey<ReturnedType.AttributesType>: ReturnedType]> {
:
158 | // maps is of type [[CompositePrimaryKey<ReturnedType.AttributesType>: ReturnedType]]
159 | // with each map coming from each chunk of the original key list
160 | return EventLoopFuture.whenAllSucceed(futures, on: self.eventLoop) .map { maps in
| `- warning: type 'ReturnedType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
161 | return maps.reduce([:]) { (partialMap, chunkMap) in
162 | // reduce the maps from the chunks into a single map
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+monomorphicGetItems.swift:62:66: warning: type 'CompositePrimaryKey<AttributesType>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
60 | func batchGetItem() -> EventLoopFuture<OutputType> {
61 | // submit the asynchronous request
62 | return self.dynamodb.batchGetItem(input: self.input).flatMap { output -> EventLoopFuture<OutputType> in
| `- warning: type 'CompositePrimaryKey<AttributesType>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
63 | let errors = output.responses?.flatMap({ (tableName, itemList) -> [Error] in
64 | return itemList.compactMap { values -> Error? in
/host/spi-builder-workspace/Sources/SmokeDynamoDB/CompositePrimaryKey.swift:59:15: note: consider making generic struct 'CompositePrimaryKey' conform to the 'Sendable' protocol
57 | }
58 |
59 | public struct CompositePrimaryKey<AttributesType: PrimaryKeyAttributes>: Codable, CustomStringConvertible, Hashable {
| `- note: consider making generic struct 'CompositePrimaryKey' conform to the 'Sendable' protocol
60 | public var description: String {
61 | return "CompositePrimaryKey(partitionKey: \(partitionKey), sortKey: \(sortKey))"
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+monomorphicGetItems.swift:62:66: warning: type 'TypedDatabaseItem<AttributesType, ItemType>' (aka 'TypedDatabaseItemWithTimeToLive<AttributesType, ItemType, StandardTimeToLiveAttributes>') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
60 | func batchGetItem() -> EventLoopFuture<OutputType> {
61 | // submit the asynchronous request
62 | return self.dynamodb.batchGetItem(input: self.input).flatMap { output -> EventLoopFuture<OutputType> in
| `- warning: type 'TypedDatabaseItem<AttributesType, ItemType>' (aka 'TypedDatabaseItemWithTimeToLive<AttributesType, ItemType, StandardTimeToLiveAttributes>') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
63 | let errors = output.responses?.flatMap({ (tableName, itemList) -> [Error] in
64 | return itemList.compactMap { values -> Error? in
/host/spi-builder-workspace/Sources/SmokeDynamoDB/TypedDatabaseItemWithTimeToLive.swift:59:15: note: consider making generic struct 'TypedDatabaseItemWithTimeToLive' conform to the 'Sendable' protocol
57 | public typealias TypedDatabaseItem<AttributesType: PrimaryKeyAttributes, RowType: Codable> = TypedDatabaseItemWithTimeToLive<AttributesType, RowType, StandardTimeToLiveAttributes>
58 |
59 | public struct TypedDatabaseItemWithTimeToLive<AttributesType: PrimaryKeyAttributes,
| `- note: consider making generic struct 'TypedDatabaseItemWithTimeToLive' conform to the 'Sendable' protocol
60 | RowType: Codable,
61 | TimeToLiveAttributesType: TimeToLiveAttributes>: DatabaseItem, Codable {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+monomorphicGetItems.swift:93:25: warning: type 'CompositePrimaryKey<AttributesType>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
91 |
92 | let promise = self.eventLoop.makePromise(of: OutputType.self)
93 | promise.succeed(self.outputItems)
| `- warning: type 'CompositePrimaryKey<AttributesType>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
94 | return promise.futureResult
95 | }
/host/spi-builder-workspace/Sources/SmokeDynamoDB/CompositePrimaryKey.swift:59:15: note: consider making generic struct 'CompositePrimaryKey' conform to the 'Sendable' protocol
57 | }
58 |
59 | public struct CompositePrimaryKey<AttributesType: PrimaryKeyAttributes>: Codable, CustomStringConvertible, Hashable {
| `- note: consider making generic struct 'CompositePrimaryKey' conform to the 'Sendable' protocol
60 | public var description: String {
61 | return "CompositePrimaryKey(partitionKey: \(partitionKey), sortKey: \(sortKey))"
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+monomorphicGetItems.swift:93:25: warning: type 'TypedDatabaseItem<AttributesType, ItemType>' (aka 'TypedDatabaseItemWithTimeToLive<AttributesType, ItemType, StandardTimeToLiveAttributes>') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
91 |
92 | let promise = self.eventLoop.makePromise(of: OutputType.self)
93 | promise.succeed(self.outputItems)
| `- warning: type 'TypedDatabaseItem<AttributesType, ItemType>' (aka 'TypedDatabaseItemWithTimeToLive<AttributesType, ItemType, StandardTimeToLiveAttributes>') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
94 | return promise.futureResult
95 | }
/host/spi-builder-workspace/Sources/SmokeDynamoDB/TypedDatabaseItemWithTimeToLive.swift:59:15: note: consider making generic struct 'TypedDatabaseItemWithTimeToLive' conform to the 'Sendable' protocol
57 | public typealias TypedDatabaseItem<AttributesType: PrimaryKeyAttributes, RowType: Codable> = TypedDatabaseItemWithTimeToLive<AttributesType, RowType, StandardTimeToLiveAttributes>
58 |
59 | public struct TypedDatabaseItemWithTimeToLive<AttributesType: PrimaryKeyAttributes,
| `- note: consider making generic struct 'TypedDatabaseItemWithTimeToLive' conform to the 'Sendable' protocol
60 | RowType: Codable,
61 | TimeToLiveAttributesType: TimeToLiveAttributes>: DatabaseItem, Codable {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+monomorphicGetItems.swift:71:29: warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>.MonomorphicGetItemsRetriable<AttributesType, ItemType>' in a '@Sendable' closure
37 | the same retry configuration as the underlying DynamoDB client.
38 | */
39 | private class MonomorphicGetItemsRetriable<AttributesType: PrimaryKeyAttributes, ItemType: Codable> {
| `- note: generic class 'MonomorphicGetItemsRetriable' does not conform to the 'Sendable' protocol
40 | typealias OutputType = [CompositePrimaryKey<AttributesType>: TypedDatabaseItem<AttributesType, ItemType>]
41 |
:
69 | let key = decodedValue.compositePrimaryKey
70 |
71 | self.outputItems[key] = decodedValue
| `- warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>.MonomorphicGetItemsRetriable<AttributesType, ItemType>' in a '@Sendable' closure
72 | return nil
73 | } catch {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+monomorphicGetItems.swift:71:29: warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>.MonomorphicGetItemsRetriable<AttributesType, ItemType>' in an isolated closure; this is an error in the Swift 6 language mode
37 | the same retry configuration as the underlying DynamoDB client.
38 | */
39 | private class MonomorphicGetItemsRetriable<AttributesType: PrimaryKeyAttributes, ItemType: Codable> {
| `- note: generic class 'MonomorphicGetItemsRetriable' does not conform to the 'Sendable' protocol
40 | typealias OutputType = [CompositePrimaryKey<AttributesType>: TypedDatabaseItem<AttributesType, ItemType>]
41 |
:
69 | let key = decodedValue.compositePrimaryKey
70 |
71 | self.outputItems[key] = decodedValue
| `- warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>.MonomorphicGetItemsRetriable<AttributesType, ItemType>' in an isolated closure; this is an error in the Swift 6 language mode
72 | return nil
73 | } catch {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+monomorphicGetItems.swift:71:29: warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>.MonomorphicGetItemsRetriable<AttributesType, ItemType>' in an isolated closure; this is an error in the Swift 6 language mode
37 | the same retry configuration as the underlying DynamoDB client.
38 | */
39 | private class MonomorphicGetItemsRetriable<AttributesType: PrimaryKeyAttributes, ItemType: Codable> {
| `- note: generic class 'MonomorphicGetItemsRetriable' does not conform to the 'Sendable' protocol
40 | typealias OutputType = [CompositePrimaryKey<AttributesType>: TypedDatabaseItem<AttributesType, ItemType>]
41 |
:
69 | let key = decodedValue.compositePrimaryKey
70 |
71 | self.outputItems[key] = decodedValue
| `- warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>.MonomorphicGetItemsRetriable<AttributesType, ItemType>' in an isolated closure; this is an error in the Swift 6 language mode
72 | return nil
73 | } catch {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+monomorphicGetItems.swift:120:29: warning: type 'CompositePrimaryKey<AttributesType>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
118 | let nextFuture = self.batchGetItem()
119 |
120 | promise.completeWith(nextFuture)
| `- warning: type 'CompositePrimaryKey<AttributesType>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
121 | }
122 |
/host/spi-builder-workspace/Sources/SmokeDynamoDB/CompositePrimaryKey.swift:59:15: note: consider making generic struct 'CompositePrimaryKey' conform to the 'Sendable' protocol
57 | }
58 |
59 | public struct CompositePrimaryKey<AttributesType: PrimaryKeyAttributes>: Codable, CustomStringConvertible, Hashable {
| `- note: consider making generic struct 'CompositePrimaryKey' conform to the 'Sendable' protocol
60 | public var description: String {
61 | return "CompositePrimaryKey(partitionKey: \(partitionKey), sortKey: \(sortKey))"
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+monomorphicGetItems.swift:120:29: warning: type 'TypedDatabaseItem<AttributesType, ItemType>' (aka 'TypedDatabaseItemWithTimeToLive<AttributesType, ItemType, StandardTimeToLiveAttributes>') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
118 | let nextFuture = self.batchGetItem()
119 |
120 | promise.completeWith(nextFuture)
| `- warning: type 'TypedDatabaseItem<AttributesType, ItemType>' (aka 'TypedDatabaseItemWithTimeToLive<AttributesType, ItemType, StandardTimeToLiveAttributes>') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
121 | }
122 |
/host/spi-builder-workspace/Sources/SmokeDynamoDB/TypedDatabaseItemWithTimeToLive.swift:59:15: note: consider making generic struct 'TypedDatabaseItemWithTimeToLive' conform to the 'Sendable' protocol
57 | public typealias TypedDatabaseItem<AttributesType: PrimaryKeyAttributes, RowType: Codable> = TypedDatabaseItemWithTimeToLive<AttributesType, RowType, StandardTimeToLiveAttributes>
58 |
59 | public struct TypedDatabaseItemWithTimeToLive<AttributesType: PrimaryKeyAttributes,
| `- note: consider making generic struct 'TypedDatabaseItemWithTimeToLive' conform to the 'Sendable' protocol
60 | RowType: Codable,
61 | TimeToLiveAttributesType: TimeToLiveAttributes>: DatabaseItem, Codable {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+monomorphicGetItems.swift:118:38: warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>.MonomorphicGetItemsRetriable<AttributesType, ItemType>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
37 | the same retry configuration as the underlying DynamoDB client.
38 | */
39 | private class MonomorphicGetItemsRetriable<AttributesType: PrimaryKeyAttributes, ItemType: Codable> {
| `- note: generic class 'MonomorphicGetItemsRetriable' does not conform to the 'Sendable' protocol
40 | typealias OutputType = [CompositePrimaryKey<AttributesType>: TypedDatabaseItem<AttributesType, ItemType>]
41 |
:
116 | logger.trace("Reattempting request due to remaining retries: \(currentRetriesRemaining)")
117 |
118 | let nextFuture = self.batchGetItem()
| `- warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>.MonomorphicGetItemsRetriable<AttributesType, ItemType>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
119 |
120 | promise.completeWith(nextFuture)
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+monomorphicGetItems.swift:159:32: warning: type 'CompositePrimaryKey<AttributesType>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
157 | // maps is of type [[CompositePrimaryKey<AttributesType>: TypedDatabaseItem<AttributesType, ItemType>]]
158 | // with each map coming from each chunk of the original key list
159 | return EventLoopFuture.whenAllSucceed(futures, on: self.eventLoop) .map { maps in
| `- warning: type 'CompositePrimaryKey<AttributesType>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
160 | return maps.reduce([:]) { (partialMap, chunkMap) in
161 | // reduce the maps from the chunks into a single map
/host/spi-builder-workspace/Sources/SmokeDynamoDB/CompositePrimaryKey.swift:59:15: note: consider making generic struct 'CompositePrimaryKey' conform to the 'Sendable' protocol
57 | }
58 |
59 | public struct CompositePrimaryKey<AttributesType: PrimaryKeyAttributes>: Codable, CustomStringConvertible, Hashable {
| `- note: consider making generic struct 'CompositePrimaryKey' conform to the 'Sendable' protocol
60 | public var description: String {
61 | return "CompositePrimaryKey(partitionKey: \(partitionKey), sortKey: \(sortKey))"
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+monomorphicGetItems.swift:159:32: warning: type 'TypedDatabaseItem<AttributesType, ItemType>' (aka 'TypedDatabaseItemWithTimeToLive<AttributesType, ItemType, StandardTimeToLiveAttributes>') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
157 | // maps is of type [[CompositePrimaryKey<AttributesType>: TypedDatabaseItem<AttributesType, ItemType>]]
158 | // with each map coming from each chunk of the original key list
159 | return EventLoopFuture.whenAllSucceed(futures, on: self.eventLoop) .map { maps in
| `- warning: type 'TypedDatabaseItem<AttributesType, ItemType>' (aka 'TypedDatabaseItemWithTimeToLive<AttributesType, ItemType, StandardTimeToLiveAttributes>') does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
160 | return maps.reduce([:]) { (partialMap, chunkMap) in
161 | // reduce the maps from the chunks into a single map
/host/spi-builder-workspace/Sources/SmokeDynamoDB/TypedDatabaseItemWithTimeToLive.swift:59:15: note: consider making generic struct 'TypedDatabaseItemWithTimeToLive' conform to the 'Sendable' protocol
57 | public typealias TypedDatabaseItem<AttributesType: PrimaryKeyAttributes, RowType: Codable> = TypedDatabaseItemWithTimeToLive<AttributesType, RowType, StandardTimeToLiveAttributes>
58 |
59 | public struct TypedDatabaseItemWithTimeToLive<AttributesType: PrimaryKeyAttributes,
| `- note: consider making generic struct 'TypedDatabaseItemWithTimeToLive' conform to the 'Sendable' protocol
60 | RowType: Codable,
61 | TimeToLiveAttributesType: TimeToLiveAttributes>: DatabaseItem, Codable {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+updateItems.swift:600:1: warning: extension declares a conformance of imported type 'BatchStatementError' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'DynamoDBModel' introduce this conformance in the future
598 | }
599 |
600 | extension BatchStatementError: Hashable {
| |- warning: extension declares a conformance of imported type 'BatchStatementError' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'DynamoDBModel' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
601 |
602 | public func hash(into hasher: inout Hasher) {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+updateItems.swift:157:17: warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>' in a '@Sendable' closure
155 |
156 | return dynamodb.batchExecuteStatement(input: executeInput).flatMapThrowing { response in
157 | try self.throwOnBatchExecuteStatementErrors(response: response)
| `- warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>' in a '@Sendable' closure
158 | }
159 | }
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable.swift:38:14: note: generic class 'AWSDynamoDBCompositePrimaryKeyTable' does not conform to the 'Sendable' protocol
36 | }
37 |
38 | public class AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType: HTTPClientCoreInvocationReporting>: DynamoDBCompositePrimaryKeyTable {
| `- note: generic class 'AWSDynamoDBCompositePrimaryKeyTable' does not conform to the 'Sendable' protocol
39 | internal let dynamodb: _AWSDynamoDBClient<InvocationReportingType>
40 | internal let targetTableName: String
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+updateItems.swift:251:21: warning: type 'BatchStatementErrorCodeEnum' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
249 | self.logger.trace("\(entries) with count = 0")
250 | let promise = self.eventLoop.makePromise(of: Set<BatchStatementErrorCodeEnum>.self)
251 | promise.succeed(Set())
| `- warning: type 'BatchStatementErrorCodeEnum' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
252 | return promise.futureResult
253 | }
/host/spi-builder-workspace/.build/checkouts/smoke-aws/Sources/DynamoDBModel/DynamoDBModelTypes.swift:184:13: note: enum 'BatchStatementErrorCodeEnum' does not conform to the 'Sendable' protocol
182 | Enumeration restricting the values of the BatchStatementErrorCodeEnum field.
183 | */
184 | public enum BatchStatementErrorCodeEnum: String, Codable, CustomStringConvertible {
| `- note: enum 'BatchStatementErrorCodeEnum' does not conform to the 'Sendable' protocol
185 | case accessdenied = "AccessDenied"
186 | case conditionalcheckfailed = "ConditionalCheckFailed"
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+updateItems.swift:20:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'DynamoDBModel'
18 | import Foundation
19 | import SmokeAWSCore
20 | import DynamoDBModel
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'DynamoDBModel'
21 | import SmokeHTTPClient
22 | import Logging
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+updateItems.swift:271:21: warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>' in a '@Sendable' closure
269 | // if there are errors
270 | if !errorSet.isEmpty {
271 | self.logger.error("Received BatchStatmentErrors from dynamodb are \(errorSet)")
| `- warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType>' in a '@Sendable' closure
272 | }
273 | return errorCodeSet
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable.swift:38:14: note: generic class 'AWSDynamoDBCompositePrimaryKeyTable' does not conform to the 'Sendable' protocol
36 | }
37 |
38 | public class AWSDynamoDBCompositePrimaryKeyTable<InvocationReportingType: HTTPClientCoreInvocationReporting>: DynamoDBCompositePrimaryKeyTable {
| `- note: generic class 'AWSDynamoDBCompositePrimaryKeyTable' does not conform to the 'Sendable' protocol
39 | internal let dynamodb: _AWSDynamoDBClient<InvocationReportingType>
40 | internal let targetTableName: String
/host/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable+updateItems.swift:292:32: warning: type 'BatchStatementErrorCodeEnum' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
290 | }
291 |
292 | return EventLoopFuture.whenAllComplete(futures, on: self.eventLoop).flatMapThrowing { results in
| `- warning: type 'BatchStatementErrorCodeEnum' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
293 | var errors: Set<BatchStatementErrorCodeEnum> = Set()
294 | try results.forEach { result in
/host/spi-builder-workspace/.build/checkouts/smoke-aws/Sources/DynamoDBModel/DynamoDBModelTypes.swift:184:13: note: enum 'BatchStatementErrorCodeEnum' does not conform to the 'Sendable' protocol
182 | Enumeration restricting the values of the BatchStatementErrorCodeEnum field.
183 | */
184 | public enum BatchStatementErrorCodeEnum: String, Codable, CustomStringConvertible {
| `- note: enum 'BatchStatementErrorCodeEnum' does not conform to the 'Sendable' protocol
185 | case accessdenied = "AccessDenied"
186 | case conditionalcheckfailed = "ConditionalCheckFailed"
[1702/1707] Compiling SmokeDynamoDB TimeToLive.swift
/host/spi-builder-workspace/Sources/SmokeDynamoDB/_DynamoDBClient/_AWSDynamoDBClient.swift:63:69: warning: reference to static property 'default' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
61 | target: String? = "DynamoDB_20120810",
62 | connectionTimeoutSeconds: Int64 = 10,
63 | retryConfiguration: HTTPClientRetryConfiguration = .default,
| `- warning: reference to static property 'default' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
64 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
65 | reportingConfiguration: SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>
/host/spi-builder-workspace/.build/checkouts/smoke-http/Sources/SmokeHTTPClient/HTTPClientRetryConfiguration.swift:73:23: note: static property declared here
71 |
72 | /// Default try configuration with 5 retries starting at 500 ms interval.
73 | public static var `default` = HTTPClientRetryConfiguration(numRetries: 5, baseRetryInterval: 500,
| `- note: static property declared here
74 | maxRetryInterval: 10000, exponentialBackoff: 2)
75 |
/host/spi-builder-workspace/Sources/SmokeDynamoDB/_DynamoDBClient/_AWSDynamoDBClient.swift:64:73: warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly
62 | connectionTimeoutSeconds: Int64 = 10,
63 | retryConfiguration: HTTPClientRetryConfiguration = .default,
64 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
| |- warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly
| `- note: use 'singleton' instead
65 | reportingConfiguration: SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>
66 | = SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>() ) {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/_DynamoDBClient/_AWSDynamoDBClientGenerator.swift:58:69: warning: reference to static property 'default' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
56 | target: String? = "DynamoDB_20120810",
57 | connectionTimeoutSeconds: Int64 = 10,
58 | retryConfiguration: HTTPClientRetryConfiguration = .default,
| `- warning: reference to static property 'default' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
59 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
60 | reportingConfiguration: SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>
/host/spi-builder-workspace/.build/checkouts/smoke-http/Sources/SmokeHTTPClient/HTTPClientRetryConfiguration.swift:73:23: note: static property declared here
71 |
72 | /// Default try configuration with 5 retries starting at 500 ms interval.
73 | public static var `default` = HTTPClientRetryConfiguration(numRetries: 5, baseRetryInterval: 500,
| `- note: static property declared here
74 | maxRetryInterval: 10000, exponentialBackoff: 2)
75 |
/host/spi-builder-workspace/Sources/SmokeDynamoDB/_DynamoDBClient/_AWSDynamoDBClientGenerator.swift:59:73: warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly
57 | connectionTimeoutSeconds: Int64 = 10,
58 | retryConfiguration: HTTPClientRetryConfiguration = .default,
59 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
| |- warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly
| `- note: use 'singleton' instead
60 | reportingConfiguration: SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>
61 | = SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>() ) {
[1703/1707] Compiling SmokeDynamoDB TypedDatabaseItemWithTimeToLive+RowWithItemVersionProtocol.swift
/host/spi-builder-workspace/Sources/SmokeDynamoDB/_DynamoDBClient/_AWSDynamoDBClient.swift:63:69: warning: reference to static property 'default' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
61 | target: String? = "DynamoDB_20120810",
62 | connectionTimeoutSeconds: Int64 = 10,
63 | retryConfiguration: HTTPClientRetryConfiguration = .default,
| `- warning: reference to static property 'default' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
64 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
65 | reportingConfiguration: SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>
/host/spi-builder-workspace/.build/checkouts/smoke-http/Sources/SmokeHTTPClient/HTTPClientRetryConfiguration.swift:73:23: note: static property declared here
71 |
72 | /// Default try configuration with 5 retries starting at 500 ms interval.
73 | public static var `default` = HTTPClientRetryConfiguration(numRetries: 5, baseRetryInterval: 500,
| `- note: static property declared here
74 | maxRetryInterval: 10000, exponentialBackoff: 2)
75 |
/host/spi-builder-workspace/Sources/SmokeDynamoDB/_DynamoDBClient/_AWSDynamoDBClient.swift:64:73: warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly
62 | connectionTimeoutSeconds: Int64 = 10,
63 | retryConfiguration: HTTPClientRetryConfiguration = .default,
64 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
| |- warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly
| `- note: use 'singleton' instead
65 | reportingConfiguration: SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>
66 | = SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>() ) {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/_DynamoDBClient/_AWSDynamoDBClientGenerator.swift:58:69: warning: reference to static property 'default' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
56 | target: String? = "DynamoDB_20120810",
57 | connectionTimeoutSeconds: Int64 = 10,
58 | retryConfiguration: HTTPClientRetryConfiguration = .default,
| `- warning: reference to static property 'default' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
59 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
60 | reportingConfiguration: SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>
/host/spi-builder-workspace/.build/checkouts/smoke-http/Sources/SmokeHTTPClient/HTTPClientRetryConfiguration.swift:73:23: note: static property declared here
71 |
72 | /// Default try configuration with 5 retries starting at 500 ms interval.
73 | public static var `default` = HTTPClientRetryConfiguration(numRetries: 5, baseRetryInterval: 500,
| `- note: static property declared here
74 | maxRetryInterval: 10000, exponentialBackoff: 2)
75 |
/host/spi-builder-workspace/Sources/SmokeDynamoDB/_DynamoDBClient/_AWSDynamoDBClientGenerator.swift:59:73: warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly
57 | connectionTimeoutSeconds: Int64 = 10,
58 | retryConfiguration: HTTPClientRetryConfiguration = .default,
59 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
| |- warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly
| `- note: use 'singleton' instead
60 | reportingConfiguration: SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>
61 | = SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>() ) {
[1704/1707] Compiling SmokeDynamoDB TypedDatabaseItemWithTimeToLive.swift
/host/spi-builder-workspace/Sources/SmokeDynamoDB/_DynamoDBClient/_AWSDynamoDBClient.swift:63:69: warning: reference to static property 'default' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
61 | target: String? = "DynamoDB_20120810",
62 | connectionTimeoutSeconds: Int64 = 10,
63 | retryConfiguration: HTTPClientRetryConfiguration = .default,
| `- warning: reference to static property 'default' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
64 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
65 | reportingConfiguration: SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>
/host/spi-builder-workspace/.build/checkouts/smoke-http/Sources/SmokeHTTPClient/HTTPClientRetryConfiguration.swift:73:23: note: static property declared here
71 |
72 | /// Default try configuration with 5 retries starting at 500 ms interval.
73 | public static var `default` = HTTPClientRetryConfiguration(numRetries: 5, baseRetryInterval: 500,
| `- note: static property declared here
74 | maxRetryInterval: 10000, exponentialBackoff: 2)
75 |
/host/spi-builder-workspace/Sources/SmokeDynamoDB/_DynamoDBClient/_AWSDynamoDBClient.swift:64:73: warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly
62 | connectionTimeoutSeconds: Int64 = 10,
63 | retryConfiguration: HTTPClientRetryConfiguration = .default,
64 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
| |- warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly
| `- note: use 'singleton' instead
65 | reportingConfiguration: SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>
66 | = SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>() ) {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/_DynamoDBClient/_AWSDynamoDBClientGenerator.swift:58:69: warning: reference to static property 'default' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
56 | target: String? = "DynamoDB_20120810",
57 | connectionTimeoutSeconds: Int64 = 10,
58 | retryConfiguration: HTTPClientRetryConfiguration = .default,
| `- warning: reference to static property 'default' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
59 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
60 | reportingConfiguration: SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>
/host/spi-builder-workspace/.build/checkouts/smoke-http/Sources/SmokeHTTPClient/HTTPClientRetryConfiguration.swift:73:23: note: static property declared here
71 |
72 | /// Default try configuration with 5 retries starting at 500 ms interval.
73 | public static var `default` = HTTPClientRetryConfiguration(numRetries: 5, baseRetryInterval: 500,
| `- note: static property declared here
74 | maxRetryInterval: 10000, exponentialBackoff: 2)
75 |
/host/spi-builder-workspace/Sources/SmokeDynamoDB/_DynamoDBClient/_AWSDynamoDBClientGenerator.swift:59:73: warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly
57 | connectionTimeoutSeconds: Int64 = 10,
58 | retryConfiguration: HTTPClientRetryConfiguration = .default,
59 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
| |- warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly
| `- note: use 'singleton' instead
60 | reportingConfiguration: SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>
61 | = SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>() ) {
[1705/1707] Compiling SmokeDynamoDB _AWSDynamoDBClient.swift
/host/spi-builder-workspace/Sources/SmokeDynamoDB/_DynamoDBClient/_AWSDynamoDBClient.swift:63:69: warning: reference to static property 'default' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
61 | target: String? = "DynamoDB_20120810",
62 | connectionTimeoutSeconds: Int64 = 10,
63 | retryConfiguration: HTTPClientRetryConfiguration = .default,
| `- warning: reference to static property 'default' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
64 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
65 | reportingConfiguration: SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>
/host/spi-builder-workspace/.build/checkouts/smoke-http/Sources/SmokeHTTPClient/HTTPClientRetryConfiguration.swift:73:23: note: static property declared here
71 |
72 | /// Default try configuration with 5 retries starting at 500 ms interval.
73 | public static var `default` = HTTPClientRetryConfiguration(numRetries: 5, baseRetryInterval: 500,
| `- note: static property declared here
74 | maxRetryInterval: 10000, exponentialBackoff: 2)
75 |
/host/spi-builder-workspace/Sources/SmokeDynamoDB/_DynamoDBClient/_AWSDynamoDBClient.swift:64:73: warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly
62 | connectionTimeoutSeconds: Int64 = 10,
63 | retryConfiguration: HTTPClientRetryConfiguration = .default,
64 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
| |- warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly
| `- note: use 'singleton' instead
65 | reportingConfiguration: SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>
66 | = SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>() ) {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/_DynamoDBClient/_AWSDynamoDBClientGenerator.swift:58:69: warning: reference to static property 'default' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
56 | target: String? = "DynamoDB_20120810",
57 | connectionTimeoutSeconds: Int64 = 10,
58 | retryConfiguration: HTTPClientRetryConfiguration = .default,
| `- warning: reference to static property 'default' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
59 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
60 | reportingConfiguration: SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>
/host/spi-builder-workspace/.build/checkouts/smoke-http/Sources/SmokeHTTPClient/HTTPClientRetryConfiguration.swift:73:23: note: static property declared here
71 |
72 | /// Default try configuration with 5 retries starting at 500 ms interval.
73 | public static var `default` = HTTPClientRetryConfiguration(numRetries: 5, baseRetryInterval: 500,
| `- note: static property declared here
74 | maxRetryInterval: 10000, exponentialBackoff: 2)
75 |
/host/spi-builder-workspace/Sources/SmokeDynamoDB/_DynamoDBClient/_AWSDynamoDBClientGenerator.swift:59:73: warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly
57 | connectionTimeoutSeconds: Int64 = 10,
58 | retryConfiguration: HTTPClientRetryConfiguration = .default,
59 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
| |- warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly
| `- note: use 'singleton' instead
60 | reportingConfiguration: SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>
61 | = SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>() ) {
[1706/1707] Compiling SmokeDynamoDB _AWSDynamoDBClientGenerator.swift
/host/spi-builder-workspace/Sources/SmokeDynamoDB/_DynamoDBClient/_AWSDynamoDBClient.swift:63:69: warning: reference to static property 'default' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
61 | target: String? = "DynamoDB_20120810",
62 | connectionTimeoutSeconds: Int64 = 10,
63 | retryConfiguration: HTTPClientRetryConfiguration = .default,
| `- warning: reference to static property 'default' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
64 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
65 | reportingConfiguration: SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>
/host/spi-builder-workspace/.build/checkouts/smoke-http/Sources/SmokeHTTPClient/HTTPClientRetryConfiguration.swift:73:23: note: static property declared here
71 |
72 | /// Default try configuration with 5 retries starting at 500 ms interval.
73 | public static var `default` = HTTPClientRetryConfiguration(numRetries: 5, baseRetryInterval: 500,
| `- note: static property declared here
74 | maxRetryInterval: 10000, exponentialBackoff: 2)
75 |
/host/spi-builder-workspace/Sources/SmokeDynamoDB/_DynamoDBClient/_AWSDynamoDBClient.swift:64:73: warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly
62 | connectionTimeoutSeconds: Int64 = 10,
63 | retryConfiguration: HTTPClientRetryConfiguration = .default,
64 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
| |- warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly
| `- note: use 'singleton' instead
65 | reportingConfiguration: SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>
66 | = SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>() ) {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/_DynamoDBClient/_AWSDynamoDBClientGenerator.swift:58:69: warning: reference to static property 'default' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
56 | target: String? = "DynamoDB_20120810",
57 | connectionTimeoutSeconds: Int64 = 10,
58 | retryConfiguration: HTTPClientRetryConfiguration = .default,
| `- warning: reference to static property 'default' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
59 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
60 | reportingConfiguration: SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>
/host/spi-builder-workspace/.build/checkouts/smoke-http/Sources/SmokeHTTPClient/HTTPClientRetryConfiguration.swift:73:23: note: static property declared here
71 |
72 | /// Default try configuration with 5 retries starting at 500 ms interval.
73 | public static var `default` = HTTPClientRetryConfiguration(numRetries: 5, baseRetryInterval: 500,
| `- note: static property declared here
74 | maxRetryInterval: 10000, exponentialBackoff: 2)
75 |
/host/spi-builder-workspace/Sources/SmokeDynamoDB/_DynamoDBClient/_AWSDynamoDBClientGenerator.swift:59:73: warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly
57 | connectionTimeoutSeconds: Int64 = 10,
58 | retryConfiguration: HTTPClientRetryConfiguration = .default,
59 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
| |- warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly
| `- note: use 'singleton' instead
60 | reportingConfiguration: SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>
61 | = SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>() ) {
[1707/1707] Compiling SmokeDynamoDB _DynamoDBClientProtocol.swift
/host/spi-builder-workspace/Sources/SmokeDynamoDB/_DynamoDBClient/_AWSDynamoDBClient.swift:63:69: warning: reference to static property 'default' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
61 | target: String? = "DynamoDB_20120810",
62 | connectionTimeoutSeconds: Int64 = 10,
63 | retryConfiguration: HTTPClientRetryConfiguration = .default,
| `- warning: reference to static property 'default' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
64 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
65 | reportingConfiguration: SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>
/host/spi-builder-workspace/.build/checkouts/smoke-http/Sources/SmokeHTTPClient/HTTPClientRetryConfiguration.swift:73:23: note: static property declared here
71 |
72 | /// Default try configuration with 5 retries starting at 500 ms interval.
73 | public static var `default` = HTTPClientRetryConfiguration(numRetries: 5, baseRetryInterval: 500,
| `- note: static property declared here
74 | maxRetryInterval: 10000, exponentialBackoff: 2)
75 |
/host/spi-builder-workspace/Sources/SmokeDynamoDB/_DynamoDBClient/_AWSDynamoDBClient.swift:64:73: warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly
62 | connectionTimeoutSeconds: Int64 = 10,
63 | retryConfiguration: HTTPClientRetryConfiguration = .default,
64 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
| |- warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly
| `- note: use 'singleton' instead
65 | reportingConfiguration: SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>
66 | = SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>() ) {
/host/spi-builder-workspace/Sources/SmokeDynamoDB/_DynamoDBClient/_AWSDynamoDBClientGenerator.swift:58:69: warning: reference to static property 'default' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
56 | target: String? = "DynamoDB_20120810",
57 | connectionTimeoutSeconds: Int64 = 10,
58 | retryConfiguration: HTTPClientRetryConfiguration = .default,
| `- warning: reference to static property 'default' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
59 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
60 | reportingConfiguration: SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>
/host/spi-builder-workspace/.build/checkouts/smoke-http/Sources/SmokeHTTPClient/HTTPClientRetryConfiguration.swift:73:23: note: static property declared here
71 |
72 | /// Default try configuration with 5 retries starting at 500 ms interval.
73 | public static var `default` = HTTPClientRetryConfiguration(numRetries: 5, baseRetryInterval: 500,
| `- note: static property declared here
74 | maxRetryInterval: 10000, exponentialBackoff: 2)
75 |
/host/spi-builder-workspace/Sources/SmokeDynamoDB/_DynamoDBClient/_AWSDynamoDBClientGenerator.swift:59:73: warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly
57 | connectionTimeoutSeconds: Int64 = 10,
58 | retryConfiguration: HTTPClientRetryConfiguration = .default,
59 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
| |- warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly
| `- note: use 'singleton' instead
60 | reportingConfiguration: SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>
61 | = SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>() ) {
Build complete! (366.29s)
Build complete.
{
"dependencies" : [
{
"identity" : "smoke-aws",
"requirement" : {
"range" : [
{
"lower_bound" : "3.0.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/amzn/smoke-aws.git"
},
{
"identity" : "smoke-http",
"requirement" : {
"range" : [
{
"lower_bound" : "3.0.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/amzn/smoke-http.git"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
},
{
"identity" : "swift-metrics",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-metrics.git"
},
{
"identity" : "collectionconcurrencykit",
"requirement" : {
"range" : [
{
"lower_bound" : "0.2.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/JohnSundell/CollectionConcurrencyKit"
}
],
"manifest_display_name" : "smoke-dynamodb",
"name" : "smoke-dynamodb",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "tvos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "SmokeDynamoDB",
"targets" : [
"SmokeDynamoDB"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "SmokeDynamoDBTests",
"module_type" : "SwiftTarget",
"name" : "SmokeDynamoDBTests",
"path" : "Tests/SmokeDynamoDBTests",
"product_dependencies" : [
"SmokeHTTPClient"
],
"sources" : [
"DynamoDBCompositePrimaryKeyTableClobberVersionedItemWithHistoricalRowTests.swift",
"DynamoDBCompositePrimaryKeyTableHistoricalItemExtensionsTests.swift",
"DynamoDBCompositePrimaryKeyTableTests.swift",
"DynamoDBCompositePrimaryKeyTableUpdateItemConditionallyAtKeyTests.swift",
"DynamoDBEncoderDecoderTests.swift",
"InMemoryDynamoDBCompositePrimaryKeyTableTests.swift",
"SimulateConcurrencyDynamoDBCompositePrimaryKeyTableTests.swift",
"SmokeDynamoDBTestInput.swift",
"SmokeDynamoDBTests.swift",
"String+DynamoDBKeyTests.swift",
"TestConfiguration.swift",
"TypedDatabaseItem+RowWithItemVersionProtocolTests.swift"
],
"target_dependencies" : [
"SmokeDynamoDB"
],
"type" : "test"
},
{
"c99name" : "SmokeDynamoDB",
"module_type" : "SwiftTarget",
"name" : "SmokeDynamoDB",
"path" : "Sources/SmokeDynamoDB",
"product_dependencies" : [
"Logging",
"Metrics",
"DynamoDBClient",
"SmokeHTTPClient",
"_SmokeAWSHttpConcurrency",
"CollectionConcurrencyKit"
],
"product_memberships" : [
"SmokeDynamoDB"
],
"sources" : [
"AWSDynamoDBClientConfiguration.swift",
"AWSDynamoDBCompositePrimaryKeyTable+DynamoDBTableAsync.swift",
"AWSDynamoDBCompositePrimaryKeyTable+deleteItems.swift",
"AWSDynamoDBCompositePrimaryKeyTable+execute.swift",
"AWSDynamoDBCompositePrimaryKeyTable+getItems.swift",
"AWSDynamoDBCompositePrimaryKeyTable+monomorphicGetItems.swift",
"AWSDynamoDBCompositePrimaryKeyTable+updateItems.swift",
"AWSDynamoDBCompositePrimaryKeyTable.swift",
"AWSDynamoDBCompositePrimaryKeyTableGenerator.swift",
"AWSDynamoDBCompositePrimaryKeysProjection+DynamoDBKeysProjectionAsync.swift",
"AWSDynamoDBCompositePrimaryKeysProjection.swift",
"AWSDynamoDBCompositePrimaryKeysProjectionGenerator.swift",
"AWSDynamoDBTableOperationsClient.swift",
"CompositePrimaryKey.swift",
"CustomRowTypeIdentifier.swift",
"DynamoDBCompositePrimaryKeyGSILogic.swift",
"DynamoDBCompositePrimaryKeyTable+bulkUpdateSupport.swift",
"DynamoDBCompositePrimaryKeyTable+clobberVersionedItemWithHistoricalRow.swift",
"DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift",
"DynamoDBCompositePrimaryKeyTable+consistentReadQuery.swift",
"DynamoDBCompositePrimaryKeyTable.swift",
"DynamoDBCompositePrimaryKeyTableHistoricalItemExtensions.swift",
"DynamoDBCompositePrimaryKeysProjection.swift",
"DynamoDBDecoder.swift",
"DynamoDBEncoder.swift",
"InMemoryDynamoDBCompositePrimaryKeyTable.swift",
"InMemoryDynamoDBCompositePrimaryKeyTableStore+execute.swift",
"InMemoryDynamoDBCompositePrimaryKeyTableStore+monomorphicQuery.swift",
"InMemoryDynamoDBCompositePrimaryKeyTableStore.swift",
"InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift",
"InMemoryDynamoDBCompositePrimaryKeysProjection.swift",
"InMemoryDynamoDBCompositePrimaryKeysProjectionStore.swift",
"InternalDynamoDBCodingKey.swift",
"InternalKeyedDecodingContainer.swift",
"InternalKeyedEncodingContainer.swift",
"InternalSingleValueDecodingContainer.swift",
"InternalSingleValueEncodingContainer.swift",
"InternalUnkeyedDecodingContainer.swift",
"InternalUnkeyedEncodingContainer.swift",
"PolymorphicOperationReturnType.swift",
"PolymorphicWriteEntry.swift",
"QueryInput+forSortKeyCondition.swift",
"RowWithIndex.swift",
"RowWithItemVersion.swift",
"RowWithItemVersionProtocol.swift",
"SimulateConcurrencyDynamoDBCompositePrimaryKeyTable.swift",
"String+DynamoDBKey.swift",
"TimeToLive.swift",
"TypedDatabaseItemWithTimeToLive+RowWithItemVersionProtocol.swift",
"TypedDatabaseItemWithTimeToLive.swift",
"_DynamoDBClient/_AWSDynamoDBClient.swift",
"_DynamoDBClient/_AWSDynamoDBClientGenerator.swift",
"_DynamoDBClient/_DynamoDBClientProtocol.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:2e2b3aca8600f890617c2faa770b70e33c1dfd303d6f92b308423b89ef6bde64
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.