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 main (0025b1), with Swift 6.2 (beta) for Wasm on 22 Jun 2025 18:18:10 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/swift-server/swift-aws-lambda-events.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/swift-server/swift-aws-lambda-events
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 0025b1a Add an encodable version of the APIGatewayResponse (#86)
Cloned https://github.com/swift-server/swift-aws-lambda-events.git
Revision (git rev-parse @):
0025b1a409aa4d3fe9900aff1339ac403343ccd5
SUCCESS checkout https://github.com/swift-server/swift-aws-lambda-events.git at main
========================================
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-4609320-3":/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-http-types.git
Fetching https://github.com/apple/swift-docc-plugin
[1/904] Fetching swift-http-types
[399/2986] Fetching swift-http-types, swift-docc-plugin
Fetched https://github.com/apple/swift-http-types.git from cache (0.68s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.69s)
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.39s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.4 (3.93s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3415] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.61s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.55s)
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-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.4
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 HTTPParsedFields.swift
[7/14] Compiling HTTPTypes ISOLatin1String.swift
[8/14] Compiling HTTPTypes HTTPRequest.swift
[9/14] Compiling HTTPTypes HTTPResponse.swift
[10/14] Compiling HTTPTypes NIOLock.swift
[11/14] Compiling HTTPTypes HTTPField.swift
[12/14] Compiling HTTPTypes HTTPFieldName.swift
[13/14] Compiling HTTPTypes HTTPFields.swift
[14/14] Emitting module HTTPTypes
[16/36] 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 |
[17/36] 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 |
[18/36] 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 |
[19/38] 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 |
[20/38] 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 |
[21/38] 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 |
[22/38] 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 |
[23/38] 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 |
[24/38] 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 |
[25/38] 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 |
[26/38] 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/38] 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/38] 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 |
[29/38] 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)
[30/38] 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 |
[31/38] 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 |
[32/38] 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/38] 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 |
[34/38] 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 |
[35/38] 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 |
[36/38] 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 |
[37/38] 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 |
[38/38] 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 |
BUILD FAILURE 6.2 wasm