Build Information
Failed to build swift-lambda-runtime, reference master (bd06ee
), with Swift 6.1 for Wasm on 27 May 2025 14:04:28 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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/fabianfett/swift-lambda-runtime.git
Reference: master
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/fabianfett/swift-lambda-runtime
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at bd06eed Link to new `swift-aws-lambda-runtime` (#34)
Cloned https://github.com/fabianfett/swift-lambda-runtime.git
Revision (git rev-parse @):
bd06eed3708bc02db6c4efe62dc9bad4fd64ac7d
SUCCESS checkout https://github.com/fabianfett/swift-lambda-runtime.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/fabianfett/swift-lambda-runtime.git
https://github.com/fabianfett/swift-lambda-runtime.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.13.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
},
{
"identity" : "async-http-client",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swift-server/async-http-client.git"
},
{
"identity" : "swift-base64-kit",
"requirement" : {
"range" : [
{
"lower_bound" : "0.2.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/fabianfett/swift-base64-kit.git"
}
],
"manifest_display_name" : "swift-lambda-runtime",
"name" : "swift-lambda-runtime",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "LambdaRuntime",
"targets" : [
"LambdaRuntime"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "LambdaEvents",
"targets" : [
"LambdaEvents"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "LambdaRuntimeTestUtils",
"targets" : [
"LambdaRuntimeTestUtils"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "LambdaRuntimeTests",
"module_type" : "SwiftTarget",
"name" : "LambdaRuntimeTests",
"path" : "Tests/LambdaRuntimeTests",
"product_dependencies" : [
"NIO",
"NIOTestUtils",
"Logging"
],
"sources" : [
"AWSNumberTests.swift",
"ContextTests.swift",
"Events/ALBTests.swift",
"Events/APIGatewayTests.swift",
"Events/CloudwatchTests.swift",
"Events/DecodableBodyTests.swift",
"Events/DynamoDB+AttributeValueTests.swift",
"Events/DynamoDBTests.swift",
"Events/S3Tests.swift",
"Events/SNSTests.swift",
"Events/SQSTests.swift",
"Runtime+CodableTests.swift",
"RuntimeAPIClientTests.swift",
"RuntimeTests.swift",
"Utils/MockLambdaRuntimeAPI.swift"
],
"target_dependencies" : [
"LambdaEvents",
"LambdaRuntime",
"LambdaRuntimeTestUtils"
],
"type" : "test"
},
{
"c99name" : "LambdaRuntimeTestUtils",
"module_type" : "SwiftTarget",
"name" : "LambdaRuntimeTestUtils",
"path" : "Sources/LambdaRuntimeTestUtils",
"product_dependencies" : [
"NIOHTTP1"
],
"product_memberships" : [
"LambdaRuntimeTestUtils"
],
"sources" : [
"Environment+TestUtils.swift",
"Invocation+TestUtils.swift"
],
"target_dependencies" : [
"LambdaRuntime"
],
"type" : "library"
},
{
"c99name" : "LambdaRuntime",
"module_type" : "SwiftTarget",
"name" : "LambdaRuntime",
"path" : "Sources/LambdaRuntime",
"product_dependencies" : [
"AsyncHTTPClient",
"NIO",
"NIOHTTP1",
"NIOFoundationCompat",
"Logging"
],
"product_memberships" : [
"LambdaRuntime",
"LambdaRuntimeTestUtils"
],
"sources" : [
"Context.swift",
"Environment.swift",
"Runtime+ALB.swift",
"Runtime+APIGateway.swift",
"Runtime+Codable.swift",
"Runtime.swift",
"RuntimeAPIClient.swift",
"RuntimeError.swift"
],
"target_dependencies" : [
"LambdaEvents"
],
"type" : "library"
},
{
"c99name" : "LambdaEvents",
"module_type" : "SwiftTarget",
"name" : "LambdaEvents",
"path" : "Sources/LambdaEvents",
"product_dependencies" : [
"NIO",
"NIOHTTP1",
"NIOFoundationCompat",
"Base64Kit"
],
"product_memberships" : [
"LambdaRuntime",
"LambdaEvents",
"LambdaRuntimeTestUtils"
],
"sources" : [
"ALB.swift",
"APIGateway.swift",
"AWSNumber.swift",
"Cloudwatch.swift",
"DynamoDB+AttributeValue.swift",
"DynamoDB.swift",
"S3.swift",
"SNS.swift",
"SQS.swift",
"Utils/DecodableBody.swift",
"Utils/HTTPHeaders+Codable.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/fabianfett/swift-base64-kit.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git
[1/833] Fetching swift-base64-kit
[834/4669] Fetching swift-base64-kit, swift-log
[4479/18683] Fetching swift-base64-kit, swift-log, async-http-client
[5651/94725] Fetching swift-base64-kit, swift-log, async-http-client, swift-nio
Fetched https://github.com/fabianfett/swift-base64-kit.git from cache (0.79s)
[10262/93892] Fetching swift-log, async-http-client, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (0.79s)
[6707/90056] Fetching async-http-client, swift-nio
Fetched https://github.com/swift-server/async-http-client.git from cache (1.22s)
[28136/76042] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (4.90s)
Computing version for https://github.com/fabianfett/swift-base64-kit.git
Computed https://github.com/fabianfett/swift-base64-kit.git at 0.7.0 (5.38s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.51s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.26.1 (1.85s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/2667] Fetching swift-nio-transport-services
[2668/4377] Fetching swift-nio-transport-services, swift-atomics
[3199/15904] Fetching swift-nio-transport-services, swift-atomics, swift-nio-http2
[3430/21863] Fetching swift-nio-transport-services, swift-atomics, swift-nio-http2, swift-algorithms
[4872/27777] Fetching swift-nio-transport-services, swift-atomics, swift-nio-http2, swift-algorithms, swift-nio-extras
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.43s)
[16119/25110] Fetching swift-atomics, swift-nio-http2, swift-algorithms, swift-nio-extras
[18887/39953] Fetching swift-atomics, swift-nio-http2, swift-algorithms, swift-nio-extras, swift-nio-ssl
Fetched https://github.com/apple/swift-atomics.git from cache (0.57s)
[17819/38243] Fetching swift-nio-http2, swift-algorithms, swift-nio-extras, swift-nio-ssl
Fetched https://github.com/apple/swift-algorithms.git from cache (0.58s)
[12355/32284] Fetching swift-nio-http2, swift-nio-extras, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.58s)
[6853/26370] Fetching swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.71s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.72s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.24.0 (2.34s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.36.0 (0.49s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.31.0 (0.56s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (0.71s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/4391] Fetching swift-system
[4392/20982] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.99s)
Fetched https://github.com/apple/swift-collections.git from cache (1.02s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (1.45s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.27.1 (0.54s)
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-asn1.git
[1/1141] Fetching swift-http-structured-headers
[59/2731] Fetching swift-http-structured-headers, swift-asn1
[2399/5157] Fetching swift-http-structured-headers, swift-asn1, swift-service-lifecycle
[2913/6061] Fetching swift-http-structured-headers, swift-asn1, swift-service-lifecycle, swift-http-types
[6062/12216] Fetching swift-http-structured-headers, swift-asn1, swift-service-lifecycle, swift-http-types, swift-certificates
[6555/17201] Fetching swift-http-structured-headers, swift-asn1, swift-service-lifecycle, swift-http-types, swift-certificates, swift-async-algorithms
Fetched https://github.com/apple/swift-asn1.git from cache (0.31s)
[6685/15611] Fetching swift-http-structured-headers, swift-service-lifecycle, swift-http-types, swift-certificates, swift-async-algorithms
Fetched https://github.com/apple/swift-http-types.git from cache (0.49s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.49s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.49s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.50s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.50s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.8.0 (0.96s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (0.64s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.10.0 (0.56s)
Fetching https://github.com/apple/swift-crypto.git
[1/13936] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.27s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (2.95s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.65s)
Fetching https://github.com/apple/swift-numerics.git
[1/5691] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.46s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (1.27s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.52s)
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.54s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.3.0 (0.71s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.53s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.58s)
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
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.0.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.83.0
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.10.0
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/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.3.2
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.24.0
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.31.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.2.0
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.8.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.4.2
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.27.1
Creating working copy for https://github.com/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.26.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/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.12.3
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.36.0
Creating working copy for https://github.com/fabianfett/swift-base64-kit.git
Working copy of https://github.com/fabianfett/swift-base64-kit.git resolved at 0.7.0
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.3.0
error: 'spi-builder-workspace': product 'Base64Kit' required by package 'spi-builder-workspace' target 'LambdaEvents' not found in package 'swift-base64-kit'. Did you mean '_NIOBase64'?
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
error: 'spi-builder-workspace': product 'Base64Kit' required by package 'spi-builder-workspace' target 'LambdaEvents' not found in package 'swift-base64-kit'. Did you mean '_NIOBase64'?
BUILD FAILURE 6.1 wasm