Build Information
Successful build of smoke-http, reference main (060537), with Swift 6.2 for macOS (SPM) on 22 Jun 2025 22:59:27 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64Build Log
100 | requestComponents: HTTPRequestComponents,
101 | httpMethod: HTTPMethod,
102 | invocationContext: HTTPClientInvocationContext<InvocationReportingType, HandlerDelegateType>) -> EventLoopFuture<Void> {
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
103 |
104 | let durationMetricDetails: (Date, Metrics.Timer?, OutwardsRequestAggregator?)?
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsyncRetriableWithoutOutput.swift:123:37: warning: capture of non-sendable type 'InvocationStrategyType.Type' in an isolated closure
121 | do {
122 | // execute again
123 | try self.executeAsyncWithoutOutput()
| `- warning: capture of non-sendable type 'InvocationStrategyType.Type' in an isolated closure
124 | return
125 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsyncRetriableWithoutOutput.swift:123:37: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
121 | do {
122 | // execute again
123 | try self.executeAsyncWithoutOutput()
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
124 | return
125 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsyncRetriableWithoutOutput.swift:123:37: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
121 | do {
122 | // execute again
123 | try self.executeAsyncWithoutOutput()
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
124 | return
125 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsyncRetriableWithoutOutput.swift:100:14: warning: capture of non-sendable type 'InvocationStrategyType.Type' in an isolated closure
98 | }
99 |
100 | func completion(innerError: HTTPClientError?) {
| `- warning: capture of non-sendable type 'InvocationStrategyType.Type' in an isolated closure
101 | let error: HTTPClientError?
102 | let logger = invocationContext.reporting.logger
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsyncRetriableWithoutOutput.swift:100:14: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
98 | }
99 |
100 | func completion(innerError: HTTPClientError?) {
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
101 | let error: HTTPClientError?
102 | let logger = invocationContext.reporting.logger
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsyncRetriableWithoutOutput.swift:100:14: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
98 | }
99 |
100 | func completion(innerError: HTTPClientError?) {
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
101 | let error: HTTPClientError?
102 | let logger = invocationContext.reporting.logger
[1024/1046] Compiling SmokeHTTPClient HTTPOperationsClient+executeAsEventLoopFutureWithOutput.swift
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:100:29: warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
98 | }
99 |
100 | return self.getNextFuture(error: httpClientError)
| `- warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
101 | }
102 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:100:24: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
98 | }
99 |
100 | return self.getNextFuture(error: httpClientError)
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
101 | }
102 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:100:24: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
98 | }
99 |
100 | return self.getNextFuture(error: httpClientError)
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
101 | }
102 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:86:14: warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
84 | }
85 |
86 | func executeAsEventLoopFutureWithOutput() -> EventLoopFuture<OutputType> {
| `- warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
87 | // submit the asynchronous request
88 | let future: EventLoopFuture<OutputType> = httpClient.executeAsEventLoopFutureWithOutputWithWrappedInvocationContext(
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:86:14: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
84 | }
85 |
86 | func executeAsEventLoopFutureWithOutput() -> EventLoopFuture<OutputType> {
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
87 | // submit the asynchronous request
88 | let future: EventLoopFuture<OutputType> = httpClient.executeAsEventLoopFutureWithOutputWithWrappedInvocationContext(
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:86:14: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
84 | }
85 |
86 | func executeAsEventLoopFutureWithOutput() -> EventLoopFuture<OutputType> {
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
87 | // submit the asynchronous request
88 | let future: EventLoopFuture<OutputType> = httpClient.executeAsEventLoopFutureWithOutputWithWrappedInvocationContext(
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:104:41: warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
102 |
103 | return future.flatMap { result in
104 | return self.onSuccess().map { result }
| `- warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
105 | }
106 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:104:24: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
102 |
103 | return future.flatMap { result in
104 | return self.onSuccess().map { result }
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
105 | }
106 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:104:24: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
102 |
103 | return future.flatMap { result in
104 | return self.onSuccess().map { result }
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
105 | }
106 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:86:14: warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
84 | }
85 |
86 | func executeAsEventLoopFutureWithOutput() -> EventLoopFuture<OutputType> {
| `- warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
87 | // submit the asynchronous request
88 | let future: EventLoopFuture<OutputType> = httpClient.executeAsEventLoopFutureWithOutputWithWrappedInvocationContext(
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:86:14: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
84 | }
85 |
86 | func executeAsEventLoopFutureWithOutput() -> EventLoopFuture<OutputType> {
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
87 | // submit the asynchronous request
88 | let future: EventLoopFuture<OutputType> = httpClient.executeAsEventLoopFutureWithOutputWithWrappedInvocationContext(
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:86:14: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
84 | }
85 |
86 | func executeAsEventLoopFutureWithOutput() -> EventLoopFuture<OutputType> {
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
87 | // submit the asynchronous request
88 | let future: EventLoopFuture<OutputType> = httpClient.executeAsEventLoopFutureWithOutputWithWrappedInvocationContext(
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:104:47: warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
102 |
103 | return future.flatMap { result in
104 | return self.onSuccess().map { result }
| `- warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
105 | }
106 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:103:37: warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
101 | }
102 |
103 | return future.flatMap { result in
| `- warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
104 | return self.onSuccess().map { result }
105 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:148:43: warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
146 | logger.trace("Reattempting request due to remaining retries: \(currentRetriesRemaining)")
147 |
148 | let nextFuture = self.executeAsEventLoopFutureWithOutput()
| `- warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
149 |
150 | promise.completeWith(nextFuture)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:148:38: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
146 | logger.trace("Reattempting request due to remaining retries: \(currentRetriesRemaining)")
147 |
148 | let nextFuture = self.executeAsEventLoopFutureWithOutput()
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
149 |
150 | promise.completeWith(nextFuture)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:148:38: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
146 | logger.trace("Reattempting request due to remaining retries: \(currentRetriesRemaining)")
147 |
148 | let nextFuture = self.executeAsEventLoopFutureWithOutput()
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
149 |
150 | promise.completeWith(nextFuture)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:115:14: warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
113 | }
114 |
115 | func getNextFuture(error: HTTPClientError) -> EventLoopFuture<OutputType> {
| `- warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
116 | let promise = self.eventLoop.makePromise(of: OutputType.self)
117 | let logger = invocationContext.reporting.logger
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:115:14: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
113 | }
114 |
115 | func getNextFuture(error: HTTPClientError) -> EventLoopFuture<OutputType> {
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
116 | let promise = self.eventLoop.makePromise(of: OutputType.self)
117 | let logger = invocationContext.reporting.logger
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:115:14: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
113 | }
114 |
115 | func getNextFuture(error: HTTPClientError) -> EventLoopFuture<OutputType> {
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
116 | let promise = self.eventLoop.makePromise(of: OutputType.self)
117 | let logger = invocationContext.reporting.logger
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:154:55: warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
152 |
153 | // return the future that will be completed with the future retry.
154 | return recordFuture.flatMap { promise.futureResult }
| `- warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
155 | }
156 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:116:17: warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
114 |
115 | func getNextFuture(error: HTTPClientError) -> EventLoopFuture<OutputType> {
116 | let promise = self.eventLoop.makePromise(of: OutputType.self)
| `- warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
117 | let logger = invocationContext.reporting.logger
118 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:176:51: warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
174 | let reportFuture = onComplete()
175 |
176 | return reportFuture.flatMap { promise.futureResult }
| `- warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
177 | }
178 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:116:17: warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
114 |
115 | func getNextFuture(error: HTTPClientError) -> EventLoopFuture<OutputType> {
116 | let promise = self.eventLoop.makePromise(of: OutputType.self)
| `- warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
117 | let logger = invocationContext.reporting.logger
118 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithoutOutput.swift:99:24: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
97 | }
98 |
99 | return self.getNextFuture(error: httpClientError)
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
100 | }
101 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithoutOutput.swift:99:24: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
97 | }
98 |
99 | return self.getNextFuture(error: httpClientError)
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
100 | }
101 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithoutOutput.swift:84:14: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
82 | }
83 |
84 | func executeAsEventLoopFutureWithoutOutput() -> EventLoopFuture<Void> {
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
85 | // submit the asynchronous request
86 | let future: EventLoopFuture<Void> = httpClient.executeAsEventLoopFutureWithoutOutputWithWrappedInvocationContext(
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithoutOutput.swift:84:14: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
82 | }
83 |
84 | func executeAsEventLoopFutureWithoutOutput() -> EventLoopFuture<Void> {
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
85 | // submit the asynchronous request
86 | let future: EventLoopFuture<Void> = httpClient.executeAsEventLoopFutureWithoutOutputWithWrappedInvocationContext(
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithoutOutput.swift:103:24: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
101 |
102 | return future.flatMap {
103 | return self.onSuccess()
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
104 | }
105 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithoutOutput.swift:103:24: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
101 |
102 | return future.flatMap {
103 | return self.onSuccess()
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
104 | }
105 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithoutOutput.swift:84:14: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
82 | }
83 |
84 | func executeAsEventLoopFutureWithoutOutput() -> EventLoopFuture<Void> {
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
85 | // submit the asynchronous request
86 | let future: EventLoopFuture<Void> = httpClient.executeAsEventLoopFutureWithoutOutputWithWrappedInvocationContext(
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithoutOutput.swift:84:14: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
82 | }
83 |
84 | func executeAsEventLoopFutureWithoutOutput() -> EventLoopFuture<Void> {
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
85 | // submit the asynchronous request
86 | let future: EventLoopFuture<Void> = httpClient.executeAsEventLoopFutureWithoutOutputWithWrappedInvocationContext(
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithoutOutput.swift:148:38: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
146 | logger.trace("Reattempting request due to remaining retries: \(currentRetriesRemaining)")
147 |
148 | let nextFuture = self.executeAsEventLoopFutureWithoutOutput()
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
149 |
150 | promise.completeWith(nextFuture)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithoutOutput.swift:148:38: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
146 | logger.trace("Reattempting request due to remaining retries: \(currentRetriesRemaining)")
147 |
148 | let nextFuture = self.executeAsEventLoopFutureWithoutOutput()
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
149 |
150 | promise.completeWith(nextFuture)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithoutOutput.swift:114:14: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
112 | }
113 |
114 | func getNextFuture(error: HTTPClientError) -> EventLoopFuture<Void> {
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
115 | let promise = eventLoop.makePromise(of: Void.self)
116 | let logger = invocationContext.reporting.logger
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithoutOutput.swift:114:14: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
112 | }
113 |
114 | func getNextFuture(error: HTTPClientError) -> EventLoopFuture<Void> {
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
115 | let promise = eventLoop.makePromise(of: Void.self)
116 | let logger = invocationContext.reporting.logger
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureWithOutput.swift:122:66: warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
120 | do {
121 | // decode the provided body into the desired type
122 | let output: OutputType = try requestDelegate.decodeOutput(
| `- warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
123 | output: response.body,
124 | headers: response.headers,
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureWithOutput.swift:122:66: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
120 | do {
121 | // decode the provided body into the desired type
122 | let output: OutputType = try requestDelegate.decodeOutput(
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
123 | output: response.body,
124 | headers: response.headers,
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureWithOutput.swift:125:46: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
123 | output: response.body,
124 | headers: response.headers,
125 | invocationReporting: invocationContext.reporting)
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
126 |
127 | // report success metric
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureWithOutput.swift:101:13: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
99 | requestComponents: HTTPRequestComponents,
100 | httpMethod: HTTPMethod,
101 | invocationContext: HTTPClientInvocationContext<InvocationReportingType, HandlerDelegateType>) -> EventLoopFuture<OutputType>
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
102 | where OutputType: HTTPResponseOutputProtocol {
103 | let durationMetricDetails: (Date, Metrics.Timer?, OutwardsRequestAggregator?)?
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureWithOutput.swift:101:13: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
99 | requestComponents: HTTPRequestComponents,
100 | httpMethod: HTTPMethod,
101 | invocationContext: HTTPClientInvocationContext<InvocationReportingType, HandlerDelegateType>) -> EventLoopFuture<OutputType>
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
102 | where OutputType: HTTPResponseOutputProtocol {
103 | let durationMetricDetails: (Date, Metrics.Timer?, OutwardsRequestAggregator?)?
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureWithOutput.swift:141:43: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
139 | switch typedError.category {
140 | case .clientError, .clientRetryableError:
141 | invocationContext.reporting.failure4XXCounter?.increment()
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
142 | case .serverError:
143 | invocationContext.reporting.failure5XXCounter?.increment()
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureWithOutput.swift:141:25: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
139 | switch typedError.category {
140 | case .clientError, .clientRetryableError:
141 | invocationContext.reporting.failure4XXCounter?.increment()
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
142 | case .serverError:
143 | invocationContext.reporting.failure5XXCounter?.increment()
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureWithOutput.swift:101:13: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
99 | requestComponents: HTTPRequestComponents,
100 | httpMethod: HTTPMethod,
101 | invocationContext: HTTPClientInvocationContext<InvocationReportingType, HandlerDelegateType>) -> EventLoopFuture<OutputType>
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
102 | where OutputType: HTTPResponseOutputProtocol {
103 | let durationMetricDetails: (Date, Metrics.Timer?, OutwardsRequestAggregator?)?
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureWithOutput.swift:101:13: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
99 | requestComponents: HTTPRequestComponents,
100 | httpMethod: HTTPMethod,
101 | invocationContext: HTTPClientInvocationContext<InvocationReportingType, HandlerDelegateType>) -> EventLoopFuture<OutputType>
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
102 | where OutputType: HTTPResponseOutputProtocol {
103 | let durationMetricDetails: (Date, Metrics.Timer?, OutwardsRequestAggregator?)?
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureWithOutput.swift:136:37: warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
134 | throw HTTPClientError(responseCode: 400, cause: error)
135 | }
136 | } .flatMapErrorThrowing { error -> OutputType in
| `- warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
137 | if let typedError = error as? HTTPClientError {
138 | // report failure metric
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureWithOutput.swift:160:35: warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
158 |
159 | if let outwardsRequestAggregator = durationMetricDetails.2 {
160 | let promise = future.eventLoop.makePromise(of: Void.self)
| `- warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
161 |
162 | outwardsRequestAggregator.recordOutwardsRequest(
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureWithOutput.swift:116:13: warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
114 | // that will decode the returned body into the desired decodable type.
115 |
116 | let future = executeAsEventLoopFuture(endpointOverride: endpointOverride,
| `- warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
117 | requestComponents: requestComponents, httpMethod: httpMethod,
118 | invocationContext: invocationContext)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureWithOutput.swift:168:32: warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
166 |
167 | return promise.futureResult.map {
168 | return output
| `- warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
169 | }
170 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureWithOutput.swift:151:33: warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
149 | }
150 |
151 | return future.flatMap { output in
| `- warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
152 | if let durationMetricDetails = durationMetricDetails {
153 | let timeInterval = Date().timeIntervalSince(durationMetricDetails.0)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureWithoutOutput.swift:119:39: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
117 | invocationContext: invocationContext)
118 | .map { _ -> Void in
119 | invocationContext.reporting.successCounter?.increment()
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
120 | } .flatMapErrorThrowing { error in
121 | if let typedError = error as? HTTPClientError {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureWithoutOutput.swift:119:21: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
117 | invocationContext: invocationContext)
118 | .map { _ -> Void in
119 | invocationContext.reporting.successCounter?.increment()
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
120 | } .flatMapErrorThrowing { error in
121 | if let typedError = error as? HTTPClientError {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureWithoutOutput.swift:102:9: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
100 | requestComponents: HTTPRequestComponents,
101 | httpMethod: HTTPMethod,
102 | invocationContext: HTTPClientInvocationContext<InvocationReportingType, HandlerDelegateType>) -> EventLoopFuture<Void> {
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
103 |
104 | let durationMetricDetails: (Date, Metrics.Timer?, OutwardsRequestAggregator?)?
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureWithoutOutput.swift:102:9: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
100 | requestComponents: HTTPRequestComponents,
101 | httpMethod: HTTPMethod,
102 | invocationContext: HTTPClientInvocationContext<InvocationReportingType, HandlerDelegateType>) -> EventLoopFuture<Void> {
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
103 |
104 | let durationMetricDetails: (Date, Metrics.Timer?, OutwardsRequestAggregator?)?
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureWithoutOutput.swift:125:47: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
123 | switch typedError.category {
124 | case .clientError, .clientRetryableError:
125 | invocationContext.reporting.failure4XXCounter?.increment()
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
126 | case .serverError:
127 | invocationContext.reporting.failure5XXCounter?.increment()
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureWithoutOutput.swift:125:29: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
123 | switch typedError.category {
124 | case .clientError, .clientRetryableError:
125 | invocationContext.reporting.failure4XXCounter?.increment()
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
126 | case .serverError:
127 | invocationContext.reporting.failure5XXCounter?.increment()
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureWithoutOutput.swift:102:9: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
100 | requestComponents: HTTPRequestComponents,
101 | httpMethod: HTTPMethod,
102 | invocationContext: HTTPClientInvocationContext<InvocationReportingType, HandlerDelegateType>) -> EventLoopFuture<Void> {
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
103 |
104 | let durationMetricDetails: (Date, Metrics.Timer?, OutwardsRequestAggregator?)?
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureWithoutOutput.swift:102:9: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
100 | requestComponents: HTTPRequestComponents,
101 | httpMethod: HTTPMethod,
102 | invocationContext: HTTPClientInvocationContext<InvocationReportingType, HandlerDelegateType>) -> EventLoopFuture<Void> {
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
103 |
104 | let durationMetricDetails: (Date, Metrics.Timer?, OutwardsRequestAggregator?)?
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsyncRetriableWithoutOutput.swift:123:37: warning: capture of non-sendable type 'InvocationStrategyType.Type' in an isolated closure
121 | do {
122 | // execute again
123 | try self.executeAsyncWithoutOutput()
| `- warning: capture of non-sendable type 'InvocationStrategyType.Type' in an isolated closure
124 | return
125 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsyncRetriableWithoutOutput.swift:123:37: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
121 | do {
122 | // execute again
123 | try self.executeAsyncWithoutOutput()
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
124 | return
125 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsyncRetriableWithoutOutput.swift:123:37: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
121 | do {
122 | // execute again
123 | try self.executeAsyncWithoutOutput()
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
124 | return
125 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsyncRetriableWithoutOutput.swift:100:14: warning: capture of non-sendable type 'InvocationStrategyType.Type' in an isolated closure
98 | }
99 |
100 | func completion(innerError: HTTPClientError?) {
| `- warning: capture of non-sendable type 'InvocationStrategyType.Type' in an isolated closure
101 | let error: HTTPClientError?
102 | let logger = invocationContext.reporting.logger
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsyncRetriableWithoutOutput.swift:100:14: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
98 | }
99 |
100 | func completion(innerError: HTTPClientError?) {
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
101 | let error: HTTPClientError?
102 | let logger = invocationContext.reporting.logger
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsyncRetriableWithoutOutput.swift:100:14: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
98 | }
99 |
100 | func completion(innerError: HTTPClientError?) {
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
101 | let error: HTTPClientError?
102 | let logger = invocationContext.reporting.logger
[1025/1046] Compiling SmokeHTTPClient HTTPOperationsClient+executeAsEventLoopFutureWithoutOutput.swift
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:100:29: warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
98 | }
99 |
100 | return self.getNextFuture(error: httpClientError)
| `- warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
101 | }
102 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:100:24: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
98 | }
99 |
100 | return self.getNextFuture(error: httpClientError)
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
101 | }
102 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:100:24: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
98 | }
99 |
100 | return self.getNextFuture(error: httpClientError)
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
101 | }
102 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:86:14: warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
84 | }
85 |
86 | func executeAsEventLoopFutureWithOutput() -> EventLoopFuture<OutputType> {
| `- warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
87 | // submit the asynchronous request
88 | let future: EventLoopFuture<OutputType> = httpClient.executeAsEventLoopFutureWithOutputWithWrappedInvocationContext(
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:86:14: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
84 | }
85 |
86 | func executeAsEventLoopFutureWithOutput() -> EventLoopFuture<OutputType> {
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
87 | // submit the asynchronous request
88 | let future: EventLoopFuture<OutputType> = httpClient.executeAsEventLoopFutureWithOutputWithWrappedInvocationContext(
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:86:14: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
84 | }
85 |
86 | func executeAsEventLoopFutureWithOutput() -> EventLoopFuture<OutputType> {
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
87 | // submit the asynchronous request
88 | let future: EventLoopFuture<OutputType> = httpClient.executeAsEventLoopFutureWithOutputWithWrappedInvocationContext(
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:104:41: warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
102 |
103 | return future.flatMap { result in
104 | return self.onSuccess().map { result }
| `- warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
105 | }
106 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:104:24: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
102 |
103 | return future.flatMap { result in
104 | return self.onSuccess().map { result }
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
105 | }
106 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:104:24: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
102 |
103 | return future.flatMap { result in
104 | return self.onSuccess().map { result }
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
105 | }
106 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:86:14: warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
84 | }
85 |
86 | func executeAsEventLoopFutureWithOutput() -> EventLoopFuture<OutputType> {
| `- warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
87 | // submit the asynchronous request
88 | let future: EventLoopFuture<OutputType> = httpClient.executeAsEventLoopFutureWithOutputWithWrappedInvocationContext(
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:86:14: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
84 | }
85 |
86 | func executeAsEventLoopFutureWithOutput() -> EventLoopFuture<OutputType> {
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
87 | // submit the asynchronous request
88 | let future: EventLoopFuture<OutputType> = httpClient.executeAsEventLoopFutureWithOutputWithWrappedInvocationContext(
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:86:14: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
84 | }
85 |
86 | func executeAsEventLoopFutureWithOutput() -> EventLoopFuture<OutputType> {
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
87 | // submit the asynchronous request
88 | let future: EventLoopFuture<OutputType> = httpClient.executeAsEventLoopFutureWithOutputWithWrappedInvocationContext(
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:104:47: warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
102 |
103 | return future.flatMap { result in
104 | return self.onSuccess().map { result }
| `- warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
105 | }
106 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:103:37: warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
101 | }
102 |
103 | return future.flatMap { result in
| `- warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
104 | return self.onSuccess().map { result }
105 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:148:43: warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
146 | logger.trace("Reattempting request due to remaining retries: \(currentRetriesRemaining)")
147 |
148 | let nextFuture = self.executeAsEventLoopFutureWithOutput()
| `- warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
149 |
150 | promise.completeWith(nextFuture)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:148:38: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
146 | logger.trace("Reattempting request due to remaining retries: \(currentRetriesRemaining)")
147 |
148 | let nextFuture = self.executeAsEventLoopFutureWithOutput()
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
149 |
150 | promise.completeWith(nextFuture)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:148:38: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
146 | logger.trace("Reattempting request due to remaining retries: \(currentRetriesRemaining)")
147 |
148 | let nextFuture = self.executeAsEventLoopFutureWithOutput()
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
149 |
150 | promise.completeWith(nextFuture)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:115:14: warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
113 | }
114 |
115 | func getNextFuture(error: HTTPClientError) -> EventLoopFuture<OutputType> {
| `- warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
116 | let promise = self.eventLoop.makePromise(of: OutputType.self)
117 | let logger = invocationContext.reporting.logger
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:115:14: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
113 | }
114 |
115 | func getNextFuture(error: HTTPClientError) -> EventLoopFuture<OutputType> {
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
116 | let promise = self.eventLoop.makePromise(of: OutputType.self)
117 | let logger = invocationContext.reporting.logger
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:115:14: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
113 | }
114 |
115 | func getNextFuture(error: HTTPClientError) -> EventLoopFuture<OutputType> {
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
116 | let promise = self.eventLoop.makePromise(of: OutputType.self)
117 | let logger = invocationContext.reporting.logger
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:154:55: warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
152 |
153 | // return the future that will be completed with the future retry.
154 | return recordFuture.flatMap { promise.futureResult }
| `- warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
155 | }
156 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:116:17: warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
114 |
115 | func getNextFuture(error: HTTPClientError) -> EventLoopFuture<OutputType> {
116 | let promise = self.eventLoop.makePromise(of: OutputType.self)
| `- warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
117 | let logger = invocationContext.reporting.logger
118 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:176:51: warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
174 | let reportFuture = onComplete()
175 |
176 | return reportFuture.flatMap { promise.futureResult }
| `- warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
177 | }
178 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:116:17: warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
114 |
115 | func getNextFuture(error: HTTPClientError) -> EventLoopFuture<OutputType> {
116 | let promise = self.eventLoop.makePromise(of: OutputType.self)
| `- warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
117 | let logger = invocationContext.reporting.logger
118 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithoutOutput.swift:99:24: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
97 | }
98 |
99 | return self.getNextFuture(error: httpClientError)
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
100 | }
101 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithoutOutput.swift:99:24: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
97 | }
98 |
99 | return self.getNextFuture(error: httpClientError)
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
100 | }
101 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithoutOutput.swift:84:14: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
82 | }
83 |
84 | func executeAsEventLoopFutureWithoutOutput() -> EventLoopFuture<Void> {
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
85 | // submit the asynchronous request
86 | let future: EventLoopFuture<Void> = httpClient.executeAsEventLoopFutureWithoutOutputWithWrappedInvocationContext(
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithoutOutput.swift:84:14: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
82 | }
83 |
84 | func executeAsEventLoopFutureWithoutOutput() -> EventLoopFuture<Void> {
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
85 | // submit the asynchronous request
86 | let future: EventLoopFuture<Void> = httpClient.executeAsEventLoopFutureWithoutOutputWithWrappedInvocationContext(
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithoutOutput.swift:103:24: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
101 |
102 | return future.flatMap {
103 | return self.onSuccess()
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
104 | }
105 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithoutOutput.swift:103:24: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
101 |
102 | return future.flatMap {
103 | return self.onSuccess()
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
104 | }
105 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithoutOutput.swift:84:14: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
82 | }
83 |
84 | func executeAsEventLoopFutureWithoutOutput() -> EventLoopFuture<Void> {
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
85 | // submit the asynchronous request
86 | let future: EventLoopFuture<Void> = httpClient.executeAsEventLoopFutureWithoutOutputWithWrappedInvocationContext(
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithoutOutput.swift:84:14: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
82 | }
83 |
84 | func executeAsEventLoopFutureWithoutOutput() -> EventLoopFuture<Void> {
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
85 | // submit the asynchronous request
86 | let future: EventLoopFuture<Void> = httpClient.executeAsEventLoopFutureWithoutOutputWithWrappedInvocationContext(
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithoutOutput.swift:148:38: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
146 | logger.trace("Reattempting request due to remaining retries: \(currentRetriesRemaining)")
147 |
148 | let nextFuture = self.executeAsEventLoopFutureWithoutOutput()
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
149 |
150 | promise.completeWith(nextFuture)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithoutOutput.swift:148:38: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
146 | logger.trace("Reattempting request due to remaining retries: \(currentRetriesRemaining)")
147 |
148 | let nextFuture = self.executeAsEventLoopFutureWithoutOutput()
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
149 |
150 | promise.completeWith(nextFuture)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithoutOutput.swift:114:14: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
112 | }
113 |
114 | func getNextFuture(error: HTTPClientError) -> EventLoopFuture<Void> {
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
115 | let promise = eventLoop.makePromise(of: Void.self)
116 | let logger = invocationContext.reporting.logger
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithoutOutput.swift:114:14: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
112 | }
113 |
114 | func getNextFuture(error: HTTPClientError) -> EventLoopFuture<Void> {
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
115 | let promise = eventLoop.makePromise(of: Void.self)
116 | let logger = invocationContext.reporting.logger
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureWithOutput.swift:122:66: warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
120 | do {
121 | // decode the provided body into the desired type
122 | let output: OutputType = try requestDelegate.decodeOutput(
| `- warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
123 | output: response.body,
124 | headers: response.headers,
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureWithOutput.swift:122:66: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
120 | do {
121 | // decode the provided body into the desired type
122 | let output: OutputType = try requestDelegate.decodeOutput(
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
123 | output: response.body,
124 | headers: response.headers,
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureWithOutput.swift:125:46: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
123 | output: response.body,
124 | headers: response.headers,
125 | invocationReporting: invocationContext.reporting)
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
126 |
127 | // report success metric
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureWithOutput.swift:101:13: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
99 | requestComponents: HTTPRequestComponents,
100 | httpMethod: HTTPMethod,
101 | invocationContext: HTTPClientInvocationContext<InvocationReportingType, HandlerDelegateType>) -> EventLoopFuture<OutputType>
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
102 | where OutputType: HTTPResponseOutputProtocol {
103 | let durationMetricDetails: (Date, Metrics.Timer?, OutwardsRequestAggregator?)?
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureWithOutput.swift:101:13: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
99 | requestComponents: HTTPRequestComponents,
100 | httpMethod: HTTPMethod,
101 | invocationContext: HTTPClientInvocationContext<InvocationReportingType, HandlerDelegateType>) -> EventLoopFuture<OutputType>
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
102 | where OutputType: HTTPResponseOutputProtocol {
103 | let durationMetricDetails: (Date, Metrics.Timer?, OutwardsRequestAggregator?)?
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureWithOutput.swift:141:43: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
139 | switch typedError.category {
140 | case .clientError, .clientRetryableError:
141 | invocationContext.reporting.failure4XXCounter?.increment()
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
142 | case .serverError:
143 | invocationContext.reporting.failure5XXCounter?.increment()
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureWithOutput.swift:141:25: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
139 | switch typedError.category {
140 | case .clientError, .clientRetryableError:
141 | invocationContext.reporting.failure4XXCounter?.increment()
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
142 | case .serverError:
143 | invocationContext.reporting.failure5XXCounter?.increment()
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureWithOutput.swift:101:13: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
99 | requestComponents: HTTPRequestComponents,
100 | httpMethod: HTTPMethod,
101 | invocationContext: HTTPClientInvocationContext<InvocationReportingType, HandlerDelegateType>) -> EventLoopFuture<OutputType>
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
102 | where OutputType: HTTPResponseOutputProtocol {
103 | let durationMetricDetails: (Date, Metrics.Timer?, OutwardsRequestAggregator?)?
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureWithOutput.swift:101:13: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
99 | requestComponents: HTTPRequestComponents,
100 | httpMethod: HTTPMethod,
101 | invocationContext: HTTPClientInvocationContext<InvocationReportingType, HandlerDelegateType>) -> EventLoopFuture<OutputType>
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
102 | where OutputType: HTTPResponseOutputProtocol {
103 | let durationMetricDetails: (Date, Metrics.Timer?, OutwardsRequestAggregator?)?
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureWithOutput.swift:136:37: warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
134 | throw HTTPClientError(responseCode: 400, cause: error)
135 | }
136 | } .flatMapErrorThrowing { error -> OutputType in
| `- warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
137 | if let typedError = error as? HTTPClientError {
138 | // report failure metric
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureWithOutput.swift:160:35: warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
158 |
159 | if let outwardsRequestAggregator = durationMetricDetails.2 {
160 | let promise = future.eventLoop.makePromise(of: Void.self)
| `- warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
161 |
162 | outwardsRequestAggregator.recordOutwardsRequest(
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureWithOutput.swift:116:13: warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
114 | // that will decode the returned body into the desired decodable type.
115 |
116 | let future = executeAsEventLoopFuture(endpointOverride: endpointOverride,
| `- warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
117 | requestComponents: requestComponents, httpMethod: httpMethod,
118 | invocationContext: invocationContext)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureWithOutput.swift:168:32: warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
166 |
167 | return promise.futureResult.map {
168 | return output
| `- warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
169 | }
170 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureWithOutput.swift:151:33: warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
149 | }
150 |
151 | return future.flatMap { output in
| `- warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
152 | if let durationMetricDetails = durationMetricDetails {
153 | let timeInterval = Date().timeIntervalSince(durationMetricDetails.0)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureWithoutOutput.swift:119:39: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
117 | invocationContext: invocationContext)
118 | .map { _ -> Void in
119 | invocationContext.reporting.successCounter?.increment()
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
120 | } .flatMapErrorThrowing { error in
121 | if let typedError = error as? HTTPClientError {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureWithoutOutput.swift:119:21: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
117 | invocationContext: invocationContext)
118 | .map { _ -> Void in
119 | invocationContext.reporting.successCounter?.increment()
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
120 | } .flatMapErrorThrowing { error in
121 | if let typedError = error as? HTTPClientError {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureWithoutOutput.swift:102:9: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
100 | requestComponents: HTTPRequestComponents,
101 | httpMethod: HTTPMethod,
102 | invocationContext: HTTPClientInvocationContext<InvocationReportingType, HandlerDelegateType>) -> EventLoopFuture<Void> {
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
103 |
104 | let durationMetricDetails: (Date, Metrics.Timer?, OutwardsRequestAggregator?)?
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureWithoutOutput.swift:102:9: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
100 | requestComponents: HTTPRequestComponents,
101 | httpMethod: HTTPMethod,
102 | invocationContext: HTTPClientInvocationContext<InvocationReportingType, HandlerDelegateType>) -> EventLoopFuture<Void> {
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
103 |
104 | let durationMetricDetails: (Date, Metrics.Timer?, OutwardsRequestAggregator?)?
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureWithoutOutput.swift:125:47: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
123 | switch typedError.category {
124 | case .clientError, .clientRetryableError:
125 | invocationContext.reporting.failure4XXCounter?.increment()
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
126 | case .serverError:
127 | invocationContext.reporting.failure5XXCounter?.increment()
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureWithoutOutput.swift:125:29: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
123 | switch typedError.category {
124 | case .clientError, .clientRetryableError:
125 | invocationContext.reporting.failure4XXCounter?.increment()
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
126 | case .serverError:
127 | invocationContext.reporting.failure5XXCounter?.increment()
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureWithoutOutput.swift:102:9: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
100 | requestComponents: HTTPRequestComponents,
101 | httpMethod: HTTPMethod,
102 | invocationContext: HTTPClientInvocationContext<InvocationReportingType, HandlerDelegateType>) -> EventLoopFuture<Void> {
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
103 |
104 | let durationMetricDetails: (Date, Metrics.Timer?, OutwardsRequestAggregator?)?
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureWithoutOutput.swift:102:9: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
100 | requestComponents: HTTPRequestComponents,
101 | httpMethod: HTTPMethod,
102 | invocationContext: HTTPClientInvocationContext<InvocationReportingType, HandlerDelegateType>) -> EventLoopFuture<Void> {
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
103 |
104 | let durationMetricDetails: (Date, Metrics.Timer?, OutwardsRequestAggregator?)?
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsyncRetriableWithoutOutput.swift:123:37: warning: capture of non-sendable type 'InvocationStrategyType.Type' in an isolated closure
121 | do {
122 | // execute again
123 | try self.executeAsyncWithoutOutput()
| `- warning: capture of non-sendable type 'InvocationStrategyType.Type' in an isolated closure
124 | return
125 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsyncRetriableWithoutOutput.swift:123:37: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
121 | do {
122 | // execute again
123 | try self.executeAsyncWithoutOutput()
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
124 | return
125 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsyncRetriableWithoutOutput.swift:123:37: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
121 | do {
122 | // execute again
123 | try self.executeAsyncWithoutOutput()
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
124 | return
125 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsyncRetriableWithoutOutput.swift:100:14: warning: capture of non-sendable type 'InvocationStrategyType.Type' in an isolated closure
98 | }
99 |
100 | func completion(innerError: HTTPClientError?) {
| `- warning: capture of non-sendable type 'InvocationStrategyType.Type' in an isolated closure
101 | let error: HTTPClientError?
102 | let logger = invocationContext.reporting.logger
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsyncRetriableWithoutOutput.swift:100:14: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
98 | }
99 |
100 | func completion(innerError: HTTPClientError?) {
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
101 | let error: HTTPClientError?
102 | let logger = invocationContext.reporting.logger
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsyncRetriableWithoutOutput.swift:100:14: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
98 | }
99 |
100 | func completion(innerError: HTTPClientError?) {
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
101 | let error: HTTPClientError?
102 | let logger = invocationContext.reporting.logger
[1026/1046] Compiling SmokeHTTPClient HTTPOperationsClient+executeAsyncRetriableWithoutOutput.swift
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:100:29: warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
98 | }
99 |
100 | return self.getNextFuture(error: httpClientError)
| `- warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
101 | }
102 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:100:24: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
98 | }
99 |
100 | return self.getNextFuture(error: httpClientError)
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
101 | }
102 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:100:24: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
98 | }
99 |
100 | return self.getNextFuture(error: httpClientError)
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
101 | }
102 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:86:14: warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
84 | }
85 |
86 | func executeAsEventLoopFutureWithOutput() -> EventLoopFuture<OutputType> {
| `- warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
87 | // submit the asynchronous request
88 | let future: EventLoopFuture<OutputType> = httpClient.executeAsEventLoopFutureWithOutputWithWrappedInvocationContext(
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:86:14: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
84 | }
85 |
86 | func executeAsEventLoopFutureWithOutput() -> EventLoopFuture<OutputType> {
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
87 | // submit the asynchronous request
88 | let future: EventLoopFuture<OutputType> = httpClient.executeAsEventLoopFutureWithOutputWithWrappedInvocationContext(
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:86:14: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
84 | }
85 |
86 | func executeAsEventLoopFutureWithOutput() -> EventLoopFuture<OutputType> {
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
87 | // submit the asynchronous request
88 | let future: EventLoopFuture<OutputType> = httpClient.executeAsEventLoopFutureWithOutputWithWrappedInvocationContext(
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:104:41: warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
102 |
103 | return future.flatMap { result in
104 | return self.onSuccess().map { result }
| `- warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
105 | }
106 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:104:24: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
102 |
103 | return future.flatMap { result in
104 | return self.onSuccess().map { result }
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
105 | }
106 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:104:24: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
102 |
103 | return future.flatMap { result in
104 | return self.onSuccess().map { result }
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
105 | }
106 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:86:14: warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
84 | }
85 |
86 | func executeAsEventLoopFutureWithOutput() -> EventLoopFuture<OutputType> {
| `- warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
87 | // submit the asynchronous request
88 | let future: EventLoopFuture<OutputType> = httpClient.executeAsEventLoopFutureWithOutputWithWrappedInvocationContext(
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:86:14: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
84 | }
85 |
86 | func executeAsEventLoopFutureWithOutput() -> EventLoopFuture<OutputType> {
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
87 | // submit the asynchronous request
88 | let future: EventLoopFuture<OutputType> = httpClient.executeAsEventLoopFutureWithOutputWithWrappedInvocationContext(
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:86:14: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
84 | }
85 |
86 | func executeAsEventLoopFutureWithOutput() -> EventLoopFuture<OutputType> {
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
87 | // submit the asynchronous request
88 | let future: EventLoopFuture<OutputType> = httpClient.executeAsEventLoopFutureWithOutputWithWrappedInvocationContext(
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:104:47: warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
102 |
103 | return future.flatMap { result in
104 | return self.onSuccess().map { result }
| `- warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
105 | }
106 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:103:37: warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
101 | }
102 |
103 | return future.flatMap { result in
| `- warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
104 | return self.onSuccess().map { result }
105 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:148:43: warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
146 | logger.trace("Reattempting request due to remaining retries: \(currentRetriesRemaining)")
147 |
148 | let nextFuture = self.executeAsEventLoopFutureWithOutput()
| `- warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
149 |
150 | promise.completeWith(nextFuture)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:148:38: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
146 | logger.trace("Reattempting request due to remaining retries: \(currentRetriesRemaining)")
147 |
148 | let nextFuture = self.executeAsEventLoopFutureWithOutput()
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
149 |
150 | promise.completeWith(nextFuture)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:148:38: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
146 | logger.trace("Reattempting request due to remaining retries: \(currentRetriesRemaining)")
147 |
148 | let nextFuture = self.executeAsEventLoopFutureWithOutput()
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
149 |
150 | promise.completeWith(nextFuture)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:115:14: warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
113 | }
114 |
115 | func getNextFuture(error: HTTPClientError) -> EventLoopFuture<OutputType> {
| `- warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
116 | let promise = self.eventLoop.makePromise(of: OutputType.self)
117 | let logger = invocationContext.reporting.logger
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:115:14: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
113 | }
114 |
115 | func getNextFuture(error: HTTPClientError) -> EventLoopFuture<OutputType> {
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
116 | let promise = self.eventLoop.makePromise(of: OutputType.self)
117 | let logger = invocationContext.reporting.logger
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:115:14: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
113 | }
114 |
115 | func getNextFuture(error: HTTPClientError) -> EventLoopFuture<OutputType> {
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
116 | let promise = self.eventLoop.makePromise(of: OutputType.self)
117 | let logger = invocationContext.reporting.logger
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:154:55: warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
152 |
153 | // return the future that will be completed with the future retry.
154 | return recordFuture.flatMap { promise.futureResult }
| `- warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
155 | }
156 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:116:17: warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
114 |
115 | func getNextFuture(error: HTTPClientError) -> EventLoopFuture<OutputType> {
116 | let promise = self.eventLoop.makePromise(of: OutputType.self)
| `- warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
117 | let logger = invocationContext.reporting.logger
118 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:176:51: warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
174 | let reportFuture = onComplete()
175 |
176 | return reportFuture.flatMap { promise.futureResult }
| `- warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
177 | }
178 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift:116:17: warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
114 |
115 | func getNextFuture(error: HTTPClientError) -> EventLoopFuture<OutputType> {
116 | let promise = self.eventLoop.makePromise(of: OutputType.self)
| `- warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
117 | let logger = invocationContext.reporting.logger
118 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithoutOutput.swift:99:24: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
97 | }
98 |
99 | return self.getNextFuture(error: httpClientError)
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
100 | }
101 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithoutOutput.swift:99:24: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
97 | }
98 |
99 | return self.getNextFuture(error: httpClientError)
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
100 | }
101 |
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithoutOutput.swift:84:14: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
82 | }
83 |
84 | func executeAsEventLoopFutureWithoutOutput() -> EventLoopFuture<Void> {
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
85 | // submit the asynchronous request
86 | let future: EventLoopFuture<Void> = httpClient.executeAsEventLoopFutureWithoutOutputWithWrappedInvocationContext(
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithoutOutput.swift:84:14: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
82 | }
83 |
84 | func executeAsEventLoopFutureWithoutOutput() -> EventLoopFuture<Void> {
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
85 | // submit the asynchronous request
86 | let future: EventLoopFuture<Void> = httpClient.executeAsEventLoopFutureWithoutOutputWithWrappedInvocationContext(
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithoutOutput.swift:103:24: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
101 |
102 | return future.flatMap {
103 | return self.onSuccess()
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
104 | }
105 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithoutOutput.swift:103:24: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
101 |
102 | return future.flatMap {
103 | return self.onSuccess()
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
104 | }
105 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithoutOutput.swift:84:14: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
82 | }
83 |
84 | func executeAsEventLoopFutureWithoutOutput() -> EventLoopFuture<Void> {
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
85 | // submit the asynchronous request
86 | let future: EventLoopFuture<Void> = httpClient.executeAsEventLoopFutureWithoutOutputWithWrappedInvocationContext(
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithoutOutput.swift:84:14: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
82 | }
83 |
84 | func executeAsEventLoopFutureWithoutOutput() -> EventLoopFuture<Void> {
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
85 | // submit the asynchronous request
86 | let future: EventLoopFuture<Void> = httpClient.executeAsEventLoopFutureWithoutOutputWithWrappedInvocationContext(
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithoutOutput.swift:148:38: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
146 | logger.trace("Reattempting request due to remaining retries: \(currentRetriesRemaining)")
147 |
148 | let nextFuture = self.executeAsEventLoopFutureWithoutOutput()
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
149 |
150 | promise.completeWith(nextFuture)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithoutOutput.swift:148:38: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
146 | logger.trace("Reattempting request due to remaining retries: \(currentRetriesRemaining)")
147 |
148 | let nextFuture = self.executeAsEventLoopFutureWithoutOutput()
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
149 |
150 | promise.completeWith(nextFuture)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithoutOutput.swift:114:14: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
112 | }
113 |
114 | func getNextFuture(error: HTTPClientError) -> EventLoopFuture<Void> {
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
115 | let promise = eventLoop.makePromise(of: Void.self)
116 | let logger = invocationContext.reporting.logger
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureRetriableWithoutOutput.swift:114:14: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
112 | }
113 |
114 | func getNextFuture(error: HTTPClientError) -> EventLoopFuture<Void> {
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
115 | let promise = eventLoop.makePromise(of: Void.self)
116 | let logger = invocationContext.reporting.logger
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureWithOutput.swift:122:66: warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
120 | do {
121 | // decode the provided body into the desired type
122 | let output: OutputType = try requestDelegate.decodeOutput(
| `- warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
123 | output: response.body,
124 | headers: response.headers,
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureWithOutput.swift:122:66: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
120 | do {
121 | // decode the provided body into the desired type
122 | let output: OutputType = try requestDelegate.decodeOutput(
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
123 | output: response.body,
124 | headers: response.headers,
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureWithOutput.swift:125:46: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
123 | output: response.body,
124 | headers: response.headers,
125 | invocationReporting: invocationContext.reporting)
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
126 |
127 | // report success metric
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureWithOutput.swift:101:13: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
99 | requestComponents: HTTPRequestComponents,
100 | httpMethod: HTTPMethod,
101 | invocationContext: HTTPClientInvocationContext<InvocationReportingType, HandlerDelegateType>) -> EventLoopFuture<OutputType>
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
102 | where OutputType: HTTPResponseOutputProtocol {
103 | let durationMetricDetails: (Date, Metrics.Timer?, OutwardsRequestAggregator?)?
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureWithOutput.swift:101:13: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
99 | requestComponents: HTTPRequestComponents,
100 | httpMethod: HTTPMethod,
101 | invocationContext: HTTPClientInvocationContext<InvocationReportingType, HandlerDelegateType>) -> EventLoopFuture<OutputType>
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
102 | where OutputType: HTTPResponseOutputProtocol {
103 | let durationMetricDetails: (Date, Metrics.Timer?, OutwardsRequestAggregator?)?
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureWithOutput.swift:141:43: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
139 | switch typedError.category {
140 | case .clientError, .clientRetryableError:
141 | invocationContext.reporting.failure4XXCounter?.increment()
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
142 | case .serverError:
143 | invocationContext.reporting.failure5XXCounter?.increment()
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureWithOutput.swift:141:25: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
139 | switch typedError.category {
140 | case .clientError, .clientRetryableError:
141 | invocationContext.reporting.failure4XXCounter?.increment()
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
142 | case .serverError:
143 | invocationContext.reporting.failure5XXCounter?.increment()
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureWithOutput.swift:101:13: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
99 | requestComponents: HTTPRequestComponents,
100 | httpMethod: HTTPMethod,
101 | invocationContext: HTTPClientInvocationContext<InvocationReportingType, HandlerDelegateType>) -> EventLoopFuture<OutputType>
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
102 | where OutputType: HTTPResponseOutputProtocol {
103 | let durationMetricDetails: (Date, Metrics.Timer?, OutwardsRequestAggregator?)?
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureWithOutput.swift:101:13: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
99 | requestComponents: HTTPRequestComponents,
100 | httpMethod: HTTPMethod,
101 | invocationContext: HTTPClientInvocationContext<InvocationReportingType, HandlerDelegateType>) -> EventLoopFuture<OutputType>
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
102 | where OutputType: HTTPResponseOutputProtocol {
103 | let durationMetricDetails: (Date, Metrics.Timer?, OutwardsRequestAggregator?)?
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureWithOutput.swift:136:37: warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
134 | throw HTTPClientError(responseCode: 400, cause: error)
135 | }
136 | } .flatMapErrorThrowing { error -> OutputType in
| `- warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
137 | if let typedError = error as? HTTPClientError {
138 | // report failure metric
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureWithOutput.swift:160:35: warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
158 |
159 | if let outwardsRequestAggregator = durationMetricDetails.2 {
160 | let promise = future.eventLoop.makePromise(of: Void.self)
| `- warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
161 |
162 | outwardsRequestAggregator.recordOutwardsRequest(
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureWithOutput.swift:116:13: warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
114 | // that will decode the returned body into the desired decodable type.
115 |
116 | let future = executeAsEventLoopFuture(endpointOverride: endpointOverride,
| `- warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
117 | requestComponents: requestComponents, httpMethod: httpMethod,
118 | invocationContext: invocationContext)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureWithOutput.swift:168:32: warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
166 |
167 | return promise.futureResult.map {
168 | return output
| `- warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
169 | }
170 | }
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureWithOutput.swift:151:33: warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
149 | }
150 |
151 | return future.flatMap { output in
| `- warning: capture of non-sendable type 'OutputType.Type' in an isolated closure
152 | if let durationMetricDetails = durationMetricDetails {
153 | let timeInterval = Date().timeIntervalSince(durationMetricDetails.0)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureWithoutOutput.swift:119:39: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
117 | invocationContext: invocationContext)
118 | .map { _ -> Void in
119 | invocationContext.reporting.successCounter?.increment()
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
120 | } .flatMapErrorThrowing { error in
121 | if let typedError = error as? HTTPClientError {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureWithoutOutput.swift:119:21: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
117 | invocationContext: invocationContext)
118 | .map { _ -> Void in
119 | invocationContext.reporting.successCounter?.increment()
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
120 | } .flatMapErrorThrowing { error in
121 | if let typedError = error as? HTTPClientError {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureWithoutOutput.swift:102:9: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
100 | requestComponents: HTTPRequestComponents,
101 | httpMethod: HTTPMethod,
102 | invocationContext: HTTPClientInvocationContext<InvocationReportingType, HandlerDelegateType>) -> EventLoopFuture<Void> {
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
103 |
104 | let durationMetricDetails: (Date, Metrics.Timer?, OutwardsRequestAggregator?)?
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureWithoutOutput.swift:102:9: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
100 | requestComponents: HTTPRequestComponents,
101 | httpMethod: HTTPMethod,
102 | invocationContext: HTTPClientInvocationContext<InvocationReportingType, HandlerDelegateType>) -> EventLoopFuture<Void> {
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
103 |
104 | let durationMetricDetails: (Date, Metrics.Timer?, OutwardsRequestAggregator?)?
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureWithoutOutput.swift:125:47: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
123 | switch typedError.category {
124 | case .clientError, .clientRetryableError:
125 | invocationContext.reporting.failure4XXCounter?.increment()
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
126 | case .serverError:
127 | invocationContext.reporting.failure5XXCounter?.increment()
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureWithoutOutput.swift:125:29: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
123 | switch typedError.category {
124 | case .clientError, .clientRetryableError:
125 | invocationContext.reporting.failure4XXCounter?.increment()
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
126 | case .serverError:
127 | invocationContext.reporting.failure5XXCounter?.increment()
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureWithoutOutput.swift:102:9: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
100 | requestComponents: HTTPRequestComponents,
101 | httpMethod: HTTPMethod,
102 | invocationContext: HTTPClientInvocationContext<InvocationReportingType, HandlerDelegateType>) -> EventLoopFuture<Void> {
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
103 |
104 | let durationMetricDetails: (Date, Metrics.Timer?, OutwardsRequestAggregator?)?
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsEventLoopFutureWithoutOutput.swift:102:9: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
100 | requestComponents: HTTPRequestComponents,
101 | httpMethod: HTTPMethod,
102 | invocationContext: HTTPClientInvocationContext<InvocationReportingType, HandlerDelegateType>) -> EventLoopFuture<Void> {
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
103 |
104 | let durationMetricDetails: (Date, Metrics.Timer?, OutwardsRequestAggregator?)?
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsyncRetriableWithoutOutput.swift:123:37: warning: capture of non-sendable type 'InvocationStrategyType.Type' in an isolated closure
121 | do {
122 | // execute again
123 | try self.executeAsyncWithoutOutput()
| `- warning: capture of non-sendable type 'InvocationStrategyType.Type' in an isolated closure
124 | return
125 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsyncRetriableWithoutOutput.swift:123:37: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
121 | do {
122 | // execute again
123 | try self.executeAsyncWithoutOutput()
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
124 | return
125 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsyncRetriableWithoutOutput.swift:123:37: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
121 | do {
122 | // execute again
123 | try self.executeAsyncWithoutOutput()
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
124 | return
125 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsyncRetriableWithoutOutput.swift:100:14: warning: capture of non-sendable type 'InvocationStrategyType.Type' in an isolated closure
98 | }
99 |
100 | func completion(innerError: HTTPClientError?) {
| `- warning: capture of non-sendable type 'InvocationStrategyType.Type' in an isolated closure
101 | let error: HTTPClientError?
102 | let logger = invocationContext.reporting.logger
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsyncRetriableWithoutOutput.swift:100:14: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
98 | }
99 |
100 | func completion(innerError: HTTPClientError?) {
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
101 | let error: HTTPClientError?
102 | let logger = invocationContext.reporting.logger
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient+executeAsyncRetriableWithoutOutput.swift:100:14: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
98 | }
99 |
100 | func completion(innerError: HTTPClientError?) {
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
101 | let error: HTTPClientError?
102 | let logger = invocationContext.reporting.logger
[1027/1046] Compiling SmokeHTTPClient HTTPOperationsClient +executeAsyncWithoutOutput.swift
[1028/1046] Compiling SmokeHTTPClient HTTPOperationsClient +executeSyncRetriableWithOutput.swift
[1029/1046] Compiling SmokeHTTPClient HTTPOperationsClient +executeSyncRetriableWithoutOutput.swift
[1030/1046] Compiling SmokeHTTPClient HTTPOperationsClient +executeSyncWithOutput.swift
[1031/1046] Compiling SmokeHTTPClient HTTPOperationsClient +executeSyncWithoutOutput.swift
[1032/1046] Compiling SmokeHTTPClient HTTPRequestComponents.swift
[1033/1046] Compiling SmokeHTTPClient HTTPRequestInput.swift
[1034/1046] Compiling SmokeHTTPClient HTTPRequestInputProtocol.swift
[1035/1046] Compiling SmokeHTTPClient HTTPResponseComponents.swift
[1036/1046] Compiling SmokeHTTPClient HTTPResponseOutputProtocol.swift
[1037/1046] Compiling SmokeHTTPClient HttpClientError.swift
[1038/1046] Compiling SmokeHTTPClient InvocationTraceContext.swift
[1039/1046] Compiling SmokeHTTPClient MockCoreInvocationReporting.swift
[1040/1046] Compiling SmokeHTTPClient MockHTTPClient.swift
[1041/1046] Compiling SmokeHTTPClient MockHTTPInvocationClient.swift
[1042/1046] Compiling SmokeHTTPClient HTTPOperationsClient+executeRetriableWithOutput.swift
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:96:73: warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly [#DeprecatedDeclaration]
94 | clientDelegate: HTTPClientDelegate,
95 | connectionTimeoutSeconds: Int64 = 10,
96 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
| |- warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly [#DeprecatedDeclaration]
| `- note: use 'singleton' instead
97 | connectionPoolConfiguration connectionPoolConfigurationOptional: HTTPClient.Configuration.ConnectionPool? = nil,
98 | enableAHCLogging: Bool = false) {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:131:73: warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly [#DeprecatedDeclaration]
129 | clientDelegate: HTTPClientDelegate,
130 | timeoutConfiguration: HTTPClient.Configuration.Timeout,
131 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
| |- warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly [#DeprecatedDeclaration]
| `- note: use 'singleton' instead
132 | connectionPoolConfiguration connectionPoolConfigurationOptional: HTTPClient.Configuration.ConnectionPool? = nil,
133 | enableAHCLogging: Bool = false) {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:218:51: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
216 | responseFuture.whenComplete { result in
217 | do {
218 | let responseComponents = try self.handleCompleteResponse(invocationContext: invocationContext,
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
219 | outwardsRequestContext: outwardsRequestContext,
220 | result: result)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:218:51: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
216 | responseFuture.whenComplete { result in
217 | do {
218 | let responseComponents = try self.handleCompleteResponse(invocationContext: invocationContext,
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
219 | outwardsRequestContext: outwardsRequestContext,
220 | result: result)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:209:9: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
207 | httpMethod: HTTPMethod,
208 | completion: @escaping (Result<HTTPResponseComponents, HTTPClientError>) -> (),
209 | invocationContext: HTTPClientInvocationContext<InvocationReportingType, HandlerDelegateType>) throws
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
210 | -> EventLoopFuture<HTTPClient.Response> {
211 | let (responseFuture, outwardsRequestContext) = try performExecuteAsync(endpointOverride: endpointOverride,
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:209:9: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
207 | httpMethod: HTTPMethod,
208 | completion: @escaping (Result<HTTPResponseComponents, HTTPClientError>) -> (),
209 | invocationContext: HTTPClientInvocationContext<InvocationReportingType, HandlerDelegateType>) throws
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
210 | -> EventLoopFuture<HTTPClient.Response> {
211 | let (responseFuture, outwardsRequestContext) = try performExecuteAsync(endpointOverride: endpointOverride,
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:249:33: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
247 | // and generate a `HTTPResponseComponents` instance or be a failure response and cause
248 | // a SmokeHTTPClient.HTTPClientError error to be thrown
249 | return try self.handleCompleteResponseThrowingClientError(invocationContext: invocationContext,
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
250 | outwardsRequestContext: outwardsRequestContext,
251 | result: .success(successResult))
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:249:33: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
247 | // and generate a `HTTPResponseComponents` instance or be a failure response and cause
248 | // a SmokeHTTPClient.HTTPClientError error to be thrown
249 | return try self.handleCompleteResponseThrowingClientError(invocationContext: invocationContext,
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
250 | outwardsRequestContext: outwardsRequestContext,
251 | result: .success(successResult))
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:238:9: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
236 | requestComponents: HTTPRequestComponents,
237 | httpMethod: HTTPMethod,
238 | invocationContext: HTTPClientInvocationContext<InvocationReportingType, HandlerDelegateType>)
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
239 | -> EventLoopFuture<HTTPResponseComponents> {
240 | do {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:238:9: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
236 | requestComponents: HTTPRequestComponents,
237 | httpMethod: HTTPMethod,
238 | invocationContext: HTTPClientInvocationContext<InvocationReportingType, HandlerDelegateType>)
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
239 | -> EventLoopFuture<HTTPResponseComponents> {
240 | do {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:261:33: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
259 | // a response wasn't even able to be generated (for example due to a connection error)
260 | // make sure this error is thrown correctly as a SmokeHTTPClient.HTTPClientError
261 | return try self.handleCompleteResponseThrowingClientError(invocationContext: invocationContext,
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
262 | outwardsRequestContext: outwardsRequestContext,
263 | result: .failure(error))
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:261:33: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
259 | // a response wasn't even able to be generated (for example due to a connection error)
260 | // make sure this error is thrown correctly as a SmokeHTTPClient.HTTPClientError
261 | return try self.handleCompleteResponseThrowingClientError(invocationContext: invocationContext,
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
262 | outwardsRequestContext: outwardsRequestContext,
263 | result: .failure(error))
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:238:9: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
236 | requestComponents: HTTPRequestComponents,
237 | httpMethod: HTTPMethod,
238 | invocationContext: HTTPClientInvocationContext<InvocationReportingType, HandlerDelegateType>)
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
239 | -> EventLoopFuture<HTTPResponseComponents> {
240 | do {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:238:9: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
236 | requestComponents: HTTPRequestComponents,
237 | httpMethod: HTTPMethod,
238 | invocationContext: HTTPClientInvocationContext<InvocationReportingType, HandlerDelegateType>)
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
239 | -> EventLoopFuture<HTTPResponseComponents> {
240 | do {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1043/1046] Compiling SmokeHTTPClient HTTPOperationsClient+executeRetriableWithoutOutput.swift
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:96:73: warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly [#DeprecatedDeclaration]
94 | clientDelegate: HTTPClientDelegate,
95 | connectionTimeoutSeconds: Int64 = 10,
96 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
| |- warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly [#DeprecatedDeclaration]
| `- note: use 'singleton' instead
97 | connectionPoolConfiguration connectionPoolConfigurationOptional: HTTPClient.Configuration.ConnectionPool? = nil,
98 | enableAHCLogging: Bool = false) {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:131:73: warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly [#DeprecatedDeclaration]
129 | clientDelegate: HTTPClientDelegate,
130 | timeoutConfiguration: HTTPClient.Configuration.Timeout,
131 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
| |- warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly [#DeprecatedDeclaration]
| `- note: use 'singleton' instead
132 | connectionPoolConfiguration connectionPoolConfigurationOptional: HTTPClient.Configuration.ConnectionPool? = nil,
133 | enableAHCLogging: Bool = false) {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:218:51: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
216 | responseFuture.whenComplete { result in
217 | do {
218 | let responseComponents = try self.handleCompleteResponse(invocationContext: invocationContext,
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
219 | outwardsRequestContext: outwardsRequestContext,
220 | result: result)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:218:51: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
216 | responseFuture.whenComplete { result in
217 | do {
218 | let responseComponents = try self.handleCompleteResponse(invocationContext: invocationContext,
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
219 | outwardsRequestContext: outwardsRequestContext,
220 | result: result)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:209:9: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
207 | httpMethod: HTTPMethod,
208 | completion: @escaping (Result<HTTPResponseComponents, HTTPClientError>) -> (),
209 | invocationContext: HTTPClientInvocationContext<InvocationReportingType, HandlerDelegateType>) throws
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
210 | -> EventLoopFuture<HTTPClient.Response> {
211 | let (responseFuture, outwardsRequestContext) = try performExecuteAsync(endpointOverride: endpointOverride,
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:209:9: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
207 | httpMethod: HTTPMethod,
208 | completion: @escaping (Result<HTTPResponseComponents, HTTPClientError>) -> (),
209 | invocationContext: HTTPClientInvocationContext<InvocationReportingType, HandlerDelegateType>) throws
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
210 | -> EventLoopFuture<HTTPClient.Response> {
211 | let (responseFuture, outwardsRequestContext) = try performExecuteAsync(endpointOverride: endpointOverride,
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:249:33: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
247 | // and generate a `HTTPResponseComponents` instance or be a failure response and cause
248 | // a SmokeHTTPClient.HTTPClientError error to be thrown
249 | return try self.handleCompleteResponseThrowingClientError(invocationContext: invocationContext,
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
250 | outwardsRequestContext: outwardsRequestContext,
251 | result: .success(successResult))
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:249:33: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
247 | // and generate a `HTTPResponseComponents` instance or be a failure response and cause
248 | // a SmokeHTTPClient.HTTPClientError error to be thrown
249 | return try self.handleCompleteResponseThrowingClientError(invocationContext: invocationContext,
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
250 | outwardsRequestContext: outwardsRequestContext,
251 | result: .success(successResult))
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:238:9: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
236 | requestComponents: HTTPRequestComponents,
237 | httpMethod: HTTPMethod,
238 | invocationContext: HTTPClientInvocationContext<InvocationReportingType, HandlerDelegateType>)
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
239 | -> EventLoopFuture<HTTPResponseComponents> {
240 | do {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:238:9: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
236 | requestComponents: HTTPRequestComponents,
237 | httpMethod: HTTPMethod,
238 | invocationContext: HTTPClientInvocationContext<InvocationReportingType, HandlerDelegateType>)
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
239 | -> EventLoopFuture<HTTPResponseComponents> {
240 | do {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:261:33: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
259 | // a response wasn't even able to be generated (for example due to a connection error)
260 | // make sure this error is thrown correctly as a SmokeHTTPClient.HTTPClientError
261 | return try self.handleCompleteResponseThrowingClientError(invocationContext: invocationContext,
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
262 | outwardsRequestContext: outwardsRequestContext,
263 | result: .failure(error))
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:261:33: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
259 | // a response wasn't even able to be generated (for example due to a connection error)
260 | // make sure this error is thrown correctly as a SmokeHTTPClient.HTTPClientError
261 | return try self.handleCompleteResponseThrowingClientError(invocationContext: invocationContext,
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
262 | outwardsRequestContext: outwardsRequestContext,
263 | result: .failure(error))
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:238:9: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
236 | requestComponents: HTTPRequestComponents,
237 | httpMethod: HTTPMethod,
238 | invocationContext: HTTPClientInvocationContext<InvocationReportingType, HandlerDelegateType>)
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
239 | -> EventLoopFuture<HTTPResponseComponents> {
240 | do {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:238:9: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
236 | requestComponents: HTTPRequestComponents,
237 | httpMethod: HTTPMethod,
238 | invocationContext: HTTPClientInvocationContext<InvocationReportingType, HandlerDelegateType>)
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
239 | -> EventLoopFuture<HTTPResponseComponents> {
240 | do {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1044/1046] Compiling SmokeHTTPClient HTTPOperationsClient+executeWithOutput.swift
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:96:73: warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly [#DeprecatedDeclaration]
94 | clientDelegate: HTTPClientDelegate,
95 | connectionTimeoutSeconds: Int64 = 10,
96 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
| |- warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly [#DeprecatedDeclaration]
| `- note: use 'singleton' instead
97 | connectionPoolConfiguration connectionPoolConfigurationOptional: HTTPClient.Configuration.ConnectionPool? = nil,
98 | enableAHCLogging: Bool = false) {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:131:73: warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly [#DeprecatedDeclaration]
129 | clientDelegate: HTTPClientDelegate,
130 | timeoutConfiguration: HTTPClient.Configuration.Timeout,
131 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
| |- warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly [#DeprecatedDeclaration]
| `- note: use 'singleton' instead
132 | connectionPoolConfiguration connectionPoolConfigurationOptional: HTTPClient.Configuration.ConnectionPool? = nil,
133 | enableAHCLogging: Bool = false) {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:218:51: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
216 | responseFuture.whenComplete { result in
217 | do {
218 | let responseComponents = try self.handleCompleteResponse(invocationContext: invocationContext,
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
219 | outwardsRequestContext: outwardsRequestContext,
220 | result: result)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:218:51: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
216 | responseFuture.whenComplete { result in
217 | do {
218 | let responseComponents = try self.handleCompleteResponse(invocationContext: invocationContext,
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
219 | outwardsRequestContext: outwardsRequestContext,
220 | result: result)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:209:9: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
207 | httpMethod: HTTPMethod,
208 | completion: @escaping (Result<HTTPResponseComponents, HTTPClientError>) -> (),
209 | invocationContext: HTTPClientInvocationContext<InvocationReportingType, HandlerDelegateType>) throws
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
210 | -> EventLoopFuture<HTTPClient.Response> {
211 | let (responseFuture, outwardsRequestContext) = try performExecuteAsync(endpointOverride: endpointOverride,
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:209:9: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
207 | httpMethod: HTTPMethod,
208 | completion: @escaping (Result<HTTPResponseComponents, HTTPClientError>) -> (),
209 | invocationContext: HTTPClientInvocationContext<InvocationReportingType, HandlerDelegateType>) throws
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
210 | -> EventLoopFuture<HTTPClient.Response> {
211 | let (responseFuture, outwardsRequestContext) = try performExecuteAsync(endpointOverride: endpointOverride,
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:249:33: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
247 | // and generate a `HTTPResponseComponents` instance or be a failure response and cause
248 | // a SmokeHTTPClient.HTTPClientError error to be thrown
249 | return try self.handleCompleteResponseThrowingClientError(invocationContext: invocationContext,
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
250 | outwardsRequestContext: outwardsRequestContext,
251 | result: .success(successResult))
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:249:33: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
247 | // and generate a `HTTPResponseComponents` instance or be a failure response and cause
248 | // a SmokeHTTPClient.HTTPClientError error to be thrown
249 | return try self.handleCompleteResponseThrowingClientError(invocationContext: invocationContext,
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
250 | outwardsRequestContext: outwardsRequestContext,
251 | result: .success(successResult))
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:238:9: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
236 | requestComponents: HTTPRequestComponents,
237 | httpMethod: HTTPMethod,
238 | invocationContext: HTTPClientInvocationContext<InvocationReportingType, HandlerDelegateType>)
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
239 | -> EventLoopFuture<HTTPResponseComponents> {
240 | do {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:238:9: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
236 | requestComponents: HTTPRequestComponents,
237 | httpMethod: HTTPMethod,
238 | invocationContext: HTTPClientInvocationContext<InvocationReportingType, HandlerDelegateType>)
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
239 | -> EventLoopFuture<HTTPResponseComponents> {
240 | do {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:261:33: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
259 | // a response wasn't even able to be generated (for example due to a connection error)
260 | // make sure this error is thrown correctly as a SmokeHTTPClient.HTTPClientError
261 | return try self.handleCompleteResponseThrowingClientError(invocationContext: invocationContext,
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
262 | outwardsRequestContext: outwardsRequestContext,
263 | result: .failure(error))
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:261:33: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
259 | // a response wasn't even able to be generated (for example due to a connection error)
260 | // make sure this error is thrown correctly as a SmokeHTTPClient.HTTPClientError
261 | return try self.handleCompleteResponseThrowingClientError(invocationContext: invocationContext,
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
262 | outwardsRequestContext: outwardsRequestContext,
263 | result: .failure(error))
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:238:9: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
236 | requestComponents: HTTPRequestComponents,
237 | httpMethod: HTTPMethod,
238 | invocationContext: HTTPClientInvocationContext<InvocationReportingType, HandlerDelegateType>)
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
239 | -> EventLoopFuture<HTTPResponseComponents> {
240 | do {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:238:9: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
236 | requestComponents: HTTPRequestComponents,
237 | httpMethod: HTTPMethod,
238 | invocationContext: HTTPClientInvocationContext<InvocationReportingType, HandlerDelegateType>)
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
239 | -> EventLoopFuture<HTTPResponseComponents> {
240 | do {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1045/1046] Compiling SmokeHTTPClient HTTPOperationsClient+executeWithoutOutput.swift
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:96:73: warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly [#DeprecatedDeclaration]
94 | clientDelegate: HTTPClientDelegate,
95 | connectionTimeoutSeconds: Int64 = 10,
96 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
| |- warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly [#DeprecatedDeclaration]
| `- note: use 'singleton' instead
97 | connectionPoolConfiguration connectionPoolConfigurationOptional: HTTPClient.Configuration.ConnectionPool? = nil,
98 | enableAHCLogging: Bool = false) {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:131:73: warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly [#DeprecatedDeclaration]
129 | clientDelegate: HTTPClientDelegate,
130 | timeoutConfiguration: HTTPClient.Configuration.Timeout,
131 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
| |- warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly [#DeprecatedDeclaration]
| `- note: use 'singleton' instead
132 | connectionPoolConfiguration connectionPoolConfigurationOptional: HTTPClient.Configuration.ConnectionPool? = nil,
133 | enableAHCLogging: Bool = false) {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:218:51: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
216 | responseFuture.whenComplete { result in
217 | do {
218 | let responseComponents = try self.handleCompleteResponse(invocationContext: invocationContext,
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
219 | outwardsRequestContext: outwardsRequestContext,
220 | result: result)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:218:51: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
216 | responseFuture.whenComplete { result in
217 | do {
218 | let responseComponents = try self.handleCompleteResponse(invocationContext: invocationContext,
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
219 | outwardsRequestContext: outwardsRequestContext,
220 | result: result)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:209:9: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
207 | httpMethod: HTTPMethod,
208 | completion: @escaping (Result<HTTPResponseComponents, HTTPClientError>) -> (),
209 | invocationContext: HTTPClientInvocationContext<InvocationReportingType, HandlerDelegateType>) throws
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
210 | -> EventLoopFuture<HTTPClient.Response> {
211 | let (responseFuture, outwardsRequestContext) = try performExecuteAsync(endpointOverride: endpointOverride,
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:209:9: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
207 | httpMethod: HTTPMethod,
208 | completion: @escaping (Result<HTTPResponseComponents, HTTPClientError>) -> (),
209 | invocationContext: HTTPClientInvocationContext<InvocationReportingType, HandlerDelegateType>) throws
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
210 | -> EventLoopFuture<HTTPClient.Response> {
211 | let (responseFuture, outwardsRequestContext) = try performExecuteAsync(endpointOverride: endpointOverride,
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:249:33: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
247 | // and generate a `HTTPResponseComponents` instance or be a failure response and cause
248 | // a SmokeHTTPClient.HTTPClientError error to be thrown
249 | return try self.handleCompleteResponseThrowingClientError(invocationContext: invocationContext,
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
250 | outwardsRequestContext: outwardsRequestContext,
251 | result: .success(successResult))
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:249:33: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
247 | // and generate a `HTTPResponseComponents` instance or be a failure response and cause
248 | // a SmokeHTTPClient.HTTPClientError error to be thrown
249 | return try self.handleCompleteResponseThrowingClientError(invocationContext: invocationContext,
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
250 | outwardsRequestContext: outwardsRequestContext,
251 | result: .success(successResult))
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:238:9: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
236 | requestComponents: HTTPRequestComponents,
237 | httpMethod: HTTPMethod,
238 | invocationContext: HTTPClientInvocationContext<InvocationReportingType, HandlerDelegateType>)
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
239 | -> EventLoopFuture<HTTPResponseComponents> {
240 | do {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:238:9: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
236 | requestComponents: HTTPRequestComponents,
237 | httpMethod: HTTPMethod,
238 | invocationContext: HTTPClientInvocationContext<InvocationReportingType, HandlerDelegateType>)
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
239 | -> EventLoopFuture<HTTPResponseComponents> {
240 | do {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:261:33: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
259 | // a response wasn't even able to be generated (for example due to a connection error)
260 | // make sure this error is thrown correctly as a SmokeHTTPClient.HTTPClientError
261 | return try self.handleCompleteResponseThrowingClientError(invocationContext: invocationContext,
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
262 | outwardsRequestContext: outwardsRequestContext,
263 | result: .failure(error))
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:261:33: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
259 | // a response wasn't even able to be generated (for example due to a connection error)
260 | // make sure this error is thrown correctly as a SmokeHTTPClient.HTTPClientError
261 | return try self.handleCompleteResponseThrowingClientError(invocationContext: invocationContext,
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
262 | outwardsRequestContext: outwardsRequestContext,
263 | result: .failure(error))
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:238:9: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
236 | requestComponents: HTTPRequestComponents,
237 | httpMethod: HTTPMethod,
238 | invocationContext: HTTPClientInvocationContext<InvocationReportingType, HandlerDelegateType>)
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
239 | -> EventLoopFuture<HTTPResponseComponents> {
240 | do {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:238:9: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
236 | requestComponents: HTTPRequestComponents,
237 | httpMethod: HTTPMethod,
238 | invocationContext: HTTPClientInvocationContext<InvocationReportingType, HandlerDelegateType>)
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
239 | -> EventLoopFuture<HTTPResponseComponents> {
240 | do {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1046/1046] Compiling SmokeHTTPClient HTTPOperationsClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:96:73: warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly [#DeprecatedDeclaration]
94 | clientDelegate: HTTPClientDelegate,
95 | connectionTimeoutSeconds: Int64 = 10,
96 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
| |- warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly [#DeprecatedDeclaration]
| `- note: use 'singleton' instead
97 | connectionPoolConfiguration connectionPoolConfigurationOptional: HTTPClient.Configuration.ConnectionPool? = nil,
98 | enableAHCLogging: Bool = false) {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:131:73: warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly [#DeprecatedDeclaration]
129 | clientDelegate: HTTPClientDelegate,
130 | timeoutConfiguration: HTTPClient.Configuration.Timeout,
131 | eventLoopProvider: HTTPClient.EventLoopGroupProvider = .createNew,
| |- warning: 'createNew' is deprecated: Please use the singleton EventLoopGroup explicitly [#DeprecatedDeclaration]
| `- note: use 'singleton' instead
132 | connectionPoolConfiguration connectionPoolConfigurationOptional: HTTPClient.Configuration.ConnectionPool? = nil,
133 | enableAHCLogging: Bool = false) {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:218:51: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
216 | responseFuture.whenComplete { result in
217 | do {
218 | let responseComponents = try self.handleCompleteResponse(invocationContext: invocationContext,
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
219 | outwardsRequestContext: outwardsRequestContext,
220 | result: result)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:218:51: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
216 | responseFuture.whenComplete { result in
217 | do {
218 | let responseComponents = try self.handleCompleteResponse(invocationContext: invocationContext,
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
219 | outwardsRequestContext: outwardsRequestContext,
220 | result: result)
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:209:9: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
207 | httpMethod: HTTPMethod,
208 | completion: @escaping (Result<HTTPResponseComponents, HTTPClientError>) -> (),
209 | invocationContext: HTTPClientInvocationContext<InvocationReportingType, HandlerDelegateType>) throws
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
210 | -> EventLoopFuture<HTTPClient.Response> {
211 | let (responseFuture, outwardsRequestContext) = try performExecuteAsync(endpointOverride: endpointOverride,
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:209:9: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
207 | httpMethod: HTTPMethod,
208 | completion: @escaping (Result<HTTPResponseComponents, HTTPClientError>) -> (),
209 | invocationContext: HTTPClientInvocationContext<InvocationReportingType, HandlerDelegateType>) throws
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
210 | -> EventLoopFuture<HTTPClient.Response> {
211 | let (responseFuture, outwardsRequestContext) = try performExecuteAsync(endpointOverride: endpointOverride,
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:249:33: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
247 | // and generate a `HTTPResponseComponents` instance or be a failure response and cause
248 | // a SmokeHTTPClient.HTTPClientError error to be thrown
249 | return try self.handleCompleteResponseThrowingClientError(invocationContext: invocationContext,
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
250 | outwardsRequestContext: outwardsRequestContext,
251 | result: .success(successResult))
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:249:33: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
247 | // and generate a `HTTPResponseComponents` instance or be a failure response and cause
248 | // a SmokeHTTPClient.HTTPClientError error to be thrown
249 | return try self.handleCompleteResponseThrowingClientError(invocationContext: invocationContext,
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
250 | outwardsRequestContext: outwardsRequestContext,
251 | result: .success(successResult))
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:238:9: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
236 | requestComponents: HTTPRequestComponents,
237 | httpMethod: HTTPMethod,
238 | invocationContext: HTTPClientInvocationContext<InvocationReportingType, HandlerDelegateType>)
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
239 | -> EventLoopFuture<HTTPResponseComponents> {
240 | do {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:238:9: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
236 | requestComponents: HTTPRequestComponents,
237 | httpMethod: HTTPMethod,
238 | invocationContext: HTTPClientInvocationContext<InvocationReportingType, HandlerDelegateType>)
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
239 | -> EventLoopFuture<HTTPResponseComponents> {
240 | do {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:261:33: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
259 | // a response wasn't even able to be generated (for example due to a connection error)
260 | // make sure this error is thrown correctly as a SmokeHTTPClient.HTTPClientError
261 | return try self.handleCompleteResponseThrowingClientError(invocationContext: invocationContext,
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
262 | outwardsRequestContext: outwardsRequestContext,
263 | result: .failure(error))
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:261:33: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
259 | // a response wasn't even able to be generated (for example due to a connection error)
260 | // make sure this error is thrown correctly as a SmokeHTTPClient.HTTPClientError
261 | return try self.handleCompleteResponseThrowingClientError(invocationContext: invocationContext,
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
262 | outwardsRequestContext: outwardsRequestContext,
263 | result: .failure(error))
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:238:9: warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
236 | requestComponents: HTTPRequestComponents,
237 | httpMethod: HTTPMethod,
238 | invocationContext: HTTPClientInvocationContext<InvocationReportingType, HandlerDelegateType>)
| `- warning: capture of non-sendable type 'InvocationReportingType.Type' in an isolated closure
239 | -> EventLoopFuture<HTTPResponseComponents> {
240 | do {
/Users/admin/builder/spi-builder-workspace/Sources/SmokeHTTPClient/HTTPOperationsClient.swift:238:9: warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
236 | requestComponents: HTTPRequestComponents,
237 | httpMethod: HTTPMethod,
238 | invocationContext: HTTPClientInvocationContext<InvocationReportingType, HandlerDelegateType>)
| `- warning: capture of non-sendable type 'HandlerDelegateType.Type' in an isolated closure
239 | -> EventLoopFuture<HTTPResponseComponents> {
240 | do {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1047/1048] Emitting module _SmokeHTTPClientConcurrency
[1048/1048] Compiling _SmokeHTTPClientConcurrency Export.swift
Build complete! (68.57s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/swift-server/async-http-client.git
[1/2206] Fetching swift-metrics
[200/7199] Fetching swift-metrics, swift-distributed-tracing
[527/11035] Fetching swift-metrics, swift-distributed-tracing, swift-log
[2298/25049] Fetching swift-metrics, swift-distributed-tracing, swift-log, async-http-client
[4982/39939] Fetching swift-metrics, swift-distributed-tracing, swift-log, async-http-client, swift-nio-ssl
[13910/116278] Fetching swift-metrics, swift-distributed-tracing, swift-log, async-http-client, swift-nio-ssl, swift-nio
Fetched https://github.com/swift-server/async-http-client.git from cache (1.45s)
[19319/102264] Fetching swift-metrics, swift-distributed-tracing, swift-log, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (3.46s)
Fetched https://github.com/apple/swift-metrics.git from cache (3.46s)
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (3.46s)
Fetched https://github.com/apple/swift-nio.git from cache (3.46s)
Fetched https://github.com/apple/swift-log.git from cache (3.46s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.2.1 (3.88s)
Fetching https://github.com/apple/swift-service-context.git
[1/1081] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.81s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.1 (1.21s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.37s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (0.38s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.32.0 (0.52s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (0.57s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
[1/4436] Fetching swift-system
[46/6233] Fetching swift-system, swift-atomics
[517/22873] Fetching swift-system, swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.05s)
[7265/21076] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.61s)
Fetched https://github.com/apple/swift-collections.git from cache (1.61s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.02s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.38s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.47s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.26.1 (0.40s)
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio-extras.git
[1/2667] Fetching swift-nio-transport-services
[108/8626] Fetching swift-nio-transport-services, swift-algorithms
[655/14568] Fetching swift-nio-transport-services, swift-algorithms, swift-nio-extras
[1373/26100] Fetching swift-nio-transport-services, swift-algorithms, swift-nio-extras, swift-nio-http2
Fetched https://github.com/apple/swift-algorithms.git from cache (0.99s)
[7383/20141] Fetching swift-nio-transport-services, swift-nio-extras, swift-nio-http2
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.49s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (1.49s)
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (1.49s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.24.0 (1.92s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.36.0 (0.39s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.48s)
Fetching https://github.com/apple/swift-numerics.git
[1/5757] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (1.13s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.28.0 (1.59s)
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-http-structured-headers.git
[1/2426] Fetching swift-service-lifecycle
[196/4042] Fetching swift-service-lifecycle, swift-asn1
[310/10226] Fetching swift-service-lifecycle, swift-asn1, swift-certificates
[372/11130] Fetching swift-service-lifecycle, swift-asn1, swift-certificates, swift-http-types
[875/12299] Fetching swift-service-lifecycle, swift-asn1, swift-certificates, swift-http-types, swift-http-structured-headers
[1531/17284] Fetching swift-service-lifecycle, swift-asn1, swift-certificates, swift-http-types, swift-http-structured-headers, swift-async-algorithms
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.88s)
[5131/14858] Fetching swift-asn1, swift-certificates, swift-http-types, swift-http-structured-headers, swift-async-algorithms
Fetched https://github.com/apple/swift-certificates.git from cache (1.05s)
[7079/8674] Fetching swift-asn1, swift-http-types, swift-http-structured-headers, swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.12s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (1.12s)
Fetched https://github.com/apple/swift-http-types.git from cache (1.12s)
Fetched https://github.com/apple/swift-asn1.git from cache (1.12s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.8.0 (1.55s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (0.47s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.10.0 (0.52s)
Fetching https://github.com/apple/swift-crypto.git
[1/15419] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.92s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (2.64s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (0.49s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (0.39s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.50s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.3.0 (0.39s)
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.3.2
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.24.0
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.8.0
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.32.0
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.7.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.12.3
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.28.0
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.10.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.26.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.0
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.36.0
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.0.4
Creating working copy for https://github.com/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.2.1
Build complete.
{
"dependencies" : [
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.33.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
},
{
"identity" : "swift-nio-ssl",
"requirement" : {
"range" : [
{
"lower_bound" : "2.14.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio-ssl.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" : "async-http-client",
"requirement" : {
"range" : [
{
"lower_bound" : "1.6.4",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swift-server/async-http-client.git"
},
{
"identity" : "swift-distributed-tracing",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-distributed-tracing.git"
}
],
"manifest_display_name" : "smoke-http",
"name" : "smoke-http",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "SmokeHTTPClient",
"targets" : [
"SmokeHTTPClient"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "_SmokeHTTPClientConcurrency",
"targets" : [
"_SmokeHTTPClientConcurrency"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "QueryCoding",
"targets" : [
"QueryCoding"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "HTTPHeadersCoding",
"targets" : [
"HTTPHeadersCoding"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "HTTPPathCoding",
"targets" : [
"HTTPPathCoding"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "ShapeCoding",
"targets" : [
"ShapeCoding"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "_SmokeHTTPClientConcurrency",
"module_type" : "SwiftTarget",
"name" : "_SmokeHTTPClientConcurrency",
"path" : "Sources/_SmokeHTTPClientConcurrency",
"product_memberships" : [
"_SmokeHTTPClientConcurrency"
],
"sources" : [
"Export.swift"
],
"target_dependencies" : [
"SmokeHTTPClient"
],
"type" : "library"
},
{
"c99name" : "SmokeHTTPClientTests",
"module_type" : "SwiftTarget",
"name" : "SmokeHTTPClientTests",
"path" : "Tests/SmokeHTTPClientTests",
"sources" : [
"MockHTTPClientInvocationClientTests.swift",
"SmokeHTTPClientTests.swift"
],
"target_dependencies" : [
"SmokeHTTPClient"
],
"type" : "test"
},
{
"c99name" : "SmokeHTTPClient",
"module_type" : "SwiftTarget",
"name" : "SmokeHTTPClient",
"path" : "Sources/SmokeHTTPClient",
"product_dependencies" : [
"Logging",
"Metrics",
"NIO",
"NIOHTTP1",
"NIOFoundationCompat",
"NIOSSL",
"AsyncHTTPClient",
"Tracing"
],
"product_memberships" : [
"SmokeHTTPClient",
"_SmokeHTTPClientConcurrency"
],
"sources" : [
"AsyncResponseInvocationStrategy.swift",
"BodyHTTPRequestInput.swift",
"GlobalDispatchQueueAsyncResponseInvocationStrategy.swift",
"HTTPClientCoreInvocationReporting.swift",
"HTTPClientDelegate.swift",
"HTTPClientInnerRetryInvocationReporting.swift",
"HTTPClientInvocationContext.swift",
"HTTPClientInvocationDelegate.swift",
"HTTPClientInvocationReporting.swift",
"HTTPClientReportingConfiguration.swift",
"HTTPClientRetryConfiguration.swift",
"HTTPError.swift",
"HTTPInvocationClient.swift",
"HTTPOperationsClient +executeAsyncRetriableWithOutput.swift",
"HTTPOperationsClient +executeAsyncWithOutput.swift",
"HTTPOperationsClient +executeAsyncWithoutOutput.swift",
"HTTPOperationsClient +executeSyncRetriableWithOutput.swift",
"HTTPOperationsClient +executeSyncRetriableWithoutOutput.swift",
"HTTPOperationsClient +executeSyncWithOutput.swift",
"HTTPOperationsClient +executeSyncWithoutOutput.swift",
"HTTPOperationsClient+executeAsEventLoopFutureRetriableWithOutput.swift",
"HTTPOperationsClient+executeAsEventLoopFutureRetriableWithoutOutput.swift",
"HTTPOperationsClient+executeAsEventLoopFutureWithOutput.swift",
"HTTPOperationsClient+executeAsEventLoopFutureWithoutOutput.swift",
"HTTPOperationsClient+executeAsyncRetriableWithoutOutput.swift",
"HTTPOperationsClient+executeRetriableWithOutput.swift",
"HTTPOperationsClient+executeRetriableWithoutOutput.swift",
"HTTPOperationsClient+executeWithOutput.swift",
"HTTPOperationsClient+executeWithoutOutput.swift",
"HTTPOperationsClient.swift",
"HTTPRequestComponents.swift",
"HTTPRequestInput.swift",
"HTTPRequestInputProtocol.swift",
"HTTPResponseComponents.swift",
"HTTPResponseOutputProtocol.swift",
"HttpClientError.swift",
"InvocationTraceContext.swift",
"MockCoreInvocationReporting.swift",
"MockHTTPClient.swift",
"MockHTTPInvocationClient.swift",
"MockInvocationTraceContext.swift",
"NoHTTPRequestInput.swift",
"QueryHTTPRequestInput.swift",
"RetriableOutwardsRequestLatencyAggregator.swift",
"SameThreadAsyncResponseInvocationStrategy.swift",
"StandardHTTPClientCoreInvocationReporting.swift",
"StandardHTTPClientInvocationReporting.swift",
"TestEventLoopProvider.swift"
],
"target_dependencies" : [
"HTTPHeadersCoding"
],
"type" : "library"
},
{
"c99name" : "ShapeCodingTests",
"module_type" : "SwiftTarget",
"name" : "ShapeCodingTests",
"path" : "Tests/ShapeCodingTests",
"sources" : [
"ShapeSingleValueEncodingContainerTests.swift",
"StandardShapeParserTests.swift"
],
"target_dependencies" : [
"ShapeCoding"
],
"type" : "test"
},
{
"c99name" : "ShapeCoding",
"module_type" : "SwiftTarget",
"name" : "ShapeCoding",
"path" : "Sources/ShapeCoding",
"product_dependencies" : [
"Logging"
],
"product_memberships" : [
"SmokeHTTPClient",
"_SmokeHTTPClientConcurrency",
"QueryCoding",
"HTTPHeadersCoding",
"HTTPPathCoding",
"ShapeCoding"
],
"sources" : [
"DateISO8601Extensions.swift",
"DecodingErrorExtension.swift",
"MutableShape.swift",
"RawShape.swift",
"ShapeCodingKey.swift",
"ShapeDecoder+unbox.swift",
"ShapeDecoder.swift",
"ShapeDecoderDelegate.swift",
"ShapeDecodingStorage.swift",
"ShapeElement.swift",
"ShapeKeyedDecodingContainer+KeyedDecodingContainerProtocol.swift",
"ShapeKeyedDecodingContainer.swift",
"ShapeKeyedEncodingContainer.swift",
"ShapeSingleValueEncodingContainer.swift",
"ShapeSingleValueEncodingContainerDelegate.swift",
"ShapeUnkeyedDecodingContainer.swift",
"ShapeUnkeyedEncodingContainer.swift",
"StandardDecodingOptions.swift",
"StandardEncodingOptions.swift",
"StandardShapeDecoderDelegate.swift",
"StandardShapeParser.swift",
"StandardShapeSingleValueEncodingContainerDelegate.swift"
],
"type" : "library"
},
{
"c99name" : "QueryCodingTests",
"module_type" : "SwiftTarget",
"name" : "QueryCodingTests",
"path" : "Tests/QueryCodingTests",
"sources" : [
"QueryCodingTestInput.swift",
"QueryEncoderTests.swift"
],
"target_dependencies" : [
"QueryCoding"
],
"type" : "test"
},
{
"c99name" : "QueryCoding",
"module_type" : "SwiftTarget",
"name" : "QueryCoding",
"path" : "Sources/QueryCoding",
"product_memberships" : [
"QueryCoding"
],
"sources" : [
"QueryDecoder.swift",
"QueryEncoder.swift"
],
"target_dependencies" : [
"ShapeCoding"
],
"type" : "library"
},
{
"c99name" : "HTTPPathCodingTests",
"module_type" : "SwiftTarget",
"name" : "HTTPPathCodingTests",
"path" : "Tests/HTTPPathCodingTests",
"sources" : [
"GetShapeForTemplateTests.swift",
"HTTPPathCoderTestInput.swift",
"HTTPPathEncoderTests.swift",
"HTTPPathSegmentTests.swift",
"HTTPPathTokenTests.swift"
],
"target_dependencies" : [
"HTTPPathCoding"
],
"type" : "test"
},
{
"c99name" : "HTTPPathCoding",
"module_type" : "SwiftTarget",
"name" : "HTTPPathCoding",
"path" : "Sources/HTTPPathCoding",
"product_memberships" : [
"HTTPPathCoding"
],
"sources" : [
"Array+getShapeForTemplate.swift",
"HTTPPathDecoder.swift",
"HTTPPathEncoder.swift",
"HTTPPathSegment.swift",
"HTTPPathToken.swift"
],
"target_dependencies" : [
"ShapeCoding"
],
"type" : "library"
},
{
"c99name" : "HTTPHeadersCodingTests",
"module_type" : "SwiftTarget",
"name" : "HTTPHeadersCodingTests",
"path" : "Tests/HTTPHeadersCodingTests",
"sources" : [
"HTTPHeadersCodingTestInput.swift",
"HTTPHeadersEncoderTests.swift"
],
"target_dependencies" : [
"HTTPHeadersCoding"
],
"type" : "test"
},
{
"c99name" : "HTTPHeadersCoding",
"module_type" : "SwiftTarget",
"name" : "HTTPHeadersCoding",
"path" : "Sources/HTTPHeadersCoding",
"product_memberships" : [
"SmokeHTTPClient",
"_SmokeHTTPClientConcurrency",
"HTTPHeadersCoding"
],
"sources" : [
"HTTPHeadersDecoder.swift",
"HTTPHeadersEncoder.swift"
],
"target_dependencies" : [
"ShapeCoding"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
Done.