The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build swift-lambda-extras, reference 0.4.0 (3d5faf), with Swift 6.2 (beta) for Wasm on 3 Sep 2025 06:49:28 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mgacy/swift-lambda-extras.git
Reference: 0.4.0
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/mgacy/swift-lambda-extras
 * tag               0.4.0      -> FETCH_HEAD
HEAD is now at 3d5faf8 Strict Concurrency Support (#15)
Cloned https://github.com/mgacy/swift-lambda-extras.git
Revision (git rev-parse @):
3d5faf85e10db1ffe69fe6c20389f2099c12245f
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/mgacy/swift-lambda-extras.git at 0.4.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/mgacy/swift-lambda-extras.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:3160178686d03086db4c1712d78c1980537bb37521128c64baade7f466b6b4aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/swift-server/swift-aws-lambda-events
Fetching https://github.com/swift-server/swift-aws-lambda-runtime
[1/3903] Fetching swift-log
[80/17307] Fetching swift-log, swift-aws-lambda-runtime
[1241/19920] Fetching swift-log, swift-aws-lambda-runtime, swift-aws-lambda-events
[7188/97912] Fetching swift-log, swift-aws-lambda-runtime, swift-aws-lambda-events, swift-nio
Fetched https://github.com/swift-server/swift-aws-lambda-events from cache (3.64s)
[95299/95299] Fetching swift-log, swift-aws-lambda-runtime, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (3.66s)
Fetched https://github.com/swift-server/swift-aws-lambda-runtime from cache (3.74s)
Fetched https://github.com/apple/swift-nio.git from cache (7.52s)
Computing version for https://github.com/swift-server/swift-aws-lambda-events
Computed https://github.com/swift-server/swift-aws-lambda-events at 0.5.0 (7.92s)
Fetching https://github.com/apple/swift-http-types.git
[1/917] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.29s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (0.73s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.43s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.86.0 (0.97s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
[1/1814] Fetching swift-atomics
[709/6755] Fetching swift-atomics, swift-system
[3792/24149] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.62s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.62s)
[4349/17394] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.40s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.80s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.2 (0.54s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (1.70s)
Computing version for https://github.com/swift-server/swift-aws-lambda-runtime
Computed https://github.com/swift-server/swift-aws-lambda-runtime at 1.0.0-alpha.3 (2.95s)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.86.0
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.2
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.4
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.1
Creating working copy for https://github.com/swift-server/swift-aws-lambda-events
Working copy of https://github.com/swift-server/swift-aws-lambda-events resolved at 0.5.0
Creating working copy for https://github.com/swift-server/swift-aws-lambda-runtime
Working copy of https://github.com/swift-server/swift-aws-lambda-runtime resolved at 1.0.0-alpha.3
[1/1] Compiling plugin AWSLambdaPackager
Building for debugging...
[1/35] Write sources
[19/35] Compiling _AtomicsShims.c
[20/35] Compiling CNIOWindows shim.c
[21/35] Compiling CNIOWindows WSAStartup.c
[22/35] Compiling CNIOWASI CNIOWASI.c
[23/35] Compiling CNIOLinux liburing_shims.c
[24/35] Compiling CNIOLinux shim.c
[24/35] Compiling CNIOPosix event_loop_id.c
[25/35] Write sources
[28/35] Compiling CNIODarwin shim.c
[29/35] Compiling CNIOLLHTTP c_nio_http.c
[30/35] Write swift-version-24593BA9C3E375BF.txt
[31/35] Compiling CNIOLLHTTP c_nio_api.c
[33/68] Emitting module HTTPTypes
[34/69] Emitting module _NIODataStructures
[35/69] Emitting module InternalCollectionsUtilities
[35/70] Compiling CNIOLLHTTP c_nio_llhttp.c
[36/88] Compiling c-nioatomics.c
[37/88] Compiling c-atomics.c
[39/94] Compiling Atomics AtomicStorage.swift
[40/94] Compiling Atomics AtomicValue.swift
[42/96] Compiling Atomics AtomicInteger.swift
[43/96] Compiling Atomics AtomicMemoryOrderings.swift
[44/96] Compiling Atomics AtomicOptionalWrappable.swift
[45/96] Compiling Atomics AtomicReference.swift
[46/96] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[47/96] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[48/96] Compiling Atomics OptionalRawRepresentable.swift
[49/96] Compiling Atomics RawRepresentable.swift
[51/96] Compiling Atomics DoubleWord.swift
[52/96] Compiling Atomics UnsafeAtomic.swift
[53/96] Compiling Atomics UnsafeAtomicLazyReference.swift
[54/96] Compiling Atomics AtomicBool.swift
[55/96] Compiling Atomics IntegerConformances.swift
[56/96] Compiling Atomics ManagedAtomic.swift
[57/96] Compiling Atomics ManagedAtomicLazyReference.swift
[62/96] Compiling Atomics PointerConformances.swift
[63/96] Compiling Atomics Primitives.native.swift
[64/96] Compiling Logging Locks.swift
[65/96] Emitting module Logging
[69/97] Compiling Logging LogHandler.swift
[71/97] Emitting module _NIOBase64
[72/97] Compiling _NIOBase64 Base64.swift
[73/98] Emitting module NIOConcurrencyHelpers
[74/98] Emitting module Atomics
[75/98] Compiling HTTPTypes ISOLatin1String.swift
[77/113] Compiling HTTPTypes HTTPField.swift
[78/113] Compiling _NIODataStructures PriorityQueue.swift
[79/113] Compiling _NIODataStructures _TinyArray.swift
[80/113] Compiling HTTPTypes HTTPResponse.swift
[81/113] Compiling DequeModule Deque+CustomReflectable.swift
[82/113] Compiling DequeModule Deque+Descriptions.swift
[83/115] Compiling HTTPTypes HTTPParsedFields.swift
[84/115] Compiling HTTPTypes HTTPRequest.swift
[85/115] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[86/115] Compiling DequeModule _DequeBuffer.swift
[87/115] Compiling DequeModule _DequeBufferHeader.swift
[88/115] Compiling Atomics IntegerOperations.swift
[89/115] Compiling Atomics Unmanaged extensions.swift
[90/115] Compiling NIOConcurrencyHelpers lock.swift
[91/115] Compiling Logging MetadataProvider.swift
[92/115] Compiling NIOConcurrencyHelpers NIOLock.swift
[93/115] Compiling HTTPTypes NIOLock.swift
[94/115] Compiling DequeModule _DequeSlot.swift
[95/115] Compiling DequeModule _UnsafeWrappedBuffer.swift
[96/115] Compiling _NIODataStructures Heap.swift
[98/116] Compiling DequeModule Deque+Testing.swift
[99/116] Compiling DequeModule Deque._Storage.swift
[102/117] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[103/117] Compiling NIOConcurrencyHelpers atomics.swift
[105/118] Compiling DequeModule Deque+Equatable.swift
[106/118] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[109/118] Compiling DequeModule Deque+Extras.swift
[110/118] Compiling DequeModule Deque+Hashable.swift
[111/118] Compiling DequeModule Deque._UnsafeHandle.swift
[112/118] Compiling DequeModule Deque.swift
[113/118] Compiling DequeModule Deque+Codable.swift
[114/118] Compiling DequeModule Deque+Collection.swift
[115/118] Compiling Logging Logging.swift
[117/119] Emitting module DequeModule
[119/181] Compiling HTTPTypes HTTPFieldName.swift
[120/181] Compiling HTTPTypes HTTPFields.swift
[122/182] Compiling NIOCore NIOAny.swift
[123/182] Compiling NIOCore NIOCloseOnErrorHandler.swift
[124/182] Compiling NIOCore NIOCoreSendableMetatype.swift
[125/182] Compiling NIOCore NIOLoopBound.swift
[126/182] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[127/182] Compiling NIOCore NIOScheduledCallback.swift
[128/182] Compiling NIOCore NIOSendable.swift
[129/182] Compiling NIOCore RecvByteBufferAllocator.swift
[130/209] Compiling AWSLambdaEvents SES.swift
/host/spi-builder-workspace/.build/checkouts/swift-aws-lambda-events/Sources/AWSLambdaEvents/ALB.swift:20:8: error: no such module 'Foundation'
18 | import FoundationEssentials
19 | #else
20 | import Foundation
   |        `- error: no such module 'Foundation'
21 | #endif
22 |
[131/209] Compiling AWSLambdaEvents SNS.swift
/host/spi-builder-workspace/.build/checkouts/swift-aws-lambda-events/Sources/AWSLambdaEvents/ALB.swift:20:8: error: no such module 'Foundation'
18 | import FoundationEssentials
19 | #else
20 | import Foundation
   |        `- error: no such module 'Foundation'
21 | #endif
22 |
[132/211] Compiling AWSLambdaEvents LambdaGatewayProxyEvent.swift
/host/spi-builder-workspace/.build/checkouts/swift-aws-lambda-events/Sources/AWSLambdaEvents/ALB.swift:20:8: error: no such module 'Foundation'
18 | import FoundationEssentials
19 | #else
20 | import Foundation
   |        `- error: no such module 'Foundation'
21 | #endif
22 |
[133/211] Compiling AWSLambdaEvents S3.swift
/host/spi-builder-workspace/.build/checkouts/swift-aws-lambda-events/Sources/AWSLambdaEvents/ALB.swift:20:8: error: no such module 'Foundation'
18 | import FoundationEssentials
19 | #else
20 | import Foundation
   |        `- error: no such module 'Foundation'
21 | #endif
22 |
[134/211] Compiling AWSLambdaEvents SQS.swift
/host/spi-builder-workspace/.build/checkouts/swift-aws-lambda-events/Sources/AWSLambdaEvents/ALB.swift:20:8: error: no such module 'Foundation'
18 | import FoundationEssentials
19 | #else
20 | import Foundation
   |        `- error: no such module 'Foundation'
21 | #endif
22 |
[135/211] Compiling AWSLambdaEvents Base64.swift
/host/spi-builder-workspace/.build/checkouts/swift-aws-lambda-events/Sources/AWSLambdaEvents/ALB.swift:20:8: error: no such module 'Foundation'
18 | import FoundationEssentials
19 | #else
20 | import Foundation
   |        `- error: no such module 'Foundation'
21 | #endif
22 |
[136/211] Compiling AWSLambdaEvents DateWrappers.swift
/host/spi-builder-workspace/.build/checkouts/swift-aws-lambda-events/Sources/AWSLambdaEvents/ALB.swift:20:8: error: no such module 'Foundation'
18 | import FoundationEssentials
19 | #else
20 | import Foundation
   |        `- error: no such module 'Foundation'
21 | #endif
22 |
[137/211] Compiling AWSLambdaEvents HTTP.swift
/host/spi-builder-workspace/.build/checkouts/swift-aws-lambda-events/Sources/AWSLambdaEvents/ALB.swift:20:8: error: no such module 'Foundation'
18 | import FoundationEssentials
19 | #else
20 | import Foundation
   |        `- error: no such module 'Foundation'
21 | #endif
22 |
[138/211] Compiling AWSLambdaEvents BedrockAgent.swift
/host/spi-builder-workspace/.build/checkouts/swift-aws-lambda-events/Sources/AWSLambdaEvents/ALB.swift:20:8: error: no such module 'Foundation'
18 | import FoundationEssentials
19 | #else
20 | import Foundation
   |        `- error: no such module 'Foundation'
21 | #endif
22 |
[139/211] Compiling AWSLambdaEvents CloudFormation.swift
/host/spi-builder-workspace/.build/checkouts/swift-aws-lambda-events/Sources/AWSLambdaEvents/ALB.swift:20:8: error: no such module 'Foundation'
18 | import FoundationEssentials
19 | #else
20 | import Foundation
   |        `- error: no such module 'Foundation'
21 | #endif
22 |
[140/211] Compiling AWSLambdaEvents Cloudwatch.swift
/host/spi-builder-workspace/.build/checkouts/swift-aws-lambda-events/Sources/AWSLambdaEvents/ALB.swift:20:8: error: no such module 'Foundation'
18 | import FoundationEssentials
19 | #else
20 | import Foundation
   |        `- error: no such module 'Foundation'
21 | #endif
22 |
[141/211] Compiling AWSLambdaEvents APIGatewayLambdaAuthorizers.swift
/host/spi-builder-workspace/.build/checkouts/swift-aws-lambda-events/Sources/AWSLambdaEvents/ALB.swift:20:8: error: no such module 'Foundation'
18 | import FoundationEssentials
19 | #else
20 | import Foundation
   |        `- error: no such module 'Foundation'
21 | #endif
22 |
[142/211] Compiling AWSLambdaEvents AWSRegion.swift
/host/spi-builder-workspace/.build/checkouts/swift-aws-lambda-events/Sources/AWSLambdaEvents/ALB.swift:20:8: error: no such module 'Foundation'
18 | import FoundationEssentials
19 | #else
20 | import Foundation
   |        `- error: no such module 'Foundation'
21 | #endif
22 |
[143/211] Compiling AWSLambdaEvents AppSync.swift
/host/spi-builder-workspace/.build/checkouts/swift-aws-lambda-events/Sources/AWSLambdaEvents/ALB.swift:20:8: error: no such module 'Foundation'
18 | import FoundationEssentials
19 | #else
20 | import Foundation
   |        `- error: no such module 'Foundation'
21 | #endif
22 |
[144/211] Compiling AWSLambdaEvents ALB.swift
/host/spi-builder-workspace/.build/checkouts/swift-aws-lambda-events/Sources/AWSLambdaEvents/ALB.swift:20:8: error: no such module 'Foundation'
18 | import FoundationEssentials
19 | #else
20 | import Foundation
   |        `- error: no such module 'Foundation'
21 | #endif
22 |
[145/211] Compiling AWSLambdaEvents APIGateway+V2.swift
/host/spi-builder-workspace/.build/checkouts/swift-aws-lambda-events/Sources/AWSLambdaEvents/ALB.swift:20:8: error: no such module 'Foundation'
18 | import FoundationEssentials
19 | #else
20 | import Foundation
   |        `- error: no such module 'Foundation'
21 | #endif
22 |
[146/211] Compiling AWSLambdaEvents APIGateway.swift
/host/spi-builder-workspace/.build/checkouts/swift-aws-lambda-events/Sources/AWSLambdaEvents/ALB.swift:20:8: error: no such module 'Foundation'
18 | import FoundationEssentials
19 | #else
20 | import Foundation
   |        `- error: no such module 'Foundation'
21 | #endif
22 |
[147/211] Compiling AWSLambdaEvents Cognito.swift
/host/spi-builder-workspace/.build/checkouts/swift-aws-lambda-events/Sources/AWSLambdaEvents/ALB.swift:20:8: error: no such module 'Foundation'
18 | import FoundationEssentials
19 | #else
20 | import Foundation
   |        `- error: no such module 'Foundation'
21 | #endif
22 |
[148/211] Compiling AWSLambdaEvents DynamoDB.swift
/host/spi-builder-workspace/.build/checkouts/swift-aws-lambda-events/Sources/AWSLambdaEvents/ALB.swift:20:8: error: no such module 'Foundation'
18 | import FoundationEssentials
19 | #else
20 | import Foundation
   |        `- error: no such module 'Foundation'
21 | #endif
22 |
[149/211] Compiling AWSLambdaEvents FunctionURL.swift
/host/spi-builder-workspace/.build/checkouts/swift-aws-lambda-events/Sources/AWSLambdaEvents/ALB.swift:20:8: error: no such module 'Foundation'
18 | import FoundationEssentials
19 | #else
20 | import Foundation
   |        `- error: no such module 'Foundation'
21 | #endif
22 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[150/211] Emitting module AWSLambdaEvents
/host/spi-builder-workspace/.build/checkouts/swift-aws-lambda-events/Sources/AWSLambdaEvents/ALB.swift:20:8: error: no such module 'Foundation'
18 | import FoundationEssentials
19 | #else
20 | import Foundation
   |        `- error: no such module 'Foundation'
21 | #endif
22 |
BUILD FAILURE 6.2 wasm