Build Information
Successful build of grpc-swift, reference release/1.x (664cc4
), with Swift 6.1 for macOS (SPM) on 3 Jun 2025 18:54:56 UTC.
Swift 6 data race errors: 24
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/ClientCalls/Call.swift:146:20: warning: capture of 'part' with non-sendable type 'GRPCClientRequestPart<Request>' in a '@Sendable' closure
39 | /// Callers are not able to create ``Call`` objects directly, rather they must be created via an
40 | /// object conforming to ``GRPCChannel`` such as ``ClientConnection``.
41 | public final class Call<Request, Response> {
| `- note: consider making generic parameter 'Request' conform to the 'Sendable' protocol
42 | @usableFromInline
43 | internal enum State {
:
144 | } else {
145 | self.eventLoop.execute {
146 | self._send(part, promise: promise)
| `- warning: capture of 'part' with non-sendable type 'GRPCClientRequestPart<Request>' in a '@Sendable' closure
147 | }
148 | }
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/ClientCalls/Call.swift:160:9: warning: capture of 'self' with non-sendable type 'Call<Request, Response>' in a '@Sendable' closure
39 | /// Callers are not able to create ``Call`` objects directly, rather they must be created via an
40 | /// object conforming to ``GRPCChannel`` such as ``ClientConnection``.
41 | public final class Call<Request, Response> {
| `- note: consider making generic parameter 'Request' conform to the 'Sendable' protocol
42 | @usableFromInline
43 | internal enum State {
:
158 | } else {
159 | self.eventLoop.execute {
160 | self._cancel(promise: promise)
| `- warning: capture of 'self' with non-sendable type 'Call<Request, Response>' in a '@Sendable' closure
161 | }
162 | }
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/ClientCalls/Call.swift:160:9: warning: capture of 'self' with non-sendable type 'Call<Request, Response>' in a '@Sendable' closure
39 | /// Callers are not able to create ``Call`` objects directly, rather they must be created via an
40 | /// object conforming to ``GRPCChannel`` such as ``ClientConnection``.
41 | public final class Call<Request, Response> {
| `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
42 | @usableFromInline
43 | internal enum State {
:
158 | } else {
159 | self.eventLoop.execute {
160 | self._cancel(promise: promise)
| `- warning: capture of 'self' with non-sendable type 'Call<Request, Response>' in a '@Sendable' closure
161 | }
162 | }
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/ClientCalls/Call.swift:207:11: warning: capture of 'self' with non-sendable type 'Call<Request, Response>' in a '@Sendable' closure
39 | /// Callers are not able to create ``Call`` objects directly, rather they must be created via an
40 | /// object conforming to ``GRPCChannel`` such as ``ClientConnection``.
41 | public final class Call<Request, Response> {
| `- note: consider making generic parameter 'Request' conform to the 'Sendable' protocol
42 | @usableFromInline
43 | internal enum State {
:
205 | self.eventLoop.execute {
206 | if let promise = promise {
207 | self._sendMessages(messages, compression: compression, promise: promise)
| `- warning: capture of 'self' with non-sendable type 'Call<Request, Response>' in a '@Sendable' closure
208 | } else {
209 | self._sendMessages(messages, compression: compression)
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/ClientCalls/Call.swift:207:11: warning: capture of 'self' with non-sendable type 'Call<Request, Response>' in a '@Sendable' closure
39 | /// Callers are not able to create ``Call`` objects directly, rather they must be created via an
40 | /// object conforming to ``GRPCChannel`` such as ``ClientConnection``.
41 | public final class Call<Request, Response> {
| `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
42 | @usableFromInline
43 | internal enum State {
:
205 | self.eventLoop.execute {
206 | if let promise = promise {
207 | self._sendMessages(messages, compression: compression, promise: promise)
| `- warning: capture of 'self' with non-sendable type 'Call<Request, Response>' in a '@Sendable' closure
208 | } else {
209 | self._sendMessages(messages, compression: compression)
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/ClientCalls/Call.swift:207:30: warning: capture of 'messages' with non-sendable type 'Messages' in a '@Sendable' closure
191 | }
192 |
193 | internal func sendMessages<Messages>(
| `- note: consider making generic parameter 'Messages' conform to the 'Sendable' protocol
194 | _ messages: Messages,
195 | compression: Compression,
:
205 | self.eventLoop.execute {
206 | if let promise = promise {
207 | self._sendMessages(messages, compression: compression, promise: promise)
| `- warning: capture of 'messages' with non-sendable type 'Messages' in a '@Sendable' closure
208 | } else {
209 | self._sendMessages(messages, compression: compression)
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/ClientCalls/Call.swift:371:9: warning: capture of 'self' with non-sendable type 'Call<Request, Response>' in a '@Sendable' closure
39 | /// Callers are not able to create ``Call`` objects directly, rather they must be created via an
40 | /// object conforming to ``GRPCChannel`` such as ``ClientConnection``.
41 | public final class Call<Request, Response> {
| `- note: consider making generic parameter 'Request' conform to the 'Sendable' protocol
42 | @usableFromInline
43 | internal enum State {
:
369 | } else {
370 | self.eventLoop.execute {
371 | self._invokeUnaryRequest(
| `- warning: capture of 'self' with non-sendable type 'Call<Request, Response>' in a '@Sendable' closure
372 | request: request,
373 | onStart: onStart,
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/ClientCalls/Call.swift:371:9: warning: capture of 'self' with non-sendable type 'Call<Request, Response>' in a '@Sendable' closure
39 | /// Callers are not able to create ``Call`` objects directly, rather they must be created via an
40 | /// object conforming to ``GRPCChannel`` such as ``ClientConnection``.
41 | public final class Call<Request, Response> {
| `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
42 | @usableFromInline
43 | internal enum State {
:
369 | } else {
370 | self.eventLoop.execute {
371 | self._invokeUnaryRequest(
| `- warning: capture of 'self' with non-sendable type 'Call<Request, Response>' in a '@Sendable' closure
372 | request: request,
373 | onStart: onStart,
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/ClientCalls/Call.swift:372:20: warning: capture of 'request' with non-sendable type 'Request' in a '@Sendable' closure
39 | /// Callers are not able to create ``Call`` objects directly, rather they must be created via an
40 | /// object conforming to ``GRPCChannel`` such as ``ClientConnection``.
41 | public final class Call<Request, Response> {
| `- note: consider making generic parameter 'Request' conform to the 'Sendable' protocol
42 | @usableFromInline
43 | internal enum State {
:
370 | self.eventLoop.execute {
371 | self._invokeUnaryRequest(
372 | request: request,
| `- warning: capture of 'request' with non-sendable type 'Request' in a '@Sendable' closure
373 | onStart: onStart,
374 | onError: onError,
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/ClientCalls/Call.swift:373:20: warning: capture of 'onStart' with non-sendable type '() -> Void' in a '@Sendable' closure
371 | self._invokeUnaryRequest(
372 | request: request,
373 | onStart: onStart,
| |- warning: capture of 'onStart' with non-sendable type '() -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
374 | onError: onError,
375 | onResponsePart: onResponsePart
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/ClientCalls/Call.swift:374:20: warning: capture of 'onError' with non-sendable type '(any Error) -> Void' in a '@Sendable' closure
372 | request: request,
373 | onStart: onStart,
374 | onError: onError,
| |- warning: capture of 'onError' with non-sendable type '(any Error) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
375 | onResponsePart: onResponsePart
376 | )
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/ClientCalls/Call.swift:375:27: warning: capture of 'onResponsePart' with non-sendable type '(GRPCClientResponsePart<Response>) -> Void' in a '@Sendable' closure
373 | onStart: onStart,
374 | onError: onError,
375 | onResponsePart: onResponsePart
| |- warning: capture of 'onResponsePart' with non-sendable type '(GRPCClientResponsePart<Response>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
376 | )
377 | }
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/ClientCalls/Call.swift:400:9: warning: capture of 'self' with non-sendable type 'Call<Request, Response>' in a '@Sendable' closure
39 | /// Callers are not able to create ``Call`` objects directly, rather they must be created via an
40 | /// object conforming to ``GRPCChannel`` such as ``ClientConnection``.
41 | public final class Call<Request, Response> {
| `- note: consider making generic parameter 'Request' conform to the 'Sendable' protocol
42 | @usableFromInline
43 | internal enum State {
:
398 | } else {
399 | self.eventLoop.execute {
400 | self._invokeStreamingRequests(
| `- warning: capture of 'self' with non-sendable type 'Call<Request, Response>' in a '@Sendable' closure
401 | onStart: onStart,
402 | onError: onError,
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/ClientCalls/Call.swift:400:9: warning: capture of 'self' with non-sendable type 'Call<Request, Response>' in a '@Sendable' closure
39 | /// Callers are not able to create ``Call`` objects directly, rather they must be created via an
40 | /// object conforming to ``GRPCChannel`` such as ``ClientConnection``.
41 | public final class Call<Request, Response> {
| `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
42 | @usableFromInline
43 | internal enum State {
:
398 | } else {
399 | self.eventLoop.execute {
400 | self._invokeStreamingRequests(
| `- warning: capture of 'self' with non-sendable type 'Call<Request, Response>' in a '@Sendable' closure
401 | onStart: onStart,
402 | onError: onError,
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/ClientCalls/Call.swift:401:20: warning: capture of 'onStart' with non-sendable type '() -> Void' in a '@Sendable' closure
399 | self.eventLoop.execute {
400 | self._invokeStreamingRequests(
401 | onStart: onStart,
| |- warning: capture of 'onStart' with non-sendable type '() -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
402 | onError: onError,
403 | onResponsePart: onResponsePart
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/ClientCalls/Call.swift:402:20: warning: capture of 'onError' with non-sendable type '(any Error) -> Void' in a '@Sendable' closure
400 | self._invokeStreamingRequests(
401 | onStart: onStart,
402 | onError: onError,
| |- warning: capture of 'onError' with non-sendable type '(any Error) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
403 | onResponsePart: onResponsePart
404 | )
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/ClientCalls/Call.swift:403:27: warning: capture of 'onResponsePart' with non-sendable type '(GRPCClientResponsePart<Response>) -> Void' in a '@Sendable' closure
401 | onStart: onStart,
402 | onError: onError,
403 | onResponsePart: onResponsePart
| |- warning: capture of 'onResponsePart' with non-sendable type '(GRPCClientResponsePart<Response>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
404 | )
405 | }
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/ClientCalls/LazyEventLoopPromise.swift:67:33: warning: type 'Value' does not conform to the 'Sendable' protocol
28 | ///
29 | /// Note that all methods **must** be called from its `eventLoop`.
30 | internal struct LazyEventLoopPromise<Value> {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
31 | private enum State {
32 | // No future has been requested, no result has been delivered.
:
65 | switch result {
66 | case let .success(value):
67 | future = self.eventLoop.makeSucceededFuture(value)
| `- warning: type 'Value' does not conform to the 'Sendable' protocol
68 | case let .failure(error):
69 | future = self.eventLoop.makeFailedFuture(error)
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/ClientCalls/LazyEventLoopPromise.swift:101:15: warning: type 'Value' does not conform to the 'Sendable' protocol
28 | ///
29 | /// Note that all methods **must** be called from its `eventLoop`.
30 | internal struct LazyEventLoopPromise<Value> {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
31 | private enum State {
32 | // No future has been requested, no result has been delivered.
:
99 |
100 | case let .unresolvedPromise(promise):
101 | promise.completeWith(result)
| `- warning: type 'Value' does not conform to the 'Sendable' protocol
102 | self.state = .resolvedFuture(promise.futureResult)
103 |
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/ClientCalls/ResponseContainers.swift:72:28: warning: type 'Response' does not conform to the 'Sendable' protocol
18 |
19 | /// A bucket of promises for a unary-response RPC.
20 | internal class UnaryResponseParts<Response> {
| `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
21 | /// The `EventLoop` we expect to receive these response parts on.
22 | private let eventLoop: EventLoop
:
70 |
71 | case let .message(response):
72 | self.responsePromise.succeed(response)
| `- warning: type 'Response' does not conform to the 'Sendable' protocol
73 |
74 | case let .end(status, trailers):
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/ClientCalls/ResponseContainers.swift:177:19: warning: type 'Result' does not conform to the 'Sendable' protocol
169 |
170 | extension EventLoop {
171 | fileprivate func executeOrFlatSubmit<Result>(
| `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
172 | _ body: @escaping () -> EventLoopFuture<Result>
173 | ) -> EventLoopFuture<Result> {
:
175 | return body()
176 | } else {
177 | return self.flatSubmit {
| `- warning: type 'Result' does not conform to the 'Sendable' protocol
178 | return body()
179 | }
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/ClientCalls/ResponseContainers.swift:178:16: warning: capture of 'body' with non-sendable type '() -> EventLoopFuture<Result>' in a '@Sendable' closure
176 | } else {
177 | return self.flatSubmit {
178 | return body()
| |- warning: capture of 'body' with non-sendable type '() -> EventLoopFuture<Result>' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
179 | }
180 | }
[1317/1361] Compiling GRPC ServerStreamingCall.swift
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/CallHandlers/BidirectionalStreamingServerHandler.swift:142:9: warning: capture of 'self' with non-sendable type 'BidirectionalStreamingServerHandler<Serializer, Deserializer>' in a '@Sendable' closure
17 | import NIOHPACK
18 |
19 | public final class BidirectionalStreamingServerHandler<
| `- note: generic class 'BidirectionalStreamingServerHandler' does not conform to the 'Sendable' protocol
20 | Serializer: MessageSerializer,
21 | Deserializer: MessageDeserializer
:
140 | context.statusPromise.fail(GRPCStatus(code: .unavailable, message: nil))
141 | self.context.eventLoop.execute {
142 | self.interceptors = nil
| `- warning: capture of 'self' with non-sendable type 'BidirectionalStreamingServerHandler<Serializer, Deserializer>' in a '@Sendable' closure
143 | }
144 |
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/CallHandlers/BidirectionalStreamingServerHandler.swift:186:60: warning: converting non-sendable function value to '@Sendable (Result<GRPCStatus, any Error>) -> Void' may introduce data races
184 |
185 | // Register callbacks on the status future.
186 | context.statusPromise.futureResult.whenComplete(self.userFunctionStatusResolved(_:))
| `- warning: converting non-sendable function value to '@Sendable (Result<GRPCStatus, any Error>) -> Void' may introduce data races
187 |
188 | // Make an observer block and register a completion block.
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/CallHandlers/BidirectionalStreamingServerHandler.swift:189:55: warning: converting non-sendable function value to '@Sendable (Result<(StreamEvent<Deserializer.Output>) -> Void, any Error>) -> Void' may introduce data races
187 |
188 | // Make an observer block and register a completion block.
189 | self.observerFactory(context).whenComplete(self.userFunctionResolvedWithResult(_:))
| `- warning: converting non-sendable function value to '@Sendable (Result<(StreamEvent<Deserializer.Output>) -> Void, any Error>) -> Void' may introduce data races
190 |
191 | case .creatingObserver, .observing:
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/CallHandlers/ClientStreamingServerHandler.swift:143:9: warning: capture of 'self' with non-sendable type 'ClientStreamingServerHandler<Serializer, Deserializer>' in a '@Sendable' closure
17 | import NIOHPACK
18 |
19 | public final class ClientStreamingServerHandler<
| `- note: generic class 'ClientStreamingServerHandler' does not conform to the 'Sendable' protocol
20 | Serializer: MessageSerializer,
21 | Deserializer: MessageDeserializer
:
141 | context.responsePromise.fail(GRPCStatus(code: .unavailable, message: nil))
142 | self.context.eventLoop.execute {
143 | self.interceptors = nil
| `- warning: capture of 'self' with non-sendable type 'ClientStreamingServerHandler<Serializer, Deserializer>' in a '@Sendable' closure
144 | }
145 |
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/CallHandlers/ClientStreamingServerHandler.swift:182:62: warning: converting non-sendable function value to '@Sendable (Result<ClientStreamingServerHandler<Serializer, Deserializer>.Response, any Error>) -> Void' (aka '@Sendable (Result<Serializer.Input, any Error>) -> ()') may introduce data races
180 |
181 | // Register a callback on the response future.
182 | context.responsePromise.futureResult.whenComplete(self.userFunctionCompletedWithResult(_:))
| `- warning: converting non-sendable function value to '@Sendable (Result<ClientStreamingServerHandler<Serializer, Deserializer>.Response, any Error>) -> Void' (aka '@Sendable (Result<Serializer.Input, any Error>) -> ()') may introduce data races
183 |
184 | // Make an observer block and register a completion block.
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/CallHandlers/ClientStreamingServerHandler.swift:185:54: warning: converting non-sendable function value to '@Sendable (Result<(StreamEvent<Deserializer.Output>) -> Void, any Error>) -> Void' may introduce data races
183 |
184 | // Make an observer block and register a completion block.
185 | self.handlerFactory(context).whenComplete(self.userFunctionResolved(_:))
| `- warning: converting non-sendable function value to '@Sendable (Result<(StreamEvent<Deserializer.Output>) -> Void, any Error>) -> Void' may introduce data races
186 |
187 | // Send response headers back via the interceptors.
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/CallHandlers/ServerStreamingServerHandler.swift:139:9: warning: capture of 'self' with non-sendable type 'ServerStreamingServerHandler<Serializer, Deserializer>' in a '@Sendable' closure
17 | import NIOHPACK
18 |
19 | public final class ServerStreamingServerHandler<
| `- note: generic class 'ServerStreamingServerHandler' does not conform to the 'Sendable' protocol
20 | Serializer: MessageSerializer,
21 | Deserializer: MessageDeserializer
:
137 | context.statusPromise.fail(GRPCStatus(code: .unavailable, message: nil))
138 | self.context.eventLoop.execute {
139 | self.interceptors = nil
| `- warning: capture of 'self' with non-sendable type 'ServerStreamingServerHandler<Serializer, Deserializer>' in a '@Sendable' closure
140 | }
141 |
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/CallHandlers/ServerStreamingServerHandler.swift:180:60: warning: converting non-sendable function value to '@Sendable (Result<GRPCStatus, any Error>) -> Void' may introduce data races
178 |
179 | // Register a callback on the status future.
180 | context.statusPromise.futureResult.whenComplete(self.userFunctionCompletedWithResult(_:))
| `- warning: converting non-sendable function value to '@Sendable (Result<GRPCStatus, any Error>) -> Void' may introduce data races
181 |
182 | // Send response headers back via the interceptors.
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/CallHandlers/UnaryServerHandler.swift:136:9: warning: capture of 'self' with non-sendable type 'UnaryServerHandler<Serializer, Deserializer>' in a '@Sendable' closure
17 | import NIOHPACK
18 |
19 | public final class UnaryServerHandler<
| `- note: generic class 'UnaryServerHandler' does not conform to the 'Sendable' protocol
20 | Serializer: MessageSerializer,
21 | Deserializer: MessageDeserializer
:
134 | context.responsePromise.fail(GRPCStatus(code: .unavailable, message: nil))
135 | self.context.eventLoop.execute {
136 | self.interceptors = nil
| `- warning: capture of 'self' with non-sendable type 'UnaryServerHandler<Serializer, Deserializer>' in a '@Sendable' closure
137 | }
138 |
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/CallHandlers/UnaryServerHandler.swift:175:62: warning: converting non-sendable function value to '@Sendable (Result<UnaryServerHandler<Serializer, Deserializer>.Response, any Error>) -> Void' (aka '@Sendable (Result<Serializer.Input, any Error>) -> ()') may introduce data races
173 |
174 | // Register a callback on the response future. The user function will complete this promise.
175 | context.responsePromise.futureResult.whenComplete(self.userFunctionCompletedWithResult(_:))
| `- warning: converting non-sendable function value to '@Sendable (Result<UnaryServerHandler<Serializer, Deserializer>.Response, any Error>) -> Void' (aka '@Sendable (Result<Serializer.Input, any Error>) -> ()') may introduce data races
176 |
177 | // Send back response headers.
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/CallHandlers/UnaryServerHandler.swift:200:31: warning: type 'UnaryServerHandler<Serializer, Deserializer>.Response' (aka 'Serializer.Input') does not conform to the 'Sendable' protocol
198 | // Happy path: execute the function; complete the promise with the result.
199 | self.state = .invokedFunction(context)
200 | context.responsePromise.completeWith(self.userFunction(request, context))
| `- warning: type 'UnaryServerHandler<Serializer, Deserializer>.Response' (aka 'Serializer.Input') does not conform to the 'Sendable' protocol
201 |
202 | case .invokedFunction:
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/ClientCalls/Call.swift:87:16: warning: capture of 'self' with non-sendable type 'Call<Request, Response>' in a '@Sendable' closure
39 | /// Callers are not able to create ``Call`` objects directly, rather they must be created via an
40 | /// object conforming to ``GRPCChannel`` such as ``ClientConnection``.
41 | public final class Call<Request, Response> {
| `- note: consider making generic parameter 'Request' conform to the 'Sendable' protocol
42 | @usableFromInline
43 | internal enum State {
:
85 | } else {
86 | return self.eventLoop.flatSubmit {
87 | return self._channel()
| `- warning: capture of 'self' with non-sendable type 'Call<Request, Response>' in a '@Sendable' closure
88 | }
89 | }
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/ClientCalls/Call.swift:87:16: warning: capture of 'self' with non-sendable type 'Call<Request, Response>' in a '@Sendable' closure
39 | /// Callers are not able to create ``Call`` objects directly, rather they must be created via an
40 | /// object conforming to ``GRPCChannel`` such as ``ClientConnection``.
41 | public final class Call<Request, Response> {
| `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
42 | @usableFromInline
43 | internal enum State {
:
85 | } else {
86 | return self.eventLoop.flatSubmit {
87 | return self._channel()
| `- warning: capture of 'self' with non-sendable type 'Call<Request, Response>' in a '@Sendable' closure
88 | }
89 | }
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/ClientCalls/Call.swift:130:9: warning: capture of 'self' with non-sendable type 'Call<Request, Response>' in a '@Sendable' closure
39 | /// Callers are not able to create ``Call`` objects directly, rather they must be created via an
40 | /// object conforming to ``GRPCChannel`` such as ``ClientConnection``.
41 | public final class Call<Request, Response> {
| `- note: consider making generic parameter 'Request' conform to the 'Sendable' protocol
42 | @usableFromInline
43 | internal enum State {
:
128 | } else {
129 | self.eventLoop.execute {
130 | self._invoke(onStart: {}, onError: onError, onResponsePart: onResponsePart)
| `- warning: capture of 'self' with non-sendable type 'Call<Request, Response>' in a '@Sendable' closure
131 | }
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/ClientCalls/Call.swift:130:9: warning: capture of 'self' with non-sendable type 'Call<Request, Response>' in a '@Sendable' closure
39 | /// Callers are not able to create ``Call`` objects directly, rather they must be created via an
40 | /// object conforming to ``GRPCChannel`` such as ``ClientConnection``.
41 | public final class Call<Request, Response> {
| `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
42 | @usableFromInline
43 | internal enum State {
:
128 | } else {
129 | self.eventLoop.execute {
130 | self._invoke(onStart: {}, onError: onError, onResponsePart: onResponsePart)
| `- warning: capture of 'self' with non-sendable type 'Call<Request, Response>' in a '@Sendable' closure
131 | }
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/ClientCalls/Call.swift:130:44: warning: capture of 'onError' with non-sendable type '(any Error) -> Void' in a '@Sendable' closure
128 | } else {
129 | self.eventLoop.execute {
130 | self._invoke(onStart: {}, onError: onError, onResponsePart: onResponsePart)
| |- warning: capture of 'onError' with non-sendable type '(any Error) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
131 | }
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/ClientCalls/Call.swift:130:69: warning: capture of 'onResponsePart' with non-sendable type '(GRPCClientResponsePart<Response>) -> Void' in a '@Sendable' closure
128 | } else {
129 | self.eventLoop.execute {
130 | self._invoke(onStart: {}, onError: onError, onResponsePart: onResponsePart)
| |- warning: capture of 'onResponsePart' with non-sendable type '(GRPCClientResponsePart<Response>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
131 | }
132 | }
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/ClientCalls/Call.swift:146:9: warning: capture of 'self' with non-sendable type 'Call<Request, Response>' in a '@Sendable' closure
39 | /// Callers are not able to create ``Call`` objects directly, rather they must be created via an
40 | /// object conforming to ``GRPCChannel`` such as ``ClientConnection``.
41 | public final class Call<Request, Response> {
| `- note: consider making generic parameter 'Request' conform to the 'Sendable' protocol
42 | @usableFromInline
43 | internal enum State {
:
144 | } else {
145 | self.eventLoop.execute {
146 | self._send(part, promise: promise)
| `- warning: capture of 'self' with non-sendable type 'Call<Request, Response>' in a '@Sendable' closure
147 | }
148 | }
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/ClientCalls/Call.swift:146:9: warning: capture of 'self' with non-sendable type 'Call<Request, Response>' in a '@Sendable' closure
39 | /// Callers are not able to create ``Call`` objects directly, rather they must be created via an
40 | /// object conforming to ``GRPCChannel`` such as ``ClientConnection``.
41 | public final class Call<Request, Response> {
| `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
42 | @usableFromInline
43 | internal enum State {
:
144 | } else {
145 | self.eventLoop.execute {
146 | self._send(part, promise: promise)
| `- warning: capture of 'self' with non-sendable type 'Call<Request, Response>' in a '@Sendable' closure
147 | }
148 | }
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/ClientCalls/Call.swift:146:20: warning: capture of 'part' with non-sendable type 'GRPCClientRequestPart<Request>' in a '@Sendable' closure
39 | /// Callers are not able to create ``Call`` objects directly, rather they must be created via an
40 | /// object conforming to ``GRPCChannel`` such as ``ClientConnection``.
41 | public final class Call<Request, Response> {
| `- note: consider making generic parameter 'Request' conform to the 'Sendable' protocol
42 | @usableFromInline
43 | internal enum State {
:
144 | } else {
145 | self.eventLoop.execute {
146 | self._send(part, promise: promise)
| `- warning: capture of 'part' with non-sendable type 'GRPCClientRequestPart<Request>' in a '@Sendable' closure
147 | }
148 | }
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/ClientCalls/Call.swift:160:9: warning: capture of 'self' with non-sendable type 'Call<Request, Response>' in a '@Sendable' closure
39 | /// Callers are not able to create ``Call`` objects directly, rather they must be created via an
40 | /// object conforming to ``GRPCChannel`` such as ``ClientConnection``.
41 | public final class Call<Request, Response> {
| `- note: consider making generic parameter 'Request' conform to the 'Sendable' protocol
42 | @usableFromInline
43 | internal enum State {
:
158 | } else {
159 | self.eventLoop.execute {
160 | self._cancel(promise: promise)
| `- warning: capture of 'self' with non-sendable type 'Call<Request, Response>' in a '@Sendable' closure
161 | }
162 | }
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/ClientCalls/Call.swift:160:9: warning: capture of 'self' with non-sendable type 'Call<Request, Response>' in a '@Sendable' closure
39 | /// Callers are not able to create ``Call`` objects directly, rather they must be created via an
40 | /// object conforming to ``GRPCChannel`` such as ``ClientConnection``.
41 | public final class Call<Request, Response> {
| `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
42 | @usableFromInline
43 | internal enum State {
:
158 | } else {
159 | self.eventLoop.execute {
160 | self._cancel(promise: promise)
| `- warning: capture of 'self' with non-sendable type 'Call<Request, Response>' in a '@Sendable' closure
161 | }
162 | }
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/ClientCalls/Call.swift:207:11: warning: capture of 'self' with non-sendable type 'Call<Request, Response>' in a '@Sendable' closure
39 | /// Callers are not able to create ``Call`` objects directly, rather they must be created via an
40 | /// object conforming to ``GRPCChannel`` such as ``ClientConnection``.
41 | public final class Call<Request, Response> {
| `- note: consider making generic parameter 'Request' conform to the 'Sendable' protocol
42 | @usableFromInline
43 | internal enum State {
:
205 | self.eventLoop.execute {
206 | if let promise = promise {
207 | self._sendMessages(messages, compression: compression, promise: promise)
| `- warning: capture of 'self' with non-sendable type 'Call<Request, Response>' in a '@Sendable' closure
208 | } else {
209 | self._sendMessages(messages, compression: compression)
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/ClientCalls/Call.swift:207:11: warning: capture of 'self' with non-sendable type 'Call<Request, Response>' in a '@Sendable' closure
39 | /// Callers are not able to create ``Call`` objects directly, rather they must be created via an
40 | /// object conforming to ``GRPCChannel`` such as ``ClientConnection``.
41 | public final class Call<Request, Response> {
| `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
42 | @usableFromInline
43 | internal enum State {
:
205 | self.eventLoop.execute {
206 | if let promise = promise {
207 | self._sendMessages(messages, compression: compression, promise: promise)
| `- warning: capture of 'self' with non-sendable type 'Call<Request, Response>' in a '@Sendable' closure
208 | } else {
209 | self._sendMessages(messages, compression: compression)
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/ClientCalls/Call.swift:207:30: warning: capture of 'messages' with non-sendable type 'Messages' in a '@Sendable' closure
191 | }
192 |
193 | internal func sendMessages<Messages>(
| `- note: consider making generic parameter 'Messages' conform to the 'Sendable' protocol
194 | _ messages: Messages,
195 | compression: Compression,
:
205 | self.eventLoop.execute {
206 | if let promise = promise {
207 | self._sendMessages(messages, compression: compression, promise: promise)
| `- warning: capture of 'messages' with non-sendable type 'Messages' in a '@Sendable' closure
208 | } else {
209 | self._sendMessages(messages, compression: compression)
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/ClientCalls/Call.swift:371:9: warning: capture of 'self' with non-sendable type 'Call<Request, Response>' in a '@Sendable' closure
39 | /// Callers are not able to create ``Call`` objects directly, rather they must be created via an
40 | /// object conforming to ``GRPCChannel`` such as ``ClientConnection``.
41 | public final class Call<Request, Response> {
| `- note: consider making generic parameter 'Request' conform to the 'Sendable' protocol
42 | @usableFromInline
43 | internal enum State {
:
369 | } else {
370 | self.eventLoop.execute {
371 | self._invokeUnaryRequest(
| `- warning: capture of 'self' with non-sendable type 'Call<Request, Response>' in a '@Sendable' closure
372 | request: request,
373 | onStart: onStart,
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/ClientCalls/Call.swift:371:9: warning: capture of 'self' with non-sendable type 'Call<Request, Response>' in a '@Sendable' closure
39 | /// Callers are not able to create ``Call`` objects directly, rather they must be created via an
40 | /// object conforming to ``GRPCChannel`` such as ``ClientConnection``.
41 | public final class Call<Request, Response> {
| `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
42 | @usableFromInline
43 | internal enum State {
:
369 | } else {
370 | self.eventLoop.execute {
371 | self._invokeUnaryRequest(
| `- warning: capture of 'self' with non-sendable type 'Call<Request, Response>' in a '@Sendable' closure
372 | request: request,
373 | onStart: onStart,
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/ClientCalls/Call.swift:372:20: warning: capture of 'request' with non-sendable type 'Request' in a '@Sendable' closure
39 | /// Callers are not able to create ``Call`` objects directly, rather they must be created via an
40 | /// object conforming to ``GRPCChannel`` such as ``ClientConnection``.
41 | public final class Call<Request, Response> {
| `- note: consider making generic parameter 'Request' conform to the 'Sendable' protocol
42 | @usableFromInline
43 | internal enum State {
:
370 | self.eventLoop.execute {
371 | self._invokeUnaryRequest(
372 | request: request,
| `- warning: capture of 'request' with non-sendable type 'Request' in a '@Sendable' closure
373 | onStart: onStart,
374 | onError: onError,
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/ClientCalls/Call.swift:373:20: warning: capture of 'onStart' with non-sendable type '() -> Void' in a '@Sendable' closure
371 | self._invokeUnaryRequest(
372 | request: request,
373 | onStart: onStart,
| |- warning: capture of 'onStart' with non-sendable type '() -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
374 | onError: onError,
375 | onResponsePart: onResponsePart
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/ClientCalls/Call.swift:374:20: warning: capture of 'onError' with non-sendable type '(any Error) -> Void' in a '@Sendable' closure
372 | request: request,
373 | onStart: onStart,
374 | onError: onError,
| |- warning: capture of 'onError' with non-sendable type '(any Error) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
375 | onResponsePart: onResponsePart
376 | )
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/ClientCalls/Call.swift:375:27: warning: capture of 'onResponsePart' with non-sendable type '(GRPCClientResponsePart<Response>) -> Void' in a '@Sendable' closure
373 | onStart: onStart,
374 | onError: onError,
375 | onResponsePart: onResponsePart
| |- warning: capture of 'onResponsePart' with non-sendable type '(GRPCClientResponsePart<Response>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
376 | )
377 | }
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/ClientCalls/Call.swift:400:9: warning: capture of 'self' with non-sendable type 'Call<Request, Response>' in a '@Sendable' closure
39 | /// Callers are not able to create ``Call`` objects directly, rather they must be created via an
40 | /// object conforming to ``GRPCChannel`` such as ``ClientConnection``.
41 | public final class Call<Request, Response> {
| `- note: consider making generic parameter 'Request' conform to the 'Sendable' protocol
42 | @usableFromInline
43 | internal enum State {
:
398 | } else {
399 | self.eventLoop.execute {
400 | self._invokeStreamingRequests(
| `- warning: capture of 'self' with non-sendable type 'Call<Request, Response>' in a '@Sendable' closure
401 | onStart: onStart,
402 | onError: onError,
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/ClientCalls/Call.swift:400:9: warning: capture of 'self' with non-sendable type 'Call<Request, Response>' in a '@Sendable' closure
39 | /// Callers are not able to create ``Call`` objects directly, rather they must be created via an
40 | /// object conforming to ``GRPCChannel`` such as ``ClientConnection``.
41 | public final class Call<Request, Response> {
| `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
42 | @usableFromInline
43 | internal enum State {
:
398 | } else {
399 | self.eventLoop.execute {
400 | self._invokeStreamingRequests(
| `- warning: capture of 'self' with non-sendable type 'Call<Request, Response>' in a '@Sendable' closure
401 | onStart: onStart,
402 | onError: onError,
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/ClientCalls/Call.swift:401:20: warning: capture of 'onStart' with non-sendable type '() -> Void' in a '@Sendable' closure
399 | self.eventLoop.execute {
400 | self._invokeStreamingRequests(
401 | onStart: onStart,
| |- warning: capture of 'onStart' with non-sendable type '() -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
402 | onError: onError,
403 | onResponsePart: onResponsePart
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/ClientCalls/Call.swift:402:20: warning: capture of 'onError' with non-sendable type '(any Error) -> Void' in a '@Sendable' closure
400 | self._invokeStreamingRequests(
401 | onStart: onStart,
402 | onError: onError,
| |- warning: capture of 'onError' with non-sendable type '(any Error) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
403 | onResponsePart: onResponsePart
404 | )
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/ClientCalls/Call.swift:403:27: warning: capture of 'onResponsePart' with non-sendable type '(GRPCClientResponsePart<Response>) -> Void' in a '@Sendable' closure
401 | onStart: onStart,
402 | onError: onError,
403 | onResponsePart: onResponsePart
| |- warning: capture of 'onResponsePart' with non-sendable type '(GRPCClientResponsePart<Response>) -> Void' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
404 | )
405 | }
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/ClientCalls/LazyEventLoopPromise.swift:67:33: warning: type 'Value' does not conform to the 'Sendable' protocol
28 | ///
29 | /// Note that all methods **must** be called from its `eventLoop`.
30 | internal struct LazyEventLoopPromise<Value> {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
31 | private enum State {
32 | // No future has been requested, no result has been delivered.
:
65 | switch result {
66 | case let .success(value):
67 | future = self.eventLoop.makeSucceededFuture(value)
| `- warning: type 'Value' does not conform to the 'Sendable' protocol
68 | case let .failure(error):
69 | future = self.eventLoop.makeFailedFuture(error)
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/ClientCalls/LazyEventLoopPromise.swift:101:15: warning: type 'Value' does not conform to the 'Sendable' protocol
28 | ///
29 | /// Note that all methods **must** be called from its `eventLoop`.
30 | internal struct LazyEventLoopPromise<Value> {
| `- note: consider making generic parameter 'Value' conform to the 'Sendable' protocol
31 | private enum State {
32 | // No future has been requested, no result has been delivered.
:
99 |
100 | case let .unresolvedPromise(promise):
101 | promise.completeWith(result)
| `- warning: type 'Value' does not conform to the 'Sendable' protocol
102 | self.state = .resolvedFuture(promise.futureResult)
103 |
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/ClientCalls/ResponseContainers.swift:72:28: warning: type 'Response' does not conform to the 'Sendable' protocol
18 |
19 | /// A bucket of promises for a unary-response RPC.
20 | internal class UnaryResponseParts<Response> {
| `- note: consider making generic parameter 'Response' conform to the 'Sendable' protocol
21 | /// The `EventLoop` we expect to receive these response parts on.
22 | private let eventLoop: EventLoop
:
70 |
71 | case let .message(response):
72 | self.responsePromise.succeed(response)
| `- warning: type 'Response' does not conform to the 'Sendable' protocol
73 |
74 | case let .end(status, trailers):
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/ClientCalls/ResponseContainers.swift:177:19: warning: type 'Result' does not conform to the 'Sendable' protocol
169 |
170 | extension EventLoop {
171 | fileprivate func executeOrFlatSubmit<Result>(
| `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
172 | _ body: @escaping () -> EventLoopFuture<Result>
173 | ) -> EventLoopFuture<Result> {
:
175 | return body()
176 | } else {
177 | return self.flatSubmit {
| `- warning: type 'Result' does not conform to the 'Sendable' protocol
178 | return body()
179 | }
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/ClientCalls/ResponseContainers.swift:178:16: warning: capture of 'body' with non-sendable type '() -> EventLoopFuture<Result>' in a '@Sendable' closure
176 | } else {
177 | return self.flatSubmit {
178 | return body()
| |- warning: capture of 'body' with non-sendable type '() -> EventLoopFuture<Result>' in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
179 | }
180 | }
[1318/1361] Compiling GRPC GRPCIdleHandlerStateMachine.swift
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCServerPipelineConfigurator.swift:125:23: warning: capture of 'self' with non-sendable type 'GRPCServerPipelineConfigurator' in a '@Sendable' closure; this is an error in the Swift 6 language mode
27 | /// configures the pipeline appropriately for the protocol negotiated via ALPN. If TLS is not
28 | /// configured then the HTTP version is determined by parsing the inbound byte stream.
29 | final class GRPCServerPipelineConfigurator: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'GRPCServerPipelineConfigurator' does not conform to the 'Sendable' protocol
30 | internal typealias InboundIn = ByteBuffer
31 | internal typealias InboundOut = ByteBuffer
:
123 | do {
124 | // TODO: provide user configuration for header normalization.
125 | let handler = self.makeHTTP2ToRawGRPCHandler(normalizeHeaders: true, logger: logger)
| `- warning: capture of 'self' with non-sendable type 'GRPCServerPipelineConfigurator' in a '@Sendable' closure; this is an error in the Swift 6 language mode
126 | try stream.pipeline.syncOperations.addHandler(handler)
127 | return stream.eventLoop.makeSucceededVoidFuture()
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCServerPipelineConfigurator.swift:153:24: warning: 'removeHandler(context:promise:)' is deprecated: Use .syncOperations.removeHandler(context:) instead, this method is not Sendable-safe.
151 | switch result {
152 | case .success:
153 | context.pipeline.removeHandler(context: context, promise: nil)
| `- warning: 'removeHandler(context:promise:)' is deprecated: Use .syncOperations.removeHandler(context:) instead, this method is not Sendable-safe.
154 | case let .failure(error):
155 | self.errorCaught(context: context, error: error)
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCTLSConfiguration.swift:36:10: warning: associated value 'nio' of 'Sendable'-conforming enum 'Backend' has non-sendable type 'GRPCTLSConfiguration.NIOConfiguration'; this is an error in the Swift 6 language mode
34 | #if canImport(NIOSSL)
35 | /// Configuration for NIOSSSL.
36 | case nio(NIOConfiguration)
| `- warning: associated value 'nio' of 'Sendable'-conforming enum 'Backend' has non-sendable type 'GRPCTLSConfiguration.NIOConfiguration'; this is an error in the Swift 6 language mode
37 | #endif
38 | #if canImport(Network)
:
218 | #if canImport(NIOSSL)
219 | extension GRPCTLSConfiguration {
220 | internal struct NIOConfiguration {
| `- note: consider making struct 'NIOConfiguration' conform to the 'Sendable' protocol
221 | var configuration: TLSConfiguration
222 | var customVerificationCallback: NIOSSLCustomVerificationCallback?
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCTLSConfiguration.swift:40:10: warning: associated value 'network' of 'Sendable'-conforming enum 'Backend' has non-sendable type 'GRPCTLSConfiguration.NetworkConfiguration'; this is an error in the Swift 6 language mode
38 | #if canImport(Network)
39 | /// Configuration for Network.framework.
40 | case network(NetworkConfiguration)
| `- warning: associated value 'network' of 'Sendable'-conforming enum 'Backend' has non-sendable type 'GRPCTLSConfiguration.NetworkConfiguration'; this is an error in the Swift 6 language mode
41 | #endif
42 | }
:
489 | #if canImport(Network)
490 | extension GRPCTLSConfiguration {
491 | internal struct NetworkConfiguration {
| `- note: consider making struct 'NetworkConfiguration' conform to the 'Sendable' protocol
492 | @available(macOS 10.14, iOS 12.0, watchOS 6.0, tvOS 12.0, *)
493 | internal var options: NWProtocolTLS.Options {
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCTimeout.swift:24:21: warning: static property 'infinite' is not concurrency-safe because non-'Sendable' type 'GRPCTimeout' may have shared mutable state; this is an error in the Swift 6 language mode
20 | ///
21 | /// Timeouts must be positive and at most 8-digits long.
22 | public struct GRPCTimeout: CustomStringConvertible, Equatable {
| `- note: consider making struct 'GRPCTimeout' conform to the 'Sendable' protocol
23 | /// Creates an infinite timeout. This is a sentinel value which must __not__ be sent to a gRPC service.
24 | public static let infinite = GRPCTimeout(
| |- warning: static property 'infinite' is not concurrency-safe because non-'Sendable' type 'GRPCTimeout' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'infinite' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | nanoseconds: Int64.max,
26 | wireEncoding: "infinite"
[1319/1361] Compiling GRPC GRPCKeepaliveHandlers.swift
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCServerPipelineConfigurator.swift:125:23: warning: capture of 'self' with non-sendable type 'GRPCServerPipelineConfigurator' in a '@Sendable' closure; this is an error in the Swift 6 language mode
27 | /// configures the pipeline appropriately for the protocol negotiated via ALPN. If TLS is not
28 | /// configured then the HTTP version is determined by parsing the inbound byte stream.
29 | final class GRPCServerPipelineConfigurator: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'GRPCServerPipelineConfigurator' does not conform to the 'Sendable' protocol
30 | internal typealias InboundIn = ByteBuffer
31 | internal typealias InboundOut = ByteBuffer
:
123 | do {
124 | // TODO: provide user configuration for header normalization.
125 | let handler = self.makeHTTP2ToRawGRPCHandler(normalizeHeaders: true, logger: logger)
| `- warning: capture of 'self' with non-sendable type 'GRPCServerPipelineConfigurator' in a '@Sendable' closure; this is an error in the Swift 6 language mode
126 | try stream.pipeline.syncOperations.addHandler(handler)
127 | return stream.eventLoop.makeSucceededVoidFuture()
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCServerPipelineConfigurator.swift:153:24: warning: 'removeHandler(context:promise:)' is deprecated: Use .syncOperations.removeHandler(context:) instead, this method is not Sendable-safe.
151 | switch result {
152 | case .success:
153 | context.pipeline.removeHandler(context: context, promise: nil)
| `- warning: 'removeHandler(context:promise:)' is deprecated: Use .syncOperations.removeHandler(context:) instead, this method is not Sendable-safe.
154 | case let .failure(error):
155 | self.errorCaught(context: context, error: error)
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCTLSConfiguration.swift:36:10: warning: associated value 'nio' of 'Sendable'-conforming enum 'Backend' has non-sendable type 'GRPCTLSConfiguration.NIOConfiguration'; this is an error in the Swift 6 language mode
34 | #if canImport(NIOSSL)
35 | /// Configuration for NIOSSSL.
36 | case nio(NIOConfiguration)
| `- warning: associated value 'nio' of 'Sendable'-conforming enum 'Backend' has non-sendable type 'GRPCTLSConfiguration.NIOConfiguration'; this is an error in the Swift 6 language mode
37 | #endif
38 | #if canImport(Network)
:
218 | #if canImport(NIOSSL)
219 | extension GRPCTLSConfiguration {
220 | internal struct NIOConfiguration {
| `- note: consider making struct 'NIOConfiguration' conform to the 'Sendable' protocol
221 | var configuration: TLSConfiguration
222 | var customVerificationCallback: NIOSSLCustomVerificationCallback?
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCTLSConfiguration.swift:40:10: warning: associated value 'network' of 'Sendable'-conforming enum 'Backend' has non-sendable type 'GRPCTLSConfiguration.NetworkConfiguration'; this is an error in the Swift 6 language mode
38 | #if canImport(Network)
39 | /// Configuration for Network.framework.
40 | case network(NetworkConfiguration)
| `- warning: associated value 'network' of 'Sendable'-conforming enum 'Backend' has non-sendable type 'GRPCTLSConfiguration.NetworkConfiguration'; this is an error in the Swift 6 language mode
41 | #endif
42 | }
:
489 | #if canImport(Network)
490 | extension GRPCTLSConfiguration {
491 | internal struct NetworkConfiguration {
| `- note: consider making struct 'NetworkConfiguration' conform to the 'Sendable' protocol
492 | @available(macOS 10.14, iOS 12.0, watchOS 6.0, tvOS 12.0, *)
493 | internal var options: NWProtocolTLS.Options {
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCTimeout.swift:24:21: warning: static property 'infinite' is not concurrency-safe because non-'Sendable' type 'GRPCTimeout' may have shared mutable state; this is an error in the Swift 6 language mode
20 | ///
21 | /// Timeouts must be positive and at most 8-digits long.
22 | public struct GRPCTimeout: CustomStringConvertible, Equatable {
| `- note: consider making struct 'GRPCTimeout' conform to the 'Sendable' protocol
23 | /// Creates an infinite timeout. This is a sentinel value which must __not__ be sent to a gRPC service.
24 | public static let infinite = GRPCTimeout(
| |- warning: static property 'infinite' is not concurrency-safe because non-'Sendable' type 'GRPCTimeout' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'infinite' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | nanoseconds: Int64.max,
26 | wireEncoding: "infinite"
[1320/1361] Compiling GRPC GRPCPayload.swift
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCServerPipelineConfigurator.swift:125:23: warning: capture of 'self' with non-sendable type 'GRPCServerPipelineConfigurator' in a '@Sendable' closure; this is an error in the Swift 6 language mode
27 | /// configures the pipeline appropriately for the protocol negotiated via ALPN. If TLS is not
28 | /// configured then the HTTP version is determined by parsing the inbound byte stream.
29 | final class GRPCServerPipelineConfigurator: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'GRPCServerPipelineConfigurator' does not conform to the 'Sendable' protocol
30 | internal typealias InboundIn = ByteBuffer
31 | internal typealias InboundOut = ByteBuffer
:
123 | do {
124 | // TODO: provide user configuration for header normalization.
125 | let handler = self.makeHTTP2ToRawGRPCHandler(normalizeHeaders: true, logger: logger)
| `- warning: capture of 'self' with non-sendable type 'GRPCServerPipelineConfigurator' in a '@Sendable' closure; this is an error in the Swift 6 language mode
126 | try stream.pipeline.syncOperations.addHandler(handler)
127 | return stream.eventLoop.makeSucceededVoidFuture()
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCServerPipelineConfigurator.swift:153:24: warning: 'removeHandler(context:promise:)' is deprecated: Use .syncOperations.removeHandler(context:) instead, this method is not Sendable-safe.
151 | switch result {
152 | case .success:
153 | context.pipeline.removeHandler(context: context, promise: nil)
| `- warning: 'removeHandler(context:promise:)' is deprecated: Use .syncOperations.removeHandler(context:) instead, this method is not Sendable-safe.
154 | case let .failure(error):
155 | self.errorCaught(context: context, error: error)
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCTLSConfiguration.swift:36:10: warning: associated value 'nio' of 'Sendable'-conforming enum 'Backend' has non-sendable type 'GRPCTLSConfiguration.NIOConfiguration'; this is an error in the Swift 6 language mode
34 | #if canImport(NIOSSL)
35 | /// Configuration for NIOSSSL.
36 | case nio(NIOConfiguration)
| `- warning: associated value 'nio' of 'Sendable'-conforming enum 'Backend' has non-sendable type 'GRPCTLSConfiguration.NIOConfiguration'; this is an error in the Swift 6 language mode
37 | #endif
38 | #if canImport(Network)
:
218 | #if canImport(NIOSSL)
219 | extension GRPCTLSConfiguration {
220 | internal struct NIOConfiguration {
| `- note: consider making struct 'NIOConfiguration' conform to the 'Sendable' protocol
221 | var configuration: TLSConfiguration
222 | var customVerificationCallback: NIOSSLCustomVerificationCallback?
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCTLSConfiguration.swift:40:10: warning: associated value 'network' of 'Sendable'-conforming enum 'Backend' has non-sendable type 'GRPCTLSConfiguration.NetworkConfiguration'; this is an error in the Swift 6 language mode
38 | #if canImport(Network)
39 | /// Configuration for Network.framework.
40 | case network(NetworkConfiguration)
| `- warning: associated value 'network' of 'Sendable'-conforming enum 'Backend' has non-sendable type 'GRPCTLSConfiguration.NetworkConfiguration'; this is an error in the Swift 6 language mode
41 | #endif
42 | }
:
489 | #if canImport(Network)
490 | extension GRPCTLSConfiguration {
491 | internal struct NetworkConfiguration {
| `- note: consider making struct 'NetworkConfiguration' conform to the 'Sendable' protocol
492 | @available(macOS 10.14, iOS 12.0, watchOS 6.0, tvOS 12.0, *)
493 | internal var options: NWProtocolTLS.Options {
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCTimeout.swift:24:21: warning: static property 'infinite' is not concurrency-safe because non-'Sendable' type 'GRPCTimeout' may have shared mutable state; this is an error in the Swift 6 language mode
20 | ///
21 | /// Timeouts must be positive and at most 8-digits long.
22 | public struct GRPCTimeout: CustomStringConvertible, Equatable {
| `- note: consider making struct 'GRPCTimeout' conform to the 'Sendable' protocol
23 | /// Creates an infinite timeout. This is a sentinel value which must __not__ be sent to a gRPC service.
24 | public static let infinite = GRPCTimeout(
| |- warning: static property 'infinite' is not concurrency-safe because non-'Sendable' type 'GRPCTimeout' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'infinite' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | nanoseconds: Int64.max,
26 | wireEncoding: "infinite"
[1321/1361] Compiling GRPC GRPCServerPipelineConfigurator.swift
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCServerPipelineConfigurator.swift:125:23: warning: capture of 'self' with non-sendable type 'GRPCServerPipelineConfigurator' in a '@Sendable' closure; this is an error in the Swift 6 language mode
27 | /// configures the pipeline appropriately for the protocol negotiated via ALPN. If TLS is not
28 | /// configured then the HTTP version is determined by parsing the inbound byte stream.
29 | final class GRPCServerPipelineConfigurator: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'GRPCServerPipelineConfigurator' does not conform to the 'Sendable' protocol
30 | internal typealias InboundIn = ByteBuffer
31 | internal typealias InboundOut = ByteBuffer
:
123 | do {
124 | // TODO: provide user configuration for header normalization.
125 | let handler = self.makeHTTP2ToRawGRPCHandler(normalizeHeaders: true, logger: logger)
| `- warning: capture of 'self' with non-sendable type 'GRPCServerPipelineConfigurator' in a '@Sendable' closure; this is an error in the Swift 6 language mode
126 | try stream.pipeline.syncOperations.addHandler(handler)
127 | return stream.eventLoop.makeSucceededVoidFuture()
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCServerPipelineConfigurator.swift:153:24: warning: 'removeHandler(context:promise:)' is deprecated: Use .syncOperations.removeHandler(context:) instead, this method is not Sendable-safe.
151 | switch result {
152 | case .success:
153 | context.pipeline.removeHandler(context: context, promise: nil)
| `- warning: 'removeHandler(context:promise:)' is deprecated: Use .syncOperations.removeHandler(context:) instead, this method is not Sendable-safe.
154 | case let .failure(error):
155 | self.errorCaught(context: context, error: error)
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCTLSConfiguration.swift:36:10: warning: associated value 'nio' of 'Sendable'-conforming enum 'Backend' has non-sendable type 'GRPCTLSConfiguration.NIOConfiguration'; this is an error in the Swift 6 language mode
34 | #if canImport(NIOSSL)
35 | /// Configuration for NIOSSSL.
36 | case nio(NIOConfiguration)
| `- warning: associated value 'nio' of 'Sendable'-conforming enum 'Backend' has non-sendable type 'GRPCTLSConfiguration.NIOConfiguration'; this is an error in the Swift 6 language mode
37 | #endif
38 | #if canImport(Network)
:
218 | #if canImport(NIOSSL)
219 | extension GRPCTLSConfiguration {
220 | internal struct NIOConfiguration {
| `- note: consider making struct 'NIOConfiguration' conform to the 'Sendable' protocol
221 | var configuration: TLSConfiguration
222 | var customVerificationCallback: NIOSSLCustomVerificationCallback?
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCTLSConfiguration.swift:40:10: warning: associated value 'network' of 'Sendable'-conforming enum 'Backend' has non-sendable type 'GRPCTLSConfiguration.NetworkConfiguration'; this is an error in the Swift 6 language mode
38 | #if canImport(Network)
39 | /// Configuration for Network.framework.
40 | case network(NetworkConfiguration)
| `- warning: associated value 'network' of 'Sendable'-conforming enum 'Backend' has non-sendable type 'GRPCTLSConfiguration.NetworkConfiguration'; this is an error in the Swift 6 language mode
41 | #endif
42 | }
:
489 | #if canImport(Network)
490 | extension GRPCTLSConfiguration {
491 | internal struct NetworkConfiguration {
| `- note: consider making struct 'NetworkConfiguration' conform to the 'Sendable' protocol
492 | @available(macOS 10.14, iOS 12.0, watchOS 6.0, tvOS 12.0, *)
493 | internal var options: NWProtocolTLS.Options {
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCTimeout.swift:24:21: warning: static property 'infinite' is not concurrency-safe because non-'Sendable' type 'GRPCTimeout' may have shared mutable state; this is an error in the Swift 6 language mode
20 | ///
21 | /// Timeouts must be positive and at most 8-digits long.
22 | public struct GRPCTimeout: CustomStringConvertible, Equatable {
| `- note: consider making struct 'GRPCTimeout' conform to the 'Sendable' protocol
23 | /// Creates an infinite timeout. This is a sentinel value which must __not__ be sent to a gRPC service.
24 | public static let infinite = GRPCTimeout(
| |- warning: static property 'infinite' is not concurrency-safe because non-'Sendable' type 'GRPCTimeout' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'infinite' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | nanoseconds: Int64.max,
26 | wireEncoding: "infinite"
[1322/1361] Compiling GRPC GRPCServerRequestRoutingHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCServerPipelineConfigurator.swift:125:23: warning: capture of 'self' with non-sendable type 'GRPCServerPipelineConfigurator' in a '@Sendable' closure; this is an error in the Swift 6 language mode
27 | /// configures the pipeline appropriately for the protocol negotiated via ALPN. If TLS is not
28 | /// configured then the HTTP version is determined by parsing the inbound byte stream.
29 | final class GRPCServerPipelineConfigurator: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'GRPCServerPipelineConfigurator' does not conform to the 'Sendable' protocol
30 | internal typealias InboundIn = ByteBuffer
31 | internal typealias InboundOut = ByteBuffer
:
123 | do {
124 | // TODO: provide user configuration for header normalization.
125 | let handler = self.makeHTTP2ToRawGRPCHandler(normalizeHeaders: true, logger: logger)
| `- warning: capture of 'self' with non-sendable type 'GRPCServerPipelineConfigurator' in a '@Sendable' closure; this is an error in the Swift 6 language mode
126 | try stream.pipeline.syncOperations.addHandler(handler)
127 | return stream.eventLoop.makeSucceededVoidFuture()
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCServerPipelineConfigurator.swift:153:24: warning: 'removeHandler(context:promise:)' is deprecated: Use .syncOperations.removeHandler(context:) instead, this method is not Sendable-safe.
151 | switch result {
152 | case .success:
153 | context.pipeline.removeHandler(context: context, promise: nil)
| `- warning: 'removeHandler(context:promise:)' is deprecated: Use .syncOperations.removeHandler(context:) instead, this method is not Sendable-safe.
154 | case let .failure(error):
155 | self.errorCaught(context: context, error: error)
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCTLSConfiguration.swift:36:10: warning: associated value 'nio' of 'Sendable'-conforming enum 'Backend' has non-sendable type 'GRPCTLSConfiguration.NIOConfiguration'; this is an error in the Swift 6 language mode
34 | #if canImport(NIOSSL)
35 | /// Configuration for NIOSSSL.
36 | case nio(NIOConfiguration)
| `- warning: associated value 'nio' of 'Sendable'-conforming enum 'Backend' has non-sendable type 'GRPCTLSConfiguration.NIOConfiguration'; this is an error in the Swift 6 language mode
37 | #endif
38 | #if canImport(Network)
:
218 | #if canImport(NIOSSL)
219 | extension GRPCTLSConfiguration {
220 | internal struct NIOConfiguration {
| `- note: consider making struct 'NIOConfiguration' conform to the 'Sendable' protocol
221 | var configuration: TLSConfiguration
222 | var customVerificationCallback: NIOSSLCustomVerificationCallback?
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCTLSConfiguration.swift:40:10: warning: associated value 'network' of 'Sendable'-conforming enum 'Backend' has non-sendable type 'GRPCTLSConfiguration.NetworkConfiguration'; this is an error in the Swift 6 language mode
38 | #if canImport(Network)
39 | /// Configuration for Network.framework.
40 | case network(NetworkConfiguration)
| `- warning: associated value 'network' of 'Sendable'-conforming enum 'Backend' has non-sendable type 'GRPCTLSConfiguration.NetworkConfiguration'; this is an error in the Swift 6 language mode
41 | #endif
42 | }
:
489 | #if canImport(Network)
490 | extension GRPCTLSConfiguration {
491 | internal struct NetworkConfiguration {
| `- note: consider making struct 'NetworkConfiguration' conform to the 'Sendable' protocol
492 | @available(macOS 10.14, iOS 12.0, watchOS 6.0, tvOS 12.0, *)
493 | internal var options: NWProtocolTLS.Options {
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCTimeout.swift:24:21: warning: static property 'infinite' is not concurrency-safe because non-'Sendable' type 'GRPCTimeout' may have shared mutable state; this is an error in the Swift 6 language mode
20 | ///
21 | /// Timeouts must be positive and at most 8-digits long.
22 | public struct GRPCTimeout: CustomStringConvertible, Equatable {
| `- note: consider making struct 'GRPCTimeout' conform to the 'Sendable' protocol
23 | /// Creates an infinite timeout. This is a sentinel value which must __not__ be sent to a gRPC service.
24 | public static let infinite = GRPCTimeout(
| |- warning: static property 'infinite' is not concurrency-safe because non-'Sendable' type 'GRPCTimeout' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'infinite' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | nanoseconds: Int64.max,
26 | wireEncoding: "infinite"
[1323/1361] Compiling GRPC GRPCServiceDescription.swift
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCServerPipelineConfigurator.swift:125:23: warning: capture of 'self' with non-sendable type 'GRPCServerPipelineConfigurator' in a '@Sendable' closure; this is an error in the Swift 6 language mode
27 | /// configures the pipeline appropriately for the protocol negotiated via ALPN. If TLS is not
28 | /// configured then the HTTP version is determined by parsing the inbound byte stream.
29 | final class GRPCServerPipelineConfigurator: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'GRPCServerPipelineConfigurator' does not conform to the 'Sendable' protocol
30 | internal typealias InboundIn = ByteBuffer
31 | internal typealias InboundOut = ByteBuffer
:
123 | do {
124 | // TODO: provide user configuration for header normalization.
125 | let handler = self.makeHTTP2ToRawGRPCHandler(normalizeHeaders: true, logger: logger)
| `- warning: capture of 'self' with non-sendable type 'GRPCServerPipelineConfigurator' in a '@Sendable' closure; this is an error in the Swift 6 language mode
126 | try stream.pipeline.syncOperations.addHandler(handler)
127 | return stream.eventLoop.makeSucceededVoidFuture()
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCServerPipelineConfigurator.swift:153:24: warning: 'removeHandler(context:promise:)' is deprecated: Use .syncOperations.removeHandler(context:) instead, this method is not Sendable-safe.
151 | switch result {
152 | case .success:
153 | context.pipeline.removeHandler(context: context, promise: nil)
| `- warning: 'removeHandler(context:promise:)' is deprecated: Use .syncOperations.removeHandler(context:) instead, this method is not Sendable-safe.
154 | case let .failure(error):
155 | self.errorCaught(context: context, error: error)
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCTLSConfiguration.swift:36:10: warning: associated value 'nio' of 'Sendable'-conforming enum 'Backend' has non-sendable type 'GRPCTLSConfiguration.NIOConfiguration'; this is an error in the Swift 6 language mode
34 | #if canImport(NIOSSL)
35 | /// Configuration for NIOSSSL.
36 | case nio(NIOConfiguration)
| `- warning: associated value 'nio' of 'Sendable'-conforming enum 'Backend' has non-sendable type 'GRPCTLSConfiguration.NIOConfiguration'; this is an error in the Swift 6 language mode
37 | #endif
38 | #if canImport(Network)
:
218 | #if canImport(NIOSSL)
219 | extension GRPCTLSConfiguration {
220 | internal struct NIOConfiguration {
| `- note: consider making struct 'NIOConfiguration' conform to the 'Sendable' protocol
221 | var configuration: TLSConfiguration
222 | var customVerificationCallback: NIOSSLCustomVerificationCallback?
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCTLSConfiguration.swift:40:10: warning: associated value 'network' of 'Sendable'-conforming enum 'Backend' has non-sendable type 'GRPCTLSConfiguration.NetworkConfiguration'; this is an error in the Swift 6 language mode
38 | #if canImport(Network)
39 | /// Configuration for Network.framework.
40 | case network(NetworkConfiguration)
| `- warning: associated value 'network' of 'Sendable'-conforming enum 'Backend' has non-sendable type 'GRPCTLSConfiguration.NetworkConfiguration'; this is an error in the Swift 6 language mode
41 | #endif
42 | }
:
489 | #if canImport(Network)
490 | extension GRPCTLSConfiguration {
491 | internal struct NetworkConfiguration {
| `- note: consider making struct 'NetworkConfiguration' conform to the 'Sendable' protocol
492 | @available(macOS 10.14, iOS 12.0, watchOS 6.0, tvOS 12.0, *)
493 | internal var options: NWProtocolTLS.Options {
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCTimeout.swift:24:21: warning: static property 'infinite' is not concurrency-safe because non-'Sendable' type 'GRPCTimeout' may have shared mutable state; this is an error in the Swift 6 language mode
20 | ///
21 | /// Timeouts must be positive and at most 8-digits long.
22 | public struct GRPCTimeout: CustomStringConvertible, Equatable {
| `- note: consider making struct 'GRPCTimeout' conform to the 'Sendable' protocol
23 | /// Creates an infinite timeout. This is a sentinel value which must __not__ be sent to a gRPC service.
24 | public static let infinite = GRPCTimeout(
| |- warning: static property 'infinite' is not concurrency-safe because non-'Sendable' type 'GRPCTimeout' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'infinite' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | nanoseconds: Int64.max,
26 | wireEncoding: "infinite"
[1324/1361] Compiling GRPC GRPCStatus.swift
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCServerPipelineConfigurator.swift:125:23: warning: capture of 'self' with non-sendable type 'GRPCServerPipelineConfigurator' in a '@Sendable' closure; this is an error in the Swift 6 language mode
27 | /// configures the pipeline appropriately for the protocol negotiated via ALPN. If TLS is not
28 | /// configured then the HTTP version is determined by parsing the inbound byte stream.
29 | final class GRPCServerPipelineConfigurator: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'GRPCServerPipelineConfigurator' does not conform to the 'Sendable' protocol
30 | internal typealias InboundIn = ByteBuffer
31 | internal typealias InboundOut = ByteBuffer
:
123 | do {
124 | // TODO: provide user configuration for header normalization.
125 | let handler = self.makeHTTP2ToRawGRPCHandler(normalizeHeaders: true, logger: logger)
| `- warning: capture of 'self' with non-sendable type 'GRPCServerPipelineConfigurator' in a '@Sendable' closure; this is an error in the Swift 6 language mode
126 | try stream.pipeline.syncOperations.addHandler(handler)
127 | return stream.eventLoop.makeSucceededVoidFuture()
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCServerPipelineConfigurator.swift:153:24: warning: 'removeHandler(context:promise:)' is deprecated: Use .syncOperations.removeHandler(context:) instead, this method is not Sendable-safe.
151 | switch result {
152 | case .success:
153 | context.pipeline.removeHandler(context: context, promise: nil)
| `- warning: 'removeHandler(context:promise:)' is deprecated: Use .syncOperations.removeHandler(context:) instead, this method is not Sendable-safe.
154 | case let .failure(error):
155 | self.errorCaught(context: context, error: error)
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCTLSConfiguration.swift:36:10: warning: associated value 'nio' of 'Sendable'-conforming enum 'Backend' has non-sendable type 'GRPCTLSConfiguration.NIOConfiguration'; this is an error in the Swift 6 language mode
34 | #if canImport(NIOSSL)
35 | /// Configuration for NIOSSSL.
36 | case nio(NIOConfiguration)
| `- warning: associated value 'nio' of 'Sendable'-conforming enum 'Backend' has non-sendable type 'GRPCTLSConfiguration.NIOConfiguration'; this is an error in the Swift 6 language mode
37 | #endif
38 | #if canImport(Network)
:
218 | #if canImport(NIOSSL)
219 | extension GRPCTLSConfiguration {
220 | internal struct NIOConfiguration {
| `- note: consider making struct 'NIOConfiguration' conform to the 'Sendable' protocol
221 | var configuration: TLSConfiguration
222 | var customVerificationCallback: NIOSSLCustomVerificationCallback?
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCTLSConfiguration.swift:40:10: warning: associated value 'network' of 'Sendable'-conforming enum 'Backend' has non-sendable type 'GRPCTLSConfiguration.NetworkConfiguration'; this is an error in the Swift 6 language mode
38 | #if canImport(Network)
39 | /// Configuration for Network.framework.
40 | case network(NetworkConfiguration)
| `- warning: associated value 'network' of 'Sendable'-conforming enum 'Backend' has non-sendable type 'GRPCTLSConfiguration.NetworkConfiguration'; this is an error in the Swift 6 language mode
41 | #endif
42 | }
:
489 | #if canImport(Network)
490 | extension GRPCTLSConfiguration {
491 | internal struct NetworkConfiguration {
| `- note: consider making struct 'NetworkConfiguration' conform to the 'Sendable' protocol
492 | @available(macOS 10.14, iOS 12.0, watchOS 6.0, tvOS 12.0, *)
493 | internal var options: NWProtocolTLS.Options {
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCTimeout.swift:24:21: warning: static property 'infinite' is not concurrency-safe because non-'Sendable' type 'GRPCTimeout' may have shared mutable state; this is an error in the Swift 6 language mode
20 | ///
21 | /// Timeouts must be positive and at most 8-digits long.
22 | public struct GRPCTimeout: CustomStringConvertible, Equatable {
| `- note: consider making struct 'GRPCTimeout' conform to the 'Sendable' protocol
23 | /// Creates an infinite timeout. This is a sentinel value which must __not__ be sent to a gRPC service.
24 | public static let infinite = GRPCTimeout(
| |- warning: static property 'infinite' is not concurrency-safe because non-'Sendable' type 'GRPCTimeout' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'infinite' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | nanoseconds: Int64.max,
26 | wireEncoding: "infinite"
[1325/1361] Compiling GRPC GRPCStatusAndMetadata.swift
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCServerPipelineConfigurator.swift:125:23: warning: capture of 'self' with non-sendable type 'GRPCServerPipelineConfigurator' in a '@Sendable' closure; this is an error in the Swift 6 language mode
27 | /// configures the pipeline appropriately for the protocol negotiated via ALPN. If TLS is not
28 | /// configured then the HTTP version is determined by parsing the inbound byte stream.
29 | final class GRPCServerPipelineConfigurator: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'GRPCServerPipelineConfigurator' does not conform to the 'Sendable' protocol
30 | internal typealias InboundIn = ByteBuffer
31 | internal typealias InboundOut = ByteBuffer
:
123 | do {
124 | // TODO: provide user configuration for header normalization.
125 | let handler = self.makeHTTP2ToRawGRPCHandler(normalizeHeaders: true, logger: logger)
| `- warning: capture of 'self' with non-sendable type 'GRPCServerPipelineConfigurator' in a '@Sendable' closure; this is an error in the Swift 6 language mode
126 | try stream.pipeline.syncOperations.addHandler(handler)
127 | return stream.eventLoop.makeSucceededVoidFuture()
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCServerPipelineConfigurator.swift:153:24: warning: 'removeHandler(context:promise:)' is deprecated: Use .syncOperations.removeHandler(context:) instead, this method is not Sendable-safe.
151 | switch result {
152 | case .success:
153 | context.pipeline.removeHandler(context: context, promise: nil)
| `- warning: 'removeHandler(context:promise:)' is deprecated: Use .syncOperations.removeHandler(context:) instead, this method is not Sendable-safe.
154 | case let .failure(error):
155 | self.errorCaught(context: context, error: error)
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCTLSConfiguration.swift:36:10: warning: associated value 'nio' of 'Sendable'-conforming enum 'Backend' has non-sendable type 'GRPCTLSConfiguration.NIOConfiguration'; this is an error in the Swift 6 language mode
34 | #if canImport(NIOSSL)
35 | /// Configuration for NIOSSSL.
36 | case nio(NIOConfiguration)
| `- warning: associated value 'nio' of 'Sendable'-conforming enum 'Backend' has non-sendable type 'GRPCTLSConfiguration.NIOConfiguration'; this is an error in the Swift 6 language mode
37 | #endif
38 | #if canImport(Network)
:
218 | #if canImport(NIOSSL)
219 | extension GRPCTLSConfiguration {
220 | internal struct NIOConfiguration {
| `- note: consider making struct 'NIOConfiguration' conform to the 'Sendable' protocol
221 | var configuration: TLSConfiguration
222 | var customVerificationCallback: NIOSSLCustomVerificationCallback?
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCTLSConfiguration.swift:40:10: warning: associated value 'network' of 'Sendable'-conforming enum 'Backend' has non-sendable type 'GRPCTLSConfiguration.NetworkConfiguration'; this is an error in the Swift 6 language mode
38 | #if canImport(Network)
39 | /// Configuration for Network.framework.
40 | case network(NetworkConfiguration)
| `- warning: associated value 'network' of 'Sendable'-conforming enum 'Backend' has non-sendable type 'GRPCTLSConfiguration.NetworkConfiguration'; this is an error in the Swift 6 language mode
41 | #endif
42 | }
:
489 | #if canImport(Network)
490 | extension GRPCTLSConfiguration {
491 | internal struct NetworkConfiguration {
| `- note: consider making struct 'NetworkConfiguration' conform to the 'Sendable' protocol
492 | @available(macOS 10.14, iOS 12.0, watchOS 6.0, tvOS 12.0, *)
493 | internal var options: NWProtocolTLS.Options {
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCTimeout.swift:24:21: warning: static property 'infinite' is not concurrency-safe because non-'Sendable' type 'GRPCTimeout' may have shared mutable state; this is an error in the Swift 6 language mode
20 | ///
21 | /// Timeouts must be positive and at most 8-digits long.
22 | public struct GRPCTimeout: CustomStringConvertible, Equatable {
| `- note: consider making struct 'GRPCTimeout' conform to the 'Sendable' protocol
23 | /// Creates an infinite timeout. This is a sentinel value which must __not__ be sent to a gRPC service.
24 | public static let infinite = GRPCTimeout(
| |- warning: static property 'infinite' is not concurrency-safe because non-'Sendable' type 'GRPCTimeout' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'infinite' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | nanoseconds: Int64.max,
26 | wireEncoding: "infinite"
[1326/1361] Compiling GRPC GRPCStatusMessageMarshaller.swift
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCServerPipelineConfigurator.swift:125:23: warning: capture of 'self' with non-sendable type 'GRPCServerPipelineConfigurator' in a '@Sendable' closure; this is an error in the Swift 6 language mode
27 | /// configures the pipeline appropriately for the protocol negotiated via ALPN. If TLS is not
28 | /// configured then the HTTP version is determined by parsing the inbound byte stream.
29 | final class GRPCServerPipelineConfigurator: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'GRPCServerPipelineConfigurator' does not conform to the 'Sendable' protocol
30 | internal typealias InboundIn = ByteBuffer
31 | internal typealias InboundOut = ByteBuffer
:
123 | do {
124 | // TODO: provide user configuration for header normalization.
125 | let handler = self.makeHTTP2ToRawGRPCHandler(normalizeHeaders: true, logger: logger)
| `- warning: capture of 'self' with non-sendable type 'GRPCServerPipelineConfigurator' in a '@Sendable' closure; this is an error in the Swift 6 language mode
126 | try stream.pipeline.syncOperations.addHandler(handler)
127 | return stream.eventLoop.makeSucceededVoidFuture()
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCServerPipelineConfigurator.swift:153:24: warning: 'removeHandler(context:promise:)' is deprecated: Use .syncOperations.removeHandler(context:) instead, this method is not Sendable-safe.
151 | switch result {
152 | case .success:
153 | context.pipeline.removeHandler(context: context, promise: nil)
| `- warning: 'removeHandler(context:promise:)' is deprecated: Use .syncOperations.removeHandler(context:) instead, this method is not Sendable-safe.
154 | case let .failure(error):
155 | self.errorCaught(context: context, error: error)
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCTLSConfiguration.swift:36:10: warning: associated value 'nio' of 'Sendable'-conforming enum 'Backend' has non-sendable type 'GRPCTLSConfiguration.NIOConfiguration'; this is an error in the Swift 6 language mode
34 | #if canImport(NIOSSL)
35 | /// Configuration for NIOSSSL.
36 | case nio(NIOConfiguration)
| `- warning: associated value 'nio' of 'Sendable'-conforming enum 'Backend' has non-sendable type 'GRPCTLSConfiguration.NIOConfiguration'; this is an error in the Swift 6 language mode
37 | #endif
38 | #if canImport(Network)
:
218 | #if canImport(NIOSSL)
219 | extension GRPCTLSConfiguration {
220 | internal struct NIOConfiguration {
| `- note: consider making struct 'NIOConfiguration' conform to the 'Sendable' protocol
221 | var configuration: TLSConfiguration
222 | var customVerificationCallback: NIOSSLCustomVerificationCallback?
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCTLSConfiguration.swift:40:10: warning: associated value 'network' of 'Sendable'-conforming enum 'Backend' has non-sendable type 'GRPCTLSConfiguration.NetworkConfiguration'; this is an error in the Swift 6 language mode
38 | #if canImport(Network)
39 | /// Configuration for Network.framework.
40 | case network(NetworkConfiguration)
| `- warning: associated value 'network' of 'Sendable'-conforming enum 'Backend' has non-sendable type 'GRPCTLSConfiguration.NetworkConfiguration'; this is an error in the Swift 6 language mode
41 | #endif
42 | }
:
489 | #if canImport(Network)
490 | extension GRPCTLSConfiguration {
491 | internal struct NetworkConfiguration {
| `- note: consider making struct 'NetworkConfiguration' conform to the 'Sendable' protocol
492 | @available(macOS 10.14, iOS 12.0, watchOS 6.0, tvOS 12.0, *)
493 | internal var options: NWProtocolTLS.Options {
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCTimeout.swift:24:21: warning: static property 'infinite' is not concurrency-safe because non-'Sendable' type 'GRPCTimeout' may have shared mutable state; this is an error in the Swift 6 language mode
20 | ///
21 | /// Timeouts must be positive and at most 8-digits long.
22 | public struct GRPCTimeout: CustomStringConvertible, Equatable {
| `- note: consider making struct 'GRPCTimeout' conform to the 'Sendable' protocol
23 | /// Creates an infinite timeout. This is a sentinel value which must __not__ be sent to a gRPC service.
24 | public static let infinite = GRPCTimeout(
| |- warning: static property 'infinite' is not concurrency-safe because non-'Sendable' type 'GRPCTimeout' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'infinite' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | nanoseconds: Int64.max,
26 | wireEncoding: "infinite"
[1327/1361] Compiling GRPC GRPCTLSConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCServerPipelineConfigurator.swift:125:23: warning: capture of 'self' with non-sendable type 'GRPCServerPipelineConfigurator' in a '@Sendable' closure; this is an error in the Swift 6 language mode
27 | /// configures the pipeline appropriately for the protocol negotiated via ALPN. If TLS is not
28 | /// configured then the HTTP version is determined by parsing the inbound byte stream.
29 | final class GRPCServerPipelineConfigurator: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'GRPCServerPipelineConfigurator' does not conform to the 'Sendable' protocol
30 | internal typealias InboundIn = ByteBuffer
31 | internal typealias InboundOut = ByteBuffer
:
123 | do {
124 | // TODO: provide user configuration for header normalization.
125 | let handler = self.makeHTTP2ToRawGRPCHandler(normalizeHeaders: true, logger: logger)
| `- warning: capture of 'self' with non-sendable type 'GRPCServerPipelineConfigurator' in a '@Sendable' closure; this is an error in the Swift 6 language mode
126 | try stream.pipeline.syncOperations.addHandler(handler)
127 | return stream.eventLoop.makeSucceededVoidFuture()
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCServerPipelineConfigurator.swift:153:24: warning: 'removeHandler(context:promise:)' is deprecated: Use .syncOperations.removeHandler(context:) instead, this method is not Sendable-safe.
151 | switch result {
152 | case .success:
153 | context.pipeline.removeHandler(context: context, promise: nil)
| `- warning: 'removeHandler(context:promise:)' is deprecated: Use .syncOperations.removeHandler(context:) instead, this method is not Sendable-safe.
154 | case let .failure(error):
155 | self.errorCaught(context: context, error: error)
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCTLSConfiguration.swift:36:10: warning: associated value 'nio' of 'Sendable'-conforming enum 'Backend' has non-sendable type 'GRPCTLSConfiguration.NIOConfiguration'; this is an error in the Swift 6 language mode
34 | #if canImport(NIOSSL)
35 | /// Configuration for NIOSSSL.
36 | case nio(NIOConfiguration)
| `- warning: associated value 'nio' of 'Sendable'-conforming enum 'Backend' has non-sendable type 'GRPCTLSConfiguration.NIOConfiguration'; this is an error in the Swift 6 language mode
37 | #endif
38 | #if canImport(Network)
:
218 | #if canImport(NIOSSL)
219 | extension GRPCTLSConfiguration {
220 | internal struct NIOConfiguration {
| `- note: consider making struct 'NIOConfiguration' conform to the 'Sendable' protocol
221 | var configuration: TLSConfiguration
222 | var customVerificationCallback: NIOSSLCustomVerificationCallback?
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCTLSConfiguration.swift:40:10: warning: associated value 'network' of 'Sendable'-conforming enum 'Backend' has non-sendable type 'GRPCTLSConfiguration.NetworkConfiguration'; this is an error in the Swift 6 language mode
38 | #if canImport(Network)
39 | /// Configuration for Network.framework.
40 | case network(NetworkConfiguration)
| `- warning: associated value 'network' of 'Sendable'-conforming enum 'Backend' has non-sendable type 'GRPCTLSConfiguration.NetworkConfiguration'; this is an error in the Swift 6 language mode
41 | #endif
42 | }
:
489 | #if canImport(Network)
490 | extension GRPCTLSConfiguration {
491 | internal struct NetworkConfiguration {
| `- note: consider making struct 'NetworkConfiguration' conform to the 'Sendable' protocol
492 | @available(macOS 10.14, iOS 12.0, watchOS 6.0, tvOS 12.0, *)
493 | internal var options: NWProtocolTLS.Options {
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCTimeout.swift:24:21: warning: static property 'infinite' is not concurrency-safe because non-'Sendable' type 'GRPCTimeout' may have shared mutable state; this is an error in the Swift 6 language mode
20 | ///
21 | /// Timeouts must be positive and at most 8-digits long.
22 | public struct GRPCTimeout: CustomStringConvertible, Equatable {
| `- note: consider making struct 'GRPCTimeout' conform to the 'Sendable' protocol
23 | /// Creates an infinite timeout. This is a sentinel value which must __not__ be sent to a gRPC service.
24 | public static let infinite = GRPCTimeout(
| |- warning: static property 'infinite' is not concurrency-safe because non-'Sendable' type 'GRPCTimeout' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'infinite' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | nanoseconds: Int64.max,
26 | wireEncoding: "infinite"
[1328/1361] Compiling GRPC GRPCTimeout.swift
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCServerPipelineConfigurator.swift:125:23: warning: capture of 'self' with non-sendable type 'GRPCServerPipelineConfigurator' in a '@Sendable' closure; this is an error in the Swift 6 language mode
27 | /// configures the pipeline appropriately for the protocol negotiated via ALPN. If TLS is not
28 | /// configured then the HTTP version is determined by parsing the inbound byte stream.
29 | final class GRPCServerPipelineConfigurator: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'GRPCServerPipelineConfigurator' does not conform to the 'Sendable' protocol
30 | internal typealias InboundIn = ByteBuffer
31 | internal typealias InboundOut = ByteBuffer
:
123 | do {
124 | // TODO: provide user configuration for header normalization.
125 | let handler = self.makeHTTP2ToRawGRPCHandler(normalizeHeaders: true, logger: logger)
| `- warning: capture of 'self' with non-sendable type 'GRPCServerPipelineConfigurator' in a '@Sendable' closure; this is an error in the Swift 6 language mode
126 | try stream.pipeline.syncOperations.addHandler(handler)
127 | return stream.eventLoop.makeSucceededVoidFuture()
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCServerPipelineConfigurator.swift:153:24: warning: 'removeHandler(context:promise:)' is deprecated: Use .syncOperations.removeHandler(context:) instead, this method is not Sendable-safe.
151 | switch result {
152 | case .success:
153 | context.pipeline.removeHandler(context: context, promise: nil)
| `- warning: 'removeHandler(context:promise:)' is deprecated: Use .syncOperations.removeHandler(context:) instead, this method is not Sendable-safe.
154 | case let .failure(error):
155 | self.errorCaught(context: context, error: error)
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCTLSConfiguration.swift:36:10: warning: associated value 'nio' of 'Sendable'-conforming enum 'Backend' has non-sendable type 'GRPCTLSConfiguration.NIOConfiguration'; this is an error in the Swift 6 language mode
34 | #if canImport(NIOSSL)
35 | /// Configuration for NIOSSSL.
36 | case nio(NIOConfiguration)
| `- warning: associated value 'nio' of 'Sendable'-conforming enum 'Backend' has non-sendable type 'GRPCTLSConfiguration.NIOConfiguration'; this is an error in the Swift 6 language mode
37 | #endif
38 | #if canImport(Network)
:
218 | #if canImport(NIOSSL)
219 | extension GRPCTLSConfiguration {
220 | internal struct NIOConfiguration {
| `- note: consider making struct 'NIOConfiguration' conform to the 'Sendable' protocol
221 | var configuration: TLSConfiguration
222 | var customVerificationCallback: NIOSSLCustomVerificationCallback?
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCTLSConfiguration.swift:40:10: warning: associated value 'network' of 'Sendable'-conforming enum 'Backend' has non-sendable type 'GRPCTLSConfiguration.NetworkConfiguration'; this is an error in the Swift 6 language mode
38 | #if canImport(Network)
39 | /// Configuration for Network.framework.
40 | case network(NetworkConfiguration)
| `- warning: associated value 'network' of 'Sendable'-conforming enum 'Backend' has non-sendable type 'GRPCTLSConfiguration.NetworkConfiguration'; this is an error in the Swift 6 language mode
41 | #endif
42 | }
:
489 | #if canImport(Network)
490 | extension GRPCTLSConfiguration {
491 | internal struct NetworkConfiguration {
| `- note: consider making struct 'NetworkConfiguration' conform to the 'Sendable' protocol
492 | @available(macOS 10.14, iOS 12.0, watchOS 6.0, tvOS 12.0, *)
493 | internal var options: NWProtocolTLS.Options {
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCTimeout.swift:24:21: warning: static property 'infinite' is not concurrency-safe because non-'Sendable' type 'GRPCTimeout' may have shared mutable state; this is an error in the Swift 6 language mode
20 | ///
21 | /// Timeouts must be positive and at most 8-digits long.
22 | public struct GRPCTimeout: CustomStringConvertible, Equatable {
| `- note: consider making struct 'GRPCTimeout' conform to the 'Sendable' protocol
23 | /// Creates an infinite timeout. This is a sentinel value which must __not__ be sent to a gRPC service.
24 | public static let infinite = GRPCTimeout(
| |- warning: static property 'infinite' is not concurrency-safe because non-'Sendable' type 'GRPCTimeout' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'infinite' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | nanoseconds: Int64.max,
26 | wireEncoding: "infinite"
[1329/1361] Compiling GRPC GRPCWebToHTTP2ServerCodec.swift
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCServerPipelineConfigurator.swift:125:23: warning: capture of 'self' with non-sendable type 'GRPCServerPipelineConfigurator' in a '@Sendable' closure; this is an error in the Swift 6 language mode
27 | /// configures the pipeline appropriately for the protocol negotiated via ALPN. If TLS is not
28 | /// configured then the HTTP version is determined by parsing the inbound byte stream.
29 | final class GRPCServerPipelineConfigurator: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'GRPCServerPipelineConfigurator' does not conform to the 'Sendable' protocol
30 | internal typealias InboundIn = ByteBuffer
31 | internal typealias InboundOut = ByteBuffer
:
123 | do {
124 | // TODO: provide user configuration for header normalization.
125 | let handler = self.makeHTTP2ToRawGRPCHandler(normalizeHeaders: true, logger: logger)
| `- warning: capture of 'self' with non-sendable type 'GRPCServerPipelineConfigurator' in a '@Sendable' closure; this is an error in the Swift 6 language mode
126 | try stream.pipeline.syncOperations.addHandler(handler)
127 | return stream.eventLoop.makeSucceededVoidFuture()
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCServerPipelineConfigurator.swift:153:24: warning: 'removeHandler(context:promise:)' is deprecated: Use .syncOperations.removeHandler(context:) instead, this method is not Sendable-safe.
151 | switch result {
152 | case .success:
153 | context.pipeline.removeHandler(context: context, promise: nil)
| `- warning: 'removeHandler(context:promise:)' is deprecated: Use .syncOperations.removeHandler(context:) instead, this method is not Sendable-safe.
154 | case let .failure(error):
155 | self.errorCaught(context: context, error: error)
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCTLSConfiguration.swift:36:10: warning: associated value 'nio' of 'Sendable'-conforming enum 'Backend' has non-sendable type 'GRPCTLSConfiguration.NIOConfiguration'; this is an error in the Swift 6 language mode
34 | #if canImport(NIOSSL)
35 | /// Configuration for NIOSSSL.
36 | case nio(NIOConfiguration)
| `- warning: associated value 'nio' of 'Sendable'-conforming enum 'Backend' has non-sendable type 'GRPCTLSConfiguration.NIOConfiguration'; this is an error in the Swift 6 language mode
37 | #endif
38 | #if canImport(Network)
:
218 | #if canImport(NIOSSL)
219 | extension GRPCTLSConfiguration {
220 | internal struct NIOConfiguration {
| `- note: consider making struct 'NIOConfiguration' conform to the 'Sendable' protocol
221 | var configuration: TLSConfiguration
222 | var customVerificationCallback: NIOSSLCustomVerificationCallback?
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCTLSConfiguration.swift:40:10: warning: associated value 'network' of 'Sendable'-conforming enum 'Backend' has non-sendable type 'GRPCTLSConfiguration.NetworkConfiguration'; this is an error in the Swift 6 language mode
38 | #if canImport(Network)
39 | /// Configuration for Network.framework.
40 | case network(NetworkConfiguration)
| `- warning: associated value 'network' of 'Sendable'-conforming enum 'Backend' has non-sendable type 'GRPCTLSConfiguration.NetworkConfiguration'; this is an error in the Swift 6 language mode
41 | #endif
42 | }
:
489 | #if canImport(Network)
490 | extension GRPCTLSConfiguration {
491 | internal struct NetworkConfiguration {
| `- note: consider making struct 'NetworkConfiguration' conform to the 'Sendable' protocol
492 | @available(macOS 10.14, iOS 12.0, watchOS 6.0, tvOS 12.0, *)
493 | internal var options: NWProtocolTLS.Options {
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCTimeout.swift:24:21: warning: static property 'infinite' is not concurrency-safe because non-'Sendable' type 'GRPCTimeout' may have shared mutable state; this is an error in the Swift 6 language mode
20 | ///
21 | /// Timeouts must be positive and at most 8-digits long.
22 | public struct GRPCTimeout: CustomStringConvertible, Equatable {
| `- note: consider making struct 'GRPCTimeout' conform to the 'Sendable' protocol
23 | /// Creates an infinite timeout. This is a sentinel value which must __not__ be sent to a gRPC service.
24 | public static let infinite = GRPCTimeout(
| |- warning: static property 'infinite' is not concurrency-safe because non-'Sendable' type 'GRPCTimeout' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'infinite' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | nanoseconds: Int64.max,
26 | wireEncoding: "infinite"
[1330/1361] Compiling GRPC HTTP2ToRawGRPCServerCodec.swift
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCServerPipelineConfigurator.swift:125:23: warning: capture of 'self' with non-sendable type 'GRPCServerPipelineConfigurator' in a '@Sendable' closure; this is an error in the Swift 6 language mode
27 | /// configures the pipeline appropriately for the protocol negotiated via ALPN. If TLS is not
28 | /// configured then the HTTP version is determined by parsing the inbound byte stream.
29 | final class GRPCServerPipelineConfigurator: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'GRPCServerPipelineConfigurator' does not conform to the 'Sendable' protocol
30 | internal typealias InboundIn = ByteBuffer
31 | internal typealias InboundOut = ByteBuffer
:
123 | do {
124 | // TODO: provide user configuration for header normalization.
125 | let handler = self.makeHTTP2ToRawGRPCHandler(normalizeHeaders: true, logger: logger)
| `- warning: capture of 'self' with non-sendable type 'GRPCServerPipelineConfigurator' in a '@Sendable' closure; this is an error in the Swift 6 language mode
126 | try stream.pipeline.syncOperations.addHandler(handler)
127 | return stream.eventLoop.makeSucceededVoidFuture()
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCServerPipelineConfigurator.swift:153:24: warning: 'removeHandler(context:promise:)' is deprecated: Use .syncOperations.removeHandler(context:) instead, this method is not Sendable-safe.
151 | switch result {
152 | case .success:
153 | context.pipeline.removeHandler(context: context, promise: nil)
| `- warning: 'removeHandler(context:promise:)' is deprecated: Use .syncOperations.removeHandler(context:) instead, this method is not Sendable-safe.
154 | case let .failure(error):
155 | self.errorCaught(context: context, error: error)
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCTLSConfiguration.swift:36:10: warning: associated value 'nio' of 'Sendable'-conforming enum 'Backend' has non-sendable type 'GRPCTLSConfiguration.NIOConfiguration'; this is an error in the Swift 6 language mode
34 | #if canImport(NIOSSL)
35 | /// Configuration for NIOSSSL.
36 | case nio(NIOConfiguration)
| `- warning: associated value 'nio' of 'Sendable'-conforming enum 'Backend' has non-sendable type 'GRPCTLSConfiguration.NIOConfiguration'; this is an error in the Swift 6 language mode
37 | #endif
38 | #if canImport(Network)
:
218 | #if canImport(NIOSSL)
219 | extension GRPCTLSConfiguration {
220 | internal struct NIOConfiguration {
| `- note: consider making struct 'NIOConfiguration' conform to the 'Sendable' protocol
221 | var configuration: TLSConfiguration
222 | var customVerificationCallback: NIOSSLCustomVerificationCallback?
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCTLSConfiguration.swift:40:10: warning: associated value 'network' of 'Sendable'-conforming enum 'Backend' has non-sendable type 'GRPCTLSConfiguration.NetworkConfiguration'; this is an error in the Swift 6 language mode
38 | #if canImport(Network)
39 | /// Configuration for Network.framework.
40 | case network(NetworkConfiguration)
| `- warning: associated value 'network' of 'Sendable'-conforming enum 'Backend' has non-sendable type 'GRPCTLSConfiguration.NetworkConfiguration'; this is an error in the Swift 6 language mode
41 | #endif
42 | }
:
489 | #if canImport(Network)
490 | extension GRPCTLSConfiguration {
491 | internal struct NetworkConfiguration {
| `- note: consider making struct 'NetworkConfiguration' conform to the 'Sendable' protocol
492 | @available(macOS 10.14, iOS 12.0, watchOS 6.0, tvOS 12.0, *)
493 | internal var options: NWProtocolTLS.Options {
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCTimeout.swift:24:21: warning: static property 'infinite' is not concurrency-safe because non-'Sendable' type 'GRPCTimeout' may have shared mutable state; this is an error in the Swift 6 language mode
20 | ///
21 | /// Timeouts must be positive and at most 8-digits long.
22 | public struct GRPCTimeout: CustomStringConvertible, Equatable {
| `- note: consider making struct 'GRPCTimeout' conform to the 'Sendable' protocol
23 | /// Creates an infinite timeout. This is a sentinel value which must __not__ be sent to a gRPC service.
24 | public static let infinite = GRPCTimeout(
| |- warning: static property 'infinite' is not concurrency-safe because non-'Sendable' type 'GRPCTimeout' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'infinite' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | nanoseconds: Int64.max,
26 | wireEncoding: "infinite"
[1331/1361] Compiling GRPC HTTP2ToRawGRPCStateMachine.swift
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCServerPipelineConfigurator.swift:125:23: warning: capture of 'self' with non-sendable type 'GRPCServerPipelineConfigurator' in a '@Sendable' closure; this is an error in the Swift 6 language mode
27 | /// configures the pipeline appropriately for the protocol negotiated via ALPN. If TLS is not
28 | /// configured then the HTTP version is determined by parsing the inbound byte stream.
29 | final class GRPCServerPipelineConfigurator: ChannelInboundHandler, RemovableChannelHandler {
| `- note: class 'GRPCServerPipelineConfigurator' does not conform to the 'Sendable' protocol
30 | internal typealias InboundIn = ByteBuffer
31 | internal typealias InboundOut = ByteBuffer
:
123 | do {
124 | // TODO: provide user configuration for header normalization.
125 | let handler = self.makeHTTP2ToRawGRPCHandler(normalizeHeaders: true, logger: logger)
| `- warning: capture of 'self' with non-sendable type 'GRPCServerPipelineConfigurator' in a '@Sendable' closure; this is an error in the Swift 6 language mode
126 | try stream.pipeline.syncOperations.addHandler(handler)
127 | return stream.eventLoop.makeSucceededVoidFuture()
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCServerPipelineConfigurator.swift:153:24: warning: 'removeHandler(context:promise:)' is deprecated: Use .syncOperations.removeHandler(context:) instead, this method is not Sendable-safe.
151 | switch result {
152 | case .success:
153 | context.pipeline.removeHandler(context: context, promise: nil)
| `- warning: 'removeHandler(context:promise:)' is deprecated: Use .syncOperations.removeHandler(context:) instead, this method is not Sendable-safe.
154 | case let .failure(error):
155 | self.errorCaught(context: context, error: error)
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCTLSConfiguration.swift:36:10: warning: associated value 'nio' of 'Sendable'-conforming enum 'Backend' has non-sendable type 'GRPCTLSConfiguration.NIOConfiguration'; this is an error in the Swift 6 language mode
34 | #if canImport(NIOSSL)
35 | /// Configuration for NIOSSSL.
36 | case nio(NIOConfiguration)
| `- warning: associated value 'nio' of 'Sendable'-conforming enum 'Backend' has non-sendable type 'GRPCTLSConfiguration.NIOConfiguration'; this is an error in the Swift 6 language mode
37 | #endif
38 | #if canImport(Network)
:
218 | #if canImport(NIOSSL)
219 | extension GRPCTLSConfiguration {
220 | internal struct NIOConfiguration {
| `- note: consider making struct 'NIOConfiguration' conform to the 'Sendable' protocol
221 | var configuration: TLSConfiguration
222 | var customVerificationCallback: NIOSSLCustomVerificationCallback?
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCTLSConfiguration.swift:40:10: warning: associated value 'network' of 'Sendable'-conforming enum 'Backend' has non-sendable type 'GRPCTLSConfiguration.NetworkConfiguration'; this is an error in the Swift 6 language mode
38 | #if canImport(Network)
39 | /// Configuration for Network.framework.
40 | case network(NetworkConfiguration)
| `- warning: associated value 'network' of 'Sendable'-conforming enum 'Backend' has non-sendable type 'GRPCTLSConfiguration.NetworkConfiguration'; this is an error in the Swift 6 language mode
41 | #endif
42 | }
:
489 | #if canImport(Network)
490 | extension GRPCTLSConfiguration {
491 | internal struct NetworkConfiguration {
| `- note: consider making struct 'NetworkConfiguration' conform to the 'Sendable' protocol
492 | @available(macOS 10.14, iOS 12.0, watchOS 6.0, tvOS 12.0, *)
493 | internal var options: NWProtocolTLS.Options {
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/GRPCTimeout.swift:24:21: warning: static property 'infinite' is not concurrency-safe because non-'Sendable' type 'GRPCTimeout' may have shared mutable state; this is an error in the Swift 6 language mode
20 | ///
21 | /// Timeouts must be positive and at most 8-digits long.
22 | public struct GRPCTimeout: CustomStringConvertible, Equatable {
| `- note: consider making struct 'GRPCTimeout' conform to the 'Sendable' protocol
23 | /// Creates an infinite timeout. This is a sentinel value which must __not__ be sent to a gRPC service.
24 | public static let infinite = GRPCTimeout(
| |- warning: static property 'infinite' is not concurrency-safe because non-'Sendable' type 'GRPCTimeout' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'infinite' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | nanoseconds: Int64.max,
26 | wireEncoding: "infinite"
[1332/1394] Compiling GRPCInteroperabilityTestModels test.pb.swift
[1333/1394] Compiling GRPCPerformanceTests PercentEncoding.swift
[1334/1395] Compiling GRPCPerformanceTests MinimalEchoProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/GRPCPerformanceTests/Benchmarks/MinimalEchoProvider.swift:59:30: warning: type '(StreamEvent<Echo_EchoRequest>) -> Void' does not conform to the 'Sendable' protocol
57 | }
58 |
59 | return context.eventLoop.makeSucceededFuture(onEvent(_:))
| |- warning: type '(StreamEvent<Echo_EchoRequest>) -> Void' does not conform to the 'Sendable' protocol
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
60 | }
61 |
/Users/admin/builder/spi-builder-workspace/Sources/GRPCPerformanceTests/Benchmarks/MinimalEchoProvider.swift:74:30: warning: type '(StreamEvent<Echo_EchoRequest>) -> Void' does not conform to the 'Sendable' protocol
72 | }
73 |
74 | return context.eventLoop.makeSucceededFuture(onEvent(_:))
| |- warning: type '(StreamEvent<Echo_EchoRequest>) -> Void' does not conform to the 'Sendable' protocol
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
75 | }
76 | }
[1335/1395] Compiling HelloWorldModel helloworld.pb.swift
[1336/1395] Compiling GRPCPerformanceTests echo.pb.swift
[1337/1395] Emitting module HelloWorldModel
[1338/1395] Compiling HelloWorldModel helloworld.grpc.swift
[1339/1395] Compiling RouteGuideModel route_guide.pb.swift
[1340/1395] Compiling GRPCPerformanceTests EmbeddedServer.swift
[1341/1395] Emitting module GRPCPerformanceTests
[1342/1395] Compiling GRPCPerformanceTests EmbeddedClientThroughput.swift
[1343/1395] Compiling GRPCPerformanceTests Benchmark.swift
[1344/1395] Compiling GRPCPerformanceTests BenchmarkUtils.swift
[1345/1395] Compiling GRPCPerformanceTests ServerProvidingBenchmark.swift
[1346/1395] Compiling GRPCReflectionService ReflectionServiceV1Alpha.swift
[1347/1395] Compiling GRPCReflectionService ReflectionServiceV1.swift
[1348/1395] Compiling GRPCReflectionService ReflectionService.swift
[1349/1395] Emitting module GRPCReflectionService
[1350/1400] Emitting module RouteGuideModel
[1351/1400] Compiling RouteGuideModel route_guide.grpc.swift
[1352/1400] Emitting module EchoModel
[1353/1400] Compiling EchoModel echo.pb.swift
[1354/1400] Compiling EchoModel echo.grpc.swift
[1355/1400] Compiling GRPCPerformanceTests main.swift
[1356/1406] Compiling GRPCPerformanceTests UnaryThroughput.swift
[1357/1406] Compiling GRPCPerformanceTests echo.grpc.swift
[1357/1406] Write Objects.LinkFileList
[1359/1414] Emitting module HelloWorldServer
[1360/1414] Compiling GRPCReflectionService reflection-v1.pb.swift
[1361/1414] Compiling GRPCReflectionService reflection-v1.grpc.swift
[1362/1414] Compiling HelloWorldServer GreeterProvider.swift
[1363/1414] Compiling HelloWorldServer HelloWorldServer.swift
/Users/admin/builder/spi-builder-workspace/Examples/v1/HelloWorld/Server/HelloWorldServer.swift:31:18: warning: instance method 'syncShutdownGracefully' is unavailable from asynchronous contexts; this can end up blocking the calling thread; this is an error in the Swift 6 language mode; this is an error in the Swift 6 language mode
29 | let group = MultiThreadedEventLoopGroup(numberOfThreads: 1)
30 | defer {
31 | try! group.syncShutdownGracefully()
| `- warning: instance method 'syncShutdownGracefully' is unavailable from asynchronous contexts; this can end up blocking the calling thread; this is an error in the Swift 6 language mode; this is an error in the Swift 6 language mode
32 | }
33 |
[1364/1414] Compiling GRPCReflectionService reflection-v1alpha.grpc.swift
[1365/1414] Compiling GRPCReflectionService reflection-v1alpha.pb.swift
[1365/1414] Write Objects.LinkFileList
[1367/1414] Compiling HelloWorldClient HelloWorldClient.swift
/Users/admin/builder/spi-builder-workspace/Examples/v1/HelloWorld/Client/HelloWorldClient.swift:39:18: warning: instance method 'syncShutdownGracefully' is unavailable from asynchronous contexts; this can end up blocking the calling thread; this is an error in the Swift 6 language mode; this is an error in the Swift 6 language mode
37 | // Make sure the group is shutdown when we're done with it.
38 | defer {
39 | try! group.syncShutdownGracefully()
| `- warning: instance method 'syncShutdownGracefully' is unavailable from asynchronous contexts; this can end up blocking the calling thread; this is an error in the Swift 6 language mode; this is an error in the Swift 6 language mode
40 | }
41 |
/Users/admin/builder/spi-builder-workspace/Examples/v1/HelloWorld/Client/HelloWorldClient.swift:51:28: warning: instance method 'wait' is unavailable from asynchronous contexts; wait() can block indefinitely, prefer get(); this is an error in the Swift 6 language mode
49 | // Close the connection when we're done with it.
50 | defer {
51 | try! channel.close().wait()
| `- warning: instance method 'wait' is unavailable from asynchronous contexts; wait() can block indefinitely, prefer get(); this is an error in the Swift 6 language mode
52 | }
53 |
[1368/1414] Emitting module HelloWorldClient
[1369/1414] Compiling RouteGuideServer RouteGuideServer.swift
/Users/admin/builder/spi-builder-workspace/Examples/v1/RouteGuide/Server/RouteGuideServer.swift:46:18: warning: instance method 'syncShutdownGracefully' is unavailable from asynchronous contexts; this can end up blocking the calling thread; this is an error in the Swift 6 language mode; this is an error in the Swift 6 language mode
44 | let group = MultiThreadedEventLoopGroup(numberOfThreads: System.coreCount)
45 | defer {
46 | try! group.syncShutdownGracefully()
| `- warning: instance method 'syncShutdownGracefully' is unavailable from asynchronous contexts; this can end up blocking the calling thread; this is an error in the Swift 6 language mode; this is an error in the Swift 6 language mode
47 | }
48 |
[1369/1414] Write Objects.LinkFileList
[1371/1414] Compiling EchoImplementation Interceptors.swift
[1372/1414] Compiling EchoImplementation HPACKHeaders+Prettify.swift
[1373/1414] Compiling EchoImplementation EchoProvider.swift
/Users/admin/builder/spi-builder-workspace/Examples/v1/Echo/Implementation/EchoProvider.swift:56:30: warning: type '(StreamEvent<Echo_EchoRequest>) -> Void' does not conform to the 'Sendable' protocol
54 | ) -> EventLoopFuture<(StreamEvent<Echo_EchoRequest>) -> Void> {
55 | var parts: [String] = []
56 | return context.eventLoop.makeSucceededFuture({ event in
| |- warning: type '(StreamEvent<Echo_EchoRequest>) -> Void' does not conform to the 'Sendable' protocol
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
57 | switch event {
58 | case let .message(message):
/Users/admin/builder/spi-builder-workspace/Examples/v1/Echo/Implementation/EchoProvider.swift:74:30: warning: type '(StreamEvent<Echo_EchoRequest>) -> Void' does not conform to the 'Sendable' protocol
72 | ) -> EventLoopFuture<(StreamEvent<Echo_EchoRequest>) -> Void> {
73 | var count = 0
74 | return context.eventLoop.makeSucceededFuture({ event in
| |- warning: type '(StreamEvent<Echo_EchoRequest>) -> Void' does not conform to the 'Sendable' protocol
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
75 | switch event {
76 | case let .message(message):
[1374/1414] Emitting module RouteGuideServer
[1375/1414] Compiling RouteGuideServer RouteGuideProvider.swift
[1376/1414] Compiling PacketCapture Empty.swift
[1377/1414] Emitting module PacketCapture
[1378/1414] Compiling PacketCapture PacketCapture.swift
/Users/admin/builder/spi-builder-workspace/Examples/v1/PacketCapture/PacketCapture.swift:33:18: warning: instance method 'syncShutdownGracefully' is unavailable from asynchronous contexts; this can end up blocking the calling thread; this is an error in the Swift 6 language mode; this is an error in the Swift 6 language mode
31 | let group = MultiThreadedEventLoopGroup(numberOfThreads: 1)
32 | defer {
33 | try! group.syncShutdownGracefully()
| `- warning: instance method 'syncShutdownGracefully' is unavailable from asynchronous contexts; this can end up blocking the calling thread; this is an error in the Swift 6 language mode; this is an error in the Swift 6 language mode
34 | }
35 |
/Users/admin/builder/spi-builder-workspace/Examples/v1/PacketCapture/PacketCapture.swift:46:21: warning: instance method 'syncClose' is unavailable from asynchronous contexts; syncClose() can block indefinitely, prefer close(); this is an error in the Swift 6 language mode; this is an error in the Swift 6 language mode
44 | // Ensure that we close the file sink when we're done with it.
45 | defer {
46 | try! fileSink.syncClose()
| `- warning: instance method 'syncClose' is unavailable from asynchronous contexts; syncClose() can block indefinitely, prefer close(); this is an error in the Swift 6 language mode; this is an error in the Swift 6 language mode
47 | }
48 |
[1379/1414] Emitting module EchoImplementation
[1380/1414] Compiling EchoImplementation EchoAsyncProvider.swift
[1381/1414] Compiling GRPCInteroperabilityTestModels messages.pb.swift
/Users/admin/builder/spi-builder-workspace/Sources/GRPCInteroperabilityTestModels/Generated/messages.pb.swift:71:21: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
69 | extension Grpc_Testing_PayloadType: CaseIterable {
70 | // The compiler won't synthesize support with the UNRECOGNIZED case.
71 | public static var allCases: [Grpc_Testing_PayloadType] = [
| |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'allCases' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 | .compressable,
73 | ]
[1382/1414] Compiling GRPCInteroperabilityTestModels empty.pb.swift
[1383/1414] Emitting module GRPCInteroperabilityTestModels
/Users/admin/builder/spi-builder-workspace/Sources/GRPCInteroperabilityTestModels/Generated/messages.pb.swift:71:21: warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
69 | extension Grpc_Testing_PayloadType: CaseIterable {
70 | // The compiler won't synthesize support with the UNRECOGNIZED case.
71 | public static var allCases: [Grpc_Testing_PayloadType] = [
| |- warning: static property 'allCases' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'allCases' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 | .compressable,
73 | ]
[1384/1414] Compiling GRPCInteroperabilityTestModels test.grpc.swift
[1384/1414] Write Objects.LinkFileList
[1387/1433] Compiling RouteGuideClient Empty.swift
[1388/1433] Emitting module RouteGuideClient
[1389/1433] Compiling RouteGuideClient RouteGuideClient.swift
/Users/admin/builder/spi-builder-workspace/Examples/v1/RouteGuide/Client/RouteGuideClient.swift:220:18: warning: instance method 'syncShutdownGracefully' is unavailable from asynchronous contexts; this can end up blocking the calling thread; this is an error in the Swift 6 language mode; this is an error in the Swift 6 language mode
218 | let group = PlatformSupport.makeEventLoopGroup(loopCount: 1)
219 | defer {
220 | try? group.syncShutdownGracefully()
| `- warning: instance method 'syncShutdownGracefully' is unavailable from asynchronous contexts; this can end up blocking the calling thread; this is an error in the Swift 6 language mode; this is an error in the Swift 6 language mode
221 | }
222 |
/Users/admin/builder/spi-builder-workspace/Examples/v1/RouteGuide/Client/RouteGuideClient.swift:229:28: warning: instance method 'wait' is unavailable from asynchronous contexts; wait() can block indefinitely, prefer get(); this is an error in the Swift 6 language mode
227 | )
228 | defer {
229 | try? channel.close().wait()
| `- warning: instance method 'wait' is unavailable from asynchronous contexts; wait() can block indefinitely, prefer get(); this is an error in the Swift 6 language mode
230 | }
231 |
[1389/1433] Write Objects.LinkFileList
[1391/1433] Compiling ReflectionServer resource_bundle_accessor.swift
[1392/1433] Compiling ReflectionServer GreeterProvider.swift
[1393/1433] Compiling ReflectionServer ReflectionServer.swift
[1394/1433] Emitting module ReflectionServer
[1394/1433] Write Objects.LinkFileList
[1396/1433] Emitting module GRPCConnectionBackoffInteropTest
[1397/1433] Compiling GRPCConnectionBackoffInteropTest main.swift
[1398/1433] Compiling GRPCInteroperabilityTestsImplementation ServerFeatures.swift
[1399/1433] Compiling GRPCInteroperabilityTestsImplementation InteroperabilityTestServer.swift
[1400/1433] Compiling GRPCInteroperabilityTestsImplementation InteroperabilityTestCredentials.swift
[1401/1433] Compiling GRPCInteroperabilityTestsImplementation TestServiceAsyncProvider.swift
[1401/1434] Write Objects.LinkFileList
[1403/1434] Compiling Echo Empty.swift
[1404/1434] Emitting module Echo
/Users/admin/builder/spi-builder-workspace/Examples/v1/Echo/Runtime/Echo.swift:40:14: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 | @available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)
39 | struct Echo: AsyncParsableCommand {
40 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | abstract: "An example to run and call a simple gRPC service for echoing messages.",
42 | subcommands: [Server.self, Client.self]
/Users/admin/builder/spi-builder-workspace/Examples/v1/Echo/Runtime/Echo.swift:46:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
44 |
45 | struct Server: AsyncParsableCommand {
46 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | abstract: "Start a gRPC server providing the Echo service."
48 | )
/Users/admin/builder/spi-builder-workspace/Examples/v1/Echo/Runtime/Echo.swift:70:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
68 |
69 | struct Client: AsyncParsableCommand {
70 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | abstract: "Calls an RPC on the Echo server."
72 | )
[1405/1434] Compiling Echo Echo.swift
/Users/admin/builder/spi-builder-workspace/Examples/v1/Echo/Runtime/Echo.swift:40:14: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 | @available(macOS 10.15, iOS 13, tvOS 13, watchOS 6, *)
39 | struct Echo: AsyncParsableCommand {
40 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | abstract: "An example to run and call a simple gRPC service for echoing messages.",
42 | subcommands: [Server.self, Client.self]
/Users/admin/builder/spi-builder-workspace/Examples/v1/Echo/Runtime/Echo.swift:46:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
44 |
45 | struct Server: AsyncParsableCommand {
46 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | abstract: "Start a gRPC server providing the Echo service."
48 | )
/Users/admin/builder/spi-builder-workspace/Examples/v1/Echo/Runtime/Echo.swift:70:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
68 |
69 | struct Client: AsyncParsableCommand {
70 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | abstract: "Calls an RPC on the Echo server."
72 | )
/Users/admin/builder/spi-builder-workspace/Examples/v1/Echo/Runtime/Echo.swift:59:20: warning: instance method 'syncShutdownGracefully' is unavailable from asynchronous contexts; this can end up blocking the calling thread; this is an error in the Swift 6 language mode; this is an error in the Swift 6 language mode
57 | let group = MultiThreadedEventLoopGroup(numberOfThreads: 1)
58 | defer {
59 | try! group.syncShutdownGracefully()
| `- warning: instance method 'syncShutdownGracefully' is unavailable from asynchronous contexts; this can end up blocking the calling thread; this is an error in the Swift 6 language mode; this is an error in the Swift 6 language mode
60 | }
61 | do {
/Users/admin/builder/spi-builder-workspace/Examples/v1/Echo/Runtime/Echo.swift:95:20: warning: instance method 'syncShutdownGracefully' is unavailable from asynchronous contexts; this can end up blocking the calling thread; this is an error in the Swift 6 language mode; this is an error in the Swift 6 language mode
93 | let group = MultiThreadedEventLoopGroup(numberOfThreads: 1)
94 | defer {
95 | try! group.syncShutdownGracefully()
| `- warning: instance method 'syncShutdownGracefully' is unavailable from asynchronous contexts; this can end up blocking the calling thread; this is an error in the Swift 6 language mode; this is an error in the Swift 6 language mode
96 | }
97 |
/Users/admin/builder/spi-builder-workspace/Examples/v1/Echo/Runtime/Echo.swift:105:37: warning: instance method 'wait' is unavailable from asynchronous contexts; wait() can block indefinitely, prefer get(); this is an error in the Swift 6 language mode
103 | )
104 | defer {
105 | try! client.channel.close().wait()
| `- warning: instance method 'wait' is unavailable from asynchronous contexts; wait() can block indefinitely, prefer get(); this is an error in the Swift 6 language mode
106 | }
107 |
[1405/1434] Write Objects.LinkFileList
[1407/1434] Compiling GRPCInteroperabilityTestsImplementation InteroperabilityTestClientConnection.swift
[1408/1434] Compiling GRPCInteroperabilityTestsImplementation Assertions.swift
/Users/admin/builder/spi-builder-workspace/Sources/GRPCInteroperabilityTestsImplementation/Assertions.swift:49:30: warning: type 'T' does not conform to the 'Sendable' protocol
41 | /// - Important: This should not be run on an event loop since this function calls `wait()` on the
42 | /// given future.
43 | public func waitAndAssertEqual<T: Equatable>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
44 | _ future: EventLoopFuture<T>,
45 | _ value: T,
:
47 | line: UInt = #line
48 | ) throws {
49 | try assertEqual(try future.wait(), value, file: file, line: line)
| `- warning: type 'T' does not conform to the 'Sendable' protocol
50 | }
51 |
/Users/admin/builder/spi-builder-workspace/Sources/GRPCInteroperabilityTestsImplementation/Assertions.swift:62:31: warning: type 'T' does not conform to the 'Sendable' protocol
54 | /// - Important: This should not be run on an event loop since this function calls `wait()` on the
55 | /// given future.
56 | public func waitAndAssertEqual<T: Equatable>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
57 | _ future1: EventLoopFuture<T>,
58 | _ future2: EventLoopFuture<T>,
:
60 | line: UInt = #line
61 | ) throws {
62 | try assertEqual(try future1.wait(), try future2.wait(), file: file, line: line)
| `- warning: type 'T' does not conform to the 'Sendable' protocol
63 | }
64 |
/Users/admin/builder/spi-builder-workspace/Sources/GRPCInteroperabilityTestsImplementation/Assertions.swift:62:51: warning: type 'T' does not conform to the 'Sendable' protocol
54 | /// - Important: This should not be run on an event loop since this function calls `wait()` on the
55 | /// given future.
56 | public func waitAndAssertEqual<T: Equatable>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
57 | _ future1: EventLoopFuture<T>,
58 | _ future2: EventLoopFuture<T>,
:
60 | line: UInt = #line
61 | ) throws {
62 | try assertEqual(try future1.wait(), try future2.wait(), file: file, line: line)
| `- warning: type 'T' does not conform to the 'Sendable' protocol
63 | }
64 |
/Users/admin/builder/spi-builder-workspace/Sources/GRPCInteroperabilityTestsImplementation/Assertions.swift:72:26: warning: type 'T' does not conform to the 'Sendable' protocol
63 | }
64 |
65 | public func waitAndAssert<T>(
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
66 | _ future: EventLoopFuture<T>,
67 | file: StaticString = #fileID,
:
70 | verify: (T) -> Bool
71 | ) throws {
72 | let value = try future.wait()
| `- warning: type 'T' does not conform to the 'Sendable' protocol
73 | guard verify(value) else {
74 | throw AssertionError(message: message, file: file, line: line)
[1409/1434] Compiling GRPCInteroperabilityTestsImplementation InteroperabilityTestCase.swift
[1410/1434] Compiling GRPCInteroperabilityTestsImplementation GRPCTestingConvenienceMethods.swift
[1411/1434] Emitting module GRPCInteroperabilityTestsImplementation
[1412/1434] Compiling GRPCInteroperabilityTestsImplementation InteroperabilityTestCases.swift
/Users/admin/builder/spi-builder-workspace/Sources/GRPCInteroperabilityTestsImplementation/InteroperabilityTestCases.swift:775:53: warning: capture of 'self' with non-sendable type 'CustomMetadata' in a '@Sendable' closure
764 | /// - metadata with key "x-grpc-test-echo-trailing-bin" and value 0xababab is received in the
765 | /// trailing metadata for calls in Procedure steps 1 and 2.
766 | class CustomMetadata: InteroperabilityTest {
| `- note: class 'CustomMetadata' does not conform to the 'Sendable' protocol
767 | let initialMetadataName = "x-grpc-test-echo-initial"
768 | let initialMetadataValue = "test_initial_metadata_value"
:
773 | func checkMetadata<SpecificClientCall>(call: SpecificClientCall) throws
774 | where SpecificClientCall: ClientCall {
775 | let initialName = call.initialMetadata.map { $0[self.initialMetadataName] }
| `- warning: capture of 'self' with non-sendable type 'CustomMetadata' in a '@Sendable' closure
776 | try waitAndAssertEqual(initialName, [self.initialMetadataValue])
777 |
/Users/admin/builder/spi-builder-workspace/Sources/GRPCInteroperabilityTestsImplementation/InteroperabilityTestCases.swift:778:55: warning: capture of 'self' with non-sendable type 'CustomMetadata' in a '@Sendable' closure
764 | /// - metadata with key "x-grpc-test-echo-trailing-bin" and value 0xababab is received in the
765 | /// trailing metadata for calls in Procedure steps 1 and 2.
766 | class CustomMetadata: InteroperabilityTest {
| `- note: class 'CustomMetadata' does not conform to the 'Sendable' protocol
767 | let initialMetadataName = "x-grpc-test-echo-initial"
768 | let initialMetadataValue = "test_initial_metadata_value"
:
776 | try waitAndAssertEqual(initialName, [self.initialMetadataValue])
777 |
778 | let trailingName = call.trailingMetadata.map { $0[self.trailingMetadataName] }
| `- warning: capture of 'self' with non-sendable type 'CustomMetadata' in a '@Sendable' closure
779 | try waitAndAssertEqual(trailingName, [self.trailingMetadataValue])
780 |
/Users/admin/builder/spi-builder-workspace/Sources/GRPCInteroperabilityTestsImplementation/InteroperabilityTestCases.swift:1014:7: warning: capture of 'call' with non-sendable type 'BidirectionalStreamingCall<Grpc_Testing_StreamingOutputCallRequest, Grpc_Testing_StreamingOutputCallResponse>' in a '@Sendable' closure
1012 |
1013 | promise.futureResult.whenSuccess {
1014 | call.cancel(promise: nil)
| `- warning: capture of 'call' with non-sendable type 'BidirectionalStreamingCall<Grpc_Testing_StreamingOutputCallRequest, Grpc_Testing_StreamingOutputCallResponse>' in a '@Sendable' closure
1015 | }
1016 |
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/ClientCalls/BidirectionalStreamingCall.swift:28:15: note: generic struct 'BidirectionalStreamingCall' does not conform to the 'Sendable' protocol
26 | /// Note: while this object is a `struct`, its implementation delegates to ``Call``. It therefore
27 | /// has reference semantics.
28 | public struct BidirectionalStreamingCall<
| `- note: generic struct 'BidirectionalStreamingCall' does not conform to the 'Sendable' protocol
29 | RequestPayload,
30 | ResponsePayload
/Users/admin/builder/spi-builder-workspace/Sources/GRPCInteroperabilityTestsImplementation/InteroperabilityTestCases.swift:17:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GRPC'
15 | */
16 | import Dispatch
17 | import GRPC
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GRPC'
18 | import GRPCInteroperabilityTestModels
19 | import NIOHPACK
[1413/1434] Compiling GRPCInteroperabilityTestsImplementation TestServiceProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/GRPCInteroperabilityTestsImplementation/TestServiceProvider.swift:154:16: warning: capture of 'context' with non-sendable type 'StreamingResponseCallContext<Grpc_Testing_StreamingOutputCallResponse>' in a '@Sendable' closure
152 | // explicitly requested; we'll do the same.
153 | let compression: Compression = responseParameter.compressed.value ? .enabled : .disabled
154 | return context.sendResponse(response, compression: compression)
| `- warning: capture of 'context' with non-sendable type 'StreamingResponseCallContext<Grpc_Testing_StreamingOutputCallResponse>' in a '@Sendable' closure
155 | }
156 | }
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/ServerCallContexts/StreamingResponseCallContext.swift:25:12: note: generic class 'StreamingResponseCallContext' does not conform to the 'Sendable' protocol
23 | /// An abstract base class for a context provided to handlers for RPCs which may return multiple
24 | /// responses, i.e. server streaming and bidirectional streaming RPCs.
25 | open class StreamingResponseCallContext<ResponsePayload>: ServerCallContextBase {
| `- note: generic class 'StreamingResponseCallContext' does not conform to the 'Sendable' protocol
26 | /// A promise for the ``GRPCStatus``, the end of the response stream. This must be completed by
27 | /// bidirectional streaming RPC handlers to end the RPC.
/Users/admin/builder/spi-builder-workspace/Sources/GRPCInteroperabilityTestsImplementation/TestServiceProvider.swift:17:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GRPC'
15 | */
16 |
17 | import GRPC
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'GRPC'
18 | import GRPCInteroperabilityTestModels
19 | import NIOCore
/Users/admin/builder/spi-builder-workspace/Sources/GRPCInteroperabilityTestsImplementation/TestServiceProvider.swift:169:30: warning: type '(StreamEvent<Grpc_Testing_StreamingInputCallRequest>) -> Void' does not conform to the 'Sendable' protocol
167 | var aggregatePayloadSize = 0
168 |
169 | return context.eventLoop.makeSucceededFuture({ event in
| |- warning: type '(StreamEvent<Grpc_Testing_StreamingInputCallRequest>) -> Void' does not conform to the 'Sendable' protocol
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
170 | switch event {
171 | case let .message(request):
/Users/admin/builder/spi-builder-workspace/Sources/GRPCInteroperabilityTestsImplementation/TestServiceProvider.swift:233:30: warning: type '(StreamEvent<Grpc_Testing_StreamingOutputCallRequest>) -> Void' does not conform to the 'Sendable' protocol
231 | }
232 |
233 | return context.eventLoop.makeSucceededFuture(streamHandler(_:))
| |- warning: type '(StreamEvent<Grpc_Testing_StreamingOutputCallRequest>) -> Void' does not conform to the 'Sendable' protocol
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
234 | }
235 |
/Users/admin/builder/spi-builder-workspace/Sources/GRPCInteroperabilityTestsImplementation/TestServiceProvider.swift:223:15: warning: capture of 'context' with non-sendable type 'StreamingResponseCallContext<Grpc_Testing_StreamingOutputCallResponse>' in a '@Sendable' closure
221 |
222 | sendQueue = sendQueue.flatMap {
223 | context.sendResponse(response)
| `- warning: capture of 'context' with non-sendable type 'StreamingResponseCallContext<Grpc_Testing_StreamingOutputCallResponse>' in a '@Sendable' closure
224 | }
225 | }
/Users/admin/builder/spi-builder-workspace/Sources/GRPC/ServerCallContexts/StreamingResponseCallContext.swift:25:12: note: generic class 'StreamingResponseCallContext' does not conform to the 'Sendable' protocol
23 | /// An abstract base class for a context provided to handlers for RPCs which may return multiple
24 | /// responses, i.e. server streaming and bidirectional streaming RPCs.
25 | open class StreamingResponseCallContext<ResponsePayload>: ServerCallContextBase {
| `- note: generic class 'StreamingResponseCallContext' does not conform to the 'Sendable' protocol
26 | /// A promise for the ``GRPCStatus``, the end of the response stream. This must be completed by
27 | /// bidirectional streaming RPC handlers to end the RPC.
[1413/1436] Linking GRPCPerformanceTests
[1415/1436] Emitting module GRPCInteroperabilityTests
/Users/admin/builder/spi-builder-workspace/Sources/GRPCInteroperabilityTests/main.swift:95:14: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
93 |
94 | struct InteroperabilityTests: ParsableCommand {
95 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 | abstract: "gRPC Swift Interoperability Runner",
97 | subcommands: [StartServer.self, RunTest.self, ListTests.self]
/Users/admin/builder/spi-builder-workspace/Sources/GRPCInteroperabilityTests/main.swift:101:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
99 |
100 | struct StartServer: ParsableCommand {
101 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 | abstract: "Start the gRPC Swift interoperability test server."
103 | )
/Users/admin/builder/spi-builder-workspace/Sources/GRPCInteroperabilityTests/main.swift:130:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
128 |
129 | struct RunTest: ParsableCommand {
130 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 | abstract: "Runs a gRPC interoperability test using a gRPC Swift client."
132 | )
/Users/admin/builder/spi-builder-workspace/Sources/GRPCInteroperabilityTests/main.swift:159:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
157 |
158 | struct ListTests: ParsableCommand {
159 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
160 | abstract: "List all interoperability test names."
161 | )
[1416/1436] Compiling GRPCInteroperabilityTests main.swift
/Users/admin/builder/spi-builder-workspace/Sources/GRPCInteroperabilityTests/main.swift:95:14: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
93 |
94 | struct InteroperabilityTests: ParsableCommand {
95 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 | abstract: "gRPC Swift Interoperability Runner",
97 | subcommands: [StartServer.self, RunTest.self, ListTests.self]
/Users/admin/builder/spi-builder-workspace/Sources/GRPCInteroperabilityTests/main.swift:101:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
99 |
100 | struct StartServer: ParsableCommand {
101 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 | abstract: "Start the gRPC Swift interoperability test server."
103 | )
/Users/admin/builder/spi-builder-workspace/Sources/GRPCInteroperabilityTests/main.swift:130:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
128 |
129 | struct RunTest: ParsableCommand {
130 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 | abstract: "Runs a gRPC interoperability test using a gRPC Swift client."
132 | )
/Users/admin/builder/spi-builder-workspace/Sources/GRPCInteroperabilityTests/main.swift:159:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
157 |
158 | struct ListTests: ParsableCommand {
159 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
160 | abstract: "List all interoperability test names."
161 | )
[1416/1436] Applying GRPCPerformanceTests
[1417/1436] Write Objects.LinkFileList
[1418/1436] Linking HelloWorldServer
[1419/1436] Applying HelloWorldServer
[1420/1436] Linking HelloWorldClient
[1421/1436] Applying HelloWorldClient
[1422/1436] Linking PacketCapture
[1423/1436] Linking RouteGuideServer
[1424/1436] Linking RouteGuideClient
[1425/1436] Applying PacketCapture
[1426/1436] Applying RouteGuideServer
[1427/1436] Applying RouteGuideClient
[1428/1436] Linking ReflectionServer
[1429/1436] Linking GRPCConnectionBackoffInteropTest
[1430/1436] Applying ReflectionServer
[1431/1436] Applying GRPCConnectionBackoffInteropTest
[1432/1436] Linking Echo
[1433/1436] Applying Echo
[1434/1436] Linking GRPCInteroperabilityTests
[1435/1436] Applying GRPCInteroperabilityTests
Build complete! (56.03s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.65.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
},
{
"identity" : "swift-nio-http2",
"requirement" : {
"range" : [
{
"lower_bound" : "1.36.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio-http2.git"
},
{
"identity" : "swift-nio-transport-services",
"requirement" : {
"range" : [
{
"lower_bound" : "1.24.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio-transport-services.git"
},
{
"identity" : "swift-nio-extras",
"requirement" : {
"range" : [
{
"lower_bound" : "1.24.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio-extras.git"
},
{
"identity" : "swift-collections",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.5",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-collections.git"
},
{
"identity" : "swift-atomics",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-atomics.git"
},
{
"identity" : "swift-protobuf",
"requirement" : {
"range" : [
{
"lower_bound" : "1.28.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-protobuf.git"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.4",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
},
{
"identity" : "swift-nio-ssl",
"requirement" : {
"range" : [
{
"lower_bound" : "2.23.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio-ssl.git"
}
],
"manifest_display_name" : "grpc-swift",
"name" : "grpc-swift",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "GRPC",
"targets" : [
"GRPC"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "CGRPCZlib",
"targets" : [
"CGRPCZlib"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "GRPCReflectionService",
"targets" : [
"GRPCReflectionService"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "protoc-gen-grpc-swift",
"targets" : [
"protoc-gen-grpc-swift"
],
"type" : {
"executable" : null
}
},
{
"name" : "GRPCSwiftPlugin",
"targets" : [
"GRPCSwiftPlugin"
],
"type" : {
"plugin" : null
}
},
{
"name" : "RouteGuideServer",
"targets" : [
"RouteGuideServer"
],
"type" : {
"executable" : null
}
},
{
"name" : "RouteGuideClient",
"targets" : [
"RouteGuideClient"
],
"type" : {
"executable" : null
}
},
{
"name" : "ReflectionServer",
"targets" : [
"ReflectionServer"
],
"type" : {
"executable" : null
}
},
{
"name" : "PacketCapture",
"targets" : [
"PacketCapture"
],
"type" : {
"executable" : null
}
},
{
"name" : "HelloWorldServer",
"targets" : [
"HelloWorldServer"
],
"type" : {
"executable" : null
}
},
{
"name" : "HelloWorldClient",
"targets" : [
"HelloWorldClient"
],
"type" : {
"executable" : null
}
},
{
"name" : "GRPCPerformanceTests",
"targets" : [
"GRPCPerformanceTests"
],
"type" : {
"executable" : null
}
},
{
"name" : "GRPCInteroperabilityTests",
"targets" : [
"GRPCInteroperabilityTests"
],
"type" : {
"executable" : null
}
},
{
"name" : "GRPCConnectionBackoffInteropTest",
"targets" : [
"GRPCConnectionBackoffInteropTest"
],
"type" : {
"executable" : null
}
},
{
"name" : "Echo",
"targets" : [
"Echo"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "protoc_gen_grpc_swift",
"module_type" : "SwiftTarget",
"name" : "protoc-gen-grpc-swift",
"path" : "Sources/protoc-gen-grpc-swift",
"product_dependencies" : [
"SwiftProtobuf",
"SwiftProtobufPluginLibrary"
],
"product_memberships" : [
"protoc-gen-grpc-swift",
"GRPCSwiftPlugin"
],
"sources" : [
"GenerateGRPC.swift",
"Generator-Client+AsyncAwait.swift",
"Generator-Client.swift",
"Generator-Metadata.swift",
"Generator-Names.swift",
"Generator-Server+AsyncAwait.swift",
"Generator-Server.swift",
"Generator.swift",
"Options.swift",
"StreamingType.swift",
"Types.swift",
"Version.swift"
],
"type" : "executable"
},
{
"c99name" : "RouteGuideServer",
"module_type" : "SwiftTarget",
"name" : "RouteGuideServer",
"path" : "Examples/v1/RouteGuide/Server",
"product_dependencies" : [
"NIOCore",
"NIOConcurrencyHelpers",
"NIOPosix",
"ArgumentParser"
],
"product_memberships" : [
"RouteGuideServer"
],
"sources" : [
"RouteGuideProvider.swift",
"RouteGuideServer.swift"
],
"target_dependencies" : [
"GRPC",
"RouteGuideModel"
],
"type" : "executable"
},
{
"c99name" : "RouteGuideModel",
"module_type" : "SwiftTarget",
"name" : "RouteGuideModel",
"path" : "Examples/v1/RouteGuide/Model",
"product_dependencies" : [
"NIO",
"SwiftProtobuf"
],
"product_memberships" : [
"RouteGuideServer",
"RouteGuideClient"
],
"sources" : [
"route_guide.grpc.swift",
"route_guide.pb.swift"
],
"target_dependencies" : [
"GRPC"
],
"type" : "library"
},
{
"c99name" : "RouteGuideClient",
"module_type" : "SwiftTarget",
"name" : "RouteGuideClient",
"path" : "Examples/v1/RouteGuide/Client",
"product_dependencies" : [
"NIOCore",
"NIOPosix",
"ArgumentParser"
],
"product_memberships" : [
"RouteGuideClient"
],
"sources" : [
"Empty.swift",
"RouteGuideClient.swift"
],
"target_dependencies" : [
"GRPC",
"RouteGuideModel"
],
"type" : "executable"
},
{
"c99name" : "ReflectionServer",
"module_type" : "SwiftTarget",
"name" : "ReflectionServer",
"path" : "Examples/v1/ReflectionService",
"product_dependencies" : [
"NIOCore",
"NIOPosix",
"ArgumentParser"
],
"product_memberships" : [
"ReflectionServer"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Examples/v1/ReflectionService/Generated",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"GreeterProvider.swift",
"ReflectionServer.swift"
],
"target_dependencies" : [
"GRPC",
"GRPCReflectionService",
"HelloWorldModel",
"EchoModel",
"EchoImplementation"
],
"type" : "executable"
},
{
"c99name" : "PacketCapture",
"module_type" : "SwiftTarget",
"name" : "PacketCapture",
"path" : "Examples/v1/PacketCapture",
"product_dependencies" : [
"NIOCore",
"NIOPosix",
"NIOExtras",
"ArgumentParser"
],
"product_memberships" : [
"PacketCapture"
],
"sources" : [
"Empty.swift",
"PacketCapture.swift"
],
"target_dependencies" : [
"GRPC",
"EchoModel"
],
"type" : "executable"
},
{
"c99name" : "HelloWorldServer",
"module_type" : "SwiftTarget",
"name" : "HelloWorldServer",
"path" : "Examples/v1/HelloWorld/Server",
"product_dependencies" : [
"NIOCore",
"NIOPosix",
"ArgumentParser"
],
"product_memberships" : [
"HelloWorldServer"
],
"sources" : [
"GreeterProvider.swift",
"HelloWorldServer.swift"
],
"target_dependencies" : [
"GRPC",
"HelloWorldModel"
],
"type" : "executable"
},
{
"c99name" : "HelloWorldModel",
"module_type" : "SwiftTarget",
"name" : "HelloWorldModel",
"path" : "Examples/v1/HelloWorld/Model",
"product_dependencies" : [
"NIO",
"SwiftProtobuf"
],
"product_memberships" : [
"ReflectionServer",
"HelloWorldServer",
"HelloWorldClient"
],
"sources" : [
"helloworld.grpc.swift",
"helloworld.pb.swift"
],
"target_dependencies" : [
"GRPC"
],
"type" : "library"
},
{
"c99name" : "HelloWorldClient",
"module_type" : "SwiftTarget",
"name" : "HelloWorldClient",
"path" : "Examples/v1/HelloWorld/Client",
"product_dependencies" : [
"NIOCore",
"NIOPosix",
"ArgumentParser"
],
"product_memberships" : [
"HelloWorldClient"
],
"sources" : [
"HelloWorldClient.swift"
],
"target_dependencies" : [
"GRPC",
"HelloWorldModel"
],
"type" : "executable"
},
{
"c99name" : "GRPCTests",
"module_type" : "SwiftTarget",
"name" : "GRPCTests",
"path" : "Tests/GRPCTests",
"product_dependencies" : [
"NIOCore",
"NIOConcurrencyHelpers",
"NIOPosix",
"NIOTLS",
"NIOHTTP1",
"NIOHTTP2",
"NIOEmbedded",
"NIOTransportServices",
"Logging",
"Atomics",
"NIOSSL"
],
"sources" : [
"ALPNConfigurationTests.swift",
"AnyServiceClientTests.swift",
"Array+BoundsCheckingTests.swift",
"AsyncAwaitSupport/AsyncClientTests.swift",
"AsyncAwaitSupport/AsyncIntegrationTests.swift",
"AsyncAwaitSupport/AsyncSequence+Helpers.swift",
"AsyncAwaitSupport/AsyncServerHandler/ServerHandlerStateMachine/ServerHandlerStateMachineTests.swift",
"AsyncAwaitSupport/AsyncServerHandler/ServerInterceptorStateMachine/ServerInterceptorStateMachineStreamStateTests.swift",
"AsyncAwaitSupport/AsyncServerHandler/ServerInterceptorStateMachine/ServerInterceptorStateMachineTests.swift",
"AsyncAwaitSupport/GRPCAsyncRequestStreamTests.swift",
"AsyncAwaitSupport/GRPCAsyncResponseStreamWriterTests.swift",
"AsyncAwaitSupport/InterceptorsAsyncTests.swift",
"AsyncAwaitSupport/XCTest+AsyncAwait.swift",
"BasicEchoTestCase.swift",
"CallPathTests.swift",
"CallStartBehaviorTests.swift",
"CapturingLogHandler.swift",
"ClientCallTests.swift",
"ClientCancellingTests.swift",
"ClientClosedChannelTests.swift",
"ClientConnectionBackoffTests.swift",
"ClientEventLoopPreferenceTests.swift",
"ClientInterceptorPipelineTests.swift",
"ClientQuiescingTests.swift",
"ClientTLSFailureTests.swift",
"ClientTLSTests.swift",
"ClientTimeoutTests.swift",
"ClientTransportTests.swift",
"CoalescingLengthPrefixedMessageWriterTests.swift",
"Codegen/Normalization/NormalizationProvider.swift",
"Codegen/Normalization/NormalizationTests.swift",
"Codegen/Normalization/normalization.grpc.swift",
"Codegen/Normalization/normalization.pb.swift",
"Codegen/Serialization/SerializationTests.swift",
"CompressionTests.swift",
"ConfigurationTests.swift",
"ConnectionBackoffTests.swift",
"ConnectionFailingTests.swift",
"ConnectionManagerTests.swift",
"ConnectionPool/ConnectionPoolDelegates.swift",
"ConnectionPool/ConnectionPoolTests.swift",
"ConnectionPool/GRPCChannelPoolTests.swift",
"ConnectionPool/PoolManagerStateMachineTests.swift",
"ConnectivityStateMonitorTests.swift",
"DebugChannelInitializerTests.swift",
"DelegatingErrorHandlerTests.swift",
"EchoHelpers/EchoMessageHelpers.swift",
"EchoHelpers/Interceptors/DelegatingClientInterceptor.swift",
"EchoHelpers/Interceptors/EchoInterceptorFactories.swift",
"EchoHelpers/Providers/DelegatingOnCloseEchoProvider.swift",
"EchoHelpers/Providers/FailingEchoProvider.swift",
"EchoHelpers/Providers/MetadataEchoProvider.swift",
"EchoHelpers/Providers/NeverResolvingEchoProvider.swift",
"EchoMetadataTests.swift",
"EchoTestClientTests.swift",
"ErrorRecordingDelegate.swift",
"EventLoopFuture+Assertions.swift",
"FakeChannelTests.swift",
"FakeResponseStreamTests.swift",
"FunctionalTests.swift",
"GRPCAsyncClientCallTests.swift",
"GRPCAsyncServerHandlerTests.swift",
"GRPCClientChannelHandlerTests.swift",
"GRPCClientStateMachineTests.swift",
"GRPCCustomPayloadTests.swift",
"GRPCIdleHandlerStateMachineTests.swift",
"GRPCIdleTests.swift",
"GRPCInteroperabilityTests.swift",
"GRPCKeepaliveTests.swift",
"GRPCMessageLengthLimitTests.swift",
"GRPCNetworkFrameworkTests.swift",
"GRPCPingHandlerTests.swift",
"GRPCReflectionServiceTests/Generated/v1/reflection-v1.grpc.swift",
"GRPCReflectionServiceTests/Generated/v1/reflection-v1.pb.swift",
"GRPCReflectionServiceTests/Generated/v1Alpha/reflection-v1alpha.grpc.swift",
"GRPCReflectionServiceTests/Generated/v1Alpha/reflection-v1alpha.pb.swift",
"GRPCReflectionServiceTests/ReflectionServiceIntegrationTests.swift",
"GRPCReflectionServiceTests/ReflectionServiceUnitTests.swift",
"GRPCReflectionServiceTests/Utils.swift",
"GRPCServerPipelineConfiguratorTests.swift",
"GRPCStatusCodeTests.swift",
"GRPCStatusMessageMarshallerTests.swift",
"GRPCStatusTests.swift",
"GRPCTestCase.swift",
"GRPCTimeoutTests.swift",
"GRPCTypeSizeTests.swift",
"GRPCWebToHTTP2ServerCodecTests.swift",
"GRPCWebToHTTP2StateMachineTests.swift",
"HTTP2MaxConcurrentStreamsTests.swift",
"HTTP2ToRawGRPCStateMachineTests.swift",
"HTTPVersionParserTests.swift",
"HeaderNormalizationTests.swift",
"ImmediateServerFailureTests.swift",
"InterceptedRPCCancellationTests.swift",
"InterceptorsTests.swift",
"LazyEventLoopPromiseTests.swift",
"LengthPrefixedMessageReaderTests.swift",
"MaxAgeTests.swift",
"MessageEncodingHeaderValidatorTests.swift",
"MutualTLSTests.swift",
"OneOrManyQueueTests.swift",
"PlatformSupportTests.swift",
"RequestIDProviderTests.swift",
"RequestIDTests.swift",
"SampleCertificate+Assertions.swift",
"ServerErrorDelegateTests.swift",
"ServerFuzzingRegressionTests.swift",
"ServerInterceptorPipelineTests.swift",
"ServerInterceptorTests.swift",
"ServerOnCloseTests.swift",
"ServerQuiescingTests.swift",
"ServerTLSErrorTests.swift",
"ServerTests.swift",
"ServerThrowingTests.swift",
"ServerWebTests.swift",
"StopwatchTests.swift",
"StreamResponseHandlerRetainCycleTests.swift",
"StreamingRequestClientCallTests.swift",
"TestClientExample.swift",
"TimeLimitTests.swift",
"UnaryServerHandlerTests.swift",
"UserInfoTests.swift",
"VsockSocketTests.swift",
"WebCORSHandlerTests.swift",
"WithConnectedSocketTests.swift",
"XCTestHelpers.swift",
"ZeroLengthWriteTests.swift",
"ZlibTests.swift"
],
"target_dependencies" : [
"GRPC",
"EchoModel",
"EchoImplementation",
"HelloWorldModel",
"GRPCInteroperabilityTestModels",
"GRPCInteroperabilityTestsImplementation",
"GRPCSampleData",
"GRPCReflectionService"
],
"type" : "test"
},
{
"c99name" : "GRPCSwiftPlugin",
"module_type" : "PluginTarget",
"name" : "GRPCSwiftPlugin",
"path" : "Plugins/GRPCSwiftPlugin",
"plugin_capability" : {
"type" : "buildTool"
},
"product_memberships" : [
"GRPCSwiftPlugin"
],
"sources" : [
"plugin.swift"
],
"target_dependencies" : [
"protoc-gen-grpc-swift"
],
"type" : "plugin"
},
{
"c99name" : "GRPCSampleData",
"module_type" : "SwiftTarget",
"name" : "GRPCSampleData",
"path" : "Sources/GRPCSampleData",
"product_dependencies" : [
"NIOSSL"
],
"product_memberships" : [
"GRPCPerformanceTests",
"Echo"
],
"sources" : [
"GRPCSwiftCertificate.swift"
],
"type" : "library"
},
{
"c99name" : "GRPCReflectionService",
"module_type" : "SwiftTarget",
"name" : "GRPCReflectionService",
"path" : "Sources/GRPCReflectionService",
"product_dependencies" : [
"NIO",
"SwiftProtobuf"
],
"product_memberships" : [
"GRPCReflectionService",
"ReflectionServer"
],
"sources" : [
"Server/ReflectionService.swift",
"Server/ReflectionServiceV1.swift",
"Server/ReflectionServiceV1Alpha.swift",
"v1/reflection-v1.grpc.swift",
"v1/reflection-v1.pb.swift",
"v1Alpha/reflection-v1alpha.grpc.swift",
"v1Alpha/reflection-v1alpha.pb.swift"
],
"target_dependencies" : [
"GRPC"
],
"type" : "library"
},
{
"c99name" : "GRPCPerformanceTests",
"module_type" : "SwiftTarget",
"name" : "GRPCPerformanceTests",
"path" : "Sources/GRPCPerformanceTests",
"product_dependencies" : [
"NIOCore",
"NIOEmbedded",
"NIOPosix",
"NIOHTTP2",
"ArgumentParser"
],
"product_memberships" : [
"GRPCPerformanceTests"
],
"sources" : [
"Benchmark.swift",
"BenchmarkUtils.swift",
"Benchmarks/EmbeddedClientThroughput.swift",
"Benchmarks/EmbeddedServer.swift",
"Benchmarks/MinimalEchoProvider.swift",
"Benchmarks/PercentEncoding.swift",
"Benchmarks/ServerProvidingBenchmark.swift",
"Benchmarks/UnaryThroughput.swift",
"Benchmarks/echo.grpc.swift",
"Benchmarks/echo.pb.swift",
"main.swift"
],
"target_dependencies" : [
"GRPC",
"GRPCSampleData"
],
"type" : "executable"
},
{
"c99name" : "GRPCInteroperabilityTestsImplementation",
"module_type" : "SwiftTarget",
"name" : "GRPCInteroperabilityTestsImplementation",
"path" : "Sources/GRPCInteroperabilityTestsImplementation",
"product_dependencies" : [
"NIOCore",
"NIOPosix",
"NIOHTTP1",
"Logging",
"NIOSSL"
],
"product_memberships" : [
"GRPCInteroperabilityTests"
],
"sources" : [
"Assertions.swift",
"GRPCTestingConvenienceMethods.swift",
"InteroperabilityTestCase.swift",
"InteroperabilityTestCases.swift",
"InteroperabilityTestClientConnection.swift",
"InteroperabilityTestCredentials.swift",
"InteroperabilityTestServer.swift",
"ServerFeatures.swift",
"TestServiceAsyncProvider.swift",
"TestServiceProvider.swift"
],
"target_dependencies" : [
"GRPC",
"GRPCInteroperabilityTestModels"
],
"type" : "library"
},
{
"c99name" : "GRPCInteroperabilityTests",
"module_type" : "SwiftTarget",
"name" : "GRPCInteroperabilityTests",
"path" : "Sources/GRPCInteroperabilityTests",
"product_dependencies" : [
"NIOCore",
"NIOPosix",
"Logging",
"ArgumentParser"
],
"product_memberships" : [
"GRPCInteroperabilityTests"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"GRPC",
"GRPCInteroperabilityTestsImplementation"
],
"type" : "executable"
},
{
"c99name" : "GRPCInteroperabilityTestModels",
"module_type" : "SwiftTarget",
"name" : "GRPCInteroperabilityTestModels",
"path" : "Sources/GRPCInteroperabilityTestModels",
"product_dependencies" : [
"NIO",
"SwiftProtobuf"
],
"product_memberships" : [
"GRPCInteroperabilityTests",
"GRPCConnectionBackoffInteropTest"
],
"sources" : [
"Generated/empty.pb.swift",
"Generated/messages.pb.swift",
"Generated/test.grpc.swift",
"Generated/test.pb.swift"
],
"target_dependencies" : [
"GRPC"
],
"type" : "library"
},
{
"c99name" : "GRPCConnectionBackoffInteropTest",
"module_type" : "SwiftTarget",
"name" : "GRPCConnectionBackoffInteropTest",
"path" : "Sources/GRPCConnectionBackoffInteropTest",
"product_dependencies" : [
"NIOCore",
"NIOPosix",
"Logging",
"ArgumentParser"
],
"product_memberships" : [
"GRPCConnectionBackoffInteropTest"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"GRPC",
"GRPCInteroperabilityTestModels"
],
"type" : "executable"
},
{
"c99name" : "GRPC",
"module_type" : "SwiftTarget",
"name" : "GRPC",
"path" : "Sources/GRPC",
"product_dependencies" : [
"NIO",
"NIOCore",
"NIOPosix",
"NIOEmbedded",
"NIOFoundationCompat",
"NIOTLS",
"NIOTransportServices",
"NIOHTTP1",
"NIOHTTP2",
"NIOExtras",
"Logging",
"SwiftProtobuf",
"DequeModule",
"Atomics",
"NIOSSL"
],
"product_memberships" : [
"GRPC",
"GRPCReflectionService",
"RouteGuideServer",
"RouteGuideClient",
"ReflectionServer",
"PacketCapture",
"HelloWorldServer",
"HelloWorldClient",
"GRPCPerformanceTests",
"GRPCInteroperabilityTests",
"GRPCConnectionBackoffInteropTest",
"Echo"
],
"sources" : [
"Array+BoundsCheck.swift",
"AsyncAwaitSupport/AsyncServerHandler/ServerHandlerStateMachine/ServerHandlerStateMachine+Actions.swift",
"AsyncAwaitSupport/AsyncServerHandler/ServerHandlerStateMachine/ServerHandlerStateMachine+Draining.swift",
"AsyncAwaitSupport/AsyncServerHandler/ServerHandlerStateMachine/ServerHandlerStateMachine+Finished.swift",
"AsyncAwaitSupport/AsyncServerHandler/ServerHandlerStateMachine/ServerHandlerStateMachine+Handling.swift",
"AsyncAwaitSupport/AsyncServerHandler/ServerHandlerStateMachine/ServerHandlerStateMachine+Idle.swift",
"AsyncAwaitSupport/AsyncServerHandler/ServerHandlerStateMachine/ServerHandlerStateMachine.swift",
"AsyncAwaitSupport/AsyncServerHandler/ServerInterceptorStateMachine/ServerInterceptorStateMachine+Actions.swift",
"AsyncAwaitSupport/AsyncServerHandler/ServerInterceptorStateMachine/ServerInterceptorStateMachine+Finished.swift",
"AsyncAwaitSupport/AsyncServerHandler/ServerInterceptorStateMachine/ServerInterceptorStateMachine+Intercepting.swift",
"AsyncAwaitSupport/AsyncServerHandler/ServerInterceptorStateMachine/ServerInterceptorStateMachine.swift",
"AsyncAwaitSupport/AsyncServerHandler/ServerInterceptorStateMachine/StreamState.swift",
"AsyncAwaitSupport/Call+AsyncRequestStreamWriter.swift",
"AsyncAwaitSupport/CancellationError+GRPCStatusTransformable.swift",
"AsyncAwaitSupport/GRPCAsyncBidirectionalStreamingCall.swift",
"AsyncAwaitSupport/GRPCAsyncClientStreamingCall.swift",
"AsyncAwaitSupport/GRPCAsyncRequestStream.swift",
"AsyncAwaitSupport/GRPCAsyncRequestStreamWriter.swift",
"AsyncAwaitSupport/GRPCAsyncResponseStream.swift",
"AsyncAwaitSupport/GRPCAsyncResponseStreamWriter.swift",
"AsyncAwaitSupport/GRPCAsyncSequenceProducerDelegate.swift",
"AsyncAwaitSupport/GRPCAsyncServerCallContext.swift",
"AsyncAwaitSupport/GRPCAsyncServerHandler.swift",
"AsyncAwaitSupport/GRPCAsyncServerStreamingCall.swift",
"AsyncAwaitSupport/GRPCAsyncUnaryCall.swift",
"AsyncAwaitSupport/GRPCAsyncWriterSinkDelegate.swift",
"AsyncAwaitSupport/GRPCChannel+AsyncAwaitSupport.swift",
"AsyncAwaitSupport/GRPCClient+AsyncAwaitSupport.swift",
"AsyncAwaitSupport/GRPCSendable.swift",
"AsyncAwaitSupport/NIOAsyncWrappers.swift",
"CallHandlers/BidirectionalStreamingServerHandler.swift",
"CallHandlers/ClientStreamingServerHandler.swift",
"CallHandlers/ServerHandlerProtocol.swift",
"CallHandlers/ServerStreamingServerHandler.swift",
"CallHandlers/UnaryServerHandler.swift",
"CallOptions.swift",
"ClientCalls/BidirectionalStreamingCall.swift",
"ClientCalls/Call.swift",
"ClientCalls/CallDetails.swift",
"ClientCalls/ClientCall.swift",
"ClientCalls/ClientStreamingCall.swift",
"ClientCalls/LazyEventLoopPromise.swift",
"ClientCalls/ResponseContainers.swift",
"ClientCalls/ResponsePartContainer.swift",
"ClientCalls/ServerStreamingCall.swift",
"ClientCalls/UnaryCall.swift",
"ClientConnection.swift",
"ClientConnectionConfiguration+NIOSSL.swift",
"ClientErrorDelegate.swift",
"CoalescingLengthPrefixedMessageWriter.swift",
"Compression/CompressionAlgorithm.swift",
"Compression/DecompressionLimit.swift",
"Compression/MessageEncoding.swift",
"Compression/Zlib.swift",
"ConnectionBackoff.swift",
"ConnectionKeepalive.swift",
"ConnectionManager+Delegates.swift",
"ConnectionManager.swift",
"ConnectionManagerChannelProvider.swift",
"ConnectionPool/ConnectionManagerID.swift",
"ConnectionPool/ConnectionPool+PerConnectionState.swift",
"ConnectionPool/ConnectionPool+Waiter.swift",
"ConnectionPool/ConnectionPool.swift",
"ConnectionPool/ConnectionPoolIDs.swift",
"ConnectionPool/GRPCChannelPool.swift",
"ConnectionPool/PoolManager.swift",
"ConnectionPool/PoolManagerStateMachine+PerPoolState.swift",
"ConnectionPool/PoolManagerStateMachine.swift",
"ConnectionPool/PooledChannel.swift",
"ConnectionPool/StreamLender.swift",
"ConnectivityState.swift",
"DebugOnly.swift",
"DelegatingErrorHandler.swift",
"Error+NIOSSL.swift",
"EventLoopFuture+RecoverFromUncleanShutdown.swift",
"FakeChannel.swift",
"GRPCChannel/ClientConnection+NIOSSL.swift",
"GRPCChannel/ClientConnection+NWTLS.swift",
"GRPCChannel/GRPCChannel.swift",
"GRPCChannel/GRPCChannelBuilder.swift",
"GRPCClient.swift",
"GRPCClientChannelHandler.swift",
"GRPCClientStateMachine.swift",
"GRPCContentType.swift",
"GRPCError.swift",
"GRPCHeaderName.swift",
"GRPCIdleHandler.swift",
"GRPCIdleHandlerStateMachine.swift",
"GRPCKeepaliveHandlers.swift",
"GRPCPayload.swift",
"GRPCServerPipelineConfigurator.swift",
"GRPCServerRequestRoutingHandler.swift",
"GRPCServiceDescription.swift",
"GRPCStatus.swift",
"GRPCStatusAndMetadata.swift",
"GRPCStatusMessageMarshaller.swift",
"GRPCTLSConfiguration.swift",
"GRPCTimeout.swift",
"GRPCWebToHTTP2ServerCodec.swift",
"HTTP2ToRawGRPCServerCodec.swift",
"HTTP2ToRawGRPCStateMachine.swift",
"Interceptor/ClientInterceptorContext.swift",
"Interceptor/ClientInterceptorPipeline.swift",
"Interceptor/ClientInterceptorProtocol.swift",
"Interceptor/ClientInterceptors.swift",
"Interceptor/ClientTransport.swift",
"Interceptor/ClientTransportFactory.swift",
"Interceptor/MessageParts.swift",
"Interceptor/ServerInterceptorContext.swift",
"Interceptor/ServerInterceptorPipeline.swift",
"Interceptor/ServerInterceptors.swift",
"InterceptorContextList.swift",
"LengthPrefixedMessageReader.swift",
"Logger.swift",
"LoggingServerErrorDelegate.swift",
"MessageEncodingHeaderValidator.swift",
"PlatformSupport.swift",
"ReadWriteStates.swift",
"Ref.swift",
"Serialization.swift",
"Server+NIOSSL.swift",
"Server.swift",
"ServerBuilder+NIOSSL.swift",
"ServerBuilder.swift",
"ServerCallContexts/ServerCallContext.swift",
"ServerCallContexts/StreamingResponseCallContext.swift",
"ServerCallContexts/UnaryResponseCallContext.swift",
"ServerChannelErrorHandler.swift",
"ServerErrorDelegate.swift",
"ServerErrorProcessor.swift",
"Stopwatch.swift",
"StreamEvent.swift",
"TLSVerificationHandler.swift",
"TLSVersion.swift",
"TimeLimit.swift",
"UserInfo.swift",
"Version.swift",
"WebCORSHandler.swift",
"WriteCapturingHandler.swift",
"_EmbeddedThroughput.swift",
"_FakeResponseStream.swift",
"_GRPCClientCodecHandler.swift",
"_MessageContext.swift"
],
"target_dependencies" : [
"CGRPCZlib"
],
"type" : "library"
},
{
"c99name" : "EchoModel",
"module_type" : "SwiftTarget",
"name" : "EchoModel",
"path" : "Examples/v1/Echo/Model",
"product_dependencies" : [
"NIO",
"SwiftProtobuf"
],
"product_memberships" : [
"ReflectionServer",
"PacketCapture",
"Echo"
],
"sources" : [
"echo.grpc.swift",
"echo.pb.swift"
],
"target_dependencies" : [
"GRPC"
],
"type" : "library"
},
{
"c99name" : "EchoImplementation",
"module_type" : "SwiftTarget",
"name" : "EchoImplementation",
"path" : "Examples/v1/Echo/Implementation",
"product_dependencies" : [
"NIOCore",
"NIOHTTP2",
"SwiftProtobuf"
],
"product_memberships" : [
"ReflectionServer",
"Echo"
],
"sources" : [
"EchoAsyncProvider.swift",
"EchoProvider.swift",
"HPACKHeaders+Prettify.swift",
"Interceptors.swift"
],
"target_dependencies" : [
"EchoModel",
"GRPC"
],
"type" : "library"
},
{
"c99name" : "Echo",
"module_type" : "SwiftTarget",
"name" : "Echo",
"path" : "Examples/v1/Echo/Runtime",
"product_dependencies" : [
"NIOCore",
"NIOPosix",
"Logging",
"ArgumentParser",
"NIOSSL"
],
"product_memberships" : [
"Echo"
],
"sources" : [
"Echo.swift",
"Empty.swift"
],
"target_dependencies" : [
"GRPC",
"EchoModel",
"EchoImplementation",
"GRPCSampleData"
],
"type" : "executable"
},
{
"c99name" : "CGRPCZlib",
"module_type" : "ClangTarget",
"name" : "CGRPCZlib",
"path" : "Sources/CGRPCZlib",
"product_memberships" : [
"GRPC",
"CGRPCZlib",
"GRPCReflectionService",
"RouteGuideServer",
"RouteGuideClient",
"ReflectionServer",
"PacketCapture",
"HelloWorldServer",
"HelloWorldClient",
"GRPCPerformanceTests",
"GRPCInteroperabilityTests",
"GRPCConnectionBackoffInteropTest",
"Echo"
],
"sources" : [
"empty.c"
],
"type" : "library"
}
],
"tools_version" : "5.10"
}
Done.