Build Information
Failed to build swift-aws-lambda-runtime, reference 1.0.0-alpha.3 (5ecc24
), with Swift 6.2 (beta) for Android on 19 Jun 2025 03:32:30 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 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: android
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-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-docc-plugin
[1/2082] Fetching swift-docc-plugin
[231/5918] Fetching swift-docc-plugin, swift-log
[5836/82245] Fetching swift-docc-plugin, swift-log, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (4.62s)
Fetched https://github.com/apple/swift-docc-plugin from cache (4.63s)
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.60s)
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.60s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (1.91s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.71s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.37s)
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/4436] Fetching swift-system
[623/6233] Fetching swift-system, swift-atomics
[857/22873] Fetching swift-system, swift-atomics, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.80s)
[4626/18437] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.89s)
Fetched https://github.com/apple/swift-collections.git from cache (1.96s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.63s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.74s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.03s)
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-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-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-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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.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
[19/47] Compiling CNIOWindows shim.c
[20/47] Compiling CNIOWASI CNIOWASI.c
[21/47] Compiling CNIOWindows WSAStartup.c
[22/47] Compiling CNIOLinux liburing_shims.c
[23/47] Compiling _AtomicsShims.c
[24/47] Compiling CNIODarwin shim.c
[24/47] Write sources
[26/47] Write swift-version-8C5A4AE7A8CE2BA.txt
[27/47] Compiling CNIOLLHTTP c_nio_http.c
[28/47] Compiling CNIOLinux shim.c
[29/47] Compiling CNIOLLHTTP c_nio_api.c
[30/90] Compiling CNIOLLHTTP c_nio_llhttp.c
[32/90] Emitting module _NIOBase64
[32/90] Compiling c-nioatomics.c
[34/90] Emitting module Atomics
[34/92] Compiling c-atomics.c
[36/98] Compiling Atomics DoubleWord.swift
[37/98] Compiling Atomics AtomicStorage.swift
[38/99] Compiling Atomics IntegerOperations.swift
[39/99] Compiling Atomics Unmanaged extensions.swift
[40/99] Compiling _NIODataStructures PriorityQueue.swift
[41/99] Compiling Atomics IntegerConformances.swift
[42/99] Compiling Atomics PointerConformances.swift
[43/99] Compiling Atomics Primitives.native.swift
[46/99] Compiling Atomics AtomicInteger.swift
[47/99] Compiling Atomics AtomicOptionalWrappable.swift
[48/99] Compiling Atomics AtomicReference.swift
[49/99] Compiling _NIOBase64 Base64.swift
[50/99] Emitting module InternalCollectionsUtilities
[52/100] Compiling Atomics AtomicMemoryOrderings.swift
[53/100] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[56/100] Compiling Atomics OptionalRawRepresentable.swift
[57/100] Compiling Atomics RawRepresentable.swift
[58/100] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[60/100] Compiling Atomics AtomicValue.swift
[61/100] Compiling Atomics AtomicBool.swift
[66/101] Compiling Atomics ManagedAtomic.swift
[67/101] Compiling Atomics ManagedAtomicLazyReference.swift
[68/101] Compiling Atomics UnsafeAtomic.swift
[69/101] Compiling Atomics UnsafeAtomicLazyReference.swift
[74/102] Emitting module _NIODataStructures
[75/102] Compiling _NIODataStructures Heap.swift
[77/102] Compiling _NIODataStructures _TinyArray.swift
[78/112] Wrapping AST for InternalCollectionsUtilities for debugging
[78/112] Wrapping AST for _NIOBase64 for debugging
[80/118] Wrapping AST for Atomics for debugging
[81/118] Wrapping AST for _NIODataStructures for debugging
[83/118] Compiling NIOConcurrencyHelpers lock.swift
[84/118] Compiling NIOConcurrencyHelpers NIOLock.swift
[85/118] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[86/118] Compiling NIOConcurrencyHelpers atomics.swift
[87/118] Compiling DequeModule _DequeBuffer.swift
[88/118] Compiling DequeModule _DequeBufferHeader.swift
[89/120] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[90/120] Emitting module NIOConcurrencyHelpers
[92/121] Compiling DequeModule Deque+CustomReflectable.swift
[93/121] Compiling DequeModule Deque+Descriptions.swift
[94/121] Compiling DequeModule Deque+Extras.swift
[95/121] Compiling DequeModule Deque+Hashable.swift
[96/121] Compiling DequeModule Deque+Equatable.swift
[97/121] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[98/121] Compiling DequeModule _DequeSlot.swift
[99/121] Compiling DequeModule _UnsafeWrappedBuffer.swift
[100/121] Compiling DequeModule Deque+Testing.swift
[101/121] Compiling DequeModule Deque._Storage.swift
[102/121] Compiling DequeModule Deque._UnsafeHandle.swift
[103/121] Compiling DequeModule Deque.swift
[104/121] Compiling DequeModule Deque+Codable.swift
[105/121] Compiling DequeModule Deque+Collection.swift
[106/121] Emitting module DequeModule
[108/122] Compiling Logging MetadataProvider.swift
[109/122] Compiling Logging Locks.swift
[110/122] Emitting module Logging
[111/122] Compiling Logging LogHandler.swift
[112/122] Compiling Logging Logging.swift
[113/123] Wrapping AST for NIOConcurrencyHelpers for debugging
[114/123] Wrapping AST for DequeModule for debugging
[116/183] Compiling NIOCore IO.swift
[117/183] Compiling NIOCore IOData.swift
[118/183] Compiling NIOCore IPProtocol.swift
[119/183] Compiling NIOCore IntegerBitPacking.swift
[120/183] Compiling NIOCore IntegerTypes.swift
[121/183] Compiling NIOCore Interfaces.swift
[122/183] Compiling NIOCore Linux.swift
[123/183] Compiling NIOCore MarkedCircularBuffer.swift
[124/191] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[125/191] Compiling NIOCore BSDSocketAPI.swift
[126/191] Compiling NIOCore ByteBuffer-aux.swift
[127/191] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[128/191] Compiling NIOCore ByteBuffer-conversions.swift
[129/191] Compiling NIOCore ByteBuffer-core.swift
[130/191] Compiling NIOCore ByteBuffer-hex.swift
[131/191] Compiling NIOCore ByteBuffer-int.swift
[132/191] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[133/191] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[134/191] Compiling NIOCore SocketAddresses.swift
[135/191] Compiling NIOCore SocketOptionProvider.swift
[136/191] Compiling NIOCore SystemCallHelpers.swift
[137/191] Compiling NIOCore TimeAmount+Duration.swift
[138/191] Compiling NIOCore TypeAssistedChannelHandler.swift
[139/191] Compiling NIOCore UniversalBootstrapSupport.swift
[140/191] Compiling NIOCore Utilities.swift
[141/191] Compiling NIOCore MulticastChannel.swift
[142/191] Compiling NIOCore NIOAny.swift
[143/191] Compiling NIOCore NIOCloseOnErrorHandler.swift
[144/191] Compiling NIOCore NIOLoopBound.swift
[145/191] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[146/191] Compiling NIOCore NIOScheduledCallback.swift
[147/191] Compiling NIOCore NIOSendable.swift
[148/191] Compiling NIOCore RecvByteBufferAllocator.swift
[149/191] Compiling NIOCore CircularBuffer.swift
[150/191] Compiling NIOCore Codec.swift
[151/191] Compiling NIOCore ConvenienceOptionSupport.swift
[152/191] Compiling NIOCore DeadChannel.swift
[153/191] Compiling NIOCore DispatchQueue+WithFuture.swift
[154/191] Compiling NIOCore EventLoop+Deprecated.swift
[155/191] Compiling NIOCore EventLoop+SerialExecutor.swift
[156/191] Compiling NIOCore EventLoop.swift
[157/191] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[158/191] Compiling NIOCore EventLoopFuture+Deprecated.swift
[159/191] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[160/191] Compiling NIOCore EventLoopFuture.swift
[161/191] Compiling NIOCore FileDescriptor.swift
[162/191] Compiling NIOCore FileHandle.swift
[163/191] Compiling NIOCore FileRegion.swift
[164/191] Compiling NIOCore GlobalSingletons.swift
[165/191] Compiling NIOCore ByteBuffer-multi-int.swift
[166/191] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[167/191] Compiling NIOCore ByteBuffer-views.swift
[168/191] Compiling NIOCore Channel.swift
[169/191] Compiling NIOCore ChannelHandler.swift
[170/191] Compiling NIOCore ChannelHandlers.swift
[171/191] Compiling NIOCore ChannelInvoker.swift
[172/191] Compiling NIOCore ChannelOption.swift
[173/191] Compiling NIOCore ChannelPipeline.swift
[174/191] Compiling NIOCore AddressedEnvelope.swift
[175/191] Compiling NIOCore AsyncAwaitSupport.swift
[176/191] Compiling NIOCore AsyncChannel.swift
[177/191] Compiling NIOCore AsyncChannelHandler.swift
[178/191] Compiling NIOCore AsyncChannelInboundStream.swift
[179/191] Compiling NIOCore AsyncChannelOutboundWriter.swift
[180/191] Compiling NIOCore NIOAsyncSequenceProducer.swift
[181/191] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[182/191] Compiling NIOCore NIOAsyncWriter.swift
[183/191] Emitting module NIOCore
[184/192] Wrapping AST for NIOCore for debugging
[186/242] Emitting module NIOEmbedded
[187/242] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[188/242] Compiling NIOEmbedded Embedded.swift
[189/242] Compiling NIOEmbedded AsyncTestingChannel.swift
[190/243] Wrapping AST for NIOEmbedded for debugging
[192/243] Compiling NIOPosix Pool.swift
[193/243] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[194/243] Compiling NIOPosix PosixSingletons.swift
[195/243] Compiling NIOPosix RawSocketBootstrap.swift
[196/243] Compiling NIOPosix Resolver.swift
[197/243] Compiling NIOPosix Selectable.swift
[198/249] Compiling NIOPosix SelectableChannel.swift
[199/249] Compiling NIOPosix SelectableEventLoop.swift
[200/249] Compiling NIOPosix SelectorEpoll.swift
[201/249] Compiling NIOPosix SelectorGeneric.swift
[202/249] Compiling NIOPosix SelectorKqueue.swift
[203/249] Compiling NIOPosix SelectorUring.swift
[204/249] Compiling NIOPosix ServerSocket.swift
[205/249] Compiling NIOPosix Socket.swift
[206/249] Compiling NIOPosix SocketChannel.swift
[207/249] Compiling NIOPosix SocketProtocols.swift
[208/249] Compiling NIOPosix System.swift
[209/249] Compiling NIOPosix Thread.swift
[210/249] Emitting module NIOPosix
[211/249] Compiling NIOPosix ThreadPosix.swift
[212/249] Compiling NIOPosix ThreadWindows.swift
[213/249] Compiling NIOPosix UnsafeTransfer.swift
[214/249] Compiling NIOPosix Utilities.swift
[215/249] Compiling NIOPosix VsockAddress.swift
[216/249] Compiling NIOPosix VsockChannelEvents.swift
[217/249] Compiling NIOPosix Bootstrap.swift
[218/249] Compiling NIOPosix ControlMessage.swift
[219/249] Compiling NIOPosix DatagramVectorReadManager.swift
[220/249] Compiling NIOPosix Errors+Any.swift
[221/249] Compiling NIOPosix FileDescriptor.swift
[222/249] Compiling NIOPosix GetaddrinfoResolver.swift
[223/249] Compiling NIOPosix HappyEyeballs.swift
[224/249] Compiling NIOPosix BSDSocketAPICommon.swift
[225/249] Compiling NIOPosix BSDSocketAPIPosix.swift
[226/249] Compiling NIOPosix BSDSocketAPIWindows.swift
[227/249] Compiling NIOPosix BaseSocket.swift
[228/249] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[229/249] Compiling NIOPosix BaseSocketChannel.swift
[230/249] Compiling NIOPosix BaseStreamSocketChannel.swift
[231/249] Compiling NIOPosix IO.swift
[232/249] Compiling NIOPosix IntegerBitPacking.swift
[233/249] Compiling NIOPosix IntegerTypes.swift
[234/249] Compiling NIOPosix Linux.swift
[235/249] Compiling NIOPosix LinuxCPUSet.swift
[236/249] Compiling NIOPosix LinuxUring.swift
[237/249] Compiling NIOPosix MultiThreadedEventLoopGroup.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 HTTPHeaderValidator.swift
[255/276] Compiling NIOHTTP1 HTTPHeaders+Validation.swift
[256/276] Compiling NIOHTTP1 HTTPPipelineSetup.swift
[257/276] Compiling NIOHTTP1 HTTPServerPipelineHandler.swift
[258/276] Compiling NIOHTTP1 HTTPTypedPipelineSetup.swift
[259/276] Compiling NIOHTTP1 HTTPTypes.swift
[260/276] Compiling NIOHTTP1 HTTPServerProtocolErrorHandler.swift
[261/276] Compiling NIOHTTP1 HTTPServerUpgradeHandler.swift
[262/276] Compiling NIOHTTP1 NIOTypedHTTPServerUpgradeHandler.swift
[263/276] Compiling NIOHTTP1 NIOTypedHTTPServerUpgraderStateMachine.swift
[264/276] Emitting module NIOFoundationCompat
[265/276] Emitting module NIOHTTP1
[266/276] Compiling NIOHTTP1 ByteCollectionUtils.swift
[267/276] Compiling NIOHTTP1 HTTPDecoder.swift
[268/276] Compiling NIOHTTP1 HTTPEncoder.swift
[269/279] Wrapping AST for NIOHTTP1 for debugging
[271/294] Emitting module MockServer
[272/294] Compiling AWSLambdaRuntimeCore Lambda.swift
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/Lambda.swift:24:8: error: Unsupported platform
22 | import ucrt
23 | #else
24 | #error("Unsupported platform")
| `- error: Unsupported platform
25 | #endif
26 |
/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,
[273/294] Compiling AWSLambdaRuntimeCore LambdaConfiguration.swift
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/Lambda.swift:24:8: error: Unsupported platform
22 | import ucrt
23 | #else
24 | #error("Unsupported platform")
| `- error: Unsupported platform
25 | #endif
26 |
/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,
[274/296] Compiling AWSLambdaRuntimeCore LambdaContext.swift
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/Lambda.swift:24:8: error: Unsupported platform
22 | import ucrt
23 | #else
24 | #error("Unsupported platform")
| `- error: Unsupported platform
25 | #endif
26 |
/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 {
[275/296] Compiling AWSLambdaRuntimeCore LambdaHandler.swift
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/Lambda.swift:24:8: error: Unsupported platform
22 | import ucrt
23 | #else
24 | #error("Unsupported platform")
| `- error: Unsupported platform
25 | #endif
26 |
/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 {
[276/296] Compiling AWSLambdaRuntimeCore LambdaRuntime.swift
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/Lambda.swift:24:8: error: Unsupported platform
22 | import ucrt
23 | #else
24 | #error("Unsupported platform")
| `- error: Unsupported platform
25 | #endif
26 |
/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
[277/296] Compiling AWSLambdaRuntimeCore LambdaRuntimeClient.swift
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/Lambda.swift:24:8: error: Unsupported platform
22 | import ucrt
23 | #else
24 | #error("Unsupported platform")
| `- error: Unsupported platform
25 | #endif
26 |
/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
[278/296] Compiling NIOFoundationCompat JSONSerialization+ByteBuffer.swift
[279/296] Compiling NIOFoundationCompat Codable+ByteBuffer.swift
[280/296] Compiling NIOFoundationCompat WaitSpinningRunLoop.swift
[281/296] Compiling NIOFoundationCompat ByteBuffer-foundation.swift
[282/296] Compiling AWSLambdaRuntimeCore Lambda+LocalServer.swift
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/Lambda.swift:24:8: error: Unsupported platform
22 | import ucrt
23 | #else
24 | #error("Unsupported platform")
| `- error: Unsupported platform
25 | #endif
26 |
[283/296] Compiling AWSLambdaRuntimeCore Lambda+String.swift
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/Lambda.swift:24:8: error: Unsupported platform
22 | import ucrt
23 | #else
24 | #error("Unsupported platform")
| `- error: Unsupported platform
25 | #endif
26 |
[284/297] Compiling AWSLambdaRuntimeCore DetachedTasks.swift
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/Lambda.swift:24:8: error: Unsupported platform
22 | import ucrt
23 | #else
24 | #error("Unsupported platform")
| `- error: Unsupported platform
25 | #endif
26 |
[285/297] Compiling AWSLambdaRuntimeCore HTTPClient.swift
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/Lambda.swift:24:8: error: Unsupported platform
22 | import ucrt
23 | #else
24 | #error("Unsupported platform")
| `- error: Unsupported platform
25 | #endif
26 |
[286/297] Compiling AWSLambdaRuntimeCore ControlPlaneRequest.swift
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/Lambda.swift:24:8: error: Unsupported platform
22 | import ucrt
23 | #else
24 | #error("Unsupported platform")
| `- error: Unsupported platform
25 | #endif
26 |
[287/297] Compiling AWSLambdaRuntimeCore ControlPlaneRequestEncoder.swift
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/Lambda.swift:24:8: error: Unsupported platform
22 | import ucrt
23 | #else
24 | #error("Unsupported platform")
| `- error: Unsupported platform
25 | #endif
26 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[289/297] Emitting module AWSLambdaRuntimeCore
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/Lambda.swift:24:8: error: Unsupported platform
22 | import ucrt
23 | #else
24 | #error("Unsupported platform")
| `- error: Unsupported platform
25 | #endif
26 |
/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
[290/297] Compiling AWSLambdaRuntimeCore LambdaRequestID.swift
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/Lambda.swift:24:8: error: Unsupported platform
22 | import ucrt
23 | #else
24 | #error("Unsupported platform")
| `- error: Unsupported platform
25 | #endif
26 |
/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
[291/297] Compiling AWSLambdaRuntimeCore LambdaRunner.swift
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/Lambda.swift:24:8: error: Unsupported platform
22 | import ucrt
23 | #else
24 | #error("Unsupported platform")
| `- error: Unsupported platform
25 | #endif
26 |
/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
[292/297] Compiling MockServer main.swift
[293/297] Compiling AWSLambdaRuntimeCore Terminator.swift
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/Lambda.swift:24:8: error: Unsupported platform
22 | import ucrt
23 | #else
24 | #error("Unsupported platform")
| `- error: Unsupported platform
25 | #endif
26 |
[294/297] Compiling AWSLambdaRuntimeCore Utils.swift
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/Lambda.swift:24:8: error: Unsupported platform
22 | import ucrt
23 | #else
24 | #error("Unsupported platform")
| `- error: Unsupported platform
25 | #endif
26 |
BUILD FAILURE 6.2 android