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-aws-lambda-events, reference 1.2.1 (5aa3a6), with Swift 6.2 (beta) for Wasm on 7 Aug 2025 09:43:13 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.65.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swift-server/swift-aws-lambda-events.git
Reference: 1.2.1
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-events
 * tag               1.2.1      -> FETCH_HEAD
HEAD is now at 5aa3a63 Mark deprecated FunctionURLResponse init as @_disfavoredOverload (#93)
Cloned https://github.com/swift-server/swift-aws-lambda-events.git
Revision (git rev-parse @):
5aa3a6305864a2060b69f30cf3e24f4a2b5b16ba
SUCCESS checkout https://github.com/swift-server/swift-aws-lambda-events.git at 1.2.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/swift-server/swift-aws-lambda-events.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-http-types.git
[1/917] Fetching swift-http-types
[918/3011] Fetching swift-http-types, swift-docc-plugin
Fetched https://github.com/apple/swift-http-types.git from cache (0.39s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.40s)
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.89s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (2.53s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3444] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.36s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.86s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.5
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.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
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/13] Compiling HTTPTypes ISOLatin1String.swift
[7/14] Compiling HTTPTypes HTTPResponse.swift
[8/14] Compiling HTTPTypes HTTPFieldName.swift
[9/14] Emitting module HTTPTypes
[10/14] Compiling HTTPTypes HTTPRequest.swift
[11/14] Compiling HTTPTypes HTTPParsedFields.swift
[12/14] Compiling HTTPTypes NIOLock.swift
[13/14] Compiling HTTPTypes HTTPField.swift
[14/14] Compiling HTTPTypes HTTPFields.swift
[16/39] Compiling AWSLambdaEvents LambdaGatewayProxyEvent.swift
/host/spi-builder-workspace/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 |
[17/39] Compiling AWSLambdaEvents S3.swift
/host/spi-builder-workspace/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 |
[18/39] Compiling AWSLambdaEvents SES.swift
/host/spi-builder-workspace/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 |
[19/39] Compiling AWSLambdaEvents SNS.swift
/host/spi-builder-workspace/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 |
[20/39] Compiling AWSLambdaEvents SQS.swift
/host/spi-builder-workspace/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 |
[21/39] Compiling AWSLambdaEvents Base64.swift
/host/spi-builder-workspace/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 |
[22/42] Compiling AWSLambdaEvents ALB.swift
/host/spi-builder-workspace/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 |
[23/42] Compiling AWSLambdaEvents APIGateway+Encodable.swift
/host/spi-builder-workspace/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 |
[24/42] Compiling AWSLambdaEvents APIGateway+V2.swift
/host/spi-builder-workspace/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 |
[25/42] Compiling AWSLambdaEvents APIGateway+WebSockets.swift
/host/spi-builder-workspace/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 |
[26/42] Compiling AWSLambdaEvents BedrockAgent.swift
/host/spi-builder-workspace/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 |
[27/42] Compiling AWSLambdaEvents CloudFormation.swift
/host/spi-builder-workspace/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 |
[28/42] Compiling AWSLambdaEvents Cloudwatch.swift
/host/spi-builder-workspace/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 |
[29/42] Compiling AWSLambdaEvents DecodableRequest.swift
/host/spi-builder-workspace/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 |
[30/42] Compiling AWSLambdaEvents EncodableResponse.swift
/host/spi-builder-workspace/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 |
[31/42] Compiling AWSLambdaEvents SQS+Decode.swift
/host/spi-builder-workspace/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 |
[32/42] Compiling AWSLambdaEvents DateWrappers.swift
/host/spi-builder-workspace/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 |
[33/42] Compiling AWSLambdaEvents HTTP.swift
/host/spi-builder-workspace/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 |
[34/42] Compiling AWSLambdaEvents RFC5322DateParseStrategy.swift
/host/spi-builder-workspace/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)
[35/42] Emitting module AWSLambdaEvents
/host/spi-builder-workspace/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 |
[36/42] Compiling AWSLambdaEvents Cognito.swift
/host/spi-builder-workspace/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 |
[37/42] Compiling AWSLambdaEvents DynamoDB.swift
/host/spi-builder-workspace/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 |
[38/42] Compiling AWSLambdaEvents FunctionURL.swift
/host/spi-builder-workspace/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 |
[39/42] Compiling AWSLambdaEvents APIGateway.swift
/host/spi-builder-workspace/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 |
[40/42] Compiling AWSLambdaEvents APIGatewayLambdaAuthorizers.swift
/host/spi-builder-workspace/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 |
[41/42] Compiling AWSLambdaEvents AWSRegion.swift
/host/spi-builder-workspace/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 |
[42/42] Compiling AWSLambdaEvents AppSync.swift
/host/spi-builder-workspace/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