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 main (3d5faf), with Swift 6.2 (beta) for Wasm on 3 Sep 2025 06:48:42 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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: main
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
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
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-4609320-2":/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-nio.git
Fetching https://github.com/swift-server/swift-aws-lambda-runtime
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/swift-server/swift-aws-lambda-events
[1/2613] Fetching swift-aws-lambda-events
[2614/16017] Fetching swift-aws-lambda-events, swift-aws-lambda-runtime
[2615/19920] Fetching swift-aws-lambda-events, swift-aws-lambda-runtime, swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.76s)
[3418/16017] Fetching swift-aws-lambda-events, swift-aws-lambda-runtime
[3553/94009] Fetching swift-aws-lambda-events, swift-aws-lambda-runtime, swift-nio
Fetched https://github.com/swift-server/swift-aws-lambda-runtime from cache (1.47s)
[47069/80605] Fetching swift-aws-lambda-events, swift-nio
Fetched https://github.com/swift-server/swift-aws-lambda-events from cache (3.92s)
Fetched https://github.com/apple/swift-nio.git from cache (4.01s)
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 (4.33s)
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.24s)
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.60s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.34s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.86.0 (0.72s)
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/1814] Fetching swift-atomics
[1815/6755] Fetching swift-atomics, swift-system
[6756/24149] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.18s)
Fetched https://github.com/apple/swift-system.git from cache (1.18s)
Fetched https://github.com/apple/swift-collections.git from cache (1.20s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.55s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.2 (0.42s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (0.61s)
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 (0.44s)
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/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/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
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-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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
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/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.2
[1/1] Compiling plugin AWSLambdaPackager
Building for debugging...
[1/35] Write sources
[17/35] Compiling CNIOWindows shim.c
[18/35] Compiling CNIOLinux shim.c
[19/35] Compiling _AtomicsShims.c
[20/35] Compiling CNIOPosix event_loop_id.c
[21/35] Compiling CNIOWindows WSAStartup.c
[22/35] Compiling CNIOWASI CNIOWASI.c
[23/35] Compiling CNIOLinux liburing_shims.c
[24/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 _NIODataStructures
[33/68] Compiling c-nioatomics.c
[34/86] Compiling CNIOLLHTTP c_nio_llhttp.c
[35/86] Compiling c-atomics.c
[37/92] Emitting module Atomics
[38/94] Compiling Atomics UnsafeAtomicLazyReference.swift
[39/94] Compiling Atomics AtomicStorage.swift
[40/95] Emitting module Logging
[41/95] Compiling Atomics AtomicBool.swift
[42/95] Compiling Atomics IntegerConformances.swift
[43/95] Compiling Atomics PointerConformances.swift
[44/95] Compiling Atomics Primitives.native.swift
[45/95] Compiling Atomics OptionalRawRepresentable.swift
[46/95] Compiling Atomics RawRepresentable.swift
[47/95] Emitting module InternalCollectionsUtilities
[48/95] Emitting module HTTPTypes
[49/96] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[50/96] Compiling _NIODataStructures _TinyArray.swift
[54/96] Compiling Logging Locks.swift
[55/96] Compiling Logging LogHandler.swift
[56/96] Compiling Atomics AtomicMemoryOrderings.swift
[57/96] Compiling Atomics DoubleWord.swift
[58/96] Compiling Atomics ManagedAtomic.swift
[59/96] Compiling Atomics ManagedAtomicLazyReference.swift
[61/96] Compiling Atomics AtomicValue.swift
[62/96] Compiling Atomics UnsafeAtomic.swift
[64/96] Compiling Atomics AtomicReference.swift
[66/96] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[67/96] Compiling Atomics AtomicInteger.swift
[68/96] Compiling Atomics AtomicOptionalWrappable.swift
[75/97] Emitting module _NIOBase64
[76/97] Compiling _NIOBase64 Base64.swift
[77/98] Compiling Atomics IntegerOperations.swift
[78/98] Compiling Atomics Unmanaged extensions.swift
[80/99] Compiling HTTPTypes ISOLatin1String.swift
[83/99] Compiling _NIODataStructures PriorityQueue.swift
[84/111] Compiling HTTPTypes HTTPParsedFields.swift
[85/114] Compiling HTTPTypes HTTPRequest.swift
[86/114] Compiling HTTPTypes HTTPResponse.swift
[87/114] Compiling Logging MetadataProvider.swift
[88/114] Compiling NIOConcurrencyHelpers lock.swift
[89/114] Compiling DequeModule _DequeBuffer.swift
[90/114] Compiling DequeModule _DequeBufferHeader.swift
[91/116] Compiling HTTPTypes NIOLock.swift
[92/116] Compiling _NIODataStructures Heap.swift
[93/117] Compiling DequeModule Deque+CustomReflectable.swift
[94/117] Compiling DequeModule Deque+Descriptions.swift
[95/117] Compiling DequeModule Deque+Equatable.swift
[96/117] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[97/117] Compiling DequeModule Deque+Testing.swift
[98/117] Compiling DequeModule Deque._Storage.swift
[100/117] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[101/117] Compiling NIOConcurrencyHelpers NIOLock.swift
[102/117] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[103/117] Emitting module NIOConcurrencyHelpers
[104/117] Compiling NIOConcurrencyHelpers atomics.swift
[106/118] Compiling Logging Logging.swift
[108/119] Compiling DequeModule _DequeSlot.swift
[109/119] Compiling DequeModule _UnsafeWrappedBuffer.swift
[110/119] Compiling DequeModule Deque._UnsafeHandle.swift
[111/119] Compiling DequeModule Deque.swift
[112/119] Compiling DequeModule Deque+Extras.swift
[113/119] Compiling DequeModule Deque+Hashable.swift
[114/119] Compiling DequeModule Deque+Codable.swift
[115/119] Compiling DequeModule Deque+Collection.swift
[116/119] Emitting module DequeModule
[118/181] Compiling HTTPTypes HTTPFieldName.swift
[119/181] Compiling HTTPTypes HTTPField.swift
[120/181] Compiling HTTPTypes HTTPFields.swift
[122/201] 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 |
[123/201] 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 |
[124/203] Compiling NIOCore NIOAny.swift
[125/203] Compiling NIOCore NIOCloseOnErrorHandler.swift
[126/203] Compiling NIOCore NIOCoreSendableMetatype.swift
[127/203] Compiling NIOCore NIOLoopBound.swift
[128/203] Compiling NIOCore NIOPooledRecvBufferAllocator.swift
[129/203] Compiling NIOCore NIOScheduledCallback.swift
[130/203] Compiling NIOCore NIOSendable.swift
[131/203] Compiling NIOCore RecvByteBufferAllocator.swift
[132/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 |
[133/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 |
[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 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 |
[137/211] 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 |
[138/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 |
[139/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 |
[140/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 |
[141/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 |
[142/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 |
[143/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 |
[144/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 |
[145/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 |
[146/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 |
[147/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 |
[148/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 |
[149/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 |
[150/211] Compiling NIOCore IOData.swift
[151/211] Compiling NIOCore IPProtocol.swift
[152/211] Compiling NIOCore IntegerBitPacking.swift
[153/211] Compiling NIOCore IntegerTypes.swift
[154/211] Compiling NIOCore Interfaces.swift
[155/211] Compiling NIOCore Linux.swift
[156/211] Compiling NIOCore MarkedCircularBuffer.swift
[157/211] Compiling NIOCore MulticastChannel.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[158/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