Build Information
Successful build of swift-aws-lambda-runtime, reference 1.0.0-alpha.2 (8d9f44), with Swift 6.2 for Linux on 13 Jul 2025 11:48:59 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/andrea-scuderi/swift-aws-lambda-runtime.git
Reference: 1.0.0-alpha.2
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/andrea-scuderi/swift-aws-lambda-runtime
* tag 1.0.0-alpha.2 -> FETCH_HEAD
HEAD is now at 8d9f44b allow custom initialization of the HandlerType of the LambdaRuntime (#310)
Cloned https://github.com/andrea-scuderi/swift-aws-lambda-runtime.git
Revision (git rev-parse @):
8d9f44b7838750b103ad2ad49055e8333d719e8a
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/andrea-scuderi/swift-aws-lambda-runtime.git at 1.0.0-alpha.2
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/andrea-scuderi/swift-aws-lambda-runtime.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git
[1/3854] Fetching swift-log
[3855/80433] Fetching swift-log, swift-nio
Fetching https://github.com/apple/swift-docc-plugin
Fetched https://github.com/apple/swift-log.git from cache (0.53s)
[1532/76579] Fetching swift-nio
[6128/78673] Fetching swift-nio, swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.72s)
[26037/76579] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (11.08s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (14.09s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3425] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.78s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.99s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.73s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.84.0 (1.44s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
[1/1808] Fetching swift-atomics
[996/6465] Fetching swift-atomics, swift-system
[4511/23211] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.56s)
Fetched https://github.com/apple/swift-atomics.git from cache (1.56s)
Fetched https://github.com/apple/swift-collections.git from cache (1.59s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.15s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.71s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.01s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.84.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/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-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.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
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
[1/1] Compiling plugin AWSLambdaPackager
[2/2] Compiling plugin Swift-DocC Preview
[3/3] Compiling plugin Swift-DocC
Building for debugging...
[3/47] Write sources
[16/47] Compiling CNIOWASI CNIOWASI.c
[17/47] Compiling CNIOWindows shim.c
[18/47] Compiling CNIOLinux liburing_shims.c
[19/47] Compiling CNIOWindows WSAStartup.c
[20/47] Compiling CNIODarwin shim.c
[21/47] Compiling CNIOLLHTTP c_nio_http.c
[22/47] Write sources
[26/47] Compiling _AtomicsShims.c
[26/47] Write swift-version-24593BA9C3E375BF.txt
[28/47] Compiling CNIOLinux shim.c
[29/47] Compiling CNIOLLHTTP c_nio_api.c
[30/90] Compiling CNIOLLHTTP c_nio_llhttp.c
[31/90] Compiling c-atomics.c
[32/90] Compiling c-nioatomics.c
[34/96] Compiling Atomics AtomicStorage.swift
[35/96] Compiling Atomics AtomicValue.swift
[36/97] Compiling Atomics AtomicMemoryOrderings.swift
[37/97] Compiling Atomics DoubleWord.swift
[38/97] Compiling Atomics ManagedAtomic.swift
[39/97] Compiling Atomics ManagedAtomicLazyReference.swift
[40/97] Compiling Atomics AtomicInteger.swift
[41/97] Compiling Atomics AtomicOptionalWrappable.swift
[42/97] Compiling Atomics UnsafeAtomic.swift
[43/97] Compiling Atomics UnsafeAtomicLazyReference.swift
[44/97] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[45/99] Compiling Atomics PointerConformances.swift
[46/99] Compiling Atomics Primitives.native.swift
[47/99] Compiling Atomics OptionalRawRepresentable.swift
[48/99] Compiling Atomics RawRepresentable.swift
[49/99] Emitting module InternalCollectionsUtilities
[50/99] Compiling Atomics AtomicBool.swift
[51/99] Compiling Atomics IntegerConformances.swift
[52/99] Emitting module Atomics
[57/99] Compiling Atomics AtomicReference.swift
[60/99] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[61/99] Compiling _NIOBase64 Base64.swift
[62/99] Emitting module _NIOBase64
[64/100] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[65/101] Compiling _NIODataStructures _TinyArray.swift
[66/101] Compiling _NIODataStructures PriorityQueue.swift
[66/101] Wrapping AST for _NIOBase64 for debugging
[74/101] Wrapping AST for InternalCollectionsUtilities for debugging
[76/116] Compiling Atomics IntegerOperations.swift
[77/116] Compiling Atomics Unmanaged extensions.swift
[78/117] Compiling DequeModule _DequeBuffer.swift
[79/117] Compiling DequeModule _DequeBufferHeader.swift
[81/119] Emitting module NIOConcurrencyHelpers
[82/119] Compiling DequeModule Deque+CustomReflectable.swift
[83/119] Compiling DequeModule Deque+Descriptions.swift
[83/119] Wrapping AST for Atomics for debugging
[85/119] Compiling DequeModule Deque+Extras.swift
[86/119] Compiling DequeModule Deque+Hashable.swift
[87/119] Compiling DequeModule Deque+Equatable.swift
[88/119] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[89/119] Compiling DequeModule Deque+Testing.swift
[90/119] Compiling DequeModule Deque._Storage.swift
[91/119] Compiling DequeModule _DequeSlot.swift
[92/119] Compiling DequeModule _UnsafeWrappedBuffer.swift
[93/119] Compiling NIOConcurrencyHelpers lock.swift
[94/119] Compiling NIOConcurrencyHelpers NIOLock.swift
[95/119] Compiling DequeModule Deque._UnsafeHandle.swift
[96/119] Compiling DequeModule Deque.swift
[97/119] Emitting module _NIODataStructures
[98/119] Compiling _NIODataStructures Heap.swift
[99/120] Compiling Logging Locks.swift
[101/120] Compiling Logging MetadataProvider.swift
[102/120] Compiling DequeModule Deque+Codable.swift
[103/120] Compiling DequeModule Deque+Collection.swift
[103/120] Wrapping AST for _NIODataStructures for debugging
[105/120] Compiling NIOConcurrencyHelpers atomics.swift
[106/120] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[107/121] Wrapping AST for NIOConcurrencyHelpers for debugging
[109/121] Compiling Logging LogHandler.swift
[110/121] Compiling Logging Logging.swift
[111/121] Emitting module Logging
[112/122] Emitting module DequeModule
[114/123] Wrapping AST for DequeModule for debugging
[116/184] Compiling NIOCore NIOAny.swift
[117/184] Compiling NIOCore NIOCloseOnErrorHandler.swift
[118/184] Compiling NIOCore NIOCoreSendableMetatype.swift
[119/184] Compiling NIOCore NIOLoopBound.swift
[120/184] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[121/184] Compiling NIOCore NIOScheduledCallback.swift
[122/184] Compiling NIOCore NIOSendable.swift
[123/184] Compiling NIOCore RecvByteBufferAllocator.swift
[124/192] Compiling NIOCore IOData.swift
[125/192] Compiling NIOCore IPProtocol.swift
[126/192] Compiling NIOCore IntegerBitPacking.swift
[127/192] Compiling NIOCore IntegerTypes.swift
[128/192] Compiling NIOCore Interfaces.swift
[129/192] Compiling NIOCore Linux.swift
[130/192] Compiling NIOCore MarkedCircularBuffer.swift
[131/192] Compiling NIOCore MulticastChannel.swift
[132/192] Compiling NIOCore CircularBuffer.swift
[133/192] Compiling NIOCore Codec.swift
[134/192] Compiling NIOCore ConvenienceOptionSupport.swift
[135/192] Compiling NIOCore DeadChannel.swift
[136/192] Compiling NIOCore DispatchQueue+WithFuture.swift
[137/192] Compiling NIOCore EventLoop+Deprecated.swift
[138/192] Compiling NIOCore EventLoop+SerialExecutor.swift
[139/192] Compiling NIOCore EventLoop.swift
[140/192] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[141/192] Compiling NIOCore EventLoopFuture+Deprecated.swift
[142/192] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[143/192] Compiling NIOCore EventLoopFuture.swift
[144/192] Compiling NIOCore FileDescriptor.swift
[145/192] Compiling NIOCore FileHandle.swift
[146/192] Compiling NIOCore FileRegion.swift
[147/192] Compiling NIOCore GlobalSingletons.swift
[148/192] Compiling NIOCore IO.swift
[149/192] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[150/192] Compiling NIOCore SocketAddresses.swift
[151/192] Compiling NIOCore SocketOptionProvider.swift
[152/192] Compiling NIOCore SystemCallHelpers.swift
[153/192] Compiling NIOCore TimeAmount+Duration.swift
[154/192] Compiling NIOCore TypeAssistedChannelHandler.swift
[155/192] Compiling NIOCore UniversalBootstrapSupport.swift
[156/192] Compiling NIOCore Utilities.swift
[157/192] Compiling NIOCore ByteBuffer-multi-int.swift
[158/192] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[159/192] Compiling NIOCore ByteBuffer-views.swift
[160/192] Compiling NIOCore Channel.swift
[161/192] Compiling NIOCore ChannelHandler.swift
[162/192] Compiling NIOCore ChannelHandlers.swift
[163/192] Compiling NIOCore ChannelInvoker.swift
[164/192] Compiling NIOCore ChannelOption.swift
[165/192] Compiling NIOCore ChannelPipeline.swift
[166/192] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[167/192] Compiling NIOCore BSDSocketAPI.swift
[168/192] Compiling NIOCore ByteBuffer-aux.swift
[169/192] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[170/192] Compiling NIOCore ByteBuffer-conversions.swift
[171/192] Compiling NIOCore ByteBuffer-core.swift
[172/192] Compiling NIOCore ByteBuffer-hex.swift
[173/192] Compiling NIOCore ByteBuffer-int.swift
[174/192] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[175/192] Compiling NIOCore AddressedEnvelope.swift
[176/192] Compiling NIOCore AsyncAwaitSupport.swift
[177/192] Compiling NIOCore AsyncChannel.swift
[178/192] Compiling NIOCore AsyncChannelHandler.swift
[179/192] Compiling NIOCore AsyncChannelInboundStream.swift
[180/192] Compiling NIOCore AsyncChannelOutboundWriter.swift
[181/192] Compiling NIOCore NIOAsyncSequenceProducer.swift
[182/192] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[183/192] Compiling NIOCore NIOAsyncWriter.swift
[184/192] Emitting module NIOCore
[185/193] Wrapping AST for NIOCore for debugging
[187/244] Emitting module NIOEmbedded
[188/244] Compiling NIOEmbedded AsyncTestingChannel.swift
[189/244] Compiling NIOEmbedded Embedded.swift
[190/244] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[191/245] Wrapping AST for NIOEmbedded for debugging
[193/245] Compiling NIOPosix Pool.swift
[194/245] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[195/245] Compiling NIOPosix PosixSingletons.swift
[196/245] Compiling NIOPosix RawSocketBootstrap.swift
[197/245] Compiling NIOPosix Resolver.swift
[198/245] Compiling NIOPosix Selectable.swift
[199/245] Compiling NIOPosix SelectableChannel.swift
[200/245] Compiling NIOPosix SelectableEventLoop.swift
[201/245] Compiling NIOPosix SelectorEpoll.swift
[202/245] Compiling NIOPosix SelectorGeneric.swift
[203/245] Compiling NIOPosix SelectorKqueue.swift
[204/245] Compiling NIOPosix SelectorUring.swift
[205/251] Emitting module NIOPosix
[206/251] Compiling NIOPosix ServerSocket.swift
[207/251] Compiling NIOPosix Socket.swift
[208/251] Compiling NIOPosix SocketChannel.swift
[209/251] Compiling NIOPosix SocketProtocols.swift
[210/251] Compiling NIOPosix System.swift
[211/251] Compiling NIOPosix Thread.swift
[212/251] Compiling NIOPosix ThreadPosix.swift
[213/251] Compiling NIOPosix ThreadWindows.swift
[214/251] Compiling NIOPosix UnsafeTransfer.swift
[215/251] Compiling NIOPosix Utilities.swift
[216/251] Compiling NIOPosix VsockAddress.swift
[217/251] Compiling NIOPosix VsockChannelEvents.swift
[218/251] Compiling NIOPosix IO.swift
[219/251] Compiling NIOPosix IntegerBitPacking.swift
[220/251] Compiling NIOPosix IntegerTypes.swift
[221/251] Compiling NIOPosix Linux.swift
[222/251] Compiling NIOPosix LinuxCPUSet.swift
[223/251] Compiling NIOPosix LinuxUring.swift
[224/251] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[225/251] Compiling NIOPosix BSDSocketAPICommon.swift
[226/251] Compiling NIOPosix BSDSocketAPIPosix.swift
[227/251] Compiling NIOPosix BSDSocketAPIWindows.swift
[228/251] Compiling NIOPosix BaseSocket.swift
[229/251] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[230/251] Compiling NIOPosix BaseSocketChannel.swift
[231/251] Compiling NIOPosix BaseStreamSocketChannel.swift
[232/251] Compiling NIOPosix NIOPosixSendableMetatype.swift
[233/251] Compiling NIOPosix NIOThreadPool.swift
[234/251] Compiling NIOPosix NonBlockingFileIO.swift
[235/251] Compiling NIOPosix PendingDatagramWritesManager.swift
[236/251] Compiling NIOPosix PendingWritesManager.swift
[237/251] Compiling NIOPosix PipeChannel.swift
[238/251] Compiling NIOPosix PipePair.swift
[239/251] Compiling NIOPosix Bootstrap.swift
[240/251] Compiling NIOPosix ControlMessage.swift
[241/251] Compiling NIOPosix DatagramVectorReadManager.swift
[242/251] Compiling NIOPosix Errors+Any.swift
[243/251] Compiling NIOPosix FileDescriptor.swift
[244/251] Compiling NIOPosix GetaddrinfoResolver.swift
[245/251] Compiling NIOPosix HappyEyeballs.swift
[246/252] Wrapping AST for NIOPosix for debugging
[248/254] Emitting module NIO
[249/254] Compiling NIO Exports.swift
[250/255] Wrapping AST for NIO for debugging
[252/276] Emitting module NIOHTTP1
[253/278] Compiling NIOHTTP1 NIOTypedHTTPClientUpgradeHandler.swift
[254/278] Compiling NIOHTTP1 NIOTypedHTTPClientUpgraderStateMachine.swift
[255/278] Compiling NIOHTTP1 NIOHTTPClientUpgradeHandler.swift
[256/278] Compiling NIOHTTP1 NIOHTTPObjectAggregator.swift
[257/278] Compiling NIOHTTP1 HTTPHeaderValidator.swift
[258/278] Compiling NIOHTTP1 HTTPHeaders+Validation.swift
[259/278] Compiling NIOHTTP1 ByteCollectionUtils.swift
[260/278] Compiling NIOHTTP1 HTTPDecoder.swift
[261/278] Compiling NIOHTTP1 HTTPEncoder.swift
[262/278] Compiling NIOHTTP1 NIOTypedHTTPServerUpgradeHandler.swift
[263/278] Compiling NIOHTTP1 NIOTypedHTTPServerUpgraderStateMachine.swift
[264/278] Compiling NIOHTTP1 HTTPPipelineSetup.swift
[265/278] Compiling NIOHTTP1 HTTPServerPipelineHandler.swift
[266/278] Compiling NIOHTTP1 HTTPServerProtocolErrorHandler.swift
[267/278] Compiling NIOHTTP1 HTTPServerUpgradeHandler.swift
[268/278] Compiling NIOHTTP1 HTTPTypedPipelineSetup.swift
[269/278] Compiling NIOHTTP1 HTTPTypes.swift
[270/281] Wrapping AST for NIOHTTP1 for debugging
[272/296] Emitting module AWSLambdaRuntimeCore
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaHandler.swift:76:27: warning: capture of non-Sendable type 'Underlying.Type' in an isolated closure
74 | let promise = context.eventLoop.makePromise(of: CodableSimpleLambdaHandler<Underlying>.self)
75 | promise.completeWithTask {
76 | let handler = Underlying()
| `- warning: capture of non-Sendable type 'Underlying.Type' in an isolated closure
77 | return CodableSimpleLambdaHandler(handler: handler, allocator: context.allocator)
78 | }
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaHandler.swift:94:34: warning: capture of non-Sendable type 'Underlying.Type' in an isolated closure
92 | let input: Underlying.Event
93 | do {
94 | input = try self.handler.decode(buffer: buffer)
| `- warning: capture of non-Sendable type 'Underlying.Type' in an isolated closure
95 | } catch {
96 | throw CodecError.requestDecoding(error)
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaHandler.swift:89:10: warning: capture of non-Sendable type 'Underlying.Type' in an isolated closure
87 |
88 | @inlinable
89 | func handle(_ buffer: ByteBuffer, context: LambdaContext) -> EventLoopFuture<ByteBuffer?> {
| `- warning: capture of non-Sendable type 'Underlying.Type' in an isolated closure
90 | let promise = context.eventLoop.makePromise(of: ByteBuffer?.self)
91 | promise.completeWithTask {
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaHandler.swift:198:31: warning: capture of non-Sendable type 'Underlying.Type' in an isolated closure
196 | let promise = context.eventLoop.makePromise(of: CodableLambdaHandler<Underlying>.self)
197 | promise.completeWithTask {
198 | let handler = try await Underlying(context: context)
| `- warning: capture of non-Sendable type 'Underlying.Type' in an isolated closure
199 | return CodableLambdaHandler(handler: handler, allocator: context.allocator)
200 | }
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaHandler.swift:216:34: warning: capture of non-Sendable type 'Underlying.Type' in an isolated closure
214 | let input: Underlying.Event
215 | do {
216 | input = try self.handler.decode(buffer: buffer)
| `- warning: capture of non-Sendable type 'Underlying.Type' in an isolated closure
217 | } catch {
218 | throw CodecError.requestDecoding(error)
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaHandler.swift:211:10: warning: capture of non-Sendable type 'Underlying.Type' in an isolated closure
209 |
210 | @inlinable
211 | func handle(_ buffer: ByteBuffer, context: LambdaContext) -> EventLoopFuture<ByteBuffer?> {
| `- warning: capture of non-Sendable type 'Underlying.Type' in an isolated closure
212 | let promise = context.eventLoop.makePromise(of: ByteBuffer?.self)
213 | promise.completeWithTask {
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaHandler.swift:348:13: warning: capture of non-Sendable type 'Underlying.Type' in an isolated closure
346 | static func makeHandler(context: LambdaInitializationContext) -> EventLoopFuture<CodableEventLoopLambdaHandler> {
347 | Underlying.makeHandler(context: context).map { handler -> CodableEventLoopLambdaHandler<Underlying> in
348 | CodableEventLoopLambdaHandler(handler: handler, allocator: context.allocator)
| `- warning: capture of non-Sendable type 'Underlying.Type' in an isolated closure
349 | }
350 | }
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaHandler.swift:369:17: warning: capture of non-Sendable type 'Underlying.Type' in an isolated closure
367 | return self.handler.handle(input, context: context).flatMapThrowing { output in
368 | do {
369 | self.outputBuffer.clear()
| `- warning: capture of non-Sendable type 'Underlying.Type' in an isolated closure
370 | try self.handler.encode(value: output, into: &self.outputBuffer)
371 | return self.outputBuffer
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaHandler.swift:359:10: warning: capture of non-Sendable type 'Underlying.Type' in an isolated closure
357 |
358 | @inlinable
359 | func handle(_ buffer: ByteBuffer, context: LambdaContext) -> EventLoopFuture<ByteBuffer?> {
| `- warning: capture of non-Sendable type 'Underlying.Type' in an isolated closure
360 | let input: Underlying.Event
361 | do {
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaRuntime.swift:336:25: warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
334 | let promise = eventLoop.makePromise(of: Handler.self)
335 | promise.completeWithTask {
336 | try await handlerProvider(context)
| `- warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
337 | }
338 | return promise.futureResult
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaRuntime.swift:328:9: warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
326 | @inlinable
327 | public static func makeRuntime<Handler: LambdaRuntimeHandler>(
328 | handlerProvider: @escaping (LambdaInitializationContext) async throws -> Handler,
| `- warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
329 | eventLoop: any EventLoop,
330 | logger: Logger
[273/297] Compiling NIOFoundationCompat WaitSpinningRunLoop.swift
[274/297] Compiling NIOFoundationCompat Codable+ByteBuffer.swift
[275/297] Compiling NIOFoundationCompat JSONSerialization+ByteBuffer.swift
[276/297] Compiling AWSLambdaRuntimeCore Lambda+String.swift
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/Lambda.swift:125:21: warning: capture of non-Sendable type '(some LambdaRuntimeHandler).Type' in an isolated closure
123 |
124 | runtime.start().flatMap {
125 | runtime.shutdownFuture
| `- warning: capture of non-Sendable type '(some LambdaRuntimeHandler).Type' in an isolated closure
126 | }.whenComplete { lifecycleResult in
127 | #if DEBUG
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/Lambda.swift:111:21: warning: capture of non-Sendable type '(some LambdaRuntimeHandler).Type' in an isolated closure
109 | var result: Result<Int, Error>!
110 | MultiThreadedEventLoopGroup.withCurrentThreadAsEventLoop { eventLoop in
111 | let runtime = LambdaRuntime(
| `- warning: capture of non-Sendable type '(some LambdaRuntimeHandler).Type' in an isolated closure
112 | handlerProvider: handlerProvider,
113 | eventLoop: eventLoop,
[277/297] Compiling AWSLambdaRuntimeCore Lambda.swift
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/Lambda.swift:125:21: warning: capture of non-Sendable type '(some LambdaRuntimeHandler).Type' in an isolated closure
123 |
124 | runtime.start().flatMap {
125 | runtime.shutdownFuture
| `- warning: capture of non-Sendable type '(some LambdaRuntimeHandler).Type' in an isolated closure
126 | }.whenComplete { lifecycleResult in
127 | #if DEBUG
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/Lambda.swift:111:21: warning: capture of non-Sendable type '(some LambdaRuntimeHandler).Type' in an isolated closure
109 | var result: Result<Int, Error>!
110 | MultiThreadedEventLoopGroup.withCurrentThreadAsEventLoop { eventLoop in
111 | let runtime = LambdaRuntime(
| `- warning: capture of non-Sendable type '(some LambdaRuntimeHandler).Type' in an isolated closure
112 | handlerProvider: handlerProvider,
113 | eventLoop: eventLoop,
[278/297] Emitting module NIOFoundationCompat
[279/297] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[281/298] Compiling AWSLambdaRuntimeCore LambdaRunner.swift
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaRunner.swift:82:20: warning: capture of non-Sendable type '(some LambdaRuntimeHandler).Type' in an isolated closure
80 | )
81 | logger.debug("sending invocation to lambda handler")
82 | return handler.handle(bytes, context: context)
| `- warning: capture of non-Sendable type '(some LambdaRuntimeHandler).Type' in an isolated closure
83 | // Hopping back to "our" EventLoop is important in case the handler returns a future that
84 | // originated from a foreign EventLoop/EventLoopGroup.
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaRunner.swift:66:14: warning: capture of non-Sendable type '(some LambdaRuntimeHandler).Type' in an isolated closure
64 | }
65 |
66 | func run(handler: some LambdaRuntimeHandler, logger: Logger) -> EventLoopFuture<Void> {
| `- warning: capture of non-Sendable type '(some LambdaRuntimeHandler).Type' in an isolated closure
67 | logger.debug("lambda invocation sequence starting")
68 | // 1. request invocation from lambda runtime engine
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaRuntime.swift:97:48: warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
95 | return self._start()
96 | } else {
97 | return self.eventLoop.flatSubmit { self._start() }
| `- warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
98 | }
99 | }
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaRuntime.swift:93:17: warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
91 | ///
92 | /// - Returns: An `EventLoopFuture` that is fulfilled after the Lambda hander has been created and initialized, and a first run has been scheduled.
93 | public func start() -> EventLoopFuture<Void> {
| `- warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
94 | if self.eventLoop.inEventLoop {
95 | return self._start()
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaRuntime.swift:117:35: warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
115 | // after the startup future has succeeded, we have a handler that we can use
116 | // to `run` the lambda.
117 | let finishedPromise = self.eventLoop.makePromise(of: Int.self)
| `- warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
118 | self.state = .active(runner, handler)
119 | self.run(promise: finishedPromise)
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaRuntime.swift:101:18: warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
99 | }
100 |
101 | private func _start() -> EventLoopFuture<Void> {
| `- warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
102 | // This method must be called on the `EventLoop` the `LambdaRuntime` has been initialized with.
103 | self.eventLoop.assertInEventLoop()
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaRuntime.swift:124:45: warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
122 | // after the lambda finishPromise has succeeded or failed we need to
123 | // shutdown the handler
124 | terminator.terminate(eventLoop: self.eventLoop).flatMapErrorThrowing { error in
| `- warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
125 | // if, we had an error shutting down the handler, we want to concatenate it with
126 | // the runner result
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaRuntime.swift:101:18: warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
99 | }
100 |
101 | private func _start() -> EventLoopFuture<Void> {
| `- warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
102 | // This method must be called on the `EventLoop` the `LambdaRuntime` has been initialized with.
103 | self.eventLoop.assertInEventLoop()
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaRuntime.swift:135:13: warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
133 | }.always { _ in
134 | // triggered when the Lambda has finished its last run or has a startup failure.
135 | self.markShutdown()
| `- warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
136 | }.cascade(to: self.shutdownPromise)
137 |
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaRuntime.swift:101:18: warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
99 | }
100 |
101 | private func _start() -> EventLoopFuture<Void> {
| `- warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
102 | // This method must be called on the `EventLoop` the `LambdaRuntime` has been initialized with.
103 | self.eventLoop.assertInEventLoop()
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaRuntime.swift:138:34: warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
136 | }.cascade(to: self.shutdownPromise)
137 |
138 | return startupFuture.map { _ in }
| `- warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
139 | }
140 |
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaRuntime.swift:147:33: warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
145 | // make this method thread safe by dispatching onto the eventloop
146 | self.eventLoop.execute {
147 | let oldState = self.state
| `- warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
148 | self.state = .shuttingdown
149 | if case .active(let runner, _) = oldState {
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaRuntime.swift:144:17: warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
142 |
143 | /// Begin the `LambdaRuntime` shutdown.
144 | public func shutdown() {
| `- warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
145 | // make this method thread safe by dispatching onto the eventloop
146 | self.eventLoop.execute {
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaRuntime.swift:176:54: warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
174 | _run(count + 1)
175 | case .failure(HTTPClient.Errors.cancelled):
176 | if case .shuttingdown = self.state {
| `- warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
177 | // if we ware shutting down, we expect to that the get next
178 | // invocation request might have been cancelled. For this reason we
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaRuntime.swift:160:18: warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
158 |
159 | @inline(__always)
160 | private func run(promise: EventLoopPromise<Int>) {
| `- warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
161 | func _run(_ count: Int) {
162 | switch self.state {
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaRuntime.swift:336:25: warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
334 | let promise = eventLoop.makePromise(of: Handler.self)
335 | promise.completeWithTask {
336 | try await handlerProvider(context)
| `- warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
337 | }
338 | return promise.futureResult
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaRuntime.swift:328:9: warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
326 | @inlinable
327 | public static func makeRuntime<Handler: LambdaRuntimeHandler>(
328 | handlerProvider: @escaping (LambdaInitializationContext) async throws -> Handler,
| `- warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
329 | eventLoop: any EventLoop,
330 | logger: Logger
[282/298] Compiling AWSLambdaRuntimeCore LambdaRuntime.swift
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaRunner.swift:82:20: warning: capture of non-Sendable type '(some LambdaRuntimeHandler).Type' in an isolated closure
80 | )
81 | logger.debug("sending invocation to lambda handler")
82 | return handler.handle(bytes, context: context)
| `- warning: capture of non-Sendable type '(some LambdaRuntimeHandler).Type' in an isolated closure
83 | // Hopping back to "our" EventLoop is important in case the handler returns a future that
84 | // originated from a foreign EventLoop/EventLoopGroup.
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaRunner.swift:66:14: warning: capture of non-Sendable type '(some LambdaRuntimeHandler).Type' in an isolated closure
64 | }
65 |
66 | func run(handler: some LambdaRuntimeHandler, logger: Logger) -> EventLoopFuture<Void> {
| `- warning: capture of non-Sendable type '(some LambdaRuntimeHandler).Type' in an isolated closure
67 | logger.debug("lambda invocation sequence starting")
68 | // 1. request invocation from lambda runtime engine
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaRuntime.swift:97:48: warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
95 | return self._start()
96 | } else {
97 | return self.eventLoop.flatSubmit { self._start() }
| `- warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
98 | }
99 | }
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaRuntime.swift:93:17: warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
91 | ///
92 | /// - Returns: An `EventLoopFuture` that is fulfilled after the Lambda hander has been created and initialized, and a first run has been scheduled.
93 | public func start() -> EventLoopFuture<Void> {
| `- warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
94 | if self.eventLoop.inEventLoop {
95 | return self._start()
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaRuntime.swift:117:35: warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
115 | // after the startup future has succeeded, we have a handler that we can use
116 | // to `run` the lambda.
117 | let finishedPromise = self.eventLoop.makePromise(of: Int.self)
| `- warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
118 | self.state = .active(runner, handler)
119 | self.run(promise: finishedPromise)
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaRuntime.swift:101:18: warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
99 | }
100 |
101 | private func _start() -> EventLoopFuture<Void> {
| `- warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
102 | // This method must be called on the `EventLoop` the `LambdaRuntime` has been initialized with.
103 | self.eventLoop.assertInEventLoop()
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaRuntime.swift:124:45: warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
122 | // after the lambda finishPromise has succeeded or failed we need to
123 | // shutdown the handler
124 | terminator.terminate(eventLoop: self.eventLoop).flatMapErrorThrowing { error in
| `- warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
125 | // if, we had an error shutting down the handler, we want to concatenate it with
126 | // the runner result
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaRuntime.swift:101:18: warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
99 | }
100 |
101 | private func _start() -> EventLoopFuture<Void> {
| `- warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
102 | // This method must be called on the `EventLoop` the `LambdaRuntime` has been initialized with.
103 | self.eventLoop.assertInEventLoop()
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaRuntime.swift:135:13: warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
133 | }.always { _ in
134 | // triggered when the Lambda has finished its last run or has a startup failure.
135 | self.markShutdown()
| `- warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
136 | }.cascade(to: self.shutdownPromise)
137 |
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaRuntime.swift:101:18: warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
99 | }
100 |
101 | private func _start() -> EventLoopFuture<Void> {
| `- warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
102 | // This method must be called on the `EventLoop` the `LambdaRuntime` has been initialized with.
103 | self.eventLoop.assertInEventLoop()
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaRuntime.swift:138:34: warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
136 | }.cascade(to: self.shutdownPromise)
137 |
138 | return startupFuture.map { _ in }
| `- warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
139 | }
140 |
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaRuntime.swift:147:33: warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
145 | // make this method thread safe by dispatching onto the eventloop
146 | self.eventLoop.execute {
147 | let oldState = self.state
| `- warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
148 | self.state = .shuttingdown
149 | if case .active(let runner, _) = oldState {
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaRuntime.swift:144:17: warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
142 |
143 | /// Begin the `LambdaRuntime` shutdown.
144 | public func shutdown() {
| `- warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
145 | // make this method thread safe by dispatching onto the eventloop
146 | self.eventLoop.execute {
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaRuntime.swift:176:54: warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
174 | _run(count + 1)
175 | case .failure(HTTPClient.Errors.cancelled):
176 | if case .shuttingdown = self.state {
| `- warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
177 | // if we ware shutting down, we expect to that the get next
178 | // invocation request might have been cancelled. For this reason we
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaRuntime.swift:160:18: warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
158 |
159 | @inline(__always)
160 | private func run(promise: EventLoopPromise<Int>) {
| `- warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
161 | func _run(_ count: Int) {
162 | switch self.state {
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaRuntime.swift:336:25: warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
334 | let promise = eventLoop.makePromise(of: Handler.self)
335 | promise.completeWithTask {
336 | try await handlerProvider(context)
| `- warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
337 | }
338 | return promise.futureResult
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaRuntime.swift:328:9: warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
326 | @inlinable
327 | public static func makeRuntime<Handler: LambdaRuntimeHandler>(
328 | handlerProvider: @escaping (LambdaInitializationContext) async throws -> Handler,
| `- warning: capture of non-Sendable type 'Handler.Type' in an isolated closure
329 | eventLoop: any EventLoop,
330 | logger: Logger
[283/298] Compiling AWSLambdaRuntimeCore LambdaRuntimeClient.swift
[284/298] Compiling AWSLambdaRuntimeCore Terminator.swift
[285/298] Compiling MockServer main.swift
[286/298] Emitting module MockServer
[287/299] Wrapping AST for MockServer for debugging
[288/299] Write Objects.LinkFileList
[290/299] Compiling AWSLambdaRuntimeCore Utils.swift
[290/299] Linking MockServer
[292/299] Compiling AWSLambdaRuntimeCore ControlPlaneRequest.swift
[293/299] Compiling AWSLambdaRuntimeCore ControlPlaneRequestEncoder.swift
[294/299] Compiling AWSLambdaRuntimeCore HTTPClient.swift
[295/299] Compiling AWSLambdaRuntimeCore Lambda+LocalServer.swift
[296/299] Compiling AWSLambdaRuntimeCore LambdaHandler.swift
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaHandler.swift:76:27: warning: capture of non-Sendable type 'Underlying.Type' in an isolated closure
74 | let promise = context.eventLoop.makePromise(of: CodableSimpleLambdaHandler<Underlying>.self)
75 | promise.completeWithTask {
76 | let handler = Underlying()
| `- warning: capture of non-Sendable type 'Underlying.Type' in an isolated closure
77 | return CodableSimpleLambdaHandler(handler: handler, allocator: context.allocator)
78 | }
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaHandler.swift:94:34: warning: capture of non-Sendable type 'Underlying.Type' in an isolated closure
92 | let input: Underlying.Event
93 | do {
94 | input = try self.handler.decode(buffer: buffer)
| `- warning: capture of non-Sendable type 'Underlying.Type' in an isolated closure
95 | } catch {
96 | throw CodecError.requestDecoding(error)
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaHandler.swift:89:10: warning: capture of non-Sendable type 'Underlying.Type' in an isolated closure
87 |
88 | @inlinable
89 | func handle(_ buffer: ByteBuffer, context: LambdaContext) -> EventLoopFuture<ByteBuffer?> {
| `- warning: capture of non-Sendable type 'Underlying.Type' in an isolated closure
90 | let promise = context.eventLoop.makePromise(of: ByteBuffer?.self)
91 | promise.completeWithTask {
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaHandler.swift:198:31: warning: capture of non-Sendable type 'Underlying.Type' in an isolated closure
196 | let promise = context.eventLoop.makePromise(of: CodableLambdaHandler<Underlying>.self)
197 | promise.completeWithTask {
198 | let handler = try await Underlying(context: context)
| `- warning: capture of non-Sendable type 'Underlying.Type' in an isolated closure
199 | return CodableLambdaHandler(handler: handler, allocator: context.allocator)
200 | }
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaHandler.swift:216:34: warning: capture of non-Sendable type 'Underlying.Type' in an isolated closure
214 | let input: Underlying.Event
215 | do {
216 | input = try self.handler.decode(buffer: buffer)
| `- warning: capture of non-Sendable type 'Underlying.Type' in an isolated closure
217 | } catch {
218 | throw CodecError.requestDecoding(error)
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaHandler.swift:211:10: warning: capture of non-Sendable type 'Underlying.Type' in an isolated closure
209 |
210 | @inlinable
211 | func handle(_ buffer: ByteBuffer, context: LambdaContext) -> EventLoopFuture<ByteBuffer?> {
| `- warning: capture of non-Sendable type 'Underlying.Type' in an isolated closure
212 | let promise = context.eventLoop.makePromise(of: ByteBuffer?.self)
213 | promise.completeWithTask {
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaHandler.swift:348:13: warning: capture of non-Sendable type 'Underlying.Type' in an isolated closure
346 | static func makeHandler(context: LambdaInitializationContext) -> EventLoopFuture<CodableEventLoopLambdaHandler> {
347 | Underlying.makeHandler(context: context).map { handler -> CodableEventLoopLambdaHandler<Underlying> in
348 | CodableEventLoopLambdaHandler(handler: handler, allocator: context.allocator)
| `- warning: capture of non-Sendable type 'Underlying.Type' in an isolated closure
349 | }
350 | }
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaHandler.swift:369:17: warning: capture of non-Sendable type 'Underlying.Type' in an isolated closure
367 | return self.handler.handle(input, context: context).flatMapThrowing { output in
368 | do {
369 | self.outputBuffer.clear()
| `- warning: capture of non-Sendable type 'Underlying.Type' in an isolated closure
370 | try self.handler.encode(value: output, into: &self.outputBuffer)
371 | return self.outputBuffer
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaHandler.swift:359:10: warning: capture of non-Sendable type 'Underlying.Type' in an isolated closure
357 |
358 | @inlinable
359 | func handle(_ buffer: ByteBuffer, context: LambdaContext) -> EventLoopFuture<ByteBuffer?> {
| `- warning: capture of non-Sendable type 'Underlying.Type' in an isolated closure
360 | let input: Underlying.Event
361 | do {
[297/299] Compiling AWSLambdaRuntimeCore LambdaRequestID.swift
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaHandler.swift:76:27: warning: capture of non-Sendable type 'Underlying.Type' in an isolated closure
74 | let promise = context.eventLoop.makePromise(of: CodableSimpleLambdaHandler<Underlying>.self)
75 | promise.completeWithTask {
76 | let handler = Underlying()
| `- warning: capture of non-Sendable type 'Underlying.Type' in an isolated closure
77 | return CodableSimpleLambdaHandler(handler: handler, allocator: context.allocator)
78 | }
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaHandler.swift:94:34: warning: capture of non-Sendable type 'Underlying.Type' in an isolated closure
92 | let input: Underlying.Event
93 | do {
94 | input = try self.handler.decode(buffer: buffer)
| `- warning: capture of non-Sendable type 'Underlying.Type' in an isolated closure
95 | } catch {
96 | throw CodecError.requestDecoding(error)
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaHandler.swift:89:10: warning: capture of non-Sendable type 'Underlying.Type' in an isolated closure
87 |
88 | @inlinable
89 | func handle(_ buffer: ByteBuffer, context: LambdaContext) -> EventLoopFuture<ByteBuffer?> {
| `- warning: capture of non-Sendable type 'Underlying.Type' in an isolated closure
90 | let promise = context.eventLoop.makePromise(of: ByteBuffer?.self)
91 | promise.completeWithTask {
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaHandler.swift:198:31: warning: capture of non-Sendable type 'Underlying.Type' in an isolated closure
196 | let promise = context.eventLoop.makePromise(of: CodableLambdaHandler<Underlying>.self)
197 | promise.completeWithTask {
198 | let handler = try await Underlying(context: context)
| `- warning: capture of non-Sendable type 'Underlying.Type' in an isolated closure
199 | return CodableLambdaHandler(handler: handler, allocator: context.allocator)
200 | }
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaHandler.swift:216:34: warning: capture of non-Sendable type 'Underlying.Type' in an isolated closure
214 | let input: Underlying.Event
215 | do {
216 | input = try self.handler.decode(buffer: buffer)
| `- warning: capture of non-Sendable type 'Underlying.Type' in an isolated closure
217 | } catch {
218 | throw CodecError.requestDecoding(error)
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaHandler.swift:211:10: warning: capture of non-Sendable type 'Underlying.Type' in an isolated closure
209 |
210 | @inlinable
211 | func handle(_ buffer: ByteBuffer, context: LambdaContext) -> EventLoopFuture<ByteBuffer?> {
| `- warning: capture of non-Sendable type 'Underlying.Type' in an isolated closure
212 | let promise = context.eventLoop.makePromise(of: ByteBuffer?.self)
213 | promise.completeWithTask {
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaHandler.swift:348:13: warning: capture of non-Sendable type 'Underlying.Type' in an isolated closure
346 | static func makeHandler(context: LambdaInitializationContext) -> EventLoopFuture<CodableEventLoopLambdaHandler> {
347 | Underlying.makeHandler(context: context).map { handler -> CodableEventLoopLambdaHandler<Underlying> in
348 | CodableEventLoopLambdaHandler(handler: handler, allocator: context.allocator)
| `- warning: capture of non-Sendable type 'Underlying.Type' in an isolated closure
349 | }
350 | }
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaHandler.swift:369:17: warning: capture of non-Sendable type 'Underlying.Type' in an isolated closure
367 | return self.handler.handle(input, context: context).flatMapThrowing { output in
368 | do {
369 | self.outputBuffer.clear()
| `- warning: capture of non-Sendable type 'Underlying.Type' in an isolated closure
370 | try self.handler.encode(value: output, into: &self.outputBuffer)
371 | return self.outputBuffer
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaHandler.swift:359:10: warning: capture of non-Sendable type 'Underlying.Type' in an isolated closure
357 |
358 | @inlinable
359 | func handle(_ buffer: ByteBuffer, context: LambdaContext) -> EventLoopFuture<ByteBuffer?> {
| `- warning: capture of non-Sendable type 'Underlying.Type' in an isolated closure
360 | let input: Underlying.Event
361 | do {
[298/299] Compiling AWSLambdaRuntimeCore LambdaConfiguration.swift
[299/299] Compiling AWSLambdaRuntimeCore LambdaContext.swift
[301/303] Compiling AWSLambdaRuntime Lambda+Codable.swift
[302/303] Emitting module AWSLambdaRuntime
[303/303] Compiling AWSLambdaRuntime Context+Foundation.swift
[305/306] Emitting module AWSLambdaTesting
[306/306] Compiling AWSLambdaTesting Lambda+Testing.swift
Build complete! (148.09s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.43.1",
"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-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "swift-aws-lambda-runtime",
"name" : "swift-aws-lambda-runtime",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "tvos",
"version" : "15.0"
},
{
"name" : "watchos",
"version" : "8.0"
}
],
"products" : [
{
"name" : "AWSLambdaRuntime",
"targets" : [
"AWSLambdaRuntime"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "AWSLambdaRuntimeCore",
"targets" : [
"AWSLambdaRuntimeCore"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "AWSLambdaPackager",
"targets" : [
"AWSLambdaPackager"
],
"type" : {
"plugin" : null
}
},
{
"name" : "AWSLambdaTesting",
"targets" : [
"AWSLambdaTesting"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "MockServer",
"targets" : [
"MockServer"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "MockServer",
"module_type" : "SwiftTarget",
"name" : "MockServer",
"path" : "Sources/MockServer",
"product_dependencies" : [
"NIOHTTP1",
"NIO"
],
"product_memberships" : [
"MockServer"
],
"sources" : [
"main.swift"
],
"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+CodableTest.swift"
],
"target_dependencies" : [
"AWSLambdaRuntimeCore",
"AWSLambdaRuntime"
],
"type" : "test"
},
{
"c99name" : "AWSLambdaRuntimeCoreTests",
"module_type" : "SwiftTarget",
"name" : "AWSLambdaRuntimeCoreTests",
"path" : "Tests/AWSLambdaRuntimeCoreTests",
"product_dependencies" : [
"NIOTestUtils",
"NIOFoundationCompat"
],
"sources" : [
"ControlPlaneRequestEncoderTests.swift",
"ControlPlaneRequestTests.swift",
"LambdaHandlerTest.swift",
"LambdaHandlers.swift",
"LambdaRequestIDTests.swift",
"LambdaRunnerTest.swift",
"LambdaRuntimeClientTest.swift",
"LambdaRuntimeTest.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",
"NIOHTTP1",
"NIOCore",
"NIOConcurrencyHelpers",
"NIOPosix"
],
"product_memberships" : [
"AWSLambdaRuntime",
"AWSLambdaRuntimeCore",
"AWSLambdaTesting"
],
"sources" : [
"ControlPlaneRequest.swift",
"ControlPlaneRequestEncoder.swift",
"HTTPClient.swift",
"Lambda+LocalServer.swift",
"Lambda+String.swift",
"Lambda.swift",
"LambdaConfiguration.swift",
"LambdaContext.swift",
"LambdaHandler.swift",
"LambdaRequestID.swift",
"LambdaRunner.swift",
"LambdaRuntime.swift",
"LambdaRuntimeClient.swift",
"Terminator.swift",
"Utils.swift"
],
"type" : "library"
},
{
"c99name" : "AWSLambdaRuntime",
"module_type" : "SwiftTarget",
"name" : "AWSLambdaRuntime",
"path" : "Sources/AWSLambdaRuntime",
"product_dependencies" : [
"NIOCore",
"NIOFoundationCompat"
],
"product_memberships" : [
"AWSLambdaRuntime",
"AWSLambdaTesting"
],
"sources" : [
"Context+Foundation.swift",
"Lambda+Codable.swift"
],
"target_dependencies" : [
"AWSLambdaRuntimeCore"
],
"type" : "library"
},
{
"c99name" : "AWSLambdaPackager",
"module_type" : "PluginTarget",
"name" : "AWSLambdaPackager",
"path" : "Plugins/AWSLambdaPackager",
"plugin_capability" : {
"intent" : {
"description" : "Archive the Lambda binary and prepare it for uploading to AWS. Requires docker on macOS or non Amazonlinux 2 distributions.",
"type" : "custom",
"verb" : "archive"
},
"permissions" : [
],
"type" : "command"
},
"product_memberships" : [
"AWSLambdaPackager"
],
"sources" : [
"Plugin.swift"
],
"type" : "plugin"
}
],
"tools_version" : "5.9"
}
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Done.