Build Information
Failed to build swift-lambda-extras, reference 0.4.0 (3d5faf
), with Swift 6.2 (beta) for Wasm on 22 Jun 2025 09:12:58 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-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.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Mobelux/swift-lambda-extras.git
Reference: 0.4.0
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
* tag 0.4.0 -> FETCH_HEAD
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 0.4.0
========================================
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-4609320-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/swift-server/swift-aws-lambda-runtime
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/swift-server/swift-aws-lambda-events
[1/11536] Fetching swift-aws-lambda-runtime
[578/13972] Fetching swift-aws-lambda-runtime, swift-aws-lambda-events
[2576/17808] Fetching swift-aws-lambda-runtime, swift-aws-lambda-events, swift-log
[5239/94147] Fetching swift-aws-lambda-runtime, swift-aws-lambda-events, swift-log, swift-nio
Fetched https://github.com/swift-server/swift-aws-lambda-events from cache (0.62s)
[3225/91711] Fetching swift-aws-lambda-runtime, swift-log, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (1.13s)
[5158/87875] Fetching swift-aws-lambda-runtime, swift-nio
Fetched https://github.com/swift-server/swift-aws-lambda-runtime from cache (2.42s)
[49621/76339] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (7.82s)
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 (8.35s)
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.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 (1.14s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.77s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (4.61s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/1797] Fetching swift-atomics
[451/6233] Fetching swift-atomics, swift-system
[1483/22873] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (0.93s)
[8763/21076] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (2.13s)
Fetched https://github.com/apple/swift-collections.git from cache (2.18s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.92s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.87s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.20s)
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.84s)
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-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
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
[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 CNIOLinux shim.c
[20/34] Compiling CNIOLinux liburing_shims.c
[21/34] Compiling CNIOWindows shim.c
[22/34] Compiling CNIODarwin shim.c
[22/34] Write sources
[27/34] Compiling CNIOLLHTTP c_nio_http.c
[28/34] Compiling _AtomicsShims.c
[29/34] Write swift-version-24593BA9C3E375BF.txt
[30/34] Compiling CNIOLLHTTP c_nio_api.c
[32/67] Emitting module _NIOBase64
[33/67] Emitting module HTTPTypes
[34/68] Emitting module InternalCollectionsUtilities
[34/69] Compiling CNIOLLHTTP c_nio_llhttp.c
[35/87] Compiling c-atomics.c
[36/87] Compiling c-nioatomics.c
[38/93] Emitting module NIOConcurrencyHelpers
[39/93] Compiling _NIOBase64 Base64.swift
[40/93] Compiling Atomics AtomicReference.swift
[41/93] Compiling Atomics AtomicStorage.swift
[43/94] Compiling Atomics OptionalRawRepresentable.swift
[44/94] Compiling Atomics RawRepresentable.swift
[45/94] Compiling Atomics AtomicBool.swift
[46/94] Compiling Atomics IntegerConformances.swift
[47/94] Emitting module Logging
[48/94] Compiling Logging Locks.swift
[49/94] Compiling Atomics UnsafeAtomic.swift
[50/94] Compiling Atomics UnsafeAtomicLazyReference.swift
[51/96] Compiling Atomics AtomicMemoryOrderings.swift
[52/96] Compiling Atomics DoubleWord.swift
[53/96] Compiling Atomics PointerConformances.swift
[54/96] Compiling Atomics Primitives.native.swift
[55/96] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[56/96] Compiling Atomics ManagedAtomic.swift
[57/96] Compiling Atomics ManagedAtomicLazyReference.swift
[58/96] Compiling Atomics AtomicInteger.swift
[59/96] Compiling Atomics AtomicOptionalWrappable.swift
[62/96] Compiling Atomics AtomicValue.swift
[65/96] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[71/97] Emitting module Atomics
[76/97] Compiling Atomics IntegerOperations.swift
[77/97] Compiling Atomics Unmanaged extensions.swift
[79/113] Compiling HTTPTypes ISOLatin1String.swift
[80/113] Compiling _NIODataStructures PriorityQueue.swift
[81/113] Compiling _NIODataStructures _TinyArray.swift
[82/113] Compiling HTTPTypes HTTPRequest.swift
[83/113] Compiling HTTPTypes HTTPParsedFields.swift
[84/113] Compiling HTTPTypes HTTPResponse.swift
[85/113] Compiling DequeModule Deque+CustomReflectable.swift
[86/113] Compiling DequeModule Deque+Descriptions.swift
[87/113] Compiling DequeModule Deque+Equatable.swift
[88/113] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[89/115] Compiling DequeModule _DequeBuffer.swift
[90/115] Compiling DequeModule _DequeBufferHeader.swift
[91/115] Compiling DequeModule Deque+Extras.swift
[92/115] Compiling DequeModule Deque+Hashable.swift
[93/115] Compiling Logging MetadataProvider.swift
[94/115] Compiling HTTPTypes NIOLock.swift
[95/115] Compiling NIOConcurrencyHelpers lock.swift
[96/115] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[97/115] Compiling NIOConcurrencyHelpers NIOLock.swift
[98/115] Compiling DequeModule _DequeSlot.swift
[99/115] Compiling DequeModule _UnsafeWrappedBuffer.swift
[100/115] Emitting module _NIODataStructures
[101/115] Compiling _NIODataStructures Heap.swift
[103/116] Compiling DequeModule Deque._UnsafeHandle.swift
[104/116] Compiling DequeModule Deque.swift
[105/116] Compiling DequeModule Deque+Testing.swift
[106/116] Compiling DequeModule Deque._Storage.swift
[107/116] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[108/116] Compiling NIOConcurrencyHelpers atomics.swift
[110/117] Compiling DequeModule Deque+Codable.swift
[111/117] Compiling DequeModule Deque+Collection.swift
[112/117] Emitting module DequeModule
[114/118] Compiling Logging LogHandler.swift
[115/118] Compiling Logging Logging.swift
[117/179] Compiling HTTPTypes HTTPFieldName.swift
[118/179] Compiling HTTPTypes HTTPFields.swift
[119/179] Compiling HTTPTypes HTTPField.swift
[121/199] 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 |
[122/199] 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 |
[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 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 |
[126/201] 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 |
[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 |
[129/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 |
[130/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 |
[131/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 |
[132/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 |
[133/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 |
[134/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 |
[135/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 |
[136/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 |
[137/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 |
[138/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 |
[139/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 |
[140/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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[141/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 |
BUILD FAILURE 6.2 wasm