Build Information
Successful build of swift-aws-lambda-runtime, reference 0.5.2 (699ada
), with Swift 6.2 (beta) for macOS (SPM) on 19 Jun 2025 03:37:25 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swift-server/swift-aws-lambda-runtime.git
Reference: 0.5.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/swift-server/swift-aws-lambda-runtime
* tag 0.5.2 -> FETCH_HEAD
HEAD is now at 699ada1 Add guards for code that relies on _Concurrency (#237)
Cloned https://github.com/swift-server/swift-aws-lambda-runtime.git
Revision (git rev-parse @):
699ada1724459582303c15aae64fa12ca4d33809
SUCCESS checkout https://github.com/swift-server/swift-aws-lambda-runtime.git at 0.5.2
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/swift-server/swift-aws-lambda-runtime.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/60] Write sources
[4/60] Write StringSample-entitlement.plist
[4/60] Write sources
[10/60] Copying PrivacyInfo.xcprivacy
[10/60] Write sources
[16/60] Write MockServer-entitlement.plist
[16/60] Write sources
[22/60] Write CodableSample-entitlement.plist
[23/60] Write swift-version-1EA4D86E10B52AF.txt
[24/60] Compiling CNIOWindows WSAStartup.c
[24/60] Compiling CNIOWindows shim.c
[24/60] Compiling CNIOWASI CNIOWASI.c
[27/60] Compiling CNIOLinux liburing_shims.c
[27/60] Compiling CNIOLinux shim.c
[29/85] Compiling _AtomicsShims.c
[30/85] Compiling CNIOLLHTTP c_nio_http.c
[31/85] Compiling CBacktrace state.c
[32/85] Compiling CBacktrace sort.c
[33/85] Compiling CBacktrace simple.c
[34/85] Compiling CBacktrace print.c
[35/85] Compiling CBacktrace posix.c
[36/85] Compiling CNIOLLHTTP c_nio_api.c
[37/85] Compiling CBacktrace mmapio.c
[38/85] Compiling CBacktrace mmap.c
[39/85] Compiling CBacktrace fileline.c
[40/85] Compiling CBacktrace elf.c
[41/85] Compiling CBacktrace backtrace.c
[42/85] Compiling CBacktrace dwarf.c
[43/85] Write sources
[46/85] Compiling CNIOLLHTTP c_nio_llhttp.c
[47/85] Compiling CBacktrace atomic.c
[48/121] Compiling CNIODarwin shim.c
[50/121] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[51/122] Compiling InternalCollectionsUtilities Descriptions.swift
[52/122] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[53/122] Compiling InternalCollectionsUtilities Debugging.swift
[54/122] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[55/122] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[56/122] Emitting module InternalCollectionsUtilities
[57/122] Compiling AWSLambdaEvents APIGateway.swift
[58/122] Compiling AWSLambdaEvents AWSRegion.swift
[59/122] Emitting module _NIOBase64
[60/122] Compiling _NIOBase64 Base64.swift
[61/122] Compiling _NIODataStructures _TinyArray.swift
[62/122] Compiling Backtrace Backtrace.swift
[63/122] Compiling Backtrace Demangle.swift
[64/122] Emitting module Backtrace
[65/122] Compiling Logging MetadataProvider.swift
[66/122] Compiling Logging LogHandler.swift
[67/122] Compiling AWSLambdaEvents ALB.swift
[68/122] Compiling AWSLambdaEvents APIGateway+V2.swift
[69/122] Compiling AWSLambdaEvents AppSync.swift
[70/122] Compiling AWSLambdaEvents Cloudwatch.swift
[71/122] Compiling AWSLambdaEvents DynamoDB.swift
[72/122] Compiling AWSLambdaEvents S3.swift
[73/122] Compiling _NIODataStructures Heap.swift
[74/122] Emitting module _NIODataStructures
[75/122] Compiling _NIODataStructures PriorityQueue.swift
[76/126] Compiling Atomics ManagedAtomicLazyReference.swift
[77/126] Compiling Atomics UnsafeAtomic.swift
[78/126] Compiling Atomics DoubleWord.swift
[79/126] Compiling Atomics ManagedAtomic.swift
[80/126] Compiling Atomics UnsafeAtomicLazyReference.swift
[81/126] Compiling Atomics IntegerOperations.swift
[82/139] Compiling Atomics AtomicValue.swift
[83/139] Compiling Atomics AtomicMemoryOrderings.swift
[84/139] Compiling DequeModule Deque._UnsafeHandle.swift
[85/139] Compiling DequeModule Deque.swift
[86/139] Compiling DequeModule _DequeBuffer.swift
[87/140] Compiling DequeModule _DequeBufferHeader.swift
[88/140] Compiling DequeModule _DequeSlot.swift
[89/140] Compiling DequeModule Deque+Testing.swift
[90/140] Compiling DequeModule Deque._Storage.swift
[91/140] Compiling DequeModule Deque+CustomReflectable.swift
[92/140] Compiling DequeModule Deque+Descriptions.swift
[93/140] Compiling DequeModule Deque+Equatable.swift
[94/140] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[95/140] Compiling DequeModule Deque+Codable.swift
[96/140] Compiling DequeModule Deque+Collection.swift
[97/140] Emitting module Logging
[98/140] Compiling Logging Logging.swift
[99/140] Compiling Logging Locks.swift
[100/140] Compiling Atomics Unmanaged extensions.swift
[101/140] Compiling DequeModule _UnsafeWrappedBuffer.swift
[102/140] Emitting module Atomics
[103/140] Compiling DequeModule Deque+Extras.swift
[104/140] Compiling DequeModule Deque+Hashable.swift
[115/140] Emitting module DequeModule
[115/140] Compiling c-nioatomics.c
[116/140] Compiling c-atomics.c
[118/146] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[119/146] Compiling NIOConcurrencyHelpers lock.swift
[120/146] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[121/146] Emitting module NIOConcurrencyHelpers
[122/146] Compiling NIOConcurrencyHelpers NIOLock.swift
[123/146] Compiling NIOConcurrencyHelpers atomics.swift
[124/208] Compiling AWSLambdaEvents DateWrappers.swift
[125/209] Compiling AWSLambdaEvents SQS.swift
[126/209] Compiling AWSLambdaEvents Base64.swift
[127/209] Compiling AWSLambdaEvents SNS.swift
[128/209] Compiling NIOCore ByteBuffer-int.swift
[129/209] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[130/209] Emitting module AWSLambdaEvents
[131/209] Compiling AWSLambdaEvents SES.swift
[132/209] Compiling NIOCore ByteBuffer-core.swift
[133/209] Compiling NIOCore ByteBuffer-hex.swift
[134/209] Compiling NIOCore ByteBuffer-views.swift
[135/209] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[136/209] Compiling NIOCore ByteBuffer-multi-int.swift
[137/209] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[138/209] Compiling AWSLambdaEvents HTTP.swift
[139/209] Compiling NIOCore Codec.swift
[140/209] Compiling NIOCore ConvenienceOptionSupport.swift
[141/209] Compiling NIOCore DeadChannel.swift
[142/209] Compiling NIOCore DispatchQueue+WithFuture.swift
[143/209] Compiling NIOCore EventLoop+Deprecated.swift
[144/209] Compiling NIOCore EventLoop+SerialExecutor.swift
[145/209] Compiling NIOCore EventLoop.swift
[146/209] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[147/209] Compiling NIOCore EventLoopFuture+Deprecated.swift
[148/209] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[149/209] Compiling NIOCore EventLoopFuture.swift
[150/209] Compiling NIOCore FileDescriptor.swift
[151/209] Compiling NIOCore FileHandle.swift
[152/209] Compiling NIOCore FileRegion.swift
[153/209] Compiling NIOCore GlobalSingletons.swift
[154/209] Compiling NIOCore IO.swift
[155/209] Compiling NIOCore IOData.swift
[156/209] Compiling NIOCore IPProtocol.swift
[157/209] Compiling NIOCore IntegerBitPacking.swift
[158/209] Compiling NIOCore IntegerTypes.swift
[159/209] Compiling NIOCore Interfaces.swift
[160/209] Compiling NIOCore Linux.swift
[161/209] Compiling NIOCore MarkedCircularBuffer.swift
[162/209] Compiling NIOCore MulticastChannel.swift
[163/209] Compiling NIOCore NIOAny.swift
[164/209] Compiling NIOCore NIOCloseOnErrorHandler.swift
[165/209] Compiling NIOCore NIOLoopBound.swift
[166/215] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[167/215] Compiling NIOCore NIOScheduledCallback.swift
[168/215] Compiling NIOCore NIOSendable.swift
[169/215] Compiling NIOCore RecvByteBufferAllocator.swift
[170/215] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[171/215] Compiling NIOCore SocketAddresses.swift
[173/215] Compiling NIOCore NIOAsyncWriter.swift
[174/215] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[175/215] Compiling NIOCore BSDSocketAPI.swift
[176/215] Compiling NIOCore ByteBuffer-aux.swift
[177/215] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[178/215] Compiling NIOCore ByteBuffer-conversions.swift
[179/215] Compiling NIOCore SocketOptionProvider.swift
[180/215] Compiling NIOCore SystemCallHelpers.swift
[181/215] Compiling NIOCore TimeAmount+Duration.swift
[182/215] Compiling NIOCore TypeAssistedChannelHandler.swift
[183/215] Compiling NIOCore UniversalBootstrapSupport.swift
[184/215] Compiling NIOCore Utilities.swift
[185/215] Compiling NIOCore AddressedEnvelope.swift
[186/215] Compiling NIOCore AsyncAwaitSupport.swift
[187/215] Compiling NIOCore AsyncChannel.swift
[188/215] Compiling NIOCore AsyncChannelHandler.swift
[189/215] Compiling NIOCore AsyncChannelInboundStream.swift
[190/215] Compiling NIOCore AsyncChannelOutboundWriter.swift
[191/215] Compiling NIOCore NIOAsyncSequenceProducer.swift
[192/215] Compiling NIOCore Channel.swift
[193/215] Compiling NIOCore ChannelHandler.swift
[194/215] Compiling NIOCore ChannelHandlers.swift
[195/215] Compiling NIOCore ChannelInvoker.swift
[196/215] Compiling NIOCore ChannelOption.swift
[197/215] Compiling NIOCore ChannelPipeline.swift
[198/215] Compiling NIOCore CircularBuffer.swift
[206/215] Emitting module NIOCore
[207/267] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[208/267] Emitting module NIOEmbedded
[209/267] Compiling NIOEmbedded Embedded.swift
[210/267] Compiling NIOEmbedded AsyncTestingChannel.swift
[211/267] Compiling NIOPosix Pool.swift
[212/267] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[213/267] Compiling NIOPosix PosixSingletons.swift
[214/267] Compiling NIOPosix RawSocketBootstrap.swift
[215/267] Compiling NIOPosix Resolver.swift
[216/272] Compiling NIOPosix SocketProtocols.swift
[217/272] Compiling NIOPosix System.swift
[218/272] Compiling NIOPosix Thread.swift
[219/272] Compiling NIOPosix ThreadPosix.swift
[220/272] Compiling NIOPosix ThreadWindows.swift
[221/272] Compiling NIOPosix UnsafeTransfer.swift
[222/272] Compiling NIOPosix Utilities.swift
[223/272] Compiling NIOPosix VsockAddress.swift
[224/272] Compiling NIOPosix VsockChannelEvents.swift
[225/272] Compiling NIOPosix resource_bundle_accessor.swift
[226/272] Compiling NIOPosix Selectable.swift
[227/272] Compiling NIOPosix SelectableChannel.swift
[228/272] Compiling NIOPosix SelectableEventLoop.swift
[229/272] Compiling NIOPosix SelectorEpoll.swift
[230/272] Compiling NIOPosix SelectorGeneric.swift
[231/272] Emitting module NIOPosix
[232/272] Compiling NIOPosix Linux.swift
[233/272] Compiling NIOPosix LinuxCPUSet.swift
[234/272] Compiling NIOPosix LinuxUring.swift
[235/272] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[236/272] Compiling NIOPosix NIOThreadPool.swift
[237/272] Compiling NIOPosix GetaddrinfoResolver.swift
[238/272] Compiling NIOPosix HappyEyeballs.swift
[239/272] Compiling NIOPosix IO.swift
[240/272] Compiling NIOPosix IntegerBitPacking.swift
[241/272] Compiling NIOPosix IntegerTypes.swift
[242/272] Compiling NIOPosix SelectorKqueue.swift
[243/272] Compiling NIOPosix SelectorUring.swift
[244/272] Compiling NIOPosix ServerSocket.swift
[245/272] Compiling NIOPosix Socket.swift
[246/272] Compiling NIOPosix SocketChannel.swift
[247/272] Compiling NIOPosix BSDSocketAPICommon.swift
[248/272] Compiling NIOPosix BSDSocketAPIPosix.swift
[249/272] Compiling NIOPosix BSDSocketAPIWindows.swift
[250/272] Compiling NIOPosix BaseSocket.swift
[251/272] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[252/272] Compiling NIOPosix BaseSocketChannel.swift
[253/272] Compiling NIOPosix BaseStreamSocketChannel.swift
[254/272] Compiling NIOPosix Bootstrap.swift
[255/272] Compiling NIOPosix ControlMessage.swift
[256/272] Compiling NIOPosix DatagramVectorReadManager.swift
[257/272] Compiling NIOPosix Errors+Any.swift
[258/272] Compiling NIOPosix FileDescriptor.swift
[259/272] Compiling NIOPosix NonBlockingFileIO.swift
[260/272] Compiling NIOPosix PendingDatagramWritesManager.swift
[261/272] Compiling NIOPosix PendingWritesManager.swift
[262/272] Compiling NIOPosix PipeChannel.swift
[263/272] Compiling NIOPosix PipePair.swift
[264/274] Compiling NIO Exports.swift
[265/274] Emitting module NIO
[266/298] Compiling _NIOConcurrency Empty.swift
[267/298] Emitting module _NIOConcurrency
[268/298] Compiling NIOFoundationCompat WaitSpinningRunLoop.swift
[269/298] Compiling NIOFoundationCompat JSONSerialization+ByteBuffer.swift
[270/298] Compiling NIOHTTP1 NIOTypedHTTPServerUpgradeHandler.swift
[271/299] Compiling NIOHTTP1 NIOTypedHTTPClientUpgraderStateMachine.swift
[272/299] Compiling NIOHTTP1 NIOHTTPObjectAggregator.swift
[273/299] Compiling NIOHTTP1 NIOTypedHTTPClientUpgradeHandler.swift
[274/299] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[275/299] Emitting module NIOFoundationCompat
[276/299] Compiling NIOFoundationCompat Codable+ByteBuffer.swift
[277/299] Compiling NIOHTTP1 NIOTypedHTTPServerUpgraderStateMachine.swift
[278/299] Emitting module NIOHTTP1
[279/299] Compiling NIOHTTP1 HTTPHeaders+Validation.swift
[280/299] Compiling NIOHTTP1 HTTPPipelineSetup.swift
[281/299] Compiling NIOHTTP1 HTTPServerUpgradeHandler.swift
[282/299] Compiling NIOHTTP1 HTTPTypedPipelineSetup.swift
[283/299] Compiling NIOHTTP1 HTTPEncoder.swift
[284/299] Compiling NIOHTTP1 HTTPHeaderValidator.swift
[285/299] Compiling NIOHTTP1 HTTPServerPipelineHandler.swift
[286/299] Compiling NIOHTTP1 HTTPServerProtocolErrorHandler.swift
[287/299] Compiling NIOHTTP1 ByteCollectionUtils.swift
[288/299] Compiling NIOHTTP1 HTTPDecoder.swift
[289/299] Compiling NIOHTTP1 HTTPTypes.swift
[290/299] Compiling NIOHTTP1 NIOHTTPClientUpgradeHandler.swift
[291/312] Compiling AWSLambdaRuntimeCore LambdaConfiguration.swift
[292/312] Compiling AWSLambdaRuntimeCore Lambda+String.swift
[293/313] Compiling AWSLambdaRuntimeCore LambdaLifecycle.swift
[294/313] Compiling AWSLambdaRuntimeCore LambdaContext.swift
[295/313] Compiling AWSLambdaRuntimeCore Lambda.swift
/Users/admin/builder/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/Lambda.swift:105:23: warning: 'install()' is deprecated: This is no longer needed in Swift 5.9 [#DeprecatedDeclaration]
103 | internal static func run(configuration: Configuration = .init(), factory: @escaping HandlerFactory) -> Result<Int, Error> {
104 | let _run = { (configuration: Configuration, factory: @escaping HandlerFactory) -> Result<Int, Error> in
105 | Backtrace.install()
| `- warning: 'install()' is deprecated: This is no longer needed in Swift 5.9 [#DeprecatedDeclaration]
106 | var logger = Logger(label: "Lambda")
107 | logger.logLevel = configuration.general.logLevel
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[296/313] Compiling AWSLambdaRuntimeCore LambdaRuntimeClient.swift
[297/313] Compiling AWSLambdaRuntimeCore LambdaRunner.swift
[298/313] Compiling AWSLambdaRuntimeCore LambdaHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaHandler.swift:62:13: warning: capture of non-sendable type 'Self.Type' in an isolated closure
60 | // FIXME: reusable DispatchQueue
61 | self.offloadQueue.async {
62 | self.handle(context: context, event: event, callback: promise.completeWith)
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure
63 | }
64 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaHandler.swift:58:17: warning: capture of non-sendable type 'Self.Type' in an isolated closure
56 | /// Performance sensitive Lambdas should be based on `EventLoopLambdaHandler` which does not offload.
57 | @inlinable
58 | public func handle(context: Lambda.Context, event: In) -> EventLoopFuture<Out> {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure
59 | let promise = context.eventLoop.makePromise(of: Out.self)
60 | // FIXME: reusable DispatchQueue
/Users/admin/builder/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaHandler.swift:73:21: warning: capture of non-sendable type 'Self.Type' in an isolated closure
71 | self.offloadQueue.async {
72 | do {
73 | try self.syncShutdown(context: context)
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure
74 | promise.succeed(())
75 | } catch {
/Users/admin/builder/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaHandler.swift:69:17: warning: capture of non-sendable type 'Self.Type' in an isolated closure
67 |
68 | extension LambdaHandler {
69 | public func shutdown(context: Lambda.ShutdownContext) -> EventLoopFuture<Void> {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure
70 | let promise = context.eventLoop.makePromise(of: Void.self)
71 | self.offloadQueue.async {
/Users/admin/builder/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaHandler.swift:119:23: warning: capture of non-sendable type 'Self.Type' in an isolated closure
117 | let promise = context.eventLoop.makePromise(of: Out.self)
118 | promise.completeWithTask {
119 | try await self.handle(event: event, context: context)
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure
120 | }
121 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaHandler.swift:116:17: warning: capture of non-sendable type 'Self.Type' in an isolated closure
114 | @available(macOS 12, iOS 15, tvOS 15, watchOS 8, *)
115 | extension AsyncLambdaHandler {
116 | public func handle(context: Lambda.Context, event: In) -> EventLoopFuture<Out> {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure
117 | let promise = context.eventLoop.makePromise(of: Out.self)
118 | promise.completeWithTask {
/Users/admin/builder/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaHandler.swift:131:21: warning: capture of non-sendable type 'Self.Type' in an isolated closure
129 | let promise = context.eventLoop.makePromise(of: ByteBufferLambdaHandler.self)
130 | promise.completeWithTask {
131 | try await Self(context: context)
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure
132 | }
133 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaHandler.swift:195:28: warning: capture of non-sendable type 'Self.Type' in an isolated closure
193 | return self.handle(context: context, event: input).flatMapThrowing { output in
194 | do {
195 | return try self.encode(allocator: context.allocator, value: output)
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure
196 | } catch {
197 | throw CodecError.responseEncoding(error)
/Users/admin/builder/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaHandler.swift:185:17: warning: capture of non-sendable type 'Self.Type' in an isolated closure
183 | /// Driver for `ByteBuffer` -> `In` decoding and `Out` -> `ByteBuffer` encoding
184 | @inlinable
185 | public func handle(context: Lambda.Context, event: ByteBuffer) -> EventLoopFuture<ByteBuffer?> {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure
186 | let input: In
187 | do {
[299/313] Compiling MockServer main.swift
[300/313] Emitting module MockServer
[300/313] Write Objects.LinkFileList
[302/313] Compiling AWSLambdaRuntimeCore Utils.swift
[303/313] Compiling AWSLambdaRuntimeCore HTTPClient.swift
[304/313] Compiling AWSLambdaRuntimeCore Lambda+LocalServer.swift
[305/313] Emitting module AWSLambdaRuntimeCore
/Users/admin/builder/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaHandler.swift:62:13: warning: capture of non-sendable type 'Self.Type' in an isolated closure
60 | // FIXME: reusable DispatchQueue
61 | self.offloadQueue.async {
62 | self.handle(context: context, event: event, callback: promise.completeWith)
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure
63 | }
64 | return promise.futureResult
/Users/admin/builder/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaHandler.swift:58:17: warning: capture of non-sendable type 'Self.Type' in an isolated closure
56 | /// Performance sensitive Lambdas should be based on `EventLoopLambdaHandler` which does not offload.
57 | @inlinable
58 | public func handle(context: Lambda.Context, event: In) -> EventLoopFuture<Out> {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure
59 | let promise = context.eventLoop.makePromise(of: Out.self)
60 | // FIXME: reusable DispatchQueue
/Users/admin/builder/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaHandler.swift:195:28: warning: capture of non-sendable type 'Self.Type' in an isolated closure
193 | return self.handle(context: context, event: input).flatMapThrowing { output in
194 | do {
195 | return try self.encode(allocator: context.allocator, value: output)
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure
196 | } catch {
197 | throw CodecError.responseEncoding(error)
/Users/admin/builder/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaHandler.swift:185:17: warning: capture of non-sendable type 'Self.Type' in an isolated closure
183 | /// Driver for `ByteBuffer` -> `In` decoding and `Out` -> `ByteBuffer` encoding
184 | @inlinable
185 | public func handle(context: Lambda.Context, event: ByteBuffer) -> EventLoopFuture<ByteBuffer?> {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure
186 | let input: In
187 | do {
[306/316] Emitting module AWSLambdaRuntime
[307/316] Compiling AWSLambdaRuntime Lambda+Codable.swift
[308/316] Compiling AWSLambdaRuntime Context+Foundation.swift
[308/322] Linking MockServer
[309/322] Applying MockServer
[311/322] Emitting module StringSample
[312/322] Compiling StringSample main.swift
[313/322] Compiling AWSLambdaTesting Lambda+Testing.swift
/Users/admin/builder/spi-builder-workspace/Sources/AWSLambdaTesting/Lambda+Testing.swift:110:13: warning: capture of non-sendable type 'Handler.Type' in an isolated closure
108 |
109 | return try eventLoop.flatSubmit {
110 | handler.handle(context: context, event: event)
| `- warning: capture of non-sendable type 'Handler.Type' in an isolated closure
111 | }.wait()
112 | }
/Users/admin/builder/spi-builder-workspace/Sources/AWSLambdaTesting/Lambda+Testing.swift:91:11: warning: capture of non-sendable type 'Handler.Type' in an isolated closure
89 |
90 | public static func test<In, Out, Handler: EventLoopLambdaHandler>(
91 | _ handler: Handler,
| `- warning: capture of non-sendable type 'Handler.Type' in an isolated closure
92 | with event: In,
93 | using config: TestConfig = .init()
[314/322] Emitting module AWSLambdaTesting
[314/322] Write Objects.LinkFileList
[316/322] Compiling CodableSample main.swift
[317/322] Emitting module CodableSample
[317/322] Write Objects.LinkFileList
[318/322] Linking StringSample
[319/322] Applying StringSample
[320/322] Linking CodableSample
[321/322] Applying CodableSample
Build complete! (26.71s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/swift-server/swift-backtrace.git
Fetching https://github.com/apple/swift-nio.git
[1/631] Fetching swift-backtrace
[128/4467] Fetching swift-backtrace, swift-log
[4468/80794] Fetching swift-backtrace, swift-log, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (3.68s)
Fetched https://github.com/apple/swift-nio.git from cache (3.69s)
Fetched https://github.com/swift-server/swift-backtrace.git from cache (3.69s)
Computing version for https://github.com/swift-server/swift-backtrace.git
Computed https://github.com/swift-server/swift-backtrace.git at 1.3.5 (4.24s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.37s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (0.56s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/4436] Fetching swift-system
[2/6233] Fetching swift-system, swift-atomics
[1055/22873] Fetching swift-system, swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.05s)
[6267/21076] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.60s)
Fetched https://github.com/apple/swift-collections.git from cache (1.60s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.02s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.37s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.47s)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/swift-server/swift-backtrace.git
Working copy of https://github.com/swift-server/swift-backtrace.git resolved at 1.3.5
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
Build complete.
{
"dependencies" : [
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.32.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
},
{
"identity" : "swift-backtrace",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.3",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swift-server/swift-backtrace.git"
}
],
"manifest_display_name" : "swift-aws-lambda-runtime",
"name" : "swift-aws-lambda-runtime",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "AWSLambdaRuntime",
"targets" : [
"AWSLambdaRuntime"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "AWSLambdaRuntimeCore",
"targets" : [
"AWSLambdaRuntimeCore"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "AWSLambdaEvents",
"targets" : [
"AWSLambdaEvents"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "AWSLambdaTesting",
"targets" : [
"AWSLambdaTesting"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "StringSample",
"targets" : [
"StringSample"
],
"type" : {
"executable" : null
}
},
{
"name" : "MockServer",
"targets" : [
"MockServer"
],
"type" : {
"executable" : null
}
},
{
"name" : "CodableSample",
"targets" : [
"CodableSample"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "StringSample",
"module_type" : "SwiftTarget",
"name" : "StringSample",
"path" : "Sources/StringSample",
"product_memberships" : [
"StringSample"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"AWSLambdaRuntime"
],
"type" : "executable"
},
{
"c99name" : "MockServer",
"module_type" : "SwiftTarget",
"name" : "MockServer",
"path" : "Sources/MockServer",
"product_dependencies" : [
"NIOHTTP1",
"NIO"
],
"product_memberships" : [
"MockServer"
],
"sources" : [
"main.swift"
],
"type" : "executable"
},
{
"c99name" : "CodableSample",
"module_type" : "SwiftTarget",
"name" : "CodableSample",
"path" : "Sources/CodableSample",
"product_memberships" : [
"CodableSample"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"AWSLambdaRuntime"
],
"type" : "executable"
},
{
"c99name" : "AWSLambdaTestingTests",
"module_type" : "SwiftTarget",
"name" : "AWSLambdaTestingTests",
"path" : "Tests/AWSLambdaTestingTests",
"sources" : [
"Tests.swift"
],
"target_dependencies" : [
"AWSLambdaTesting"
],
"type" : "test"
},
{
"c99name" : "AWSLambdaTesting",
"module_type" : "SwiftTarget",
"name" : "AWSLambdaTesting",
"path" : "Sources/AWSLambdaTesting",
"product_dependencies" : [
"NIO"
],
"product_memberships" : [
"AWSLambdaTesting"
],
"sources" : [
"Lambda+Testing.swift"
],
"target_dependencies" : [
"AWSLambdaRuntime"
],
"type" : "library"
},
{
"c99name" : "AWSLambdaRuntimeTests",
"module_type" : "SwiftTarget",
"name" : "AWSLambdaRuntimeTests",
"path" : "Tests/AWSLambdaRuntimeTests",
"sources" : [
"Lambda+CodeableTest.swift"
],
"target_dependencies" : [
"AWSLambdaRuntimeCore",
"AWSLambdaRuntime"
],
"type" : "test"
},
{
"c99name" : "AWSLambdaRuntimeCoreTests",
"module_type" : "SwiftTarget",
"name" : "AWSLambdaRuntimeCoreTests",
"path" : "Tests/AWSLambdaRuntimeCoreTests",
"product_dependencies" : [
"NIOTestUtils",
"NIOFoundationCompat"
],
"sources" : [
"LambdaHandlerTest.swift",
"LambdaLifecycleTest.swift",
"LambdaRunnerTest.swift",
"LambdaRuntimeClientTest.swift",
"LambdaTest.swift",
"MockLambdaServer.swift",
"Utils.swift",
"UtilsTest.swift"
],
"target_dependencies" : [
"AWSLambdaRuntimeCore"
],
"type" : "test"
},
{
"c99name" : "AWSLambdaRuntimeCore",
"module_type" : "SwiftTarget",
"name" : "AWSLambdaRuntimeCore",
"path" : "Sources/AWSLambdaRuntimeCore",
"product_dependencies" : [
"Logging",
"Backtrace",
"NIOHTTP1",
"NIO",
"_NIOConcurrency"
],
"product_memberships" : [
"AWSLambdaRuntime",
"AWSLambdaRuntimeCore",
"AWSLambdaTesting",
"StringSample",
"CodableSample"
],
"sources" : [
"HTTPClient.swift",
"Lambda+LocalServer.swift",
"Lambda+String.swift",
"Lambda.swift",
"LambdaConfiguration.swift",
"LambdaContext.swift",
"LambdaHandler.swift",
"LambdaLifecycle.swift",
"LambdaRunner.swift",
"LambdaRuntimeClient.swift",
"Utils.swift"
],
"type" : "library"
},
{
"c99name" : "AWSLambdaRuntime",
"module_type" : "SwiftTarget",
"name" : "AWSLambdaRuntime",
"path" : "Sources/AWSLambdaRuntime",
"product_dependencies" : [
"NIO",
"NIOFoundationCompat"
],
"product_memberships" : [
"AWSLambdaRuntime",
"AWSLambdaTesting",
"StringSample",
"CodableSample"
],
"sources" : [
"Context+Foundation.swift",
"Lambda+Codable.swift"
],
"target_dependencies" : [
"AWSLambdaRuntimeCore"
],
"type" : "library"
},
{
"c99name" : "AWSLambdaEventsTests",
"module_type" : "SwiftTarget",
"name" : "AWSLambdaEventsTests",
"path" : "Tests/AWSLambdaEventsTests",
"sources" : [
"ALBTests.swift",
"APIGateway+V2Tests.swift",
"APIGatewayTests.swift",
"AppSyncTests.swift",
"CloudwatchTests.swift",
"DynamoDBTests.swift",
"S3Tests.swift",
"SESTests.swift",
"SNSTests.swift",
"SQSTests.swift",
"Utils/Base64Tests.swift",
"Utils/DateWrapperTests.swift"
],
"target_dependencies" : [
"AWSLambdaEvents"
],
"type" : "test"
},
{
"c99name" : "AWSLambdaEvents",
"module_type" : "SwiftTarget",
"name" : "AWSLambdaEvents",
"path" : "Sources/AWSLambdaEvents",
"product_memberships" : [
"AWSLambdaEvents"
],
"sources" : [
"ALB.swift",
"APIGateway+V2.swift",
"APIGateway.swift",
"AWSRegion.swift",
"AppSync.swift",
"Cloudwatch.swift",
"DynamoDB.swift",
"S3.swift",
"SES.swift",
"SNS.swift",
"SQS.swift",
"Utils/Base64.swift",
"Utils/DateWrappers.swift",
"Utils/HTTP.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
Done.