Build Information
Successful build of teco-core with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 1
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
25 |
26 | /// Tencent Cloud API V1 signer (HmacSHA1).
/Users/admin/builder/spi-builder-workspace/Sources/TecoSigner/signerV3.swift:40:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoSigner' may lead to instability during execution
38 | import struct NIOHTTP1.HTTPHeaders
39 | import enum NIOHTTP1.HTTPMethod
40 | @_implementationOnly import struct Crypto.HMAC
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoSigner' may lead to instability during execution
41 | @_implementationOnly import struct Crypto.SHA256
42 | @_implementationOnly import struct Crypto.SymmetricKey
/Users/admin/builder/spi-builder-workspace/Sources/TecoSigner/signerV3.swift:41:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoSigner' may lead to instability during execution
39 | import enum NIOHTTP1.HTTPMethod
40 | @_implementationOnly import struct Crypto.HMAC
41 | @_implementationOnly import struct Crypto.SHA256
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoSigner' may lead to instability during execution
42 | @_implementationOnly import struct Crypto.SymmetricKey
43 |
/Users/admin/builder/spi-builder-workspace/Sources/TecoSigner/signerV3.swift:42:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoSigner' may lead to instability during execution
40 | @_implementationOnly import struct Crypto.HMAC
41 | @_implementationOnly import struct Crypto.SHA256
42 | @_implementationOnly import struct Crypto.SymmetricKey
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoSigner' may lead to instability during execution
43 |
44 | /// Tencent Cloud API V3 signer (TC3-HMAC-SHA256).
[842/925] Compiling NIOHTTPCompression HTTPRequestDecompressor.swift
[843/925] Compiling NIOHTTPCompression HTTPResponseCompressor.swift
[844/925] Compiling NIOHPACK StaticHeaderTable.swift
[845/925] Compiling NIOTransportServices NIOTSEventLoopGroup.swift
[846/925] Compiling NIOSSL ObjectIdentifier.swift
[847/925] Compiling NIOSSL PosixPort.swift
[848/927] Compiling NIOHPACK HuffmanCoding.swift
[849/927] Compiling NIOHPACK HeaderTables.swift
[850/927] Compiling NIOHPACK HuffmanTables.swift
[851/927] Compiling TecoSigner signerV1.swift
/Users/admin/builder/spi-builder-workspace/Sources/TecoSigner/signerV1.swift:20:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoSigner' may lead to instability during execution
18 | import struct Foundation.URLQueryItem
19 | import enum NIOHTTP1.HTTPMethod
20 | @_implementationOnly import protocol Crypto.HashFunction
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoSigner' may lead to instability during execution
21 | @_implementationOnly import struct Crypto.HMAC
22 | @_implementationOnly import enum Crypto.Insecure
/Users/admin/builder/spi-builder-workspace/Sources/TecoSigner/signerV1.swift:21:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoSigner' may lead to instability during execution
19 | import enum NIOHTTP1.HTTPMethod
20 | @_implementationOnly import protocol Crypto.HashFunction
21 | @_implementationOnly import struct Crypto.HMAC
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoSigner' may lead to instability during execution
22 | @_implementationOnly import enum Crypto.Insecure
23 | @_implementationOnly import struct Crypto.SHA256
/Users/admin/builder/spi-builder-workspace/Sources/TecoSigner/signerV1.swift:22:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoSigner' may lead to instability during execution
20 | @_implementationOnly import protocol Crypto.HashFunction
21 | @_implementationOnly import struct Crypto.HMAC
22 | @_implementationOnly import enum Crypto.Insecure
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoSigner' may lead to instability during execution
23 | @_implementationOnly import struct Crypto.SHA256
24 | @_implementationOnly import struct Crypto.SymmetricKey
/Users/admin/builder/spi-builder-workspace/Sources/TecoSigner/signerV1.swift:23:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoSigner' may lead to instability during execution
21 | @_implementationOnly import struct Crypto.HMAC
22 | @_implementationOnly import enum Crypto.Insecure
23 | @_implementationOnly import struct Crypto.SHA256
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoSigner' may lead to instability during execution
24 | @_implementationOnly import struct Crypto.SymmetricKey
25 |
/Users/admin/builder/spi-builder-workspace/Sources/TecoSigner/signerV1.swift:24:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoSigner' may lead to instability during execution
22 | @_implementationOnly import enum Crypto.Insecure
23 | @_implementationOnly import struct Crypto.SHA256
24 | @_implementationOnly import struct Crypto.SymmetricKey
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoSigner' may lead to instability during execution
25 |
26 | /// Tencent Cloud API V1 signer (HmacSHA1).
[852/927] Compiling TecoSigner error.swift
[853/927] Compiling TecoSigner exports.swift
[854/927] Compiling TecoSigner signerV3.swift
/Users/admin/builder/spi-builder-workspace/Sources/TecoSigner/signerV3.swift:40:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoSigner' may lead to instability during execution
38 | import struct NIOHTTP1.HTTPHeaders
39 | import enum NIOHTTP1.HTTPMethod
40 | @_implementationOnly import struct Crypto.HMAC
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoSigner' may lead to instability during execution
41 | @_implementationOnly import struct Crypto.SHA256
42 | @_implementationOnly import struct Crypto.SymmetricKey
/Users/admin/builder/spi-builder-workspace/Sources/TecoSigner/signerV3.swift:41:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoSigner' may lead to instability during execution
39 | import enum NIOHTTP1.HTTPMethod
40 | @_implementationOnly import struct Crypto.HMAC
41 | @_implementationOnly import struct Crypto.SHA256
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoSigner' may lead to instability during execution
42 | @_implementationOnly import struct Crypto.SymmetricKey
43 |
/Users/admin/builder/spi-builder-workspace/Sources/TecoSigner/signerV3.swift:42:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoSigner' may lead to instability during execution
40 | @_implementationOnly import struct Crypto.HMAC
41 | @_implementationOnly import struct Crypto.SHA256
42 | @_implementationOnly import struct Crypto.SymmetricKey
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoSigner' may lead to instability during execution
43 |
44 | /// Tencent Cloud API V3 signer (TC3-HMAC-SHA256).
[855/927] Compiling MultipartKit MultipartPart.swift
[856/927] Compiling MultipartKit MultipartPartConvertible.swift
[857/927] Compiling MultipartKit FormDataEncoder.swift
[858/927] Compiling MultipartKit Storage.swift
[859/927] Compiling MultipartKit FormDataEncoder.Encoder.swift
[860/927] Compiling MultipartKit FormDataEncoder.KeyedContainer.swift
[861/927] Compiling MultipartKit FormDataEncoder.SingleValueContainer.swift
[862/927] Compiling MultipartKit FormDataEncoder.UnkeyedContainer.swift
[863/927] Compiling MultipartKit FormDataDecoder.KeyedContainer.swift
[864/927] Compiling MultipartKit FormDataDecoder.SingleValueContainer.swift
[865/927] Compiling MultipartKit FormDataDecoder.UnkeyedContainer.swift
[866/927] Compiling MultipartKit FormDataDecoder.swift
[867/927] Compiling MultipartKit Exports.swift
[868/927] Compiling MultipartKit FormDataDecoder.Decoder.swift
[869/927] Emitting module MultipartKit
[870/927] Compiling NIOHPACK DynamicHeaderTable.swift
[871/927] Compiling NIOHPACK HPACKDecoder.swift
[872/927] Compiling MultipartKit MultipartFormData.swift
[873/927] Compiling MultipartKit MultipartParser.swift
[874/929] Compiling NIOHPACK HPACKErrors.swift
[875/929] Compiling NIOHPACK HPACKEncoder.swift
[876/929] Compiling NIOHPACK HPACKHeader.swift
[887/931] Compiling MultipartKit MultipartSerializer.swift
[890/931] Emitting module NIOHPACK
[899/931] Compiling MultipartKit Utilities.swift
[900/931] Compiling NIOTransportServices TCPOptions+SocketChannelOption.swift
[901/931] Compiling NIOTransportServices UDPOptions+SocketChannelOption.swift
[902/988] Compiling NIOHTTP2 SendingHeadersState.swift
[903/988] Compiling NIOHTTP2 SendingPushPromiseState.swift
[904/988] Compiling NIOHTTP2 HTTP2ErrorCode.swift
[905/988] Emitting module NIOSSL
[906/988] Compiling NIOHTTP2 ReceivingRstStreamState.swift
[907/988] Compiling NIOHTTP2 ReceivingWindowUpdateState.swift
[908/988] Compiling NIOHTTP2 HTTP2FlowControlWindow.swift
[909/988] Compiling NIOHTTP2 HTTP2Frame.swift
[910/988] Compiling NIOHTTP2 HTTP2FrameEncoder.swift
[913/988] Emitting module NIOTransportServices
[914/988] Compiling NIOHTTP2 MaySendFrames.swift
[915/988] Compiling NIOHTTP2 SendingDataState.swift
[916/988] Compiling NIOHTTP2 SendingGoawayState.swift
[917/988] Compiling NIOHTTP2 DOSHeuristics.swift
[918/988] Compiling NIOHTTP2 ConcurrentStreamBuffer.swift
[921/988] Compiling NIOHTTP2 ConnectionStreamsState.swift
[922/988] Compiling NIOHTTP2 MayReceiveFrames.swift
[923/988] Compiling NIOHTTP2 HTTP2ConnectionStateChange.swift
[924/988] Compiling NIOHTTP2 HTTP2Error.swift
[926/988] Compiling NIOHTTP2 OutboundFrameBuffer.swift
[927/988] Compiling NIOHTTP2 HPACKHeaders+Validation.swift
[928/988] Compiling NIOHTTP2 ConnectionStateMachine.swift
[929/988] Compiling NIOHTTP2 HTTP2ChannelHandler+InlineStreamMultiplexer.swift
[930/988] Compiling NIOHTTP2 HTTP2ChannelHandler.swift
[931/988] Compiling NIOHTTP2 HTTP2CommonInboundStreamMultiplexer.swift
[932/988] Compiling NIOHTTP2 SendingRstStreamState.swift
[933/988] Compiling NIOHTTP2 SendingWindowUpdateState.swift
[934/988] Compiling NIOHTTP2 HTTP2SettingsState.swift
[935/988] Compiling NIOHTTP2 HasFlowControlWindows.swift
[936/988] Compiling NIOHTTP2 HasLocalSettings.swift
[937/988] Compiling NIOHTTP2 HasRemoteSettings.swift
[938/994] Compiling NIOHTTP2 LocallyQuiescingState.swift
[939/994] Compiling NIOHTTP2 QuiescingState.swift
[940/994] Compiling NIOHTTP2 RemotelyQuiescingState.swift
[941/994] Compiling NIOHTTP2 SendAndReceiveGoawayState.swift
[942/994] Compiling NIOHTTP2 StateMachineResult.swift
[943/994] Compiling NIOHTTP2 ContentLengthVerifier.swift
[944/994] Compiling NIOHTTP2 HTTP2StreamID.swift
[945/994] Compiling NIOHTTP2 HTTP2StreamMultiplexer.swift
[946/994] Compiling NIOHTTP2 HTTP2ToHTTP1Codec.swift
[947/994] Compiling NIOHTTP2 HTTP2UserEvents.swift
[948/994] Compiling NIOHTTP2 InboundEventBuffer.swift
[949/994] Compiling NIOHTTP2 InboundWindowManager.swift
[950/994] Compiling NIOHTTP2 MultiplexerAbstractChannel.swift
[951/994] Compiling NIOHTTP2 StreamChannelFlowController.swift
[952/994] Compiling NIOHTTP2 StreamChannelList.swift
[953/994] Compiling NIOHTTP2 StreamMap.swift
[954/994] Compiling NIOHTTP2 StreamStateMachine.swift
[955/994] Compiling NIOHTTP2 WatermarkedFlowController.swift
[963/994] Emitting module NIOHTTP2
[968/994] Compiling NIOHTTP2 HTTP2FrameParser.swift
[969/994] Compiling NIOHTTP2 HTTP2PingData.swift
[970/994] Compiling NIOHTTP2 HTTP2ChannelHandler+InboundStreamMultiplexer.swift
[978/994] Compiling NIOHTTP2 ControlFrameBuffer.swift
[979/994] Compiling NIOHTTP2 OutboundFlowControlBuffer.swift
[985/994] Compiling NIOHTTP2 ReceivingDataState.swift
[986/994] Compiling NIOHTTP2 ReceivingGoAwayState.swift
[987/994] Compiling NIOHTTP2 ReceivingHeadersState.swift
[988/994] Compiling NIOHTTP2 ReceivingPushPromiseState.swift
[989/994] Compiling NIOHTTP2 HTTP2PipelineHelpers.swift
[990/994] Compiling NIOHTTP2 HTTP2Settings.swift
[991/994] Compiling NIOHTTP2 HTTP2Stream.swift
[992/994] Compiling NIOHTTP2 HTTP2StreamChannel+OutboundStreamMultiplexer.swift
[993/994] Compiling NIOHTTP2 HTTP2StreamChannel.swift
[994/994] Compiling NIOHTTP2 HTTP2StreamDelegate.swift
[995/1050] Compiling AsyncHTTPClient ConnectionPool.swift
[996/1050] Compiling AsyncHTTPClient HTTP1ProxyConnectHandler.swift
[997/1050] Compiling AsyncHTTPClient SOCKSEventsHandler.swift
[998/1050] Compiling AsyncHTTPClient TLSEventsHandler.swift
[999/1050] Compiling AsyncHTTPClient HTTP1ClientChannelHandler.swift
[1000/1050] Compiling AsyncHTTPClient HTTP1Connection.swift
[1001/1050] Compiling AsyncHTTPClient HTTPConnectionPool+HTTP2StateMachine.swift
[1002/1050] Compiling AsyncHTTPClient HTTPConnectionPool+RequestQueue.swift
[1003/1050] Compiling AsyncHTTPClient HTTPConnectionPool+StateMachine.swift
[1004/1050] Compiling AsyncHTTPClient ConnectionTarget.swift
[1005/1050] Compiling AsyncHTTPClient DeconstructedURL.swift
[1006/1050] Compiling AsyncHTTPClient FileDownloadDelegate.swift
[1007/1056] Compiling AsyncHTTPClient HTTPConnectionPool+Manager.swift
[1008/1056] Compiling AsyncHTTPClient HTTPConnectionPool.swift
[1009/1056] Compiling AsyncHTTPClient HTTPExecutableRequest.swift
[1010/1056] Compiling AsyncHTTPClient HTTPRequestStateMachine+Demand.swift
[1011/1056] Compiling AsyncHTTPClient HTTPRequestStateMachine.swift
[1012/1056] Compiling AsyncHTTPClient RequestBodyLength.swift
[1013/1056] Compiling AsyncHTTPClient HTTP1ConnectionStateMachine.swift
[1014/1056] Compiling AsyncHTTPClient HTTP2ClientRequestHandler.swift
[1015/1056] Compiling AsyncHTTPClient HTTP2Connection.swift
[1016/1056] Compiling AsyncHTTPClient HTTP2IdleHandler.swift
[1017/1056] Compiling AsyncHTTPClient HTTPConnectionEvent.swift
[1018/1056] Compiling AsyncHTTPClient HTTPConnectionPool+Factory.swift
[1019/1056] Compiling AsyncHTTPClient AnyAsyncSequence.swift
[1020/1056] Compiling AsyncHTTPClient AnyAsyncSequenceProucerDelete.swift
[1021/1056] Compiling AsyncHTTPClient AsyncLazySequence.swift
[1022/1056] Compiling AsyncHTTPClient HTTPClient+execute.swift
[1023/1056] Compiling AsyncHTTPClient HTTPClient+shutdown.swift
[1024/1056] Compiling AsyncHTTPClient HTTPClientRequest+Prepared.swift
[1025/1056] Compiling AsyncHTTPClient HTTPClientRequest.swift
[1026/1056] Compiling AsyncHTTPClient NWErrorHandler.swift
[1027/1056] Compiling AsyncHTTPClient NWWaitingHandler.swift
[1028/1056] Compiling AsyncHTTPClient TLSConfiguration.swift
[1029/1056] Compiling AsyncHTTPClient RedirectState.swift
[1030/1056] Compiling AsyncHTTPClient RequestBag+StateMachine.swift
[1031/1056] Compiling AsyncHTTPClient RequestBag.swift
[1032/1056] Emitting module AsyncHTTPClient
[1033/1056] Compiling AsyncHTTPClient RequestFramingMetadata.swift
[1034/1056] Compiling AsyncHTTPClient RequestOptions.swift
[1035/1056] Compiling AsyncHTTPClient HTTPConnectionPool+Backoff.swift
[1036/1056] Compiling AsyncHTTPClient HTTPConnectionPool+HTTP1Connections.swift
[1037/1056] Compiling AsyncHTTPClient HTTPConnectionPool+HTTP1StateMachine.swift
[1038/1056] Compiling AsyncHTTPClient HTTPConnectionPool+HTTP2Connections.swift
[1039/1056] Compiling AsyncHTTPClient RequestValidation.swift
[1040/1056] Compiling AsyncHTTPClient SSLContextCache.swift
[1041/1056] Compiling AsyncHTTPClient Scheme.swift
[1042/1056] Compiling AsyncHTTPClient StringConvertibleInstances.swift
[1043/1056] Compiling AsyncHTTPClient UnsafeTransfer.swift
[1044/1056] Compiling AsyncHTTPClient Utils.swift
[1045/1056] Compiling AsyncHTTPClient HTTPClientResponse.swift
[1046/1056] Compiling AsyncHTTPClient SingleIteratorPrecondition.swift
[1047/1056] Compiling AsyncHTTPClient Transaction+StateMachine.swift
[1048/1056] Compiling AsyncHTTPClient Transaction.swift
[1049/1056] Compiling AsyncHTTPClient Base64.swift
[1050/1056] Compiling AsyncHTTPClient BestEffortHashableTLSConfiguration.swift
[1051/1056] Compiling AsyncHTTPClient FoundationExtensions.swift
[1052/1056] Compiling AsyncHTTPClient HTTPClient+HTTPCookie.swift
[1053/1056] Compiling AsyncHTTPClient HTTPClient+Proxy.swift
[1054/1056] Compiling AsyncHTTPClient HTTPClient.swift
[1055/1056] Compiling AsyncHTTPClient HTTPHandler.swift
[1056/1056] Compiling AsyncHTTPClient LRUCache.swift
[1057/1096] Compiling TecoCore TCRawError.swift
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Pagination/TCClient+Pagination.swift:44:21: warning: capture of 'reducer' with non-sendable type '(Result, Output, any EventLoop) -> EventLoopFuture<(Bool, Result)>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
42 | let responseFuture = command(input, region, logger.attachingPaginationContext(id: id), eventLoop)
43 | .flatMapWithEventLoop { response, eventLoop in
44 | reducer(result, response, eventLoop).map { (continuePagination, result) -> Void in
| |- warning: capture of 'reducer' with non-sendable type '(Result, Output, any EventLoop) -> EventLoopFuture<(Bool, Result)>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
45 | guard continuePagination, let input = input.makeNextRequest(with: response) else {
46 | return promise.succeed(result)
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Pagination/TCClient+Pagination.swift:44:29: warning: capture of 'result' with non-sendable type 'Result' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 | /// - eventLoop: `EventLoop` to run request on.
28 | /// - Returns: `EventLoopFuture` containing the combined result.
29 | public func paginate<Result, Input: TCPaginatedRequest, Output: TCPaginatedResponse>(
| `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
30 | input: Input,
31 | region: TCRegion? = nil,
:
42 | let responseFuture = command(input, region, logger.attachingPaginationContext(id: id), eventLoop)
43 | .flatMapWithEventLoop { response, eventLoop in
44 | reducer(result, response, eventLoop).map { (continuePagination, result) -> Void in
| `- warning: capture of 'result' with non-sendable type 'Result' in a `@Sendable` closure; this is an error in the Swift 6 language mode
45 | guard continuePagination, let input = input.makeNextRequest(with: response) else {
46 | return promise.succeed(result)
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Pagination/TCClient+Pagination.swift:46:36: warning: capture of 'promise' with non-sendable type 'EventLoopPromise<Result>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 | /// - eventLoop: `EventLoop` to run request on.
28 | /// - Returns: `EventLoopFuture` containing the combined result.
29 | public func paginate<Result, Input: TCPaginatedRequest, Output: TCPaginatedResponse>(
| `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
30 | input: Input,
31 | region: TCRegion? = nil,
:
44 | reducer(result, response, eventLoop).map { (continuePagination, result) -> Void in
45 | guard continuePagination, let input = input.makeNextRequest(with: response) else {
46 | return promise.succeed(result)
| `- warning: capture of 'promise' with non-sendable type 'EventLoopPromise<Result>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
47 | }
48 | let totalCount = response.getTotalCount()
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Pagination/TCClient+Pagination.swift:54:25: warning: capture of 'paginatePart(_:input:result:recordedCount:)' with non-sendable type '(Int, Input, Result, Output.Count?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
52 | }
53 | }
54 | paginatePart(id + 1, input: input, result: result, recordedCount: totalCount)
| |- warning: capture of 'paginatePart(_:input:result:recordedCount:)' with non-sendable type '(Int, Input, Result, Output.Count?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
55 | }
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Pagination/TCClient+Pagination.swift:46:36: warning: capture of 'promise' with non-sendable type 'EventLoopPromise<Result>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 | /// - eventLoop: `EventLoop` to run request on.
28 | /// - Returns: `EventLoopFuture` containing the combined result.
29 | public func paginate<Result, Input: TCPaginatedRequest, Output: TCPaginatedResponse>(
| `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
30 | input: Input,
31 | region: TCRegion? = nil,
:
44 | reducer(result, response, eventLoop).map { (continuePagination, result) -> Void in
45 | guard continuePagination, let input = input.makeNextRequest(with: response) else {
46 | return promise.succeed(result)
| `- warning: capture of 'promise' with non-sendable type 'EventLoopPromise<Result>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
47 | }
48 | let totalCount = response.getTotalCount()
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Pagination/TCClient+Pagination.swift:54:25: warning: capture of 'paginatePart(_:input:result:recordedCount:)' with non-sendable type '(Int, Input, Result, Output.Count?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
52 | }
53 | }
54 | paginatePart(id + 1, input: input, result: result, recordedCount: totalCount)
| |- warning: capture of 'paginatePart(_:input:result:recordedCount:)' with non-sendable type '(Int, Input, Result, Output.Count?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
55 | }
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Pagination/TCClient+Pagination.swift:41:14: warning: concurrently-executed local function 'paginatePart(_:input:result:recordedCount:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
39 | let promise = eventLoop.makePromise(of: Result.self)
40 |
41 | func paginatePart(_ id: Int, input: Input, result: Result, recordedCount: Output.Count? = nil) {
| `- warning: concurrently-executed local function 'paginatePart(_:input:result:recordedCount:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
42 | let responseFuture = command(input, region, logger.attachingPaginationContext(id: id), eventLoop)
43 | .flatMapWithEventLoop { response, eventLoop in
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Pagination/TCClient+Pagination.swift:58:17: warning: capture of 'promise' with non-sendable type 'EventLoopPromise<Result>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 | /// - eventLoop: `EventLoop` to run request on.
28 | /// - Returns: `EventLoopFuture` containing the combined result.
29 | public func paginate<Result, Input: TCPaginatedRequest, Output: TCPaginatedResponse>(
| `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
30 | input: Input,
31 | region: TCRegion? = nil,
:
56 | }
57 | responseFuture.whenFailure { error in
58 | promise.fail(error)
| `- warning: capture of 'promise' with non-sendable type 'EventLoopPromise<Result>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 | }
60 | }
[1058/1096] Compiling TecoCore TCRawServiceError.swift
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Pagination/TCClient+Pagination.swift:44:21: warning: capture of 'reducer' with non-sendable type '(Result, Output, any EventLoop) -> EventLoopFuture<(Bool, Result)>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
42 | let responseFuture = command(input, region, logger.attachingPaginationContext(id: id), eventLoop)
43 | .flatMapWithEventLoop { response, eventLoop in
44 | reducer(result, response, eventLoop).map { (continuePagination, result) -> Void in
| |- warning: capture of 'reducer' with non-sendable type '(Result, Output, any EventLoop) -> EventLoopFuture<(Bool, Result)>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
45 | guard continuePagination, let input = input.makeNextRequest(with: response) else {
46 | return promise.succeed(result)
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Pagination/TCClient+Pagination.swift:44:29: warning: capture of 'result' with non-sendable type 'Result' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 | /// - eventLoop: `EventLoop` to run request on.
28 | /// - Returns: `EventLoopFuture` containing the combined result.
29 | public func paginate<Result, Input: TCPaginatedRequest, Output: TCPaginatedResponse>(
| `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
30 | input: Input,
31 | region: TCRegion? = nil,
:
42 | let responseFuture = command(input, region, logger.attachingPaginationContext(id: id), eventLoop)
43 | .flatMapWithEventLoop { response, eventLoop in
44 | reducer(result, response, eventLoop).map { (continuePagination, result) -> Void in
| `- warning: capture of 'result' with non-sendable type 'Result' in a `@Sendable` closure; this is an error in the Swift 6 language mode
45 | guard continuePagination, let input = input.makeNextRequest(with: response) else {
46 | return promise.succeed(result)
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Pagination/TCClient+Pagination.swift:46:36: warning: capture of 'promise' with non-sendable type 'EventLoopPromise<Result>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 | /// - eventLoop: `EventLoop` to run request on.
28 | /// - Returns: `EventLoopFuture` containing the combined result.
29 | public func paginate<Result, Input: TCPaginatedRequest, Output: TCPaginatedResponse>(
| `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
30 | input: Input,
31 | region: TCRegion? = nil,
:
44 | reducer(result, response, eventLoop).map { (continuePagination, result) -> Void in
45 | guard continuePagination, let input = input.makeNextRequest(with: response) else {
46 | return promise.succeed(result)
| `- warning: capture of 'promise' with non-sendable type 'EventLoopPromise<Result>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
47 | }
48 | let totalCount = response.getTotalCount()
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Pagination/TCClient+Pagination.swift:54:25: warning: capture of 'paginatePart(_:input:result:recordedCount:)' with non-sendable type '(Int, Input, Result, Output.Count?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
52 | }
53 | }
54 | paginatePart(id + 1, input: input, result: result, recordedCount: totalCount)
| |- warning: capture of 'paginatePart(_:input:result:recordedCount:)' with non-sendable type '(Int, Input, Result, Output.Count?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
55 | }
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Pagination/TCClient+Pagination.swift:46:36: warning: capture of 'promise' with non-sendable type 'EventLoopPromise<Result>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 | /// - eventLoop: `EventLoop` to run request on.
28 | /// - Returns: `EventLoopFuture` containing the combined result.
29 | public func paginate<Result, Input: TCPaginatedRequest, Output: TCPaginatedResponse>(
| `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
30 | input: Input,
31 | region: TCRegion? = nil,
:
44 | reducer(result, response, eventLoop).map { (continuePagination, result) -> Void in
45 | guard continuePagination, let input = input.makeNextRequest(with: response) else {
46 | return promise.succeed(result)
| `- warning: capture of 'promise' with non-sendable type 'EventLoopPromise<Result>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
47 | }
48 | let totalCount = response.getTotalCount()
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Pagination/TCClient+Pagination.swift:54:25: warning: capture of 'paginatePart(_:input:result:recordedCount:)' with non-sendable type '(Int, Input, Result, Output.Count?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
52 | }
53 | }
54 | paginatePart(id + 1, input: input, result: result, recordedCount: totalCount)
| |- warning: capture of 'paginatePart(_:input:result:recordedCount:)' with non-sendable type '(Int, Input, Result, Output.Count?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
55 | }
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Pagination/TCClient+Pagination.swift:41:14: warning: concurrently-executed local function 'paginatePart(_:input:result:recordedCount:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
39 | let promise = eventLoop.makePromise(of: Result.self)
40 |
41 | func paginatePart(_ id: Int, input: Input, result: Result, recordedCount: Output.Count? = nil) {
| `- warning: concurrently-executed local function 'paginatePart(_:input:result:recordedCount:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
42 | let responseFuture = command(input, region, logger.attachingPaginationContext(id: id), eventLoop)
43 | .flatMapWithEventLoop { response, eventLoop in
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Pagination/TCClient+Pagination.swift:58:17: warning: capture of 'promise' with non-sendable type 'EventLoopPromise<Result>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 | /// - eventLoop: `EventLoop` to run request on.
28 | /// - Returns: `EventLoopFuture` containing the combined result.
29 | public func paginate<Result, Input: TCPaginatedRequest, Output: TCPaginatedResponse>(
| `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
30 | input: Input,
31 | region: TCRegion? = nil,
:
56 | }
57 | responseFuture.whenFailure { error in
58 | promise.fail(error)
| `- warning: capture of 'promise' with non-sendable type 'EventLoopPromise<Result>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 | }
60 | }
[1059/1096] Compiling TecoCore TCServiceErrorType.swift
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Pagination/TCClient+Pagination.swift:44:21: warning: capture of 'reducer' with non-sendable type '(Result, Output, any EventLoop) -> EventLoopFuture<(Bool, Result)>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
42 | let responseFuture = command(input, region, logger.attachingPaginationContext(id: id), eventLoop)
43 | .flatMapWithEventLoop { response, eventLoop in
44 | reducer(result, response, eventLoop).map { (continuePagination, result) -> Void in
| |- warning: capture of 'reducer' with non-sendable type '(Result, Output, any EventLoop) -> EventLoopFuture<(Bool, Result)>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
45 | guard continuePagination, let input = input.makeNextRequest(with: response) else {
46 | return promise.succeed(result)
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Pagination/TCClient+Pagination.swift:44:29: warning: capture of 'result' with non-sendable type 'Result' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 | /// - eventLoop: `EventLoop` to run request on.
28 | /// - Returns: `EventLoopFuture` containing the combined result.
29 | public func paginate<Result, Input: TCPaginatedRequest, Output: TCPaginatedResponse>(
| `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
30 | input: Input,
31 | region: TCRegion? = nil,
:
42 | let responseFuture = command(input, region, logger.attachingPaginationContext(id: id), eventLoop)
43 | .flatMapWithEventLoop { response, eventLoop in
44 | reducer(result, response, eventLoop).map { (continuePagination, result) -> Void in
| `- warning: capture of 'result' with non-sendable type 'Result' in a `@Sendable` closure; this is an error in the Swift 6 language mode
45 | guard continuePagination, let input = input.makeNextRequest(with: response) else {
46 | return promise.succeed(result)
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Pagination/TCClient+Pagination.swift:46:36: warning: capture of 'promise' with non-sendable type 'EventLoopPromise<Result>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 | /// - eventLoop: `EventLoop` to run request on.
28 | /// - Returns: `EventLoopFuture` containing the combined result.
29 | public func paginate<Result, Input: TCPaginatedRequest, Output: TCPaginatedResponse>(
| `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
30 | input: Input,
31 | region: TCRegion? = nil,
:
44 | reducer(result, response, eventLoop).map { (continuePagination, result) -> Void in
45 | guard continuePagination, let input = input.makeNextRequest(with: response) else {
46 | return promise.succeed(result)
| `- warning: capture of 'promise' with non-sendable type 'EventLoopPromise<Result>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
47 | }
48 | let totalCount = response.getTotalCount()
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Pagination/TCClient+Pagination.swift:54:25: warning: capture of 'paginatePart(_:input:result:recordedCount:)' with non-sendable type '(Int, Input, Result, Output.Count?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
52 | }
53 | }
54 | paginatePart(id + 1, input: input, result: result, recordedCount: totalCount)
| |- warning: capture of 'paginatePart(_:input:result:recordedCount:)' with non-sendable type '(Int, Input, Result, Output.Count?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
55 | }
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Pagination/TCClient+Pagination.swift:46:36: warning: capture of 'promise' with non-sendable type 'EventLoopPromise<Result>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 | /// - eventLoop: `EventLoop` to run request on.
28 | /// - Returns: `EventLoopFuture` containing the combined result.
29 | public func paginate<Result, Input: TCPaginatedRequest, Output: TCPaginatedResponse>(
| `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
30 | input: Input,
31 | region: TCRegion? = nil,
:
44 | reducer(result, response, eventLoop).map { (continuePagination, result) -> Void in
45 | guard continuePagination, let input = input.makeNextRequest(with: response) else {
46 | return promise.succeed(result)
| `- warning: capture of 'promise' with non-sendable type 'EventLoopPromise<Result>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
47 | }
48 | let totalCount = response.getTotalCount()
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Pagination/TCClient+Pagination.swift:54:25: warning: capture of 'paginatePart(_:input:result:recordedCount:)' with non-sendable type '(Int, Input, Result, Output.Count?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
52 | }
53 | }
54 | paginatePart(id + 1, input: input, result: result, recordedCount: totalCount)
| |- warning: capture of 'paginatePart(_:input:result:recordedCount:)' with non-sendable type '(Int, Input, Result, Output.Count?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
55 | }
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Pagination/TCClient+Pagination.swift:41:14: warning: concurrently-executed local function 'paginatePart(_:input:result:recordedCount:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
39 | let promise = eventLoop.makePromise(of: Result.self)
40 |
41 | func paginatePart(_ id: Int, input: Input, result: Result, recordedCount: Output.Count? = nil) {
| `- warning: concurrently-executed local function 'paginatePart(_:input:result:recordedCount:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
42 | let responseFuture = command(input, region, logger.attachingPaginationContext(id: id), eventLoop)
43 | .flatMapWithEventLoop { response, eventLoop in
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Pagination/TCClient+Pagination.swift:58:17: warning: capture of 'promise' with non-sendable type 'EventLoopPromise<Result>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 | /// - eventLoop: `EventLoop` to run request on.
28 | /// - Returns: `EventLoopFuture` containing the combined result.
29 | public func paginate<Result, Input: TCPaginatedRequest, Output: TCPaginatedResponse>(
| `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
30 | input: Input,
31 | region: TCRegion? = nil,
:
56 | }
57 | responseFuture.whenFailure { error in
58 | promise.fail(error)
| `- warning: capture of 'promise' with non-sendable type 'EventLoopPromise<Result>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 | }
60 | }
[1060/1096] Compiling TecoCore TCClient+Pagination.swift
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Pagination/TCClient+Pagination.swift:44:21: warning: capture of 'reducer' with non-sendable type '(Result, Output, any EventLoop) -> EventLoopFuture<(Bool, Result)>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
42 | let responseFuture = command(input, region, logger.attachingPaginationContext(id: id), eventLoop)
43 | .flatMapWithEventLoop { response, eventLoop in
44 | reducer(result, response, eventLoop).map { (continuePagination, result) -> Void in
| |- warning: capture of 'reducer' with non-sendable type '(Result, Output, any EventLoop) -> EventLoopFuture<(Bool, Result)>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
45 | guard continuePagination, let input = input.makeNextRequest(with: response) else {
46 | return promise.succeed(result)
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Pagination/TCClient+Pagination.swift:44:29: warning: capture of 'result' with non-sendable type 'Result' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 | /// - eventLoop: `EventLoop` to run request on.
28 | /// - Returns: `EventLoopFuture` containing the combined result.
29 | public func paginate<Result, Input: TCPaginatedRequest, Output: TCPaginatedResponse>(
| `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
30 | input: Input,
31 | region: TCRegion? = nil,
:
42 | let responseFuture = command(input, region, logger.attachingPaginationContext(id: id), eventLoop)
43 | .flatMapWithEventLoop { response, eventLoop in
44 | reducer(result, response, eventLoop).map { (continuePagination, result) -> Void in
| `- warning: capture of 'result' with non-sendable type 'Result' in a `@Sendable` closure; this is an error in the Swift 6 language mode
45 | guard continuePagination, let input = input.makeNextRequest(with: response) else {
46 | return promise.succeed(result)
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Pagination/TCClient+Pagination.swift:46:36: warning: capture of 'promise' with non-sendable type 'EventLoopPromise<Result>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 | /// - eventLoop: `EventLoop` to run request on.
28 | /// - Returns: `EventLoopFuture` containing the combined result.
29 | public func paginate<Result, Input: TCPaginatedRequest, Output: TCPaginatedResponse>(
| `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
30 | input: Input,
31 | region: TCRegion? = nil,
:
44 | reducer(result, response, eventLoop).map { (continuePagination, result) -> Void in
45 | guard continuePagination, let input = input.makeNextRequest(with: response) else {
46 | return promise.succeed(result)
| `- warning: capture of 'promise' with non-sendable type 'EventLoopPromise<Result>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
47 | }
48 | let totalCount = response.getTotalCount()
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Pagination/TCClient+Pagination.swift:54:25: warning: capture of 'paginatePart(_:input:result:recordedCount:)' with non-sendable type '(Int, Input, Result, Output.Count?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
52 | }
53 | }
54 | paginatePart(id + 1, input: input, result: result, recordedCount: totalCount)
| |- warning: capture of 'paginatePart(_:input:result:recordedCount:)' with non-sendable type '(Int, Input, Result, Output.Count?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
55 | }
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Pagination/TCClient+Pagination.swift:46:36: warning: capture of 'promise' with non-sendable type 'EventLoopPromise<Result>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 | /// - eventLoop: `EventLoop` to run request on.
28 | /// - Returns: `EventLoopFuture` containing the combined result.
29 | public func paginate<Result, Input: TCPaginatedRequest, Output: TCPaginatedResponse>(
| `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
30 | input: Input,
31 | region: TCRegion? = nil,
:
44 | reducer(result, response, eventLoop).map { (continuePagination, result) -> Void in
45 | guard continuePagination, let input = input.makeNextRequest(with: response) else {
46 | return promise.succeed(result)
| `- warning: capture of 'promise' with non-sendable type 'EventLoopPromise<Result>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
47 | }
48 | let totalCount = response.getTotalCount()
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Pagination/TCClient+Pagination.swift:54:25: warning: capture of 'paginatePart(_:input:result:recordedCount:)' with non-sendable type '(Int, Input, Result, Output.Count?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
52 | }
53 | }
54 | paginatePart(id + 1, input: input, result: result, recordedCount: totalCount)
| |- warning: capture of 'paginatePart(_:input:result:recordedCount:)' with non-sendable type '(Int, Input, Result, Output.Count?) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
55 | }
56 | }
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Pagination/TCClient+Pagination.swift:41:14: warning: concurrently-executed local function 'paginatePart(_:input:result:recordedCount:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
39 | let promise = eventLoop.makePromise(of: Result.self)
40 |
41 | func paginatePart(_ id: Int, input: Input, result: Result, recordedCount: Output.Count? = nil) {
| `- warning: concurrently-executed local function 'paginatePart(_:input:result:recordedCount:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
42 | let responseFuture = command(input, region, logger.attachingPaginationContext(id: id), eventLoop)
43 | .flatMapWithEventLoop { response, eventLoop in
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Pagination/TCClient+Pagination.swift:58:17: warning: capture of 'promise' with non-sendable type 'EventLoopPromise<Result>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
27 | /// - eventLoop: `EventLoop` to run request on.
28 | /// - Returns: `EventLoopFuture` containing the combined result.
29 | public func paginate<Result, Input: TCPaginatedRequest, Output: TCPaginatedResponse>(
| `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
30 | input: Input,
31 | region: TCRegion? = nil,
:
56 | }
57 | responseFuture.whenFailure { error in
58 | promise.fail(error)
| `- warning: capture of 'promise' with non-sendable type 'EventLoopPromise<Result>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
59 | }
60 | }
[1061/1096] Compiling TecoCore TCClient+PaginationError.swift
[1062/1096] Compiling TecoCore TCClient+Paginator.swift
[1063/1096] Compiling TecoCore TCPaginatedModel.swift
[1064/1096] Compiling TecoCore HTTPClient.swift
[1065/1100] Compiling TecoCore STSCredentialProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/TCCLICredentialProvider.swift:15:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
13 |
14 | import Logging
15 | @_implementationOnly import NIOConcurrencyHelpers
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
16 | import NIOCore
17 | import TecoSigner
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/StaticCredential+CredentialProvider.swift:30:1: warning: extension declares a conformance of imported type 'StaticCredential' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'TecoSigner' introduce this conformance in the future
28 | import TecoSigner
29 |
30 | extension StaticCredential: CredentialProvider {
| |- warning: extension declares a conformance of imported type 'StaticCredential' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'TecoSigner' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
31 | /// Provide a static credential.
32 | public func getCredential(on eventLoop: EventLoop, logger: Logger) -> EventLoopFuture<Credential> {
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/TCCLICredentialProvider.swift:68:67: warning: capture of 'context' with non-sendable type 'CredentialProviderFactory.Context' in a `@Sendable` closure; this is an error in the Swift 6 language mode
66 | }
67 | .flatMapThrowing { credential in
68 | try credentialProvider(from: credential, context: context, region: region)
| `- warning: capture of 'context' with non-sendable type 'CredentialProviderFactory.Context' in a `@Sendable` closure; this is an error in the Swift 6 language mode
69 | }
70 | }
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/CredentialProviderFactory.swift:37:19: note: consider making struct 'Context' conform to the 'Sendable' protocol
35 | public struct CredentialProviderFactory {
36 | /// The initialization context for a ``CredentialProvider``.
37 | public struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
38 | /// The `TCClient`'s internal `HTTPClient`
39 | public let httpClient: HTTPClient
[1066/1100] Compiling TecoCore StaticCredential+CredentialProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/TCCLICredentialProvider.swift:15:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
13 |
14 | import Logging
15 | @_implementationOnly import NIOConcurrencyHelpers
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
16 | import NIOCore
17 | import TecoSigner
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/StaticCredential+CredentialProvider.swift:30:1: warning: extension declares a conformance of imported type 'StaticCredential' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'TecoSigner' introduce this conformance in the future
28 | import TecoSigner
29 |
30 | extension StaticCredential: CredentialProvider {
| |- warning: extension declares a conformance of imported type 'StaticCredential' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'TecoSigner' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
31 | /// Provide a static credential.
32 | public func getCredential(on eventLoop: EventLoop, logger: Logger) -> EventLoopFuture<Credential> {
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/TCCLICredentialProvider.swift:68:67: warning: capture of 'context' with non-sendable type 'CredentialProviderFactory.Context' in a `@Sendable` closure; this is an error in the Swift 6 language mode
66 | }
67 | .flatMapThrowing { credential in
68 | try credentialProvider(from: credential, context: context, region: region)
| `- warning: capture of 'context' with non-sendable type 'CredentialProviderFactory.Context' in a `@Sendable` closure; this is an error in the Swift 6 language mode
69 | }
70 | }
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/CredentialProviderFactory.swift:37:19: note: consider making struct 'Context' conform to the 'Sendable' protocol
35 | public struct CredentialProviderFactory {
36 | /// The initialization context for a ``CredentialProvider``.
37 | public struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
38 | /// The `TCClient`'s internal `HTTPClient`
39 | public let httpClient: HTTPClient
[1067/1100] Compiling TecoCore StaticCredential+Environment.swift
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/TCCLICredentialProvider.swift:15:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
13 |
14 | import Logging
15 | @_implementationOnly import NIOConcurrencyHelpers
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
16 | import NIOCore
17 | import TecoSigner
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/StaticCredential+CredentialProvider.swift:30:1: warning: extension declares a conformance of imported type 'StaticCredential' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'TecoSigner' introduce this conformance in the future
28 | import TecoSigner
29 |
30 | extension StaticCredential: CredentialProvider {
| |- warning: extension declares a conformance of imported type 'StaticCredential' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'TecoSigner' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
31 | /// Provide a static credential.
32 | public func getCredential(on eventLoop: EventLoop, logger: Logger) -> EventLoopFuture<Credential> {
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/TCCLICredentialProvider.swift:68:67: warning: capture of 'context' with non-sendable type 'CredentialProviderFactory.Context' in a `@Sendable` closure; this is an error in the Swift 6 language mode
66 | }
67 | .flatMapThrowing { credential in
68 | try credentialProvider(from: credential, context: context, region: region)
| `- warning: capture of 'context' with non-sendable type 'CredentialProviderFactory.Context' in a `@Sendable` closure; this is an error in the Swift 6 language mode
69 | }
70 | }
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/CredentialProviderFactory.swift:37:19: note: consider making struct 'Context' conform to the 'Sendable' protocol
35 | public struct CredentialProviderFactory {
36 | /// The initialization context for a ``CredentialProvider``.
37 | public struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
38 | /// The `TCClient`'s internal `HTTPClient`
39 | public let httpClient: HTTPClient
[1068/1100] Compiling TecoCore TCCLICredentialProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/TCCLICredentialProvider.swift:15:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
13 |
14 | import Logging
15 | @_implementationOnly import NIOConcurrencyHelpers
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
16 | import NIOCore
17 | import TecoSigner
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/StaticCredential+CredentialProvider.swift:30:1: warning: extension declares a conformance of imported type 'StaticCredential' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'TecoSigner' introduce this conformance in the future
28 | import TecoSigner
29 |
30 | extension StaticCredential: CredentialProvider {
| |- warning: extension declares a conformance of imported type 'StaticCredential' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'TecoSigner' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
31 | /// Provide a static credential.
32 | public func getCredential(on eventLoop: EventLoop, logger: Logger) -> EventLoopFuture<Credential> {
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/TCCLICredentialProvider.swift:68:67: warning: capture of 'context' with non-sendable type 'CredentialProviderFactory.Context' in a `@Sendable` closure; this is an error in the Swift 6 language mode
66 | }
67 | .flatMapThrowing { credential in
68 | try credentialProvider(from: credential, context: context, region: region)
| `- warning: capture of 'context' with non-sendable type 'CredentialProviderFactory.Context' in a `@Sendable` closure; this is an error in the Swift 6 language mode
69 | }
70 | }
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/CredentialProviderFactory.swift:37:19: note: consider making struct 'Context' conform to the 'Sendable' protocol
35 | public struct CredentialProviderFactory {
36 | /// The initialization context for a ``CredentialProvider``.
37 | public struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
38 | /// The `TCClient`'s internal `HTTPClient`
39 | public let httpClient: HTTPClient
[1069/1100] Compiling TecoCore NullCredentialProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/ProfileCredentialProvider.swift:14:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
12 | //===----------------------------------------------------------------------===//
13 |
14 | @_implementationOnly import INIParser
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
15 | import NIOCore
16 | @_implementationOnly import NIOConcurrencyHelpers
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/ProfileCredentialProvider.swift:16:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
14 | @_implementationOnly import INIParser
15 | import NIOCore
16 | @_implementationOnly import NIOConcurrencyHelpers
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
17 | import TecoSigner
18 |
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/RuntimeSelectorCredentialProvider.swift:27:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
25 |
26 | import Logging
27 | @_implementationOnly import NIOConcurrencyHelpers
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
28 | import NIOCore
29 | import TecoSigner
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/OIDCRoleArnCredentialProvider.swift:84:17: warning: stored property 'requestProvider' of 'Sendable'-conforming struct 'OIDCRoleArnCredentialProvider' has non-sendable type '(any EventLoop) -> EventLoopFuture<STSAssumeRoleWithWebIdentityRequest>'; this is an error in the Swift 6 language mode
82 |
83 | private let config: TCServiceConfig
84 | private let requestProvider: (EventLoop) -> EventLoopFuture<STSAssumeRoleWithWebIdentityRequest>
| |- warning: stored property 'requestProvider' of 'Sendable'-conforming struct 'OIDCRoleArnCredentialProvider' has non-sendable type '(any EventLoop) -> EventLoopFuture<STSAssumeRoleWithWebIdentityRequest>'; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
85 |
86 | init(
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/ProfileCredentialProvider.swift:38:107: warning: capture of 'context' with non-sendable type 'CredentialProviderFactory.Context' in a `@Sendable` closure; this is an error in the Swift 6 language mode
36 | Self.credentialProvider(from: "~/.tencentcloud/credentials", for: profile, context: context)
37 | .flatMapError { _ in
38 | Self.credentialProvider(from: "/etc/tencentcloud/credentials", for: profile, context: context)
| `- warning: capture of 'context' with non-sendable type 'CredentialProviderFactory.Context' in a `@Sendable` closure; this is an error in the Swift 6 language mode
39 | }
40 | .cascade(to: self.startupPromise)
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/CredentialProviderFactory.swift:37:19: note: consider making struct 'Context' conform to the 'Sendable' protocol
35 | public struct CredentialProviderFactory {
36 | /// The initialization context for a ``CredentialProvider``.
37 | public struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
38 | /// The `TCClient`'s internal `HTTPClient`
39 | public let httpClient: HTTPClient
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/RuntimeSelectorCredentialProvider.swift:67:21: warning: capture of 'context' with non-sendable type 'CredentialProviderFactory.Context' in a `@Sendable` closure; this is an error in the Swift 6 language mode
65 | switch result {
66 | case .success:
67 | context.logger.debug("Credential provider was selected", metadata: ["tc-credential-provider": "\(provider)"])
| `- warning: capture of 'context' with non-sendable type 'CredentialProviderFactory.Context' in a `@Sendable` closure; this is an error in the Swift 6 language mode
68 | self.startupPromise.succeed(provider)
69 | case .failure:
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/CredentialProviderFactory.swift:37:19: note: consider making struct 'Context' conform to the 'Sendable' protocol
35 | public struct CredentialProviderFactory {
36 | /// The initialization context for a ``CredentialProvider``.
37 | public struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
38 | /// The `TCClient`'s internal `HTTPClient`
39 | public let httpClient: HTTPClient
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/RuntimeSelectorCredentialProvider.swift:71:21: warning: capture of '_setupInternalProvider' with non-sendable type '(Int) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
69 | case .failure:
70 | context.logger.debug("Credential provider failed during selection", metadata: ["tc-credential-provider": "\(provider)"])
71 | _setupInternalProvider(index + 1)
| |- warning: capture of '_setupInternalProvider' with non-sendable type '(Int) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
72 | }
73 | }
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/RuntimeSelectorCredentialProvider.swift:57:14: warning: concurrently-executed local function '_setupInternalProvider' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
55 | /// If a provider is able to provide credentials then use that one, otherwise move onto the next provider in the list.
56 | private func setupInternalProvider(providers: [CredentialProviderFactory], context: CredentialProviderFactory.Context) {
57 | func _setupInternalProvider(_ index: Int) {
| `- warning: concurrently-executed local function '_setupInternalProvider' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
58 | guard index < providers.count else {
59 | self.startupPromise.fail(CredentialProviderError.noProvider)
[1070/1100] Compiling TecoCore OIDCRoleArnCredentialProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/ProfileCredentialProvider.swift:14:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
12 | //===----------------------------------------------------------------------===//
13 |
14 | @_implementationOnly import INIParser
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
15 | import NIOCore
16 | @_implementationOnly import NIOConcurrencyHelpers
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/ProfileCredentialProvider.swift:16:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
14 | @_implementationOnly import INIParser
15 | import NIOCore
16 | @_implementationOnly import NIOConcurrencyHelpers
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
17 | import TecoSigner
18 |
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/RuntimeSelectorCredentialProvider.swift:27:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
25 |
26 | import Logging
27 | @_implementationOnly import NIOConcurrencyHelpers
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
28 | import NIOCore
29 | import TecoSigner
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/OIDCRoleArnCredentialProvider.swift:84:17: warning: stored property 'requestProvider' of 'Sendable'-conforming struct 'OIDCRoleArnCredentialProvider' has non-sendable type '(any EventLoop) -> EventLoopFuture<STSAssumeRoleWithWebIdentityRequest>'; this is an error in the Swift 6 language mode
82 |
83 | private let config: TCServiceConfig
84 | private let requestProvider: (EventLoop) -> EventLoopFuture<STSAssumeRoleWithWebIdentityRequest>
| |- warning: stored property 'requestProvider' of 'Sendable'-conforming struct 'OIDCRoleArnCredentialProvider' has non-sendable type '(any EventLoop) -> EventLoopFuture<STSAssumeRoleWithWebIdentityRequest>'; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
85 |
86 | init(
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/ProfileCredentialProvider.swift:38:107: warning: capture of 'context' with non-sendable type 'CredentialProviderFactory.Context' in a `@Sendable` closure; this is an error in the Swift 6 language mode
36 | Self.credentialProvider(from: "~/.tencentcloud/credentials", for: profile, context: context)
37 | .flatMapError { _ in
38 | Self.credentialProvider(from: "/etc/tencentcloud/credentials", for: profile, context: context)
| `- warning: capture of 'context' with non-sendable type 'CredentialProviderFactory.Context' in a `@Sendable` closure; this is an error in the Swift 6 language mode
39 | }
40 | .cascade(to: self.startupPromise)
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/CredentialProviderFactory.swift:37:19: note: consider making struct 'Context' conform to the 'Sendable' protocol
35 | public struct CredentialProviderFactory {
36 | /// The initialization context for a ``CredentialProvider``.
37 | public struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
38 | /// The `TCClient`'s internal `HTTPClient`
39 | public let httpClient: HTTPClient
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/RuntimeSelectorCredentialProvider.swift:67:21: warning: capture of 'context' with non-sendable type 'CredentialProviderFactory.Context' in a `@Sendable` closure; this is an error in the Swift 6 language mode
65 | switch result {
66 | case .success:
67 | context.logger.debug("Credential provider was selected", metadata: ["tc-credential-provider": "\(provider)"])
| `- warning: capture of 'context' with non-sendable type 'CredentialProviderFactory.Context' in a `@Sendable` closure; this is an error in the Swift 6 language mode
68 | self.startupPromise.succeed(provider)
69 | case .failure:
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/CredentialProviderFactory.swift:37:19: note: consider making struct 'Context' conform to the 'Sendable' protocol
35 | public struct CredentialProviderFactory {
36 | /// The initialization context for a ``CredentialProvider``.
37 | public struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
38 | /// The `TCClient`'s internal `HTTPClient`
39 | public let httpClient: HTTPClient
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/RuntimeSelectorCredentialProvider.swift:71:21: warning: capture of '_setupInternalProvider' with non-sendable type '(Int) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
69 | case .failure:
70 | context.logger.debug("Credential provider failed during selection", metadata: ["tc-credential-provider": "\(provider)"])
71 | _setupInternalProvider(index + 1)
| |- warning: capture of '_setupInternalProvider' with non-sendable type '(Int) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
72 | }
73 | }
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/RuntimeSelectorCredentialProvider.swift:57:14: warning: concurrently-executed local function '_setupInternalProvider' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
55 | /// If a provider is able to provide credentials then use that one, otherwise move onto the next provider in the list.
56 | private func setupInternalProvider(providers: [CredentialProviderFactory], context: CredentialProviderFactory.Context) {
57 | func _setupInternalProvider(_ index: Int) {
| `- warning: concurrently-executed local function '_setupInternalProvider' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
58 | guard index < providers.count else {
59 | self.startupPromise.fail(CredentialProviderError.noProvider)
[1071/1100] Compiling TecoCore ProfileCredentialProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/ProfileCredentialProvider.swift:14:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
12 | //===----------------------------------------------------------------------===//
13 |
14 | @_implementationOnly import INIParser
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
15 | import NIOCore
16 | @_implementationOnly import NIOConcurrencyHelpers
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/ProfileCredentialProvider.swift:16:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
14 | @_implementationOnly import INIParser
15 | import NIOCore
16 | @_implementationOnly import NIOConcurrencyHelpers
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
17 | import TecoSigner
18 |
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/RuntimeSelectorCredentialProvider.swift:27:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
25 |
26 | import Logging
27 | @_implementationOnly import NIOConcurrencyHelpers
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
28 | import NIOCore
29 | import TecoSigner
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/OIDCRoleArnCredentialProvider.swift:84:17: warning: stored property 'requestProvider' of 'Sendable'-conforming struct 'OIDCRoleArnCredentialProvider' has non-sendable type '(any EventLoop) -> EventLoopFuture<STSAssumeRoleWithWebIdentityRequest>'; this is an error in the Swift 6 language mode
82 |
83 | private let config: TCServiceConfig
84 | private let requestProvider: (EventLoop) -> EventLoopFuture<STSAssumeRoleWithWebIdentityRequest>
| |- warning: stored property 'requestProvider' of 'Sendable'-conforming struct 'OIDCRoleArnCredentialProvider' has non-sendable type '(any EventLoop) -> EventLoopFuture<STSAssumeRoleWithWebIdentityRequest>'; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
85 |
86 | init(
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/ProfileCredentialProvider.swift:38:107: warning: capture of 'context' with non-sendable type 'CredentialProviderFactory.Context' in a `@Sendable` closure; this is an error in the Swift 6 language mode
36 | Self.credentialProvider(from: "~/.tencentcloud/credentials", for: profile, context: context)
37 | .flatMapError { _ in
38 | Self.credentialProvider(from: "/etc/tencentcloud/credentials", for: profile, context: context)
| `- warning: capture of 'context' with non-sendable type 'CredentialProviderFactory.Context' in a `@Sendable` closure; this is an error in the Swift 6 language mode
39 | }
40 | .cascade(to: self.startupPromise)
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/CredentialProviderFactory.swift:37:19: note: consider making struct 'Context' conform to the 'Sendable' protocol
35 | public struct CredentialProviderFactory {
36 | /// The initialization context for a ``CredentialProvider``.
37 | public struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
38 | /// The `TCClient`'s internal `HTTPClient`
39 | public let httpClient: HTTPClient
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/RuntimeSelectorCredentialProvider.swift:67:21: warning: capture of 'context' with non-sendable type 'CredentialProviderFactory.Context' in a `@Sendable` closure; this is an error in the Swift 6 language mode
65 | switch result {
66 | case .success:
67 | context.logger.debug("Credential provider was selected", metadata: ["tc-credential-provider": "\(provider)"])
| `- warning: capture of 'context' with non-sendable type 'CredentialProviderFactory.Context' in a `@Sendable` closure; this is an error in the Swift 6 language mode
68 | self.startupPromise.succeed(provider)
69 | case .failure:
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/CredentialProviderFactory.swift:37:19: note: consider making struct 'Context' conform to the 'Sendable' protocol
35 | public struct CredentialProviderFactory {
36 | /// The initialization context for a ``CredentialProvider``.
37 | public struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
38 | /// The `TCClient`'s internal `HTTPClient`
39 | public let httpClient: HTTPClient
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/RuntimeSelectorCredentialProvider.swift:71:21: warning: capture of '_setupInternalProvider' with non-sendable type '(Int) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
69 | case .failure:
70 | context.logger.debug("Credential provider failed during selection", metadata: ["tc-credential-provider": "\(provider)"])
71 | _setupInternalProvider(index + 1)
| |- warning: capture of '_setupInternalProvider' with non-sendable type '(Int) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
72 | }
73 | }
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/RuntimeSelectorCredentialProvider.swift:57:14: warning: concurrently-executed local function '_setupInternalProvider' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
55 | /// If a provider is able to provide credentials then use that one, otherwise move onto the next provider in the list.
56 | private func setupInternalProvider(providers: [CredentialProviderFactory], context: CredentialProviderFactory.Context) {
57 | func _setupInternalProvider(_ index: Int) {
| `- warning: concurrently-executed local function '_setupInternalProvider' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
58 | guard index < providers.count else {
59 | self.startupPromise.fail(CredentialProviderError.noProvider)
[1072/1100] Compiling TecoCore RuntimeSelectorCredentialProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/ProfileCredentialProvider.swift:14:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
12 | //===----------------------------------------------------------------------===//
13 |
14 | @_implementationOnly import INIParser
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
15 | import NIOCore
16 | @_implementationOnly import NIOConcurrencyHelpers
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/ProfileCredentialProvider.swift:16:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
14 | @_implementationOnly import INIParser
15 | import NIOCore
16 | @_implementationOnly import NIOConcurrencyHelpers
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
17 | import TecoSigner
18 |
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/RuntimeSelectorCredentialProvider.swift:27:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
25 |
26 | import Logging
27 | @_implementationOnly import NIOConcurrencyHelpers
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
28 | import NIOCore
29 | import TecoSigner
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/OIDCRoleArnCredentialProvider.swift:84:17: warning: stored property 'requestProvider' of 'Sendable'-conforming struct 'OIDCRoleArnCredentialProvider' has non-sendable type '(any EventLoop) -> EventLoopFuture<STSAssumeRoleWithWebIdentityRequest>'; this is an error in the Swift 6 language mode
82 |
83 | private let config: TCServiceConfig
84 | private let requestProvider: (EventLoop) -> EventLoopFuture<STSAssumeRoleWithWebIdentityRequest>
| |- warning: stored property 'requestProvider' of 'Sendable'-conforming struct 'OIDCRoleArnCredentialProvider' has non-sendable type '(any EventLoop) -> EventLoopFuture<STSAssumeRoleWithWebIdentityRequest>'; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
85 |
86 | init(
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/ProfileCredentialProvider.swift:38:107: warning: capture of 'context' with non-sendable type 'CredentialProviderFactory.Context' in a `@Sendable` closure; this is an error in the Swift 6 language mode
36 | Self.credentialProvider(from: "~/.tencentcloud/credentials", for: profile, context: context)
37 | .flatMapError { _ in
38 | Self.credentialProvider(from: "/etc/tencentcloud/credentials", for: profile, context: context)
| `- warning: capture of 'context' with non-sendable type 'CredentialProviderFactory.Context' in a `@Sendable` closure; this is an error in the Swift 6 language mode
39 | }
40 | .cascade(to: self.startupPromise)
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/CredentialProviderFactory.swift:37:19: note: consider making struct 'Context' conform to the 'Sendable' protocol
35 | public struct CredentialProviderFactory {
36 | /// The initialization context for a ``CredentialProvider``.
37 | public struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
38 | /// The `TCClient`'s internal `HTTPClient`
39 | public let httpClient: HTTPClient
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/RuntimeSelectorCredentialProvider.swift:67:21: warning: capture of 'context' with non-sendable type 'CredentialProviderFactory.Context' in a `@Sendable` closure; this is an error in the Swift 6 language mode
65 | switch result {
66 | case .success:
67 | context.logger.debug("Credential provider was selected", metadata: ["tc-credential-provider": "\(provider)"])
| `- warning: capture of 'context' with non-sendable type 'CredentialProviderFactory.Context' in a `@Sendable` closure; this is an error in the Swift 6 language mode
68 | self.startupPromise.succeed(provider)
69 | case .failure:
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/CredentialProviderFactory.swift:37:19: note: consider making struct 'Context' conform to the 'Sendable' protocol
35 | public struct CredentialProviderFactory {
36 | /// The initialization context for a ``CredentialProvider``.
37 | public struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
38 | /// The `TCClient`'s internal `HTTPClient`
39 | public let httpClient: HTTPClient
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/RuntimeSelectorCredentialProvider.swift:71:21: warning: capture of '_setupInternalProvider' with non-sendable type '(Int) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
69 | case .failure:
70 | context.logger.debug("Credential provider failed during selection", metadata: ["tc-credential-provider": "\(provider)"])
71 | _setupInternalProvider(index + 1)
| |- warning: capture of '_setupInternalProvider' with non-sendable type '(Int) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
72 | }
73 | }
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/RuntimeSelectorCredentialProvider.swift:57:14: warning: concurrently-executed local function '_setupInternalProvider' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
55 | /// If a provider is able to provide credentials then use that one, otherwise move onto the next provider in the list.
56 | private func setupInternalProvider(providers: [CredentialProviderFactory], context: CredentialProviderFactory.Context) {
57 | func _setupInternalProvider(_ index: Int) {
| `- warning: concurrently-executed local function '_setupInternalProvider' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
58 | guard index < providers.count else {
59 | self.startupPromise.fail(CredentialProviderError.noProvider)
[1073/1100] Compiling TecoCore TCHTTPRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Transport/TCHTTPRequest.swift:30:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
28 | import class Foundation.JSONEncoder
29 | import struct Foundation.URL
30 | @_implementationOnly import MultipartKit
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
31 | import NIOCore
32 | @_implementationOnly import NIOFoundationCompat
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Transport/TCHTTPRequest.swift:32:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
30 | @_implementationOnly import MultipartKit
31 | import NIOCore
32 | @_implementationOnly import NIOFoundationCompat
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
33 | import NIOHTTP1
34 | import TecoSigner
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Transport/TCHTTPResponse.swift:30:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
28 | import Logging
29 | import NIOCore
30 | @_implementationOnly import NIOFoundationCompat
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
31 | import NIOHTTP1
32 |
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Utils/Environment.swift:18:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
16 | @_implementationOnly import Glibc
17 | #elseif canImport(Darwin)
18 | @_implementationOnly import Darwin.C
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
19 | #elseif canImport(CRT)
20 | @_implementationOnly import CRT
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Utils/FileLoader.swift:52:22: warning: passing non-sendable parameter 'callback' to function expecting a @Sendable closure
44 | /// - eventLoop: `EventLoop` to run everything on.
45 | /// - callback: Process `ByteBuffer` containing file contents.
46 | static func loadFile<T>(path: String, on eventLoop: EventLoop, _ callback: @escaping (ByteBuffer) -> EventLoopFuture<T>) -> EventLoopFuture<T> {
| `- note: parameter 'callback' is implicitly non-sendable
47 | let threadPool = NIOThreadPool(numberOfThreads: 1)
48 | threadPool.start()
:
50 |
51 | return self.loadFile(path: path, on: eventLoop, using: fileIO)
52 | .flatMap(callback)
| `- warning: passing non-sendable parameter 'callback' to function expecting a @Sendable closure
53 | .always { _ in
54 | // shut down the threadpool async
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Utils/FileLoader.swift:73:30: warning: capture of 'handle' with non-sendable type 'NIOFileHandle' in a `@Sendable` closure; this is an error in the Swift 6 language mode
71 | fileIO.read(fileRegion: region, allocator: ByteBufferAllocator(), eventLoop: eventLoop)
72 | .map {
73 | ($0, handle)
| `- warning: capture of 'handle' with non-sendable type 'NIOFileHandle' in a `@Sendable` closure; this is an error in the Swift 6 language mode
74 | }
75 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/FileHandle.swift:42:20: note: class 'NIOFileHandle' does not conform to the 'Sendable' protocol
40 | ///
41 | /// - warning: `NIOFileHandle` objects are not thread-safe and are mutable. They also cannot be fully thread-safe as they refer to a global underlying file descriptor.
42 | public final class NIOFileHandle: FileDescriptor {
| `- note: class 'NIOFileHandle' does not conform to the 'Sendable' protocol
43 | public private(set) var isOpen: Bool
44 | private let descriptor: CInt
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Utils/FileLoader.swift:26:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIOCore'
24 | //===----------------------------------------------------------------------===//
25 |
26 | import NIOCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIOCore'
27 | import NIOPosix
28 | #if os(Linux)
[1074/1100] Compiling TecoCore TCHTTPResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Transport/TCHTTPRequest.swift:30:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
28 | import class Foundation.JSONEncoder
29 | import struct Foundation.URL
30 | @_implementationOnly import MultipartKit
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
31 | import NIOCore
32 | @_implementationOnly import NIOFoundationCompat
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Transport/TCHTTPRequest.swift:32:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
30 | @_implementationOnly import MultipartKit
31 | import NIOCore
32 | @_implementationOnly import NIOFoundationCompat
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
33 | import NIOHTTP1
34 | import TecoSigner
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Transport/TCHTTPResponse.swift:30:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
28 | import Logging
29 | import NIOCore
30 | @_implementationOnly import NIOFoundationCompat
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
31 | import NIOHTTP1
32 |
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Utils/Environment.swift:18:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
16 | @_implementationOnly import Glibc
17 | #elseif canImport(Darwin)
18 | @_implementationOnly import Darwin.C
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
19 | #elseif canImport(CRT)
20 | @_implementationOnly import CRT
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Utils/FileLoader.swift:52:22: warning: passing non-sendable parameter 'callback' to function expecting a @Sendable closure
44 | /// - eventLoop: `EventLoop` to run everything on.
45 | /// - callback: Process `ByteBuffer` containing file contents.
46 | static func loadFile<T>(path: String, on eventLoop: EventLoop, _ callback: @escaping (ByteBuffer) -> EventLoopFuture<T>) -> EventLoopFuture<T> {
| `- note: parameter 'callback' is implicitly non-sendable
47 | let threadPool = NIOThreadPool(numberOfThreads: 1)
48 | threadPool.start()
:
50 |
51 | return self.loadFile(path: path, on: eventLoop, using: fileIO)
52 | .flatMap(callback)
| `- warning: passing non-sendable parameter 'callback' to function expecting a @Sendable closure
53 | .always { _ in
54 | // shut down the threadpool async
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Utils/FileLoader.swift:73:30: warning: capture of 'handle' with non-sendable type 'NIOFileHandle' in a `@Sendable` closure; this is an error in the Swift 6 language mode
71 | fileIO.read(fileRegion: region, allocator: ByteBufferAllocator(), eventLoop: eventLoop)
72 | .map {
73 | ($0, handle)
| `- warning: capture of 'handle' with non-sendable type 'NIOFileHandle' in a `@Sendable` closure; this is an error in the Swift 6 language mode
74 | }
75 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/FileHandle.swift:42:20: note: class 'NIOFileHandle' does not conform to the 'Sendable' protocol
40 | ///
41 | /// - warning: `NIOFileHandle` objects are not thread-safe and are mutable. They also cannot be fully thread-safe as they refer to a global underlying file descriptor.
42 | public final class NIOFileHandle: FileDescriptor {
| `- note: class 'NIOFileHandle' does not conform to the 'Sendable' protocol
43 | public private(set) var isOpen: Bool
44 | private let descriptor: CInt
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Utils/FileLoader.swift:26:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIOCore'
24 | //===----------------------------------------------------------------------===//
25 |
26 | import NIOCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIOCore'
27 | import NIOPosix
28 | #if os(Linux)
[1075/1100] Compiling TecoCore Environment.swift
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Transport/TCHTTPRequest.swift:30:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
28 | import class Foundation.JSONEncoder
29 | import struct Foundation.URL
30 | @_implementationOnly import MultipartKit
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
31 | import NIOCore
32 | @_implementationOnly import NIOFoundationCompat
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Transport/TCHTTPRequest.swift:32:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
30 | @_implementationOnly import MultipartKit
31 | import NIOCore
32 | @_implementationOnly import NIOFoundationCompat
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
33 | import NIOHTTP1
34 | import TecoSigner
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Transport/TCHTTPResponse.swift:30:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
28 | import Logging
29 | import NIOCore
30 | @_implementationOnly import NIOFoundationCompat
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
31 | import NIOHTTP1
32 |
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Utils/Environment.swift:18:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
16 | @_implementationOnly import Glibc
17 | #elseif canImport(Darwin)
18 | @_implementationOnly import Darwin.C
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
19 | #elseif canImport(CRT)
20 | @_implementationOnly import CRT
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Utils/FileLoader.swift:52:22: warning: passing non-sendable parameter 'callback' to function expecting a @Sendable closure
44 | /// - eventLoop: `EventLoop` to run everything on.
45 | /// - callback: Process `ByteBuffer` containing file contents.
46 | static func loadFile<T>(path: String, on eventLoop: EventLoop, _ callback: @escaping (ByteBuffer) -> EventLoopFuture<T>) -> EventLoopFuture<T> {
| `- note: parameter 'callback' is implicitly non-sendable
47 | let threadPool = NIOThreadPool(numberOfThreads: 1)
48 | threadPool.start()
:
50 |
51 | return self.loadFile(path: path, on: eventLoop, using: fileIO)
52 | .flatMap(callback)
| `- warning: passing non-sendable parameter 'callback' to function expecting a @Sendable closure
53 | .always { _ in
54 | // shut down the threadpool async
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Utils/FileLoader.swift:73:30: warning: capture of 'handle' with non-sendable type 'NIOFileHandle' in a `@Sendable` closure; this is an error in the Swift 6 language mode
71 | fileIO.read(fileRegion: region, allocator: ByteBufferAllocator(), eventLoop: eventLoop)
72 | .map {
73 | ($0, handle)
| `- warning: capture of 'handle' with non-sendable type 'NIOFileHandle' in a `@Sendable` closure; this is an error in the Swift 6 language mode
74 | }
75 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/FileHandle.swift:42:20: note: class 'NIOFileHandle' does not conform to the 'Sendable' protocol
40 | ///
41 | /// - warning: `NIOFileHandle` objects are not thread-safe and are mutable. They also cannot be fully thread-safe as they refer to a global underlying file descriptor.
42 | public final class NIOFileHandle: FileDescriptor {
| `- note: class 'NIOFileHandle' does not conform to the 'Sendable' protocol
43 | public private(set) var isOpen: Bool
44 | private let descriptor: CInt
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Utils/FileLoader.swift:26:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIOCore'
24 | //===----------------------------------------------------------------------===//
25 |
26 | import NIOCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIOCore'
27 | import NIOPosix
28 | #if os(Linux)
[1076/1100] Compiling TecoCore FileLoader.swift
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Transport/TCHTTPRequest.swift:30:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
28 | import class Foundation.JSONEncoder
29 | import struct Foundation.URL
30 | @_implementationOnly import MultipartKit
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
31 | import NIOCore
32 | @_implementationOnly import NIOFoundationCompat
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Transport/TCHTTPRequest.swift:32:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
30 | @_implementationOnly import MultipartKit
31 | import NIOCore
32 | @_implementationOnly import NIOFoundationCompat
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
33 | import NIOHTTP1
34 | import TecoSigner
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Transport/TCHTTPResponse.swift:30:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
28 | import Logging
29 | import NIOCore
30 | @_implementationOnly import NIOFoundationCompat
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
31 | import NIOHTTP1
32 |
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Utils/Environment.swift:18:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
16 | @_implementationOnly import Glibc
17 | #elseif canImport(Darwin)
18 | @_implementationOnly import Darwin.C
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
19 | #elseif canImport(CRT)
20 | @_implementationOnly import CRT
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Utils/FileLoader.swift:52:22: warning: passing non-sendable parameter 'callback' to function expecting a @Sendable closure
44 | /// - eventLoop: `EventLoop` to run everything on.
45 | /// - callback: Process `ByteBuffer` containing file contents.
46 | static func loadFile<T>(path: String, on eventLoop: EventLoop, _ callback: @escaping (ByteBuffer) -> EventLoopFuture<T>) -> EventLoopFuture<T> {
| `- note: parameter 'callback' is implicitly non-sendable
47 | let threadPool = NIOThreadPool(numberOfThreads: 1)
48 | threadPool.start()
:
50 |
51 | return self.loadFile(path: path, on: eventLoop, using: fileIO)
52 | .flatMap(callback)
| `- warning: passing non-sendable parameter 'callback' to function expecting a @Sendable closure
53 | .always { _ in
54 | // shut down the threadpool async
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Utils/FileLoader.swift:73:30: warning: capture of 'handle' with non-sendable type 'NIOFileHandle' in a `@Sendable` closure; this is an error in the Swift 6 language mode
71 | fileIO.read(fileRegion: region, allocator: ByteBufferAllocator(), eventLoop: eventLoop)
72 | .map {
73 | ($0, handle)
| `- warning: capture of 'handle' with non-sendable type 'NIOFileHandle' in a `@Sendable` closure; this is an error in the Swift 6 language mode
74 | }
75 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/FileHandle.swift:42:20: note: class 'NIOFileHandle' does not conform to the 'Sendable' protocol
40 | ///
41 | /// - warning: `NIOFileHandle` objects are not thread-safe and are mutable. They also cannot be fully thread-safe as they refer to a global underlying file descriptor.
42 | public final class NIOFileHandle: FileDescriptor {
| `- note: class 'NIOFileHandle' does not conform to the 'Sendable' protocol
43 | public private(set) var isOpen: Bool
44 | private let descriptor: CInt
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Utils/FileLoader.swift:26:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIOCore'
24 | //===----------------------------------------------------------------------===//
25 |
26 | import NIOCore
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIOCore'
27 | import NIOPosix
28 | #if os(Linux)
[1077/1100] Emitting module TecoCore
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Common/TCClient.swift:27:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
25 |
26 | import AsyncHTTPClient
27 | @_implementationOnly import Atomics
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
28 | import Dispatch
29 | import struct Foundation.URL
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Common/TCClient.swift:31:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
29 | import struct Foundation.URL
30 | import Logging
31 | @_implementationOnly import Metrics
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
32 | @_implementationOnly import NIOConcurrencyHelpers
33 | import NIOCore
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Common/TCClient.swift:32:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
30 | import Logging
31 | @_implementationOnly import Metrics
32 | @_implementationOnly import NIOConcurrencyHelpers
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
33 | import NIOCore
34 | import NIOHTTP1
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/CredentialProviderSelector.swift:27:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
25 |
26 | import Logging
27 | @_implementationOnly import NIOConcurrencyHelpers
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
28 | import NIOCore
29 | import TecoSigner
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/DeferredCredentialProvider.swift:27:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
25 |
26 | import Logging
27 | @_implementationOnly import NIOConcurrencyHelpers
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
28 | import NIOCore
29 | import TecoSigner
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/ProfileCredentialProvider.swift:14:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
12 | //===----------------------------------------------------------------------===//
13 |
14 | @_implementationOnly import INIParser
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
15 | import NIOCore
16 | @_implementationOnly import NIOConcurrencyHelpers
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/ProfileCredentialProvider.swift:16:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
14 | @_implementationOnly import INIParser
15 | import NIOCore
16 | @_implementationOnly import NIOConcurrencyHelpers
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
17 | import TecoSigner
18 |
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/RuntimeSelectorCredentialProvider.swift:27:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
25 |
26 | import Logging
27 | @_implementationOnly import NIOConcurrencyHelpers
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
28 | import NIOCore
29 | import TecoSigner
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/TCCLICredentialProvider.swift:15:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
13 |
14 | import Logging
15 | @_implementationOnly import NIOConcurrencyHelpers
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
16 | import NIOCore
17 | import TecoSigner
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/TemporaryCredentialProvider.swift:28:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
26 | import struct Foundation.TimeInterval
27 | import Logging
28 | @_implementationOnly import NIOConcurrencyHelpers
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
29 | import NIOCore
30 | import TecoSigner
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Transport/TCHTTPRequest.swift:30:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
28 | import class Foundation.JSONEncoder
29 | import struct Foundation.URL
30 | @_implementationOnly import MultipartKit
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
31 | import NIOCore
32 | @_implementationOnly import NIOFoundationCompat
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Transport/TCHTTPRequest.swift:32:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
30 | @_implementationOnly import MultipartKit
31 | import NIOCore
32 | @_implementationOnly import NIOFoundationCompat
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
33 | import NIOHTTP1
34 | import TecoSigner
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Transport/TCHTTPResponse.swift:30:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
28 | import Logging
29 | import NIOCore
30 | @_implementationOnly import NIOFoundationCompat
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
31 | import NIOHTTP1
32 |
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Utils/Environment.swift:18:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
16 | @_implementationOnly import Glibc
17 | #elseif canImport(Darwin)
18 | @_implementationOnly import Darwin.C
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
19 | #elseif canImport(CRT)
20 | @_implementationOnly import CRT
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/deprecated.swift:17:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
15 | import Logging
16 | import NIOCore
17 | @_implementationOnly import NIOFoundationCompat
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
18 | import NIOHTTP1
19 |
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/OIDCRoleArnCredentialProvider.swift:84:17: warning: stored property 'requestProvider' of 'Sendable'-conforming struct 'OIDCRoleArnCredentialProvider' has non-sendable type '(any EventLoop) -> EventLoopFuture<STSAssumeRoleWithWebIdentityRequest>'; this is an error in the Swift 6 language mode
82 |
83 | private let config: TCServiceConfig
84 | private let requestProvider: (EventLoop) -> EventLoopFuture<STSAssumeRoleWithWebIdentityRequest>
| |- warning: stored property 'requestProvider' of 'Sendable'-conforming struct 'OIDCRoleArnCredentialProvider' has non-sendable type '(any EventLoop) -> EventLoopFuture<STSAssumeRoleWithWebIdentityRequest>'; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
85 |
86 | init(
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/StaticCredential+CredentialProvider.swift:30:1: warning: extension declares a conformance of imported type 'StaticCredential' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'TecoSigner' introduce this conformance in the future
28 | import TecoSigner
29 |
30 | extension StaticCredential: CredentialProvider {
| |- warning: extension declares a conformance of imported type 'StaticCredential' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'TecoSigner' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
31 | /// Provide a static credential.
32 | public func getCredential(on eventLoop: EventLoop, logger: Logger) -> EventLoopFuture<Credential> {
[1078/1100] Compiling TecoCore Sendable.swift
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/deprecated.swift:17:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
15 | import Logging
16 | import NIOCore
17 | @_implementationOnly import NIOFoundationCompat
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
18 | import NIOHTTP1
19 |
[1079/1100] Compiling TecoCore Singleton.swift
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/deprecated.swift:17:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
15 | import Logging
16 | import NIOCore
17 | @_implementationOnly import NIOFoundationCompat
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
18 | import NIOHTTP1
19 |
[1080/1100] Compiling TecoCore deprecated.swift
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/deprecated.swift:17:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
15 | import Logging
16 | import NIOCore
17 | @_implementationOnly import NIOFoundationCompat
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
18 | import NIOHTTP1
19 |
[1081/1100] Compiling TecoCore exports.swift
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/deprecated.swift:17:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
15 | import Logging
16 | import NIOCore
17 | @_implementationOnly import NIOFoundationCompat
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
18 | import NIOHTTP1
19 |
[1082/1100] Compiling TecoCore TemporaryCredentialProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/TemporaryCredentialProvider.swift:28:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
26 | import struct Foundation.TimeInterval
27 | import Logging
28 | @_implementationOnly import NIOConcurrencyHelpers
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
29 | import NIOCore
30 | import TecoSigner
[1083/1100] Compiling TecoCore TCCommonError.swift
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/TemporaryCredentialProvider.swift:28:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
26 | import struct Foundation.TimeInterval
27 | import Logging
28 | @_implementationOnly import NIOConcurrencyHelpers
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
29 | import NIOCore
30 | import TecoSigner
[1084/1100] Compiling TecoCore TCErrorContext.swift
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/TemporaryCredentialProvider.swift:28:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
26 | import struct Foundation.TimeInterval
27 | import Logging
28 | @_implementationOnly import NIOConcurrencyHelpers
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
29 | import NIOCore
30 | import TecoSigner
[1085/1100] Compiling TecoCore TCErrorType.swift
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/TemporaryCredentialProvider.swift:28:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
26 | import struct Foundation.TimeInterval
27 | import Logging
28 | @_implementationOnly import NIOConcurrencyHelpers
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
29 | import NIOCore
30 | import TecoSigner
[1086/1100] Compiling TecoCore TCService.swift
[1087/1100] Compiling TecoCore TCServiceConfig.swift
[1088/1100] Compiling TecoCore CVMRoleCredentialProvider.swift
[1089/1100] Compiling TecoCore CredentialProvider.swift
[1090/1100] Compiling TecoCore CredentialProviderError.swift
[1091/1100] Compiling TecoCore CredentialProviderFactory.swift
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/CredentialProviderSelector.swift:27:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
25 |
26 | import Logging
27 | @_implementationOnly import NIOConcurrencyHelpers
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
28 | import NIOCore
29 | import TecoSigner
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/DeferredCredentialProvider.swift:27:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
25 |
26 | import Logging
27 | @_implementationOnly import NIOConcurrencyHelpers
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
28 | import NIOCore
29 | import TecoSigner
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/DeferredCredentialProvider.swift:54:17: warning: capture of 'context' with non-sendable type 'CredentialProviderFactory.Context' in a `@Sendable` closure; this is an error in the Swift 6 language mode
52 | .map { credential in
53 | self.credential.withLockedValue { $0 = credential }
54 | context.logger.debug("Tencent Cloud credential was ready", metadata: [
| `- warning: capture of 'context' with non-sendable type 'CredentialProviderFactory.Context' in a `@Sendable` closure; this is an error in the Swift 6 language mode
55 | "tc-credential-provider": "\(self)"
56 | ])
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/CredentialProviderFactory.swift:37:19: note: consider making struct 'Context' conform to the 'Sendable' protocol
35 | public struct CredentialProviderFactory {
36 | /// The initialization context for a ``CredentialProvider``.
37 | public struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
38 | /// The `TCClient`'s internal `HTTPClient`
39 | public let httpClient: HTTPClient
[1092/1100] Compiling TecoCore CredentialProviderSelector.swift
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/CredentialProviderSelector.swift:27:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
25 |
26 | import Logging
27 | @_implementationOnly import NIOConcurrencyHelpers
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
28 | import NIOCore
29 | import TecoSigner
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/DeferredCredentialProvider.swift:27:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
25 |
26 | import Logging
27 | @_implementationOnly import NIOConcurrencyHelpers
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
28 | import NIOCore
29 | import TecoSigner
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/DeferredCredentialProvider.swift:54:17: warning: capture of 'context' with non-sendable type 'CredentialProviderFactory.Context' in a `@Sendable` closure; this is an error in the Swift 6 language mode
52 | .map { credential in
53 | self.credential.withLockedValue { $0 = credential }
54 | context.logger.debug("Tencent Cloud credential was ready", metadata: [
| `- warning: capture of 'context' with non-sendable type 'CredentialProviderFactory.Context' in a `@Sendable` closure; this is an error in the Swift 6 language mode
55 | "tc-credential-provider": "\(self)"
56 | ])
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/CredentialProviderFactory.swift:37:19: note: consider making struct 'Context' conform to the 'Sendable' protocol
35 | public struct CredentialProviderFactory {
36 | /// The initialization context for a ``CredentialProvider``.
37 | public struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
38 | /// The `TCClient`'s internal `HTTPClient`
39 | public let httpClient: HTTPClient
[1093/1100] Compiling TecoCore CredentialProviderWithClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/CredentialProviderSelector.swift:27:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
25 |
26 | import Logging
27 | @_implementationOnly import NIOConcurrencyHelpers
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
28 | import NIOCore
29 | import TecoSigner
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/DeferredCredentialProvider.swift:27:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
25 |
26 | import Logging
27 | @_implementationOnly import NIOConcurrencyHelpers
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
28 | import NIOCore
29 | import TecoSigner
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/DeferredCredentialProvider.swift:54:17: warning: capture of 'context' with non-sendable type 'CredentialProviderFactory.Context' in a `@Sendable` closure; this is an error in the Swift 6 language mode
52 | .map { credential in
53 | self.credential.withLockedValue { $0 = credential }
54 | context.logger.debug("Tencent Cloud credential was ready", metadata: [
| `- warning: capture of 'context' with non-sendable type 'CredentialProviderFactory.Context' in a `@Sendable` closure; this is an error in the Swift 6 language mode
55 | "tc-credential-provider": "\(self)"
56 | ])
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/CredentialProviderFactory.swift:37:19: note: consider making struct 'Context' conform to the 'Sendable' protocol
35 | public struct CredentialProviderFactory {
36 | /// The initialization context for a ``CredentialProvider``.
37 | public struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
38 | /// The `TCClient`'s internal `HTTPClient`
39 | public let httpClient: HTTPClient
[1094/1100] Compiling TecoCore DeferredCredentialProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/CredentialProviderSelector.swift:27:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
25 |
26 | import Logging
27 | @_implementationOnly import NIOConcurrencyHelpers
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
28 | import NIOCore
29 | import TecoSigner
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/DeferredCredentialProvider.swift:27:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
25 |
26 | import Logging
27 | @_implementationOnly import NIOConcurrencyHelpers
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
28 | import NIOCore
29 | import TecoSigner
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/DeferredCredentialProvider.swift:54:17: warning: capture of 'context' with non-sendable type 'CredentialProviderFactory.Context' in a `@Sendable` closure; this is an error in the Swift 6 language mode
52 | .map { credential in
53 | self.credential.withLockedValue { $0 = credential }
54 | context.logger.debug("Tencent Cloud credential was ready", metadata: [
| `- warning: capture of 'context' with non-sendable type 'CredentialProviderFactory.Context' in a `@Sendable` closure; this is an error in the Swift 6 language mode
55 | "tc-credential-provider": "\(self)"
56 | ])
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/CredentialProviderFactory.swift:37:19: note: consider making struct 'Context' conform to the 'Sendable' protocol
35 | public struct CredentialProviderFactory {
36 | /// The initialization context for a ``CredentialProvider``.
37 | public struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
38 | /// The `TCClient`'s internal `HTTPClient`
39 | public let httpClient: HTTPClient
[1095/1100] Compiling TecoCore ExpiringCredential.swift
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/CredentialProviderSelector.swift:27:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
25 |
26 | import Logging
27 | @_implementationOnly import NIOConcurrencyHelpers
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
28 | import NIOCore
29 | import TecoSigner
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/DeferredCredentialProvider.swift:27:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
25 |
26 | import Logging
27 | @_implementationOnly import NIOConcurrencyHelpers
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
28 | import NIOCore
29 | import TecoSigner
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/DeferredCredentialProvider.swift:54:17: warning: capture of 'context' with non-sendable type 'CredentialProviderFactory.Context' in a `@Sendable` closure; this is an error in the Swift 6 language mode
52 | .map { credential in
53 | self.credential.withLockedValue { $0 = credential }
54 | context.logger.debug("Tencent Cloud credential was ready", metadata: [
| `- warning: capture of 'context' with non-sendable type 'CredentialProviderFactory.Context' in a `@Sendable` closure; this is an error in the Swift 6 language mode
55 | "tc-credential-provider": "\(self)"
56 | ])
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Credential/CredentialProviderFactory.swift:37:19: note: consider making struct 'Context' conform to the 'Sendable' protocol
35 | public struct CredentialProviderFactory {
36 | /// The initialization context for a ``CredentialProvider``.
37 | public struct Context {
| `- note: consider making struct 'Context' conform to the 'Sendable' protocol
38 | /// The `TCClient`'s internal `HTTPClient`
39 | public let httpClient: HTTPClient
[1096/1100] Compiling TecoCore EndpointProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Common/TCClient.swift:27:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
25 |
26 | import AsyncHTTPClient
27 | @_implementationOnly import Atomics
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
28 | import Dispatch
29 | import struct Foundation.URL
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Common/TCClient.swift:31:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
29 | import struct Foundation.URL
30 | import Logging
31 | @_implementationOnly import Metrics
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
32 | @_implementationOnly import NIOConcurrencyHelpers
33 | import NIOCore
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Common/TCClient.swift:32:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
30 | import Logging
31 | @_implementationOnly import Metrics
32 | @_implementationOnly import NIOConcurrencyHelpers
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
33 | import NIOCore
34 | import NIOHTTP1
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Common/TCClient.swift:196:21: warning: capture of 'callback' with non-sendable type '((any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
194 | )
195 | }
196 | callback(error)
| |- warning: capture of 'callback' with non-sendable type '((any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
197 | }
198 | case .shared:
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Common/TCClient.swift:196:21: warning: capture of 'callback' with non-sendable type '((any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
194 | )
195 | }
196 | callback(error)
| |- warning: capture of 'callback' with non-sendable type '((any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
197 | }
198 | case .shared:
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Common/TCClient.swift:478:35: warning: capture of 'createRequest' with non-sendable type '() throws -> TCHTTPRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
476 | .flatMapThrowing { signer -> TCHTTPRequest in
477 | // create request and sign with signer
478 | var request = try createRequest()
| |- warning: capture of 'createRequest' with non-sendable type '() throws -> TCHTTPRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
479 | request.signHeaders(with: signer, mode: skipAuthorization ? .skip : self.signingMode)
480 | return request
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Common/TCClient.swift:486:45: warning: capture of 'executor' with non-sendable type '(TCHTTPRequest, any EventLoop, Logger) -> EventLoopFuture<TCHTTPResponse>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
484 | eventLoop: eventLoop,
485 | logger: logger,
486 | request: { eventLoop in executor(request, eventLoop, logger) }
| |- warning: capture of 'executor' with non-sendable type '(TCHTTPRequest, any EventLoop, Logger) -> EventLoopFuture<TCHTTPResponse>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
487 | )
488 | }
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Common/TCClient.swift:486:45: warning: capture of 'executor' with non-sendable type '(TCHTTPRequest, any EventLoop, Logger) -> EventLoopFuture<TCHTTPResponse>' in an isolated closure; this is an error in the Swift 6 language mode
484 | eventLoop: eventLoop,
485 | logger: logger,
486 | request: { eventLoop in executor(request, eventLoop, logger) }
| |- warning: capture of 'executor' with non-sendable type '(TCHTTPRequest, any EventLoop, Logger) -> EventLoopFuture<TCHTTPResponse>' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
487 | )
488 | }
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Common/TCClient.swift:522:29: warning: capture of 'execute(attempt:)' with non-sendable type '(Int) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
520 | // schedule task for retrying the request
521 | eventLoop.scheduleTask(in: retryTime) {
522 | execute(attempt: attempt + 1)
| |- warning: capture of 'execute(attempt:)' with non-sendable type '(Int) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
523 | }
524 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Common/TCClient.swift:522:29: warning: capture of 'execute(attempt:)' with non-sendable type '(Int) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
520 | // schedule task for retrying the request
521 | eventLoop.scheduleTask(in: retryTime) {
522 | execute(attempt: attempt + 1)
| |- warning: capture of 'execute(attempt:)' with non-sendable type '(Int) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
523 | }
524 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Common/TCClient.swift:501:14: warning: concurrently-executed local function 'execute(attempt:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
499 | let promise = eventLoop.makePromise(of: Output.self)
500 |
501 | func execute(attempt: Int) {
| `- warning: concurrently-executed local function 'execute(attempt:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
502 | // execute HTTP request
503 | request(eventLoop)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Metrics.swift:401:23: warning: static property 'seconds' is not concurrency-safe because non-'Sendable' type 'TimeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
375 | // MARK: - Timer
376 |
377 | public struct TimeUnit: Equatable {
| `- note: consider making struct 'TimeUnit' conform to the 'Sendable' protocol
378 | private enum Code: Equatable {
379 | case nanoseconds
:
399 | public static let microseconds = TimeUnit(code: .microseconds, scaleFromNanoseconds: 1000)
400 | public static let milliseconds = TimeUnit(code: .milliseconds, scaleFromNanoseconds: 1000 * TimeUnit.microseconds.scaleFromNanoseconds)
401 | public static let seconds = TimeUnit(code: .seconds, scaleFromNanoseconds: 1000 * TimeUnit.milliseconds.scaleFromNanoseconds)
| |- warning: static property 'seconds' is not concurrency-safe because non-'Sendable' type 'TimeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'seconds' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
402 | public static let minutes = TimeUnit(code: .minutes, scaleFromNanoseconds: 60 * TimeUnit.seconds.scaleFromNanoseconds)
403 | public static let hours = TimeUnit(code: .hours, scaleFromNanoseconds: 60 * TimeUnit.minutes.scaleFromNanoseconds)
[1097/1100] Compiling TecoCore RetryPolicy.swift
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Common/TCClient.swift:27:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
25 |
26 | import AsyncHTTPClient
27 | @_implementationOnly import Atomics
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
28 | import Dispatch
29 | import struct Foundation.URL
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Common/TCClient.swift:31:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
29 | import struct Foundation.URL
30 | import Logging
31 | @_implementationOnly import Metrics
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
32 | @_implementationOnly import NIOConcurrencyHelpers
33 | import NIOCore
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Common/TCClient.swift:32:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
30 | import Logging
31 | @_implementationOnly import Metrics
32 | @_implementationOnly import NIOConcurrencyHelpers
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
33 | import NIOCore
34 | import NIOHTTP1
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Common/TCClient.swift:196:21: warning: capture of 'callback' with non-sendable type '((any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
194 | )
195 | }
196 | callback(error)
| |- warning: capture of 'callback' with non-sendable type '((any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
197 | }
198 | case .shared:
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Common/TCClient.swift:196:21: warning: capture of 'callback' with non-sendable type '((any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
194 | )
195 | }
196 | callback(error)
| |- warning: capture of 'callback' with non-sendable type '((any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
197 | }
198 | case .shared:
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Common/TCClient.swift:478:35: warning: capture of 'createRequest' with non-sendable type '() throws -> TCHTTPRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
476 | .flatMapThrowing { signer -> TCHTTPRequest in
477 | // create request and sign with signer
478 | var request = try createRequest()
| |- warning: capture of 'createRequest' with non-sendable type '() throws -> TCHTTPRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
479 | request.signHeaders(with: signer, mode: skipAuthorization ? .skip : self.signingMode)
480 | return request
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Common/TCClient.swift:486:45: warning: capture of 'executor' with non-sendable type '(TCHTTPRequest, any EventLoop, Logger) -> EventLoopFuture<TCHTTPResponse>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
484 | eventLoop: eventLoop,
485 | logger: logger,
486 | request: { eventLoop in executor(request, eventLoop, logger) }
| |- warning: capture of 'executor' with non-sendable type '(TCHTTPRequest, any EventLoop, Logger) -> EventLoopFuture<TCHTTPResponse>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
487 | )
488 | }
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Common/TCClient.swift:486:45: warning: capture of 'executor' with non-sendable type '(TCHTTPRequest, any EventLoop, Logger) -> EventLoopFuture<TCHTTPResponse>' in an isolated closure; this is an error in the Swift 6 language mode
484 | eventLoop: eventLoop,
485 | logger: logger,
486 | request: { eventLoop in executor(request, eventLoop, logger) }
| |- warning: capture of 'executor' with non-sendable type '(TCHTTPRequest, any EventLoop, Logger) -> EventLoopFuture<TCHTTPResponse>' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
487 | )
488 | }
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Common/TCClient.swift:522:29: warning: capture of 'execute(attempt:)' with non-sendable type '(Int) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
520 | // schedule task for retrying the request
521 | eventLoop.scheduleTask(in: retryTime) {
522 | execute(attempt: attempt + 1)
| |- warning: capture of 'execute(attempt:)' with non-sendable type '(Int) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
523 | }
524 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Common/TCClient.swift:522:29: warning: capture of 'execute(attempt:)' with non-sendable type '(Int) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
520 | // schedule task for retrying the request
521 | eventLoop.scheduleTask(in: retryTime) {
522 | execute(attempt: attempt + 1)
| |- warning: capture of 'execute(attempt:)' with non-sendable type '(Int) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
523 | }
524 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Common/TCClient.swift:501:14: warning: concurrently-executed local function 'execute(attempt:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
499 | let promise = eventLoop.makePromise(of: Output.self)
500 |
501 | func execute(attempt: Int) {
| `- warning: concurrently-executed local function 'execute(attempt:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
502 | // execute HTTP request
503 | request(eventLoop)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Metrics.swift:401:23: warning: static property 'seconds' is not concurrency-safe because non-'Sendable' type 'TimeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
375 | // MARK: - Timer
376 |
377 | public struct TimeUnit: Equatable {
| `- note: consider making struct 'TimeUnit' conform to the 'Sendable' protocol
378 | private enum Code: Equatable {
379 | case nanoseconds
:
399 | public static let microseconds = TimeUnit(code: .microseconds, scaleFromNanoseconds: 1000)
400 | public static let milliseconds = TimeUnit(code: .milliseconds, scaleFromNanoseconds: 1000 * TimeUnit.microseconds.scaleFromNanoseconds)
401 | public static let seconds = TimeUnit(code: .seconds, scaleFromNanoseconds: 1000 * TimeUnit.milliseconds.scaleFromNanoseconds)
| |- warning: static property 'seconds' is not concurrency-safe because non-'Sendable' type 'TimeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'seconds' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
402 | public static let minutes = TimeUnit(code: .minutes, scaleFromNanoseconds: 60 * TimeUnit.seconds.scaleFromNanoseconds)
403 | public static let hours = TimeUnit(code: .hours, scaleFromNanoseconds: 60 * TimeUnit.minutes.scaleFromNanoseconds)
[1098/1100] Compiling TecoCore TCClient.swift
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Common/TCClient.swift:27:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
25 |
26 | import AsyncHTTPClient
27 | @_implementationOnly import Atomics
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
28 | import Dispatch
29 | import struct Foundation.URL
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Common/TCClient.swift:31:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
29 | import struct Foundation.URL
30 | import Logging
31 | @_implementationOnly import Metrics
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
32 | @_implementationOnly import NIOConcurrencyHelpers
33 | import NIOCore
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Common/TCClient.swift:32:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
30 | import Logging
31 | @_implementationOnly import Metrics
32 | @_implementationOnly import NIOConcurrencyHelpers
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
33 | import NIOCore
34 | import NIOHTTP1
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Common/TCClient.swift:196:21: warning: capture of 'callback' with non-sendable type '((any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
194 | )
195 | }
196 | callback(error)
| |- warning: capture of 'callback' with non-sendable type '((any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
197 | }
198 | case .shared:
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Common/TCClient.swift:196:21: warning: capture of 'callback' with non-sendable type '((any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
194 | )
195 | }
196 | callback(error)
| |- warning: capture of 'callback' with non-sendable type '((any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
197 | }
198 | case .shared:
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Common/TCClient.swift:478:35: warning: capture of 'createRequest' with non-sendable type '() throws -> TCHTTPRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
476 | .flatMapThrowing { signer -> TCHTTPRequest in
477 | // create request and sign with signer
478 | var request = try createRequest()
| |- warning: capture of 'createRequest' with non-sendable type '() throws -> TCHTTPRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
479 | request.signHeaders(with: signer, mode: skipAuthorization ? .skip : self.signingMode)
480 | return request
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Common/TCClient.swift:486:45: warning: capture of 'executor' with non-sendable type '(TCHTTPRequest, any EventLoop, Logger) -> EventLoopFuture<TCHTTPResponse>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
484 | eventLoop: eventLoop,
485 | logger: logger,
486 | request: { eventLoop in executor(request, eventLoop, logger) }
| |- warning: capture of 'executor' with non-sendable type '(TCHTTPRequest, any EventLoop, Logger) -> EventLoopFuture<TCHTTPResponse>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
487 | )
488 | }
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Common/TCClient.swift:486:45: warning: capture of 'executor' with non-sendable type '(TCHTTPRequest, any EventLoop, Logger) -> EventLoopFuture<TCHTTPResponse>' in an isolated closure; this is an error in the Swift 6 language mode
484 | eventLoop: eventLoop,
485 | logger: logger,
486 | request: { eventLoop in executor(request, eventLoop, logger) }
| |- warning: capture of 'executor' with non-sendable type '(TCHTTPRequest, any EventLoop, Logger) -> EventLoopFuture<TCHTTPResponse>' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
487 | )
488 | }
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Common/TCClient.swift:522:29: warning: capture of 'execute(attempt:)' with non-sendable type '(Int) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
520 | // schedule task for retrying the request
521 | eventLoop.scheduleTask(in: retryTime) {
522 | execute(attempt: attempt + 1)
| |- warning: capture of 'execute(attempt:)' with non-sendable type '(Int) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
523 | }
524 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Common/TCClient.swift:522:29: warning: capture of 'execute(attempt:)' with non-sendable type '(Int) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
520 | // schedule task for retrying the request
521 | eventLoop.scheduleTask(in: retryTime) {
522 | execute(attempt: attempt + 1)
| |- warning: capture of 'execute(attempt:)' with non-sendable type '(Int) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
523 | }
524 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Common/TCClient.swift:501:14: warning: concurrently-executed local function 'execute(attempt:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
499 | let promise = eventLoop.makePromise(of: Output.self)
500 |
501 | func execute(attempt: Int) {
| `- warning: concurrently-executed local function 'execute(attempt:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
502 | // execute HTTP request
503 | request(eventLoop)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Metrics.swift:401:23: warning: static property 'seconds' is not concurrency-safe because non-'Sendable' type 'TimeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
375 | // MARK: - Timer
376 |
377 | public struct TimeUnit: Equatable {
| `- note: consider making struct 'TimeUnit' conform to the 'Sendable' protocol
378 | private enum Code: Equatable {
379 | case nanoseconds
:
399 | public static let microseconds = TimeUnit(code: .microseconds, scaleFromNanoseconds: 1000)
400 | public static let milliseconds = TimeUnit(code: .milliseconds, scaleFromNanoseconds: 1000 * TimeUnit.microseconds.scaleFromNanoseconds)
401 | public static let seconds = TimeUnit(code: .seconds, scaleFromNanoseconds: 1000 * TimeUnit.milliseconds.scaleFromNanoseconds)
| |- warning: static property 'seconds' is not concurrency-safe because non-'Sendable' type 'TimeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'seconds' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
402 | public static let minutes = TimeUnit(code: .minutes, scaleFromNanoseconds: 60 * TimeUnit.seconds.scaleFromNanoseconds)
403 | public static let hours = TimeUnit(code: .hours, scaleFromNanoseconds: 60 * TimeUnit.minutes.scaleFromNanoseconds)
[1099/1100] Compiling TecoCore TCModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Common/TCClient.swift:27:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
25 |
26 | import AsyncHTTPClient
27 | @_implementationOnly import Atomics
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
28 | import Dispatch
29 | import struct Foundation.URL
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Common/TCClient.swift:31:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
29 | import struct Foundation.URL
30 | import Logging
31 | @_implementationOnly import Metrics
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
32 | @_implementationOnly import NIOConcurrencyHelpers
33 | import NIOCore
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Common/TCClient.swift:32:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
30 | import Logging
31 | @_implementationOnly import Metrics
32 | @_implementationOnly import NIOConcurrencyHelpers
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
33 | import NIOCore
34 | import NIOHTTP1
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Common/TCClient.swift:196:21: warning: capture of 'callback' with non-sendable type '((any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
194 | )
195 | }
196 | callback(error)
| |- warning: capture of 'callback' with non-sendable type '((any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
197 | }
198 | case .shared:
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Common/TCClient.swift:196:21: warning: capture of 'callback' with non-sendable type '((any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
194 | )
195 | }
196 | callback(error)
| |- warning: capture of 'callback' with non-sendable type '((any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
197 | }
198 | case .shared:
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Common/TCClient.swift:478:35: warning: capture of 'createRequest' with non-sendable type '() throws -> TCHTTPRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
476 | .flatMapThrowing { signer -> TCHTTPRequest in
477 | // create request and sign with signer
478 | var request = try createRequest()
| |- warning: capture of 'createRequest' with non-sendable type '() throws -> TCHTTPRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
479 | request.signHeaders(with: signer, mode: skipAuthorization ? .skip : self.signingMode)
480 | return request
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Common/TCClient.swift:486:45: warning: capture of 'executor' with non-sendable type '(TCHTTPRequest, any EventLoop, Logger) -> EventLoopFuture<TCHTTPResponse>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
484 | eventLoop: eventLoop,
485 | logger: logger,
486 | request: { eventLoop in executor(request, eventLoop, logger) }
| |- warning: capture of 'executor' with non-sendable type '(TCHTTPRequest, any EventLoop, Logger) -> EventLoopFuture<TCHTTPResponse>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
487 | )
488 | }
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Common/TCClient.swift:486:45: warning: capture of 'executor' with non-sendable type '(TCHTTPRequest, any EventLoop, Logger) -> EventLoopFuture<TCHTTPResponse>' in an isolated closure; this is an error in the Swift 6 language mode
484 | eventLoop: eventLoop,
485 | logger: logger,
486 | request: { eventLoop in executor(request, eventLoop, logger) }
| |- warning: capture of 'executor' with non-sendable type '(TCHTTPRequest, any EventLoop, Logger) -> EventLoopFuture<TCHTTPResponse>' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
487 | )
488 | }
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Common/TCClient.swift:522:29: warning: capture of 'execute(attempt:)' with non-sendable type '(Int) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
520 | // schedule task for retrying the request
521 | eventLoop.scheduleTask(in: retryTime) {
522 | execute(attempt: attempt + 1)
| |- warning: capture of 'execute(attempt:)' with non-sendable type '(Int) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
523 | }
524 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Common/TCClient.swift:522:29: warning: capture of 'execute(attempt:)' with non-sendable type '(Int) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
520 | // schedule task for retrying the request
521 | eventLoop.scheduleTask(in: retryTime) {
522 | execute(attempt: attempt + 1)
| |- warning: capture of 'execute(attempt:)' with non-sendable type '(Int) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
523 | }
524 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Common/TCClient.swift:501:14: warning: concurrently-executed local function 'execute(attempt:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
499 | let promise = eventLoop.makePromise(of: Output.self)
500 |
501 | func execute(attempt: Int) {
| `- warning: concurrently-executed local function 'execute(attempt:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
502 | // execute HTTP request
503 | request(eventLoop)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Metrics.swift:401:23: warning: static property 'seconds' is not concurrency-safe because non-'Sendable' type 'TimeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
375 | // MARK: - Timer
376 |
377 | public struct TimeUnit: Equatable {
| `- note: consider making struct 'TimeUnit' conform to the 'Sendable' protocol
378 | private enum Code: Equatable {
379 | case nanoseconds
:
399 | public static let microseconds = TimeUnit(code: .microseconds, scaleFromNanoseconds: 1000)
400 | public static let milliseconds = TimeUnit(code: .milliseconds, scaleFromNanoseconds: 1000 * TimeUnit.microseconds.scaleFromNanoseconds)
401 | public static let seconds = TimeUnit(code: .seconds, scaleFromNanoseconds: 1000 * TimeUnit.milliseconds.scaleFromNanoseconds)
| |- warning: static property 'seconds' is not concurrency-safe because non-'Sendable' type 'TimeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'seconds' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
402 | public static let minutes = TimeUnit(code: .minutes, scaleFromNanoseconds: 60 * TimeUnit.seconds.scaleFromNanoseconds)
403 | public static let hours = TimeUnit(code: .hours, scaleFromNanoseconds: 60 * TimeUnit.minutes.scaleFromNanoseconds)
[1100/1100] Compiling TecoCore TCRegion.swift
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Common/TCClient.swift:27:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
25 |
26 | import AsyncHTTPClient
27 | @_implementationOnly import Atomics
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
28 | import Dispatch
29 | import struct Foundation.URL
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Common/TCClient.swift:31:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
29 | import struct Foundation.URL
30 | import Logging
31 | @_implementationOnly import Metrics
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
32 | @_implementationOnly import NIOConcurrencyHelpers
33 | import NIOCore
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Common/TCClient.swift:32:22: warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
30 | import Logging
31 | @_implementationOnly import Metrics
32 | @_implementationOnly import NIOConcurrencyHelpers
| `- warning: using '@_implementationOnly' without enabling library evolution for 'TecoCore' may lead to instability during execution
33 | import NIOCore
34 | import NIOHTTP1
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Common/TCClient.swift:196:21: warning: capture of 'callback' with non-sendable type '((any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
194 | )
195 | }
196 | callback(error)
| |- warning: capture of 'callback' with non-sendable type '((any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
197 | }
198 | case .shared:
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Common/TCClient.swift:196:21: warning: capture of 'callback' with non-sendable type '((any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
194 | )
195 | }
196 | callback(error)
| |- warning: capture of 'callback' with non-sendable type '((any Error)?) -> Void' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
197 | }
198 | case .shared:
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Common/TCClient.swift:478:35: warning: capture of 'createRequest' with non-sendable type '() throws -> TCHTTPRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
476 | .flatMapThrowing { signer -> TCHTTPRequest in
477 | // create request and sign with signer
478 | var request = try createRequest()
| |- warning: capture of 'createRequest' with non-sendable type '() throws -> TCHTTPRequest' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
479 | request.signHeaders(with: signer, mode: skipAuthorization ? .skip : self.signingMode)
480 | return request
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Common/TCClient.swift:486:45: warning: capture of 'executor' with non-sendable type '(TCHTTPRequest, any EventLoop, Logger) -> EventLoopFuture<TCHTTPResponse>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
484 | eventLoop: eventLoop,
485 | logger: logger,
486 | request: { eventLoop in executor(request, eventLoop, logger) }
| |- warning: capture of 'executor' with non-sendable type '(TCHTTPRequest, any EventLoop, Logger) -> EventLoopFuture<TCHTTPResponse>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
487 | )
488 | }
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Common/TCClient.swift:486:45: warning: capture of 'executor' with non-sendable type '(TCHTTPRequest, any EventLoop, Logger) -> EventLoopFuture<TCHTTPResponse>' in an isolated closure; this is an error in the Swift 6 language mode
484 | eventLoop: eventLoop,
485 | logger: logger,
486 | request: { eventLoop in executor(request, eventLoop, logger) }
| |- warning: capture of 'executor' with non-sendable type '(TCHTTPRequest, any EventLoop, Logger) -> EventLoopFuture<TCHTTPResponse>' in an isolated closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
487 | )
488 | }
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Common/TCClient.swift:522:29: warning: capture of 'execute(attempt:)' with non-sendable type '(Int) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
520 | // schedule task for retrying the request
521 | eventLoop.scheduleTask(in: retryTime) {
522 | execute(attempt: attempt + 1)
| |- warning: capture of 'execute(attempt:)' with non-sendable type '(Int) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
523 | }
524 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Common/TCClient.swift:522:29: warning: capture of 'execute(attempt:)' with non-sendable type '(Int) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
520 | // schedule task for retrying the request
521 | eventLoop.scheduleTask(in: retryTime) {
522 | execute(attempt: attempt + 1)
| |- warning: capture of 'execute(attempt:)' with non-sendable type '(Int) -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
523 | }
524 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/TecoCore/Common/TCClient.swift:501:14: warning: concurrently-executed local function 'execute(attempt:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
499 | let promise = eventLoop.makePromise(of: Output.self)
500 |
501 | func execute(attempt: Int) {
| `- warning: concurrently-executed local function 'execute(attempt:)' must be marked as '@Sendable'; this is an error in the Swift 6 language mode
502 | // execute HTTP request
503 | request(eventLoop)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-metrics/Sources/CoreMetrics/Metrics.swift:401:23: warning: static property 'seconds' is not concurrency-safe because non-'Sendable' type 'TimeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
375 | // MARK: - Timer
376 |
377 | public struct TimeUnit: Equatable {
| `- note: consider making struct 'TimeUnit' conform to the 'Sendable' protocol
378 | private enum Code: Equatable {
379 | case nanoseconds
:
399 | public static let microseconds = TimeUnit(code: .microseconds, scaleFromNanoseconds: 1000)
400 | public static let milliseconds = TimeUnit(code: .milliseconds, scaleFromNanoseconds: 1000 * TimeUnit.microseconds.scaleFromNanoseconds)
401 | public static let seconds = TimeUnit(code: .seconds, scaleFromNanoseconds: 1000 * TimeUnit.milliseconds.scaleFromNanoseconds)
| |- warning: static property 'seconds' is not concurrency-safe because non-'Sendable' type 'TimeUnit' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'seconds' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
402 | public static let minutes = TimeUnit(code: .minutes, scaleFromNanoseconds: 60 * TimeUnit.seconds.scaleFromNanoseconds)
403 | public static let hours = TimeUnit(code: .hours, scaleFromNanoseconds: 60 * TimeUnit.minutes.scaleFromNanoseconds)
[1101/1102] Emitting module TecoPaginationHelpers
[1102/1102] Compiling TecoPaginationHelpers deprecated.swift
Build complete! (87.03s)
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/vapor/multipart-kit.git
[1/1845] Fetching multipart-kit
[75/3873] Fetching multipart-kit, swift-metrics
[258/7234] Fetching multipart-kit, swift-metrics, swift-log
[702/12067] Fetching multipart-kit, swift-metrics, swift-log, swift-nio-extras
[1295/22300] Fetching multipart-kit, swift-metrics, swift-log, swift-nio-extras, swift-nio-http2
[1357/36329] Fetching multipart-kit, swift-metrics, swift-log, swift-nio-extras, swift-nio-http2, swift-collections
Fetched https://github.com/apple/swift-log.git from cache (1.19s)
Fetching https://github.com/apple/swift-atomics.git
[6605/32968] Fetching multipart-kit, swift-metrics, swift-nio-extras, swift-nio-http2, swift-collections
[10622/98575] Fetching multipart-kit, swift-metrics, swift-nio-extras, swift-nio-http2, swift-collections, swift-nio
[53930/100138] Fetching multipart-kit, swift-metrics, swift-nio-extras, swift-nio-http2, swift-collections, swift-nio, swift-atomics
Fetched https://github.com/vapor/multipart-kit.git from cache (2.15s)
Fetching https://github.com/apple/swift-crypto.git
[69739/98293] Fetching swift-metrics, swift-nio-extras, swift-nio-http2, swift-collections, swift-nio, swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (1.13s)
Fetching https://github.com/swift-server/async-http-client.git
[70817/96730] Fetching swift-metrics, swift-nio-extras, swift-nio-http2, swift-collections, swift-nio
[81642/104584] Fetching swift-metrics, swift-nio-extras, swift-nio-http2, swift-collections, swift-nio, swift-crypto
[97360/117248] Fetching swift-metrics, swift-nio-extras, swift-nio-http2, swift-collections, swift-nio, swift-crypto, async-http-client
Fetched https://github.com/swift-server/async-http-client.git from cache (1.43s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetched https://github.com/apple/swift-metrics.git from cache (3.81s)
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetched https://github.com/apple/swift-nio.git from cache (3.81s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (3.81s)
Fetched https://github.com/apple/swift-collections.git from cache (3.81s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (3.81s)
Fetched https://github.com/apple/swift-crypto.git from cache (1.66s)
Computing version for https://github.com/vapor/multipart-kit.git
[1/2105] Fetching swift-nio-transport-services
Computed https://github.com/vapor/multipart-kit.git at 4.5.4 (0.70s)
Computing version for https://github.com/apple/swift-nio.git
[1286/14373] Fetching swift-nio-transport-services, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (1.01s)
[246/12268] Fetching swift-nio-ssl
Computed https://github.com/apple/swift-nio.git at 2.59.0 (0.74s)
Computing version for https://github.com/apple/swift-crypto.git
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.80s)
Computed https://github.com/apple/swift-crypto.git at 2.5.0 (0.70s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.4.1 (0.67s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.2 (0.65s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.1.0 (0.68s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.19.0 (0.69s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.0.4 (0.67s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.19.0 (0.67s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.19.0 (0.71s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.27.0 (0.67s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.24.0 (0.70s)
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.24.0
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.19.0
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.19.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.1.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 2.5.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.0.4
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.5.2
Creating working copy for https://github.com/vapor/multipart-kit.git
Working copy of https://github.com/vapor/multipart-kit.git resolved at 4.5.4
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.4.1
Creating working copy for https://github.com/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.19.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.59.0
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.27.0
warning: 'multipart-kit': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/.build/checkouts/multipart-kit/Sources/MultipartKit/Docs.docc
Build complete.
{
"dependencies" : [
{
"identity" : "async-http-client",
"requirement" : {
"range" : [
{
"lower_bound" : "1.19.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swift-server/async-http-client.git"
},
{
"identity" : "swift-atomics",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-atomics.git"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
},
{
"identity" : "swift-metrics",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-metrics.git"
},
{
"identity" : "swift-crypto",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-crypto.git"
},
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.42.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
},
{
"identity" : "multipart-kit",
"requirement" : {
"range" : [
{
"lower_bound" : "4.0.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/vapor/multipart-kit.git"
}
],
"manifest_display_name" : "teco-core",
"name" : "teco-core",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "TecoCore",
"targets" : [
"TecoCore",
"TecoDateHelpers",
"TecoPaginationHelpers"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "TecoSigner",
"targets" : [
"TecoSigner"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "TecoSignerTests",
"module_type" : "SwiftTarget",
"name" : "TecoSignerTests",
"path" : "Tests/TecoSignerTests",
"sources" : [
"COSSignerV5Tests.swift",
"TCSignerV1Tests.swift",
"TCSignerV3Tests.swift"
],
"target_dependencies" : [
"TecoSigner"
],
"type" : "test"
},
{
"c99name" : "TecoSigner",
"module_type" : "SwiftTarget",
"name" : "TecoSigner",
"path" : "Sources/TecoSigner",
"product_dependencies" : [
"Crypto",
"NIOHTTP1"
],
"product_memberships" : [
"TecoCore",
"TecoSigner"
],
"sources" : [
"cosSignerV5.swift",
"credential.swift",
"deprecated.swift",
"error.swift",
"exports.swift",
"signerV1.swift",
"signerV3.swift",
"utils.swift"
],
"type" : "library"
},
{
"c99name" : "TecoPaginationHelpers",
"module_type" : "SwiftTarget",
"name" : "TecoPaginationHelpers",
"path" : "Sources/TecoPaginationHelpers",
"product_memberships" : [
"TecoCore"
],
"sources" : [
"deprecated.swift"
],
"target_dependencies" : [
"TecoCore"
],
"type" : "library"
},
{
"c99name" : "TecoDateHelpers",
"module_type" : "SwiftTarget",
"name" : "TecoDateHelpers",
"path" : "Sources/TecoDateHelpers",
"product_dependencies" : [
"NIOConcurrencyHelpers"
],
"product_memberships" : [
"TecoCore"
],
"sources" : [
"Property Wrappers/TCDateEncoding.swift",
"Property Wrappers/TCTimestampEncoding.swift",
"Property Wrappers/TCTimestampISO8601Encoding.swift",
"Protocols/TCDateFormatter.swift",
"Protocols/TCDateValue.swift",
"Protocols/TCDateWrapper.swift",
"Sendable.swift"
],
"type" : "library"
},
{
"c99name" : "TecoCore",
"module_type" : "SwiftTarget",
"name" : "TecoCore",
"path" : "Sources/TecoCore",
"product_dependencies" : [
"AsyncHTTPClient",
"Atomics",
"Logging",
"Metrics",
"NIOFoundationCompat",
"NIOHTTP1",
"MultipartKit"
],
"product_memberships" : [
"TecoCore"
],
"sources" : [
"Common/EndpointProvider.swift",
"Common/RetryPolicy.swift",
"Common/TCClient.swift",
"Common/TCModel.swift",
"Common/TCRegion.swift",
"Common/TCService.swift",
"Common/TCServiceConfig.swift",
"Credential/CVMRoleCredentialProvider.swift",
"Credential/CredentialProvider.swift",
"Credential/CredentialProviderError.swift",
"Credential/CredentialProviderFactory.swift",
"Credential/CredentialProviderSelector.swift",
"Credential/CredentialProviderWithClient.swift",
"Credential/DeferredCredentialProvider.swift",
"Credential/ExpiringCredential.swift",
"Credential/NullCredentialProvider.swift",
"Credential/OIDCRoleArnCredentialProvider.swift",
"Credential/ProfileCredentialProvider.swift",
"Credential/RuntimeSelectorCredentialProvider.swift",
"Credential/STSCredentialProvider.swift",
"Credential/StaticCredential+CredentialProvider.swift",
"Credential/StaticCredential+Environment.swift",
"Credential/TCCLICredentialProvider.swift",
"Credential/TemporaryCredentialProvider.swift",
"Errors/TCCommonError.swift",
"Errors/TCErrorContext.swift",
"Errors/TCErrorType.swift",
"Errors/TCRawError.swift",
"Errors/TCRawServiceError.swift",
"Errors/TCServiceErrorType.swift",
"Pagination/TCClient+Pagination.swift",
"Pagination/TCClient+PaginationError.swift",
"Pagination/TCClient+Paginator.swift",
"Pagination/TCPaginatedModel.swift",
"Transport/HTTPClient.swift",
"Transport/TCHTTPRequest.swift",
"Transport/TCHTTPResponse.swift",
"Utils/Environment.swift",
"Utils/FileLoader.swift",
"Utils/Sendable.swift",
"Utils/Singleton.swift",
"deprecated.swift",
"exports.swift"
],
"target_dependencies" : [
"INIParser",
"TecoSigner"
],
"type" : "library"
},
{
"c99name" : "INIParser",
"module_type" : "SwiftTarget",
"name" : "INIParser",
"path" : "Sources/INIParser",
"product_memberships" : [
"TecoCore"
],
"sources" : [
"INIParser.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.