Build Information
Successful build of swift-aws-lambda-runtime, reference 1.0.0-alpha.3 (5ecc24
), with Swift 6.2 (beta) for Linux on 19 Jun 2025 03:34:10 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>&1
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: 1.0.0-alpha.3
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/swift-server/swift-aws-lambda-runtime
* tag 1.0.0-alpha.3 -> FETCH_HEAD
HEAD is now at 5ecc24f Add Breeze to projects.md (#343)
Cloned https://github.com/swift-server/swift-aws-lambda-runtime.git
Revision (git rev-parse @):
5ecc24fa54e61756fe7a7a01f2451da1cffa916e
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swift-server/swift-aws-lambda-runtime.git at 1.0.0-alpha.3
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/swift-server/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-docc-plugin
Fetching https://github.com/apple/swift-log.git
[1/2082] Fetching swift-docc-plugin
[231/5918] Fetching swift-docc-plugin, swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.67s)
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/apple/swift-docc-plugin from cache (0.69s)
[1/76327] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (4.75s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (8.64s)
Fetching https://github.com/apple/swift-docc-symbolkit
[1/3413] Fetching swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit from cache (0.47s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (1.10s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (1.14s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (0.98s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/1797] Fetching swift-atomics
[1798/6233] Fetching swift-atomics, swift-system
[3839/22873] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (0.44s)
[5601/21076] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.51s)
[2829/16640] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.48s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.96s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.59s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.04s)
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-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.3.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.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
[1/1] Compiling plugin AWSLambdaPackager
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
29 | func addTargetDependencies(_ target: Target) {
30 | for dependency in target.dependencies {
31 | switch dependency {
| |- warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
| `- note: handle unknown values using "@unknown default"
32 | case .product(let product):
33 | addTargets(product.targets)
[2/2] Compiling plugin Swift-DocC Preview
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
29 | func addTargetDependencies(_ target: Target) {
30 | for dependency in target.dependencies {
31 | switch dependency {
| |- warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
| `- note: handle unknown values using "@unknown default"
32 | case .product(let product):
33 | addTargets(product.targets)
[3/3] Compiling plugin Swift-DocC
Building for debugging...
[3/47] Write sources
[17/47] Compiling CNIOWindows WSAStartup.c
[18/47] Compiling CNIOWindows shim.c
[18/47] Compiling _AtomicsShims.c
[20/47] Compiling CNIOWASI CNIOWASI.c
[20/47] Compiling CNIOLinux liburing_shims.c
[22/47] Compiling CNIODarwin shim.c
[23/47] Write sources
[26/47] Write swift-version-24593BA9C3E375BF.txt
[27/47] Compiling CNIOLLHTTP c_nio_api.c
[28/47] Compiling CNIOLLHTTP c_nio_http.c
[29/51] Compiling CNIOLinux shim.c
[30/90] Compiling CNIOLLHTTP c_nio_llhttp.c
[32/90] Emitting module Logging
[32/90] Compiling c-nioatomics.c
[33/90] Compiling c-atomics.c
[35/96] Compiling Atomics IntegerConformances.swift
[36/96] Compiling Atomics PointerConformances.swift
[37/97] Compiling Atomics UnsafeAtomic.swift
[38/97] Compiling Atomics UnsafeAtomicLazyReference.swift
[39/99] Compiling _NIOBase64 Base64.swift
[40/99] Emitting module _NIOBase64
[42/100] Emitting module InternalCollectionsUtilities
[43/100] Compiling Atomics OptionalRawRepresentable.swift
[44/100] Compiling Atomics RawRepresentable.swift
[45/100] Compiling Atomics AtomicOptionalWrappable.swift
[46/100] Compiling Atomics AtomicReference.swift
[47/100] Compiling Atomics Primitives.native.swift
[48/100] Compiling Atomics AtomicStorage.swift
[49/100] Compiling Atomics AtomicBool.swift
[50/100] Compiling Atomics AtomicInteger.swift
[51/100] Compiling Atomics AtomicValue.swift
[52/100] Compiling Atomics AtomicMemoryOrderings.swift
[53/100] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[54/100] Compiling Atomics IntegerOperations.swift
[55/100] Compiling Atomics Unmanaged extensions.swift
[56/100] Compiling _NIODataStructures PriorityQueue.swift
[57/100] Compiling Atomics ManagedAtomic.swift
[58/100] Compiling Atomics ManagedAtomicLazyReference.swift
[62/100] Compiling Atomics DoubleWord.swift
[66/100] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[66/101] Wrapping AST for _NIOBase64 for debugging
[69/101] Emitting module Atomics
[70/101] Compiling _NIODataStructures _TinyArray.swift
[76/103] Wrapping AST for InternalCollectionsUtilities for debugging
[79/117] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[80/117] Emitting module NIOConcurrencyHelpers
[80/117] Wrapping AST for Atomics for debugging
[82/117] Compiling DequeModule _DequeBuffer.swift
[83/117] Compiling DequeModule _DequeBufferHeader.swift
[84/119] Compiling DequeModule Deque+Testing.swift
[85/119] Compiling DequeModule Deque._Storage.swift
[86/119] Compiling Logging Locks.swift
[87/119] Compiling Logging MetadataProvider.swift
[88/119] Compiling NIOConcurrencyHelpers lock.swift
[89/119] Compiling _NIODataStructures Heap.swift
[90/119] Emitting module _NIODataStructures
[91/120] Wrapping AST for _NIODataStructures for debugging
[93/120] Compiling DequeModule _DequeSlot.swift
[94/120] Compiling DequeModule _UnsafeWrappedBuffer.swift
[95/120] Compiling NIOConcurrencyHelpers atomics.swift
[96/120] Compiling NIOConcurrencyHelpers NIOLock.swift
[97/120] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[98/121] Wrapping AST for NIOConcurrencyHelpers for debugging
[100/121] Compiling DequeModule Deque._UnsafeHandle.swift
[101/121] Compiling DequeModule Deque.swift
[102/121] Compiling DequeModule Deque+CustomReflectable.swift
[103/121] Compiling DequeModule Deque+Descriptions.swift
[104/121] Compiling DequeModule Deque+Equatable.swift
[105/121] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[106/121] Compiling DequeModule Deque+Extras.swift
[107/121] Compiling DequeModule Deque+Hashable.swift
[108/121] Compiling DequeModule Deque+Codable.swift
[109/121] Compiling DequeModule Deque+Collection.swift
[110/121] Compiling Logging Logging.swift
[111/121] Compiling Logging LogHandler.swift
[113/122] Emitting module DequeModule
[114/123] Wrapping AST for DequeModule for debugging
[116/183] Compiling NIOCore MulticastChannel.swift
[117/183] Compiling NIOCore NIOAny.swift
[118/183] Compiling NIOCore NIOCloseOnErrorHandler.swift
[119/183] Compiling NIOCore NIOLoopBound.swift
[120/183] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[121/183] Compiling NIOCore NIOScheduledCallback.swift
[122/183] Compiling NIOCore NIOSendable.swift
[123/183] Compiling NIOCore RecvByteBufferAllocator.swift
[124/191] Compiling NIOCore IO.swift
[125/191] Compiling NIOCore IOData.swift
[126/191] Compiling NIOCore IPProtocol.swift
[127/191] Compiling NIOCore IntegerBitPacking.swift
[128/191] Compiling NIOCore IntegerTypes.swift
[129/191] Compiling NIOCore Interfaces.swift
[130/191] Compiling NIOCore Linux.swift
[131/191] Compiling NIOCore MarkedCircularBuffer.swift
[132/191] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[133/191] Compiling NIOCore EventLoopFuture+Deprecated.swift
[134/191] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[135/191] Compiling NIOCore EventLoopFuture.swift
[136/191] Compiling NIOCore FileDescriptor.swift
[137/191] Compiling NIOCore FileHandle.swift
[138/191] Compiling NIOCore FileRegion.swift
[139/191] Compiling NIOCore GlobalSingletons.swift
[140/191] Compiling NIOCore CircularBuffer.swift
[141/191] Compiling NIOCore Codec.swift
[142/191] Compiling NIOCore ConvenienceOptionSupport.swift
[143/191] Compiling NIOCore DeadChannel.swift
[144/191] Compiling NIOCore DispatchQueue+WithFuture.swift
[145/191] Compiling NIOCore EventLoop+Deprecated.swift
[146/191] Compiling NIOCore EventLoop+SerialExecutor.swift
[147/191] Compiling NIOCore EventLoop.swift
[148/191] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[149/191] Compiling NIOCore SocketAddresses.swift
[150/191] Compiling NIOCore SocketOptionProvider.swift
[151/191] Compiling NIOCore SystemCallHelpers.swift
[152/191] Compiling NIOCore TimeAmount+Duration.swift
[153/191] Compiling NIOCore TypeAssistedChannelHandler.swift
[154/191] Compiling NIOCore UniversalBootstrapSupport.swift
[155/191] Compiling NIOCore Utilities.swift
[156/191] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[157/191] Compiling NIOCore BSDSocketAPI.swift
[158/191] Compiling NIOCore ByteBuffer-aux.swift
[159/191] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[160/191] Compiling NIOCore ByteBuffer-conversions.swift
[161/191] Compiling NIOCore ByteBuffer-core.swift
[162/191] Compiling NIOCore ByteBuffer-hex.swift
[163/191] Compiling NIOCore ByteBuffer-int.swift
[164/191] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[165/191] Compiling NIOCore AddressedEnvelope.swift
[166/191] Compiling NIOCore AsyncAwaitSupport.swift
[167/191] Compiling NIOCore AsyncChannel.swift
[168/191] Compiling NIOCore AsyncChannelHandler.swift
[169/191] Compiling NIOCore AsyncChannelInboundStream.swift
[170/191] Compiling NIOCore AsyncChannelOutboundWriter.swift
[171/191] Compiling NIOCore NIOAsyncSequenceProducer.swift
[172/191] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[173/191] Compiling NIOCore NIOAsyncWriter.swift
[174/191] Compiling NIOCore ByteBuffer-multi-int.swift
[175/191] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[176/191] Compiling NIOCore ByteBuffer-views.swift
[177/191] Compiling NIOCore Channel.swift
[178/191] Compiling NIOCore ChannelHandler.swift
[179/191] Compiling NIOCore ChannelHandlers.swift
[180/191] Compiling NIOCore ChannelInvoker.swift
[181/191] Compiling NIOCore ChannelOption.swift
[182/191] Compiling NIOCore ChannelPipeline.swift
[183/191] Emitting module NIOCore
[184/196] Wrapping AST for NIOCore for debugging
[186/242] Compiling NIOEmbedded AsyncTestingChannel.swift
[187/242] Compiling NIOEmbedded Embedded.swift
[188/242] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[189/242] Emitting module NIOEmbedded
[190/243] Wrapping AST for NIOEmbedded for debugging
[192/243] Compiling NIOPosix ServerSocket.swift
[193/243] Compiling NIOPosix Socket.swift
[194/243] Compiling NIOPosix SocketChannel.swift
[195/243] Compiling NIOPosix SocketProtocols.swift
[196/243] Compiling NIOPosix System.swift
[197/243] Compiling NIOPosix Thread.swift
[198/249] Compiling NIOPosix Pool.swift
[199/249] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[200/249] Compiling NIOPosix PosixSingletons.swift
[201/249] Compiling NIOPosix RawSocketBootstrap.swift
[202/249] Compiling NIOPosix Resolver.swift
[203/249] Compiling NIOPosix Selectable.swift
[204/249] Compiling NIOPosix SelectableChannel.swift
[205/249] Compiling NIOPosix SelectableEventLoop.swift
[206/249] Compiling NIOPosix SelectorEpoll.swift
[207/249] Compiling NIOPosix SelectorGeneric.swift
[208/249] Compiling NIOPosix SelectorKqueue.swift
[209/249] Compiling NIOPosix SelectorUring.swift
[210/249] Compiling NIOPosix ThreadPosix.swift
[211/249] Compiling NIOPosix ThreadWindows.swift
[212/249] Compiling NIOPosix UnsafeTransfer.swift
[213/249] Compiling NIOPosix Utilities.swift
[214/249] Compiling NIOPosix VsockAddress.swift
[215/249] Compiling NIOPosix VsockChannelEvents.swift
[216/249] Emitting module NIOPosix
[217/249] Compiling NIOPosix BSDSocketAPICommon.swift
[218/249] Compiling NIOPosix BSDSocketAPIPosix.swift
[219/249] Compiling NIOPosix BSDSocketAPIWindows.swift
[220/249] Compiling NIOPosix BaseSocket.swift
[221/249] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[222/249] Compiling NIOPosix BaseSocketChannel.swift
[223/249] Compiling NIOPosix BaseStreamSocketChannel.swift
[224/249] Compiling NIOPosix IO.swift
[225/249] Compiling NIOPosix IntegerBitPacking.swift
[226/249] Compiling NIOPosix IntegerTypes.swift
[227/249] Compiling NIOPosix Linux.swift
[228/249] Compiling NIOPosix LinuxCPUSet.swift
[229/249] Compiling NIOPosix LinuxUring.swift
[230/249] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[231/249] Compiling NIOPosix Bootstrap.swift
[232/249] Compiling NIOPosix ControlMessage.swift
[233/249] Compiling NIOPosix DatagramVectorReadManager.swift
[234/249] Compiling NIOPosix Errors+Any.swift
[235/249] Compiling NIOPosix FileDescriptor.swift
[236/249] Compiling NIOPosix GetaddrinfoResolver.swift
[237/249] Compiling NIOPosix HappyEyeballs.swift
[238/249] Compiling NIOPosix NIOThreadPool.swift
[239/249] Compiling NIOPosix NonBlockingFileIO.swift
[240/249] Compiling NIOPosix PendingDatagramWritesManager.swift
[241/249] Compiling NIOPosix PendingWritesManager.swift
[242/249] Compiling NIOPosix PipeChannel.swift
[243/249] Compiling NIOPosix PipePair.swift
[244/250] Wrapping AST for NIOPosix for debugging
[246/252] Emitting module NIO
[247/252] Compiling NIO Exports.swift
[248/253] Wrapping AST for NIO for debugging
[250/274] Compiling NIOHTTP1 NIOTypedHTTPClientUpgradeHandler.swift
[251/274] Compiling NIOHTTP1 NIOTypedHTTPClientUpgraderStateMachine.swift
[252/276] Compiling NIOHTTP1 NIOHTTPClientUpgradeHandler.swift
[253/276] Compiling NIOHTTP1 NIOHTTPObjectAggregator.swift
[254/276] Compiling NIOHTTP1 NIOTypedHTTPServerUpgradeHandler.swift
[255/276] Compiling NIOHTTP1 NIOTypedHTTPServerUpgraderStateMachine.swift
[256/276] Compiling NIOHTTP1 HTTPServerProtocolErrorHandler.swift
[257/276] Compiling NIOHTTP1 HTTPServerUpgradeHandler.swift
[258/276] Compiling NIOHTTP1 HTTPTypedPipelineSetup.swift
[259/276] Compiling NIOHTTP1 HTTPTypes.swift
[260/276] Compiling NIOHTTP1 HTTPHeaderValidator.swift
[261/276] Compiling NIOHTTP1 HTTPHeaders+Validation.swift
[262/276] Compiling NIOHTTP1 HTTPPipelineSetup.swift
[263/276] Compiling NIOHTTP1 HTTPServerPipelineHandler.swift
[264/276] Emitting module NIOHTTP1
[265/276] Compiling NIOHTTP1 ByteCollectionUtils.swift
[266/276] Compiling NIOHTTP1 HTTPDecoder.swift
[267/276] Compiling NIOHTTP1 HTTPEncoder.swift
[268/294] Wrapping AST for NIOHTTP1 for debugging
[270/294] Compiling NIOFoundationCompat JSONSerialization+ByteBuffer.swift
[271/294] Compiling NIOFoundationCompat WaitSpinningRunLoop.swift
[272/294] Compiling NIOFoundationCompat Codable+ByteBuffer.swift
[273/294] Emitting module MockServer
[274/294] Compiling AWSLambdaRuntimeCore ControlPlaneRequest.swift
[275/294] Compiling AWSLambdaRuntimeCore ControlPlaneRequestEncoder.swift
[276/296] Emitting module NIOFoundationCompat
[277/296] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[278/297] 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
[280/297] Compiling AWSLambdaRuntimeCore Lambda.swift
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/Lambda.swift:131:21: warning: capture of non-Sendable type '(some LambdaRuntimeHandler).Type' in an isolated closure
129 |
130 | runtime.start().flatMap {
131 | runtime.shutdownFuture
| `- warning: capture of non-Sendable type '(some LambdaRuntimeHandler).Type' in an isolated closure
132 | }.whenComplete { lifecycleResult in
133 | #if DEBUG
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/Lambda.swift:117:21: warning: capture of non-Sendable type '(some LambdaRuntimeHandler).Type' in an isolated closure
115 | var result: Result<Int, Error>!
116 | MultiThreadedEventLoopGroup.withCurrentThreadAsEventLoop { eventLoop in
117 | let runtime = LambdaRuntime(
| `- warning: capture of non-Sendable type '(some LambdaRuntimeHandler).Type' in an isolated closure
118 | handlerProvider: handlerProvider,
119 | eventLoop: eventLoop,
[281/297] Compiling AWSLambdaRuntimeCore LambdaConfiguration.swift
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/Lambda.swift:131:21: warning: capture of non-Sendable type '(some LambdaRuntimeHandler).Type' in an isolated closure
129 |
130 | runtime.start().flatMap {
131 | runtime.shutdownFuture
| `- warning: capture of non-Sendable type '(some LambdaRuntimeHandler).Type' in an isolated closure
132 | }.whenComplete { lifecycleResult in
133 | #if DEBUG
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/Lambda.swift:117:21: warning: capture of non-Sendable type '(some LambdaRuntimeHandler).Type' in an isolated closure
115 | var result: Result<Int, Error>!
116 | MultiThreadedEventLoopGroup.withCurrentThreadAsEventLoop { eventLoop in
117 | let runtime = LambdaRuntime(
| `- warning: capture of non-Sendable type '(some LambdaRuntimeHandler).Type' in an isolated closure
118 | handlerProvider: handlerProvider,
119 | eventLoop: eventLoop,
[282/297] Compiling AWSLambdaRuntimeCore DetachedTasks.swift
[283/297] Compiling AWSLambdaRuntimeCore HTTPClient.swift
[284/297] Compiling AWSLambdaRuntimeCore Lambda+LocalServer.swift
[285/297] Compiling AWSLambdaRuntimeCore Lambda+String.swift
[286/297] Compiling MockServer main.swift
[288/298] Compiling AWSLambdaRuntimeCore LambdaRuntime.swift
/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
[289/298] Compiling AWSLambdaRuntimeCore LambdaRuntimeClient.swift
/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
[289/298] Wrapping AST for MockServer for debugging
[290/298] Write Objects.LinkFileList
[292/298] Compiling AWSLambdaRuntimeCore Terminator.swift
[293/298] Compiling AWSLambdaRuntimeCore Utils.swift
[293/298] Linking MockServer
[295/298] Compiling AWSLambdaRuntimeCore LambdaRequestID.swift
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaRunner.swift:88:20: warning: capture of non-Sendable type '(some LambdaRuntimeHandler).Type' in an isolated closure
86 | logger.debug("sending invocation to lambda handler")
87 | }
88 | return handler.handle(bytes, context: context)
| `- warning: capture of non-Sendable type '(some LambdaRuntimeHandler).Type' in an isolated closure
89 | // Hopping back to "our" EventLoop is important in case the handler returns a future that
90 | // 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
[296/298] Compiling AWSLambdaRuntimeCore LambdaRunner.swift
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaRunner.swift:88:20: warning: capture of non-Sendable type '(some LambdaRuntimeHandler).Type' in an isolated closure
86 | logger.debug("sending invocation to lambda handler")
87 | }
88 | return handler.handle(bytes, context: context)
| `- warning: capture of non-Sendable type '(some LambdaRuntimeHandler).Type' in an isolated closure
89 | // Hopping back to "our" EventLoop is important in case the handler returns a future that
90 | // 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
[297/298] Compiling AWSLambdaRuntimeCore LambdaContext.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/298] 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 {
[300/302] Emitting module AWSLambdaRuntime
[301/302] Compiling AWSLambdaRuntime Context+Foundation.swift
[302/302] Compiling AWSLambdaRuntime Lambda+Codable.swift
[304/305] Emitting module AWSLambdaTesting
[305/305] Compiling AWSLambdaTesting Lambda+Testing.swift
Build complete! (141.38s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.67.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.5.4",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"exact" : [
"1.3.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",
"DetachedTasksTests.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",
"DetachedTasks.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.