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 22 Jun 2025 09:09:36 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" 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.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Mobelux/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/Mobelux/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/Mobelux/swift-lambda-extras.git
Revision (git rev-parse @):
3d5faf85e10db1ffe69fe6c20389f2099c12245f
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Mobelux/swift-lambda-extras.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/Mobelux/swift-lambda-extras.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" 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:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/swift-server/swift-aws-lambda-runtime
Fetching https://github.com/swift-server/swift-aws-lambda-events
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-log.git
[1/2436] Fetching swift-aws-lambda-events
[245/13972] Fetching swift-aws-lambda-events, swift-aws-lambda-runtime
[1821/17808] Fetching swift-aws-lambda-events, swift-aws-lambda-runtime, swift-log
[6850/94147] Fetching swift-aws-lambda-events, swift-aws-lambda-runtime, swift-log, swift-nio
Fetched https://github.com/swift-server/swift-aws-lambda-runtime from cache (2.94s)
[55129/82611] Fetching swift-aws-lambda-events, swift-log, swift-nio
Fetched https://github.com/swift-server/swift-aws-lambda-events from cache (9.86s)
Fetched https://github.com/apple/swift-log.git from cache (9.87s)
Fetched https://github.com/apple/swift-nio.git from cache (10.06s)
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 (10.80s)
Fetching https://github.com/apple/swift-http-types.git
[1/904] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.45s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (1.29s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.87s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (5.34s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
[1/1797] Fetching swift-atomics
[595/18437] Fetching swift-atomics, swift-collections
Fetching https://github.com/apple/swift-system.git
Fetched https://github.com/apple/swift-atomics.git from cache (2.27s)
Fetched https://github.com/apple/swift-collections.git from cache (2.31s)
[1/4436] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.80s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (3.73s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.84s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.11s)
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.87s)
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/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.3
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-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-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-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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
[1/1] Compiling plugin AWSLambdaPackager
Building for debugging...
[1/34] Write sources
[17/34] Compiling CNIOWindows WSAStartup.c
[18/34] Compiling CNIOWASI CNIOWASI.c
[19/34] Compiling CNIOWindows shim.c
[20/34] Compiling _AtomicsShims.c
[20/34] Compiling CNIOLinux liburing_shims.c
[22/34] Compiling CNIOLinux shim.c
[22/34] Write sources
[27/34] Compiling CNIODarwin shim.c
[28/34] Compiling CNIOLLHTTP c_nio_http.c
[29/34] Write swift-version-24593BA9C3E375BF.txt
[30/38] Compiling CNIOLLHTTP c_nio_api.c
[32/67] Emitting module _NIODataStructures
[33/67] Emitting module InternalCollectionsUtilities
[33/68] Compiling CNIOLLHTTP c_nio_llhttp.c
[34/86] Compiling c-nioatomics.c
[35/86] Compiling c-atomics.c
[37/92] Compiling Atomics UnsafeAtomic.swift
[38/92] Compiling Atomics UnsafeAtomicLazyReference.swift
[39/94] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[40/94] Emitting module Atomics
[41/94] Compiling Atomics OptionalRawRepresentable.swift
[42/94] Compiling Atomics RawRepresentable.swift
[43/94] Compiling Atomics AtomicInteger.swift
[44/94] Compiling Atomics AtomicOptionalWrappable.swift
[45/94] Compiling Atomics AtomicReference.swift
[46/94] Compiling Atomics ManagedAtomic.swift
[47/94] Compiling Atomics ManagedAtomicLazyReference.swift
[48/94] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[49/94] Compiling Atomics AtomicStorage.swift
[50/94] Compiling Atomics AtomicValue.swift
[51/94] Compiling Atomics AtomicMemoryOrderings.swift
[52/94] Compiling Atomics DoubleWord.swift
[53/94] Emitting module Logging
[54/94] Compiling Logging Locks.swift
[55/94] Compiling Logging LogHandler.swift
[60/94] Compiling Atomics PointerConformances.swift
[61/94] Compiling Atomics Primitives.native.swift
[62/94] Compiling Atomics AtomicBool.swift
[63/94] Compiling Atomics IntegerConformances.swift
[70/95] Compiling _NIOBase64 Base64.swift
[71/95] Emitting module _NIOBase64
[75/95] Compiling _NIODataStructures PriorityQueue.swift
[76/95] Compiling _NIODataStructures _TinyArray.swift
[77/96] Compiling HTTPTypes HTTPField.swift
[79/97] Compiling HTTPTypes ISOLatin1String.swift
[80/97] Compiling NIOConcurrencyHelpers lock.swift
[81/97] Emitting module HTTPTypes
[82/97] Compiling HTTPTypes HTTPFieldName.swift
[83/97] Compiling HTTPTypes HTTPResponse.swift
[84/97] Compiling HTTPTypes HTTPParsedFields.swift
[85/97] Compiling HTTPTypes HTTPRequest.swift
[86/112] Compiling DequeModule Deque+CustomReflectable.swift
[87/112] Compiling DequeModule Deque+Descriptions.swift
[88/114] Compiling Atomics IntegerOperations.swift
[89/114] Compiling Atomics Unmanaged extensions.swift
[91/115] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[92/115] Compiling DequeModule _DequeBuffer.swift
[93/115] Compiling DequeModule _DequeBufferHeader.swift
[94/115] Compiling DequeModule Deque+Codable.swift
[95/115] Compiling DequeModule Deque+Collection.swift
[96/115] Compiling HTTPTypes NIOLock.swift
[97/115] Compiling _NIODataStructures Heap.swift
[98/116] Emitting module DequeModule
[100/116] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[101/116] Compiling NIOConcurrencyHelpers atomics.swift
[102/116] Compiling DequeModule _DequeSlot.swift
[103/116] Compiling DequeModule _UnsafeWrappedBuffer.swift
[104/116] Compiling DequeModule Deque._UnsafeHandle.swift
[105/116] Compiling DequeModule Deque.swift
[106/116] Compiling Logging MetadataProvider.swift
[107/116] Compiling DequeModule Deque+Extras.swift
[108/116] Compiling DequeModule Deque+Hashable.swift
[109/116] Compiling DequeModule Deque+Equatable.swift
[110/116] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[111/116] Compiling DequeModule Deque+Testing.swift
[112/116] Compiling DequeModule Deque._Storage.swift
[113/117] Emitting module NIOConcurrencyHelpers
[114/117] Compiling NIOConcurrencyHelpers NIOLock.swift
[117/178] Compiling Logging Logging.swift
[119/179] Compiling HTTPTypes HTTPFields.swift
[121/199] 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 |
[122/199] 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 |
[123/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 |
[124/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 |
[125/201] 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 |
[126/201] 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 |
[127/201] 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 |
[128/201] 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[129/201] 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 |
[130/201] 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 |
[131/201] 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 |
[132/201] 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 |
[133/201] 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 |
[134/201] 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 |
[135/201] 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 |
[136/201] 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 |
[137/201] 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 |
[138/201] 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 |
[139/201] 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 |
[140/201] 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 |
[141/201] 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 |
BUILD FAILURE 6.2 wasm