Build Information
Successful build of smoke-dynamodb, reference 3.12.1 (7fc5c6), with Swift 6.1 for macOS (SPM) on 13 Aug 2025 02:26:10 UTC.
Swift 6 data race errors: 16
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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 InferSendableFromCapturesBuild Log
73 | return nil
74 | } catch {
/Users/admin/builder/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 {
/Users/admin/builder/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
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
120 |
121 | promise.completeWith(nextFuture)
/Users/admin/builder/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 {
/Users/admin/builder/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 {
/Users/admin/builder/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 {
/Users/admin/builder/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
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
119 |
120 | promise.completeWith(nextFuture)
[1564/1575] Compiling SmokeDynamoDB AWSDynamoDBCompositePrimaryKeyTable+monomorphicGetItems.swift
/Users/admin/builder/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>
/Users/admin/builder/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 |
/Users/admin/builder/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>
/Users/admin/builder/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 |
/Users/admin/builder/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,
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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 {
/Users/admin/builder/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 {
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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))"
/Users/admin/builder/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)
/Users/admin/builder/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
/Users/admin/builder/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,
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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 {
/Users/admin/builder/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 {
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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,
/Users/admin/builder/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
/Users/admin/builder/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 {
/Users/admin/builder/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,
/Users/admin/builder/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
/Users/admin/builder/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 {
/Users/admin/builder/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 {
/Users/admin/builder/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 {
/Users/admin/builder/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 {
/Users/admin/builder/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 {
/Users/admin/builder/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
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
120 |
121 | promise.completeWith(nextFuture)
/Users/admin/builder/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 {
/Users/admin/builder/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 {
/Users/admin/builder/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 {
/Users/admin/builder/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
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
119 |
120 | promise.completeWith(nextFuture)
[1565/1575] Compiling SmokeDynamoDB AWSDynamoDBCompositePrimaryKeyTable+updateItems.swift
/Users/admin/builder/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) {
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable.swift:53: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
51 | escapeSingleQuoteInPartiQL: Bool = false,
52 | connectionTimeoutSeconds: Int64 = 10,
53 | 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
54 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
55 | reportingConfiguration: SmokeAWSCore.SmokeAWSClientReportingConfiguration<DynamoDBModel.DynamoDBModelOperations>
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable.swift:86: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
84 | escapeSingleQuoteInPartiQL: Bool = false,
85 | connectionTimeoutSeconds: Int64 = 10,
86 | 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
87 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
88 | reportingConfiguration: SmokeAWSCore.SmokeAWSClientReportingConfiguration<DynamoDBModel.DynamoDBModelOperations>
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable.swift:244: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
242 | target: String? = "DynamoDB_20120810",
243 | timeoutConfiguration: HTTPClient.Configuration.Timeout = .init(),
244 | 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
245 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
246 | reportingConfiguration: SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTableGenerator.swift:38: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
36 | requiresTLS: Bool? = nil, tableName: String,
37 | connectionTimeoutSeconds: Int64 = 10,
38 | 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
39 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
40 | reportingConfiguration: SmokeAWSCore.SmokeAWSClientReportingConfiguration<DynamoDBModel.DynamoDBModelOperations>
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTableGenerator.swift:64: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
62 | requiresTLS: Bool? = nil, tableName: String,
63 | connectionTimeoutSeconds: Int64 = 10,
64 | 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
65 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
66 | reportingConfiguration: SmokeAWSCore.SmokeAWSClientReportingConfiguration<DynamoDBModel.DynamoDBModelOperations>
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeysProjection+DynamoDBKeysProjectionAsync.swift:54:24: warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeysProjection<InvocationReportingType>' in a '@Sendable' closure
52 | if let lastEvaluatedKey = paginatedItems.1 {
53 | // returns a future with all the results from all later paginated calls
54 | return self.partialQuery(forPartitionKey: partitionKey,
| `- warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeysProjection<InvocationReportingType>' in a '@Sendable' closure
55 | sortKeyCondition: sortKeyCondition,
56 | exclusiveStartKey: lastEvaluatedKey)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeysProjection.swift:28:14: note: generic class 'AWSDynamoDBCompositePrimaryKeysProjection' does not conform to the 'Sendable' protocol
26 | import NIO
27 |
28 | public class AWSDynamoDBCompositePrimaryKeysProjection<InvocationReportingType: HTTPClientCoreInvocationReporting>: DynamoDBCompositePrimaryKeysProjection {
| `- note: generic class 'AWSDynamoDBCompositePrimaryKeysProjection' does not conform to the 'Sendable' protocol
29 | internal let dynamodb: _AWSDynamoDBClient<InvocationReportingType>
30 | internal let targetTableName: String
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeysProjection+DynamoDBKeysProjectionAsync.swift:55:60: warning: capture of 'sortKeyCondition' with non-sendable type 'AttributeCondition?' in a '@Sendable' closure
53 | // returns a future with all the results from all later paginated calls
54 | return self.partialQuery(forPartitionKey: partitionKey,
55 | sortKeyCondition: sortKeyCondition,
| `- warning: capture of 'sortKeyCondition' with non-sendable type 'AttributeCondition?' in a '@Sendable' closure
56 | exclusiveStartKey: lastEvaluatedKey)
57 | .map { partialResult in
/Users/admin/builder/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)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeysProjection+DynamoDBKeysProjectionAsync.swift:59:32: warning: capture of 'paginatedItems' with non-sendable type '([CompositePrimaryKey<AttributesType>], String?)' in a '@Sendable' closure
57 | .map { partialResult in
58 | // return the results from 'this' call and all later paginated calls
59 | return paginatedItems.0 + partialResult
| `- warning: capture of 'paginatedItems' with non-sendable type '([CompositePrimaryKey<AttributesType>], String?)' in a '@Sendable' closure
60 | }
61 | } else {
/Users/admin/builder/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))"
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeysProjection.swift:43: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
41 | requiresTLS: Bool? = nil, tableName: String,
42 | connectionTimeoutSeconds: Int64 = 10,
43 | 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
44 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
45 | reportingConfiguration: SmokeAWSCore.SmokeAWSClientReportingConfiguration<DynamoDBModel.DynamoDBModelOperations>
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeysProjection.swift:70: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
68 | requiresTLS: Bool? = nil, tableName: String,
69 | connectionTimeoutSeconds: Int64 = 10,
70 | 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
71 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
72 | reportingConfiguration: SmokeAWSCore.SmokeAWSClientReportingConfiguration<DynamoDBModel.DynamoDBModelOperations>
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeysProjection.swift:187: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
185 | target: String? = "DynamoDB_20120810",
186 | timeoutConfiguration: HTTPClient.Configuration.Timeout = .init(),
187 | 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
188 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
189 | reportingConfiguration: SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeysProjectionGenerator.swift:37: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
35 | requiresTLS: Bool? = nil, tableName: String,
36 | connectionTimeoutSeconds: Int64 = 10,
37 | 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
38 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
39 | reportingConfiguration: SmokeAWSCore.SmokeAWSClientReportingConfiguration<DynamoDBModel.DynamoDBModelOperations>
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeysProjectionGenerator.swift:61: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
59 | requiresTLS: Bool? = nil, tableName: String,
60 | connectionTimeoutSeconds: Int64 = 10,
61 | 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
62 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
63 | reportingConfiguration: SmokeAWSCore.SmokeAWSClientReportingConfiguration<DynamoDBModel.DynamoDBModelOperations>
/Users/admin/builder/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 |
[1566/1575] Compiling SmokeDynamoDB AWSDynamoDBCompositePrimaryKeyTable.swift
/Users/admin/builder/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) {
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable.swift:53: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
51 | escapeSingleQuoteInPartiQL: Bool = false,
52 | connectionTimeoutSeconds: Int64 = 10,
53 | 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
54 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
55 | reportingConfiguration: SmokeAWSCore.SmokeAWSClientReportingConfiguration<DynamoDBModel.DynamoDBModelOperations>
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable.swift:86: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
84 | escapeSingleQuoteInPartiQL: Bool = false,
85 | connectionTimeoutSeconds: Int64 = 10,
86 | 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
87 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
88 | reportingConfiguration: SmokeAWSCore.SmokeAWSClientReportingConfiguration<DynamoDBModel.DynamoDBModelOperations>
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable.swift:244: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
242 | target: String? = "DynamoDB_20120810",
243 | timeoutConfiguration: HTTPClient.Configuration.Timeout = .init(),
244 | 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
245 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
246 | reportingConfiguration: SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTableGenerator.swift:38: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
36 | requiresTLS: Bool? = nil, tableName: String,
37 | connectionTimeoutSeconds: Int64 = 10,
38 | 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
39 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
40 | reportingConfiguration: SmokeAWSCore.SmokeAWSClientReportingConfiguration<DynamoDBModel.DynamoDBModelOperations>
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTableGenerator.swift:64: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
62 | requiresTLS: Bool? = nil, tableName: String,
63 | connectionTimeoutSeconds: Int64 = 10,
64 | 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
65 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
66 | reportingConfiguration: SmokeAWSCore.SmokeAWSClientReportingConfiguration<DynamoDBModel.DynamoDBModelOperations>
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeysProjection+DynamoDBKeysProjectionAsync.swift:54:24: warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeysProjection<InvocationReportingType>' in a '@Sendable' closure
52 | if let lastEvaluatedKey = paginatedItems.1 {
53 | // returns a future with all the results from all later paginated calls
54 | return self.partialQuery(forPartitionKey: partitionKey,
| `- warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeysProjection<InvocationReportingType>' in a '@Sendable' closure
55 | sortKeyCondition: sortKeyCondition,
56 | exclusiveStartKey: lastEvaluatedKey)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeysProjection.swift:28:14: note: generic class 'AWSDynamoDBCompositePrimaryKeysProjection' does not conform to the 'Sendable' protocol
26 | import NIO
27 |
28 | public class AWSDynamoDBCompositePrimaryKeysProjection<InvocationReportingType: HTTPClientCoreInvocationReporting>: DynamoDBCompositePrimaryKeysProjection {
| `- note: generic class 'AWSDynamoDBCompositePrimaryKeysProjection' does not conform to the 'Sendable' protocol
29 | internal let dynamodb: _AWSDynamoDBClient<InvocationReportingType>
30 | internal let targetTableName: String
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeysProjection+DynamoDBKeysProjectionAsync.swift:55:60: warning: capture of 'sortKeyCondition' with non-sendable type 'AttributeCondition?' in a '@Sendable' closure
53 | // returns a future with all the results from all later paginated calls
54 | return self.partialQuery(forPartitionKey: partitionKey,
55 | sortKeyCondition: sortKeyCondition,
| `- warning: capture of 'sortKeyCondition' with non-sendable type 'AttributeCondition?' in a '@Sendable' closure
56 | exclusiveStartKey: lastEvaluatedKey)
57 | .map { partialResult in
/Users/admin/builder/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)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeysProjection+DynamoDBKeysProjectionAsync.swift:59:32: warning: capture of 'paginatedItems' with non-sendable type '([CompositePrimaryKey<AttributesType>], String?)' in a '@Sendable' closure
57 | .map { partialResult in
58 | // return the results from 'this' call and all later paginated calls
59 | return paginatedItems.0 + partialResult
| `- warning: capture of 'paginatedItems' with non-sendable type '([CompositePrimaryKey<AttributesType>], String?)' in a '@Sendable' closure
60 | }
61 | } else {
/Users/admin/builder/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))"
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeysProjection.swift:43: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
41 | requiresTLS: Bool? = nil, tableName: String,
42 | connectionTimeoutSeconds: Int64 = 10,
43 | 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
44 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
45 | reportingConfiguration: SmokeAWSCore.SmokeAWSClientReportingConfiguration<DynamoDBModel.DynamoDBModelOperations>
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeysProjection.swift:70: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
68 | requiresTLS: Bool? = nil, tableName: String,
69 | connectionTimeoutSeconds: Int64 = 10,
70 | 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
71 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
72 | reportingConfiguration: SmokeAWSCore.SmokeAWSClientReportingConfiguration<DynamoDBModel.DynamoDBModelOperations>
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeysProjection.swift:187: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
185 | target: String? = "DynamoDB_20120810",
186 | timeoutConfiguration: HTTPClient.Configuration.Timeout = .init(),
187 | 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
188 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
189 | reportingConfiguration: SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeysProjectionGenerator.swift:37: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
35 | requiresTLS: Bool? = nil, tableName: String,
36 | connectionTimeoutSeconds: Int64 = 10,
37 | 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
38 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
39 | reportingConfiguration: SmokeAWSCore.SmokeAWSClientReportingConfiguration<DynamoDBModel.DynamoDBModelOperations>
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeysProjectionGenerator.swift:61: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
59 | requiresTLS: Bool? = nil, tableName: String,
60 | connectionTimeoutSeconds: Int64 = 10,
61 | 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
62 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
63 | reportingConfiguration: SmokeAWSCore.SmokeAWSClientReportingConfiguration<DynamoDBModel.DynamoDBModelOperations>
/Users/admin/builder/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 |
[1567/1575] Compiling SmokeDynamoDB AWSDynamoDBCompositePrimaryKeyTableGenerator.swift
/Users/admin/builder/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) {
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable.swift:53: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
51 | escapeSingleQuoteInPartiQL: Bool = false,
52 | connectionTimeoutSeconds: Int64 = 10,
53 | 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
54 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
55 | reportingConfiguration: SmokeAWSCore.SmokeAWSClientReportingConfiguration<DynamoDBModel.DynamoDBModelOperations>
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable.swift:86: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
84 | escapeSingleQuoteInPartiQL: Bool = false,
85 | connectionTimeoutSeconds: Int64 = 10,
86 | 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
87 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
88 | reportingConfiguration: SmokeAWSCore.SmokeAWSClientReportingConfiguration<DynamoDBModel.DynamoDBModelOperations>
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable.swift:244: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
242 | target: String? = "DynamoDB_20120810",
243 | timeoutConfiguration: HTTPClient.Configuration.Timeout = .init(),
244 | 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
245 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
246 | reportingConfiguration: SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTableGenerator.swift:38: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
36 | requiresTLS: Bool? = nil, tableName: String,
37 | connectionTimeoutSeconds: Int64 = 10,
38 | 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
39 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
40 | reportingConfiguration: SmokeAWSCore.SmokeAWSClientReportingConfiguration<DynamoDBModel.DynamoDBModelOperations>
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTableGenerator.swift:64: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
62 | requiresTLS: Bool? = nil, tableName: String,
63 | connectionTimeoutSeconds: Int64 = 10,
64 | 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
65 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
66 | reportingConfiguration: SmokeAWSCore.SmokeAWSClientReportingConfiguration<DynamoDBModel.DynamoDBModelOperations>
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeysProjection+DynamoDBKeysProjectionAsync.swift:54:24: warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeysProjection<InvocationReportingType>' in a '@Sendable' closure
52 | if let lastEvaluatedKey = paginatedItems.1 {
53 | // returns a future with all the results from all later paginated calls
54 | return self.partialQuery(forPartitionKey: partitionKey,
| `- warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeysProjection<InvocationReportingType>' in a '@Sendable' closure
55 | sortKeyCondition: sortKeyCondition,
56 | exclusiveStartKey: lastEvaluatedKey)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeysProjection.swift:28:14: note: generic class 'AWSDynamoDBCompositePrimaryKeysProjection' does not conform to the 'Sendable' protocol
26 | import NIO
27 |
28 | public class AWSDynamoDBCompositePrimaryKeysProjection<InvocationReportingType: HTTPClientCoreInvocationReporting>: DynamoDBCompositePrimaryKeysProjection {
| `- note: generic class 'AWSDynamoDBCompositePrimaryKeysProjection' does not conform to the 'Sendable' protocol
29 | internal let dynamodb: _AWSDynamoDBClient<InvocationReportingType>
30 | internal let targetTableName: String
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeysProjection+DynamoDBKeysProjectionAsync.swift:55:60: warning: capture of 'sortKeyCondition' with non-sendable type 'AttributeCondition?' in a '@Sendable' closure
53 | // returns a future with all the results from all later paginated calls
54 | return self.partialQuery(forPartitionKey: partitionKey,
55 | sortKeyCondition: sortKeyCondition,
| `- warning: capture of 'sortKeyCondition' with non-sendable type 'AttributeCondition?' in a '@Sendable' closure
56 | exclusiveStartKey: lastEvaluatedKey)
57 | .map { partialResult in
/Users/admin/builder/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)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeysProjection+DynamoDBKeysProjectionAsync.swift:59:32: warning: capture of 'paginatedItems' with non-sendable type '([CompositePrimaryKey<AttributesType>], String?)' in a '@Sendable' closure
57 | .map { partialResult in
58 | // return the results from 'this' call and all later paginated calls
59 | return paginatedItems.0 + partialResult
| `- warning: capture of 'paginatedItems' with non-sendable type '([CompositePrimaryKey<AttributesType>], String?)' in a '@Sendable' closure
60 | }
61 | } else {
/Users/admin/builder/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))"
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeysProjection.swift:43: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
41 | requiresTLS: Bool? = nil, tableName: String,
42 | connectionTimeoutSeconds: Int64 = 10,
43 | 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
44 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
45 | reportingConfiguration: SmokeAWSCore.SmokeAWSClientReportingConfiguration<DynamoDBModel.DynamoDBModelOperations>
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeysProjection.swift:70: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
68 | requiresTLS: Bool? = nil, tableName: String,
69 | connectionTimeoutSeconds: Int64 = 10,
70 | 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
71 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
72 | reportingConfiguration: SmokeAWSCore.SmokeAWSClientReportingConfiguration<DynamoDBModel.DynamoDBModelOperations>
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeysProjection.swift:187: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
185 | target: String? = "DynamoDB_20120810",
186 | timeoutConfiguration: HTTPClient.Configuration.Timeout = .init(),
187 | 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
188 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
189 | reportingConfiguration: SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeysProjectionGenerator.swift:37: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
35 | requiresTLS: Bool? = nil, tableName: String,
36 | connectionTimeoutSeconds: Int64 = 10,
37 | 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
38 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
39 | reportingConfiguration: SmokeAWSCore.SmokeAWSClientReportingConfiguration<DynamoDBModel.DynamoDBModelOperations>
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeysProjectionGenerator.swift:61: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
59 | requiresTLS: Bool? = nil, tableName: String,
60 | connectionTimeoutSeconds: Int64 = 10,
61 | 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
62 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
63 | reportingConfiguration: SmokeAWSCore.SmokeAWSClientReportingConfiguration<DynamoDBModel.DynamoDBModelOperations>
/Users/admin/builder/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 |
[1568/1575] Compiling SmokeDynamoDB AWSDynamoDBCompositePrimaryKeysProjection+DynamoDBKeysProjectionAsync.swift
/Users/admin/builder/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) {
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable.swift:53: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
51 | escapeSingleQuoteInPartiQL: Bool = false,
52 | connectionTimeoutSeconds: Int64 = 10,
53 | 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
54 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
55 | reportingConfiguration: SmokeAWSCore.SmokeAWSClientReportingConfiguration<DynamoDBModel.DynamoDBModelOperations>
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable.swift:86: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
84 | escapeSingleQuoteInPartiQL: Bool = false,
85 | connectionTimeoutSeconds: Int64 = 10,
86 | 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
87 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
88 | reportingConfiguration: SmokeAWSCore.SmokeAWSClientReportingConfiguration<DynamoDBModel.DynamoDBModelOperations>
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable.swift:244: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
242 | target: String? = "DynamoDB_20120810",
243 | timeoutConfiguration: HTTPClient.Configuration.Timeout = .init(),
244 | 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
245 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
246 | reportingConfiguration: SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTableGenerator.swift:38: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
36 | requiresTLS: Bool? = nil, tableName: String,
37 | connectionTimeoutSeconds: Int64 = 10,
38 | 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
39 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
40 | reportingConfiguration: SmokeAWSCore.SmokeAWSClientReportingConfiguration<DynamoDBModel.DynamoDBModelOperations>
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTableGenerator.swift:64: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
62 | requiresTLS: Bool? = nil, tableName: String,
63 | connectionTimeoutSeconds: Int64 = 10,
64 | 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
65 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
66 | reportingConfiguration: SmokeAWSCore.SmokeAWSClientReportingConfiguration<DynamoDBModel.DynamoDBModelOperations>
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeysProjection+DynamoDBKeysProjectionAsync.swift:54:24: warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeysProjection<InvocationReportingType>' in a '@Sendable' closure
52 | if let lastEvaluatedKey = paginatedItems.1 {
53 | // returns a future with all the results from all later paginated calls
54 | return self.partialQuery(forPartitionKey: partitionKey,
| `- warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeysProjection<InvocationReportingType>' in a '@Sendable' closure
55 | sortKeyCondition: sortKeyCondition,
56 | exclusiveStartKey: lastEvaluatedKey)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeysProjection.swift:28:14: note: generic class 'AWSDynamoDBCompositePrimaryKeysProjection' does not conform to the 'Sendable' protocol
26 | import NIO
27 |
28 | public class AWSDynamoDBCompositePrimaryKeysProjection<InvocationReportingType: HTTPClientCoreInvocationReporting>: DynamoDBCompositePrimaryKeysProjection {
| `- note: generic class 'AWSDynamoDBCompositePrimaryKeysProjection' does not conform to the 'Sendable' protocol
29 | internal let dynamodb: _AWSDynamoDBClient<InvocationReportingType>
30 | internal let targetTableName: String
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeysProjection+DynamoDBKeysProjectionAsync.swift:55:60: warning: capture of 'sortKeyCondition' with non-sendable type 'AttributeCondition?' in a '@Sendable' closure
53 | // returns a future with all the results from all later paginated calls
54 | return self.partialQuery(forPartitionKey: partitionKey,
55 | sortKeyCondition: sortKeyCondition,
| `- warning: capture of 'sortKeyCondition' with non-sendable type 'AttributeCondition?' in a '@Sendable' closure
56 | exclusiveStartKey: lastEvaluatedKey)
57 | .map { partialResult in
/Users/admin/builder/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)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeysProjection+DynamoDBKeysProjectionAsync.swift:59:32: warning: capture of 'paginatedItems' with non-sendable type '([CompositePrimaryKey<AttributesType>], String?)' in a '@Sendable' closure
57 | .map { partialResult in
58 | // return the results from 'this' call and all later paginated calls
59 | return paginatedItems.0 + partialResult
| `- warning: capture of 'paginatedItems' with non-sendable type '([CompositePrimaryKey<AttributesType>], String?)' in a '@Sendable' closure
60 | }
61 | } else {
/Users/admin/builder/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))"
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeysProjection.swift:43: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
41 | requiresTLS: Bool? = nil, tableName: String,
42 | connectionTimeoutSeconds: Int64 = 10,
43 | 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
44 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
45 | reportingConfiguration: SmokeAWSCore.SmokeAWSClientReportingConfiguration<DynamoDBModel.DynamoDBModelOperations>
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeysProjection.swift:70: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
68 | requiresTLS: Bool? = nil, tableName: String,
69 | connectionTimeoutSeconds: Int64 = 10,
70 | 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
71 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
72 | reportingConfiguration: SmokeAWSCore.SmokeAWSClientReportingConfiguration<DynamoDBModel.DynamoDBModelOperations>
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeysProjection.swift:187: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
185 | target: String? = "DynamoDB_20120810",
186 | timeoutConfiguration: HTTPClient.Configuration.Timeout = .init(),
187 | 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
188 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
189 | reportingConfiguration: SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeysProjectionGenerator.swift:37: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
35 | requiresTLS: Bool? = nil, tableName: String,
36 | connectionTimeoutSeconds: Int64 = 10,
37 | 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
38 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
39 | reportingConfiguration: SmokeAWSCore.SmokeAWSClientReportingConfiguration<DynamoDBModel.DynamoDBModelOperations>
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeysProjectionGenerator.swift:61: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
59 | requiresTLS: Bool? = nil, tableName: String,
60 | connectionTimeoutSeconds: Int64 = 10,
61 | 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
62 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
63 | reportingConfiguration: SmokeAWSCore.SmokeAWSClientReportingConfiguration<DynamoDBModel.DynamoDBModelOperations>
/Users/admin/builder/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 |
[1569/1575] Compiling SmokeDynamoDB AWSDynamoDBCompositePrimaryKeysProjection.swift
/Users/admin/builder/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) {
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable.swift:53: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
51 | escapeSingleQuoteInPartiQL: Bool = false,
52 | connectionTimeoutSeconds: Int64 = 10,
53 | 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
54 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
55 | reportingConfiguration: SmokeAWSCore.SmokeAWSClientReportingConfiguration<DynamoDBModel.DynamoDBModelOperations>
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable.swift:86: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
84 | escapeSingleQuoteInPartiQL: Bool = false,
85 | connectionTimeoutSeconds: Int64 = 10,
86 | 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
87 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
88 | reportingConfiguration: SmokeAWSCore.SmokeAWSClientReportingConfiguration<DynamoDBModel.DynamoDBModelOperations>
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable.swift:244: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
242 | target: String? = "DynamoDB_20120810",
243 | timeoutConfiguration: HTTPClient.Configuration.Timeout = .init(),
244 | 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
245 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
246 | reportingConfiguration: SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTableGenerator.swift:38: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
36 | requiresTLS: Bool? = nil, tableName: String,
37 | connectionTimeoutSeconds: Int64 = 10,
38 | 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
39 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
40 | reportingConfiguration: SmokeAWSCore.SmokeAWSClientReportingConfiguration<DynamoDBModel.DynamoDBModelOperations>
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTableGenerator.swift:64: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
62 | requiresTLS: Bool? = nil, tableName: String,
63 | connectionTimeoutSeconds: Int64 = 10,
64 | 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
65 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
66 | reportingConfiguration: SmokeAWSCore.SmokeAWSClientReportingConfiguration<DynamoDBModel.DynamoDBModelOperations>
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeysProjection+DynamoDBKeysProjectionAsync.swift:54:24: warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeysProjection<InvocationReportingType>' in a '@Sendable' closure
52 | if let lastEvaluatedKey = paginatedItems.1 {
53 | // returns a future with all the results from all later paginated calls
54 | return self.partialQuery(forPartitionKey: partitionKey,
| `- warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeysProjection<InvocationReportingType>' in a '@Sendable' closure
55 | sortKeyCondition: sortKeyCondition,
56 | exclusiveStartKey: lastEvaluatedKey)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeysProjection.swift:28:14: note: generic class 'AWSDynamoDBCompositePrimaryKeysProjection' does not conform to the 'Sendable' protocol
26 | import NIO
27 |
28 | public class AWSDynamoDBCompositePrimaryKeysProjection<InvocationReportingType: HTTPClientCoreInvocationReporting>: DynamoDBCompositePrimaryKeysProjection {
| `- note: generic class 'AWSDynamoDBCompositePrimaryKeysProjection' does not conform to the 'Sendable' protocol
29 | internal let dynamodb: _AWSDynamoDBClient<InvocationReportingType>
30 | internal let targetTableName: String
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeysProjection+DynamoDBKeysProjectionAsync.swift:55:60: warning: capture of 'sortKeyCondition' with non-sendable type 'AttributeCondition?' in a '@Sendable' closure
53 | // returns a future with all the results from all later paginated calls
54 | return self.partialQuery(forPartitionKey: partitionKey,
55 | sortKeyCondition: sortKeyCondition,
| `- warning: capture of 'sortKeyCondition' with non-sendable type 'AttributeCondition?' in a '@Sendable' closure
56 | exclusiveStartKey: lastEvaluatedKey)
57 | .map { partialResult in
/Users/admin/builder/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)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeysProjection+DynamoDBKeysProjectionAsync.swift:59:32: warning: capture of 'paginatedItems' with non-sendable type '([CompositePrimaryKey<AttributesType>], String?)' in a '@Sendable' closure
57 | .map { partialResult in
58 | // return the results from 'this' call and all later paginated calls
59 | return paginatedItems.0 + partialResult
| `- warning: capture of 'paginatedItems' with non-sendable type '([CompositePrimaryKey<AttributesType>], String?)' in a '@Sendable' closure
60 | }
61 | } else {
/Users/admin/builder/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))"
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeysProjection.swift:43: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
41 | requiresTLS: Bool? = nil, tableName: String,
42 | connectionTimeoutSeconds: Int64 = 10,
43 | 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
44 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
45 | reportingConfiguration: SmokeAWSCore.SmokeAWSClientReportingConfiguration<DynamoDBModel.DynamoDBModelOperations>
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeysProjection.swift:70: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
68 | requiresTLS: Bool? = nil, tableName: String,
69 | connectionTimeoutSeconds: Int64 = 10,
70 | 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
71 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
72 | reportingConfiguration: SmokeAWSCore.SmokeAWSClientReportingConfiguration<DynamoDBModel.DynamoDBModelOperations>
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeysProjection.swift:187: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
185 | target: String? = "DynamoDB_20120810",
186 | timeoutConfiguration: HTTPClient.Configuration.Timeout = .init(),
187 | 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
188 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
189 | reportingConfiguration: SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeysProjectionGenerator.swift:37: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
35 | requiresTLS: Bool? = nil, tableName: String,
36 | connectionTimeoutSeconds: Int64 = 10,
37 | 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
38 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
39 | reportingConfiguration: SmokeAWSCore.SmokeAWSClientReportingConfiguration<DynamoDBModel.DynamoDBModelOperations>
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeysProjectionGenerator.swift:61: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
59 | requiresTLS: Bool? = nil, tableName: String,
60 | connectionTimeoutSeconds: Int64 = 10,
61 | 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
62 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
63 | reportingConfiguration: SmokeAWSCore.SmokeAWSClientReportingConfiguration<DynamoDBModel.DynamoDBModelOperations>
/Users/admin/builder/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 |
[1570/1575] Compiling SmokeDynamoDB AWSDynamoDBCompositePrimaryKeysProjectionGenerator.swift
/Users/admin/builder/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) {
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable.swift:53: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
51 | escapeSingleQuoteInPartiQL: Bool = false,
52 | connectionTimeoutSeconds: Int64 = 10,
53 | 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
54 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
55 | reportingConfiguration: SmokeAWSCore.SmokeAWSClientReportingConfiguration<DynamoDBModel.DynamoDBModelOperations>
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable.swift:86: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
84 | escapeSingleQuoteInPartiQL: Bool = false,
85 | connectionTimeoutSeconds: Int64 = 10,
86 | 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
87 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
88 | reportingConfiguration: SmokeAWSCore.SmokeAWSClientReportingConfiguration<DynamoDBModel.DynamoDBModelOperations>
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTable.swift:244: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
242 | target: String? = "DynamoDB_20120810",
243 | timeoutConfiguration: HTTPClient.Configuration.Timeout = .init(),
244 | 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
245 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
246 | reportingConfiguration: SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTableGenerator.swift:38: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
36 | requiresTLS: Bool? = nil, tableName: String,
37 | connectionTimeoutSeconds: Int64 = 10,
38 | 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
39 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
40 | reportingConfiguration: SmokeAWSCore.SmokeAWSClientReportingConfiguration<DynamoDBModel.DynamoDBModelOperations>
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeyTableGenerator.swift:64: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
62 | requiresTLS: Bool? = nil, tableName: String,
63 | connectionTimeoutSeconds: Int64 = 10,
64 | 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
65 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
66 | reportingConfiguration: SmokeAWSCore.SmokeAWSClientReportingConfiguration<DynamoDBModel.DynamoDBModelOperations>
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeysProjection+DynamoDBKeysProjectionAsync.swift:54:24: warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeysProjection<InvocationReportingType>' in a '@Sendable' closure
52 | if let lastEvaluatedKey = paginatedItems.1 {
53 | // returns a future with all the results from all later paginated calls
54 | return self.partialQuery(forPartitionKey: partitionKey,
| `- warning: capture of 'self' with non-sendable type 'AWSDynamoDBCompositePrimaryKeysProjection<InvocationReportingType>' in a '@Sendable' closure
55 | sortKeyCondition: sortKeyCondition,
56 | exclusiveStartKey: lastEvaluatedKey)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeysProjection.swift:28:14: note: generic class 'AWSDynamoDBCompositePrimaryKeysProjection' does not conform to the 'Sendable' protocol
26 | import NIO
27 |
28 | public class AWSDynamoDBCompositePrimaryKeysProjection<InvocationReportingType: HTTPClientCoreInvocationReporting>: DynamoDBCompositePrimaryKeysProjection {
| `- note: generic class 'AWSDynamoDBCompositePrimaryKeysProjection' does not conform to the 'Sendable' protocol
29 | internal let dynamodb: _AWSDynamoDBClient<InvocationReportingType>
30 | internal let targetTableName: String
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeysProjection+DynamoDBKeysProjectionAsync.swift:55:60: warning: capture of 'sortKeyCondition' with non-sendable type 'AttributeCondition?' in a '@Sendable' closure
53 | // returns a future with all the results from all later paginated calls
54 | return self.partialQuery(forPartitionKey: partitionKey,
55 | sortKeyCondition: sortKeyCondition,
| `- warning: capture of 'sortKeyCondition' with non-sendable type 'AttributeCondition?' in a '@Sendable' closure
56 | exclusiveStartKey: lastEvaluatedKey)
57 | .map { partialResult in
/Users/admin/builder/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)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeysProjection+DynamoDBKeysProjectionAsync.swift:59:32: warning: capture of 'paginatedItems' with non-sendable type '([CompositePrimaryKey<AttributesType>], String?)' in a '@Sendable' closure
57 | .map { partialResult in
58 | // return the results from 'this' call and all later paginated calls
59 | return paginatedItems.0 + partialResult
| `- warning: capture of 'paginatedItems' with non-sendable type '([CompositePrimaryKey<AttributesType>], String?)' in a '@Sendable' closure
60 | }
61 | } else {
/Users/admin/builder/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))"
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeysProjection.swift:43: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
41 | requiresTLS: Bool? = nil, tableName: String,
42 | connectionTimeoutSeconds: Int64 = 10,
43 | 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
44 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
45 | reportingConfiguration: SmokeAWSCore.SmokeAWSClientReportingConfiguration<DynamoDBModel.DynamoDBModelOperations>
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeysProjection.swift:70: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
68 | requiresTLS: Bool? = nil, tableName: String,
69 | connectionTimeoutSeconds: Int64 = 10,
70 | 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
71 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
72 | reportingConfiguration: SmokeAWSCore.SmokeAWSClientReportingConfiguration<DynamoDBModel.DynamoDBModelOperations>
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeysProjection.swift:187: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
185 | target: String? = "DynamoDB_20120810",
186 | timeoutConfiguration: HTTPClient.Configuration.Timeout = .init(),
187 | 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
188 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
189 | reportingConfiguration: SmokeAWSClientReportingConfiguration<DynamoDBModelOperations>
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeysProjectionGenerator.swift:37: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
35 | requiresTLS: Bool? = nil, tableName: String,
36 | connectionTimeoutSeconds: Int64 = 10,
37 | 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
38 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
39 | reportingConfiguration: SmokeAWSCore.SmokeAWSClientReportingConfiguration<DynamoDBModel.DynamoDBModelOperations>
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeDynamoDB/AWSDynamoDBCompositePrimaryKeysProjectionGenerator.swift:61: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
59 | requiresTLS: Bool? = nil, tableName: String,
60 | connectionTimeoutSeconds: Int64 = 10,
61 | 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
62 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
63 | reportingConfiguration: SmokeAWSCore.SmokeAWSClientReportingConfiguration<DynamoDBModel.DynamoDBModelOperations>
/Users/admin/builder/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 |
[1571/1575] Compiling SmokeDynamoDB TypedDatabaseItemWithTimeToLive+RowWithItemVersionProtocol.swift
/Users/admin/builder/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>
/Users/admin/builder/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 |
/Users/admin/builder/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>
/Users/admin/builder/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 |
[1572/1575] Compiling SmokeDynamoDB TypedDatabaseItemWithTimeToLive.swift
/Users/admin/builder/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>
/Users/admin/builder/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 |
/Users/admin/builder/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>
/Users/admin/builder/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 |
[1573/1575] Compiling SmokeDynamoDB _AWSDynamoDBClient.swift
/Users/admin/builder/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>
/Users/admin/builder/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 |
/Users/admin/builder/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>
/Users/admin/builder/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 |
[1574/1575] Compiling SmokeDynamoDB _AWSDynamoDBClientGenerator.swift
/Users/admin/builder/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>
/Users/admin/builder/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 |
/Users/admin/builder/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>
/Users/admin/builder/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 |
[1575/1575] Compiling SmokeDynamoDB _DynamoDBClientProtocol.swift
/Users/admin/builder/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>
/Users/admin/builder/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 |
/Users/admin/builder/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>
/Users/admin/builder/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 |
Build complete! (55.10s)
Build complete.
{
"dependencies" : [
{
"identity" : "smoke-aws",
"requirement" : {
"range" : [
{
"lower_bound" : "3.0.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/amzn/smoke-aws.git"
},
{
"identity" : "smoke-http",
"requirement" : {
"range" : [
{
"lower_bound" : "3.0.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/amzn/smoke-http.git"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
},
{
"identity" : "swift-metrics",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-metrics.git"
},
{
"identity" : "collectionconcurrencykit",
"requirement" : {
"range" : [
{
"lower_bound" : "0.2.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/JohnSundell/CollectionConcurrencyKit"
}
],
"manifest_display_name" : "smoke-dynamodb",
"name" : "smoke-dynamodb",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "tvos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "SmokeDynamoDB",
"targets" : [
"SmokeDynamoDB"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "SmokeDynamoDBTests",
"module_type" : "SwiftTarget",
"name" : "SmokeDynamoDBTests",
"path" : "Tests/SmokeDynamoDBTests",
"product_dependencies" : [
"SmokeHTTPClient"
],
"sources" : [
"DynamoDBCompositePrimaryKeyTableClobberVersionedItemWithHistoricalRowTests.swift",
"DynamoDBCompositePrimaryKeyTableHistoricalItemExtensionsTests.swift",
"DynamoDBCompositePrimaryKeyTableTests.swift",
"DynamoDBCompositePrimaryKeyTableUpdateItemConditionallyAtKeyTests.swift",
"DynamoDBEncoderDecoderTests.swift",
"InMemoryDynamoDBCompositePrimaryKeyTableTests.swift",
"SimulateConcurrencyDynamoDBCompositePrimaryKeyTableTests.swift",
"SmokeDynamoDBTestInput.swift",
"SmokeDynamoDBTests.swift",
"String+DynamoDBKeyTests.swift",
"TestConfiguration.swift",
"TypedDatabaseItem+RowWithItemVersionProtocolTests.swift"
],
"target_dependencies" : [
"SmokeDynamoDB"
],
"type" : "test"
},
{
"c99name" : "SmokeDynamoDB",
"module_type" : "SwiftTarget",
"name" : "SmokeDynamoDB",
"path" : "Sources/SmokeDynamoDB",
"product_dependencies" : [
"Logging",
"Metrics",
"DynamoDBClient",
"SmokeHTTPClient",
"_SmokeAWSHttpConcurrency",
"CollectionConcurrencyKit"
],
"product_memberships" : [
"SmokeDynamoDB"
],
"sources" : [
"AWSDynamoDBClientConfiguration.swift",
"AWSDynamoDBCompositePrimaryKeyTable+DynamoDBTableAsync.swift",
"AWSDynamoDBCompositePrimaryKeyTable+deleteItems.swift",
"AWSDynamoDBCompositePrimaryKeyTable+execute.swift",
"AWSDynamoDBCompositePrimaryKeyTable+getItems.swift",
"AWSDynamoDBCompositePrimaryKeyTable+monomorphicGetItems.swift",
"AWSDynamoDBCompositePrimaryKeyTable+updateItems.swift",
"AWSDynamoDBCompositePrimaryKeyTable.swift",
"AWSDynamoDBCompositePrimaryKeyTableGenerator.swift",
"AWSDynamoDBCompositePrimaryKeysProjection+DynamoDBKeysProjectionAsync.swift",
"AWSDynamoDBCompositePrimaryKeysProjection.swift",
"AWSDynamoDBCompositePrimaryKeysProjectionGenerator.swift",
"AWSDynamoDBTableOperationsClient.swift",
"CompositePrimaryKey.swift",
"CustomRowTypeIdentifier.swift",
"DynamoDBCompositePrimaryKeyGSILogic.swift",
"DynamoDBCompositePrimaryKeyTable+bulkUpdateSupport.swift",
"DynamoDBCompositePrimaryKeyTable+clobberVersionedItemWithHistoricalRow.swift",
"DynamoDBCompositePrimaryKeyTable+conditionallyUpdateItem.swift",
"DynamoDBCompositePrimaryKeyTable+consistentReadQuery.swift",
"DynamoDBCompositePrimaryKeyTable.swift",
"DynamoDBCompositePrimaryKeyTableHistoricalItemExtensions.swift",
"DynamoDBCompositePrimaryKeysProjection.swift",
"DynamoDBDecoder.swift",
"DynamoDBEncoder.swift",
"InMemoryDynamoDBCompositePrimaryKeyTable.swift",
"InMemoryDynamoDBCompositePrimaryKeyTableStore+execute.swift",
"InMemoryDynamoDBCompositePrimaryKeyTableStore+monomorphicQuery.swift",
"InMemoryDynamoDBCompositePrimaryKeyTableStore.swift",
"InMemoryDynamoDBCompositePrimaryKeyTableWithIndex.swift",
"InMemoryDynamoDBCompositePrimaryKeysProjection.swift",
"InMemoryDynamoDBCompositePrimaryKeysProjectionStore.swift",
"InternalDynamoDBCodingKey.swift",
"InternalKeyedDecodingContainer.swift",
"InternalKeyedEncodingContainer.swift",
"InternalSingleValueDecodingContainer.swift",
"InternalSingleValueEncodingContainer.swift",
"InternalUnkeyedDecodingContainer.swift",
"InternalUnkeyedEncodingContainer.swift",
"PolymorphicOperationReturnType.swift",
"PolymorphicWriteEntry.swift",
"QueryInput+forSortKeyCondition.swift",
"RowWithIndex.swift",
"RowWithItemVersion.swift",
"RowWithItemVersionProtocol.swift",
"SimulateConcurrencyDynamoDBCompositePrimaryKeyTable.swift",
"String+DynamoDBKey.swift",
"TimeToLive.swift",
"TypedDatabaseItemWithTimeToLive+RowWithItemVersionProtocol.swift",
"TypedDatabaseItemWithTimeToLive.swift",
"_DynamoDBClient/_AWSDynamoDBClient.swift",
"_DynamoDBClient/_AWSDynamoDBClientGenerator.swift",
"_DynamoDBClient/_DynamoDBClientProtocol.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.