Build Information
Failed to build swift-aws-lambda-events, reference main (cac8d8
), with Swift 6.2 (beta) for Wasm on 7 Sep 2025 15:39:59 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/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 cac8d84 Update getting started links in readme (#94)
Cloned https://github.com/swift-server/swift-aws-lambda-events.git
Revision (git rev-parse @):
cac8d849462dd26fd8ac2f35cebf481ed4c11315
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-1":/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-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.35s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.35s)
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.74s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (2.14s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3506] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.34s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.77s)
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-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
[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 HTTPRequest.swift
[9/14] Compiling HTTPTypes HTTPParsedFields.swift
[10/14] Compiling HTTPTypes NIOLock.swift
[11/14] Compiling HTTPTypes HTTPFieldName.swift
[12/14] Compiling HTTPTypes HTTPField.swift
[13/14] Emitting module HTTPTypes
[14/14] Compiling HTTPTypes HTTPFields.swift
[16/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 |
[17/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 |
[18/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 |
[19/42] 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 |
[20/42] 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 |
[21/42] 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 |
[22/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 |
[23/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 |
[24/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 |
[25/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 |
[26/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 |
[27/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 |
[28/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 |
[29/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 |
[30/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 |
[31/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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[32/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 |
[33/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 |
[34/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 |
[35/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 |
[36/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 |
[37/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 |
[38/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 |
[39/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 |
[40/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 |
[41/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 |
[42/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 |
BUILD FAILURE 6.2 wasm