Build Information
Failed to build swift-aws-lambda-runtime, reference 0.5.2 (699ada
), with Swift 6.2 (beta) for Wasm on 19 Jun 2025 03:31:13 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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-runtime.git
Reference: 0.5.2
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-runtime
* tag 0.5.2 -> FETCH_HEAD
HEAD is now at 699ada1 Add guards for code that relies on _Concurrency (#237)
Cloned https://github.com/swift-server/swift-aws-lambda-runtime.git
Revision (git rev-parse @):
699ada1724459582303c15aae64fa12ca4d33809
SUCCESS checkout https://github.com/swift-server/swift-aws-lambda-runtime.git at 0.5.2
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/swift-server/swift-aws-lambda-runtime.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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-log.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/swift-server/swift-backtrace.git
[1/631] Fetching swift-backtrace
[456/4467] Fetching swift-backtrace, swift-log
Fetched https://github.com/swift-server/swift-backtrace.git from cache (0.36s)
[1842/3836] Fetching swift-log
[3837/80163] Fetching swift-log, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (5.50s)
Fetched https://github.com/apple/swift-nio.git from cache (5.60s)
Computing version for https://github.com/swift-server/swift-backtrace.git
Computed https://github.com/swift-server/swift-backtrace.git at 1.3.5 (6.40s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.44s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (0.92s)
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
[972/6233] Fetching swift-atomics, swift-system
[4194/22873] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.90s)
Fetched https://github.com/apple/swift-system.git from cache (1.90s)
Fetched https://github.com/apple/swift-collections.git from cache (1.95s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.74s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.63s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.16s)
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/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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Creating working copy for https://github.com/swift-server/swift-backtrace.git
Working copy of https://github.com/swift-server/swift-backtrace.git resolved at 1.3.5
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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.0
Building for debugging...
[0/73] Write sources
[16/73] Compiling _AtomicsShims.c
[17/73] Compiling CNIOWindows WSAStartup.c
[18/73] Compiling CNIOWindows shim.c
[19/73] Compiling CNIOLinux shim.c
[20/73] Compiling CNIOWASI CNIOWASI.c
[21/73] Compiling CNIOLinux liburing_shims.c
[22/73] Compiling CNIODarwin shim.c
[23/73] Write swift-version-24593BA9C3E375BF.txt
[24/73] Compiling CBacktrace sort.c
[25/73] Compiling CBacktrace state.c
[26/73] Compiling CBacktrace simple.c
[27/73] Compiling CNIOLLHTTP c_nio_http.c
[28/82] Compiling CNIOLLHTTP c_nio_api.c
[29/98] Compiling CBacktrace print.c
[30/98] Compiling CBacktrace posix.c
[31/98] Compiling CBacktrace mmapio.c
[32/98] Compiling CBacktrace mmap.c
[33/98] Compiling CBacktrace fileline.c
[34/98] Compiling CBacktrace elf.c
[35/98] Compiling CBacktrace dwarf.c
[36/98] Compiling CBacktrace backtrace.c
[37/98] Compiling CBacktrace atomic.c
[38/98] Write sources
[39/101] Compiling CNIOLLHTTP c_nio_llhttp.c
[40/101] Write sources
[41/119] Compiling c-nioatomics.c
[42/119] Write sources
[46/133] Compiling c-atomics.c
[48/139] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[49/140] Compiling Atomics UnsafeAtomic.swift
[50/140] Compiling Atomics UnsafeAtomicLazyReference.swift
[51/142] Compiling AWSLambdaEvents ALB.swift
/host/spi-builder-workspace/Sources/AWSLambdaEvents/ALB.swift:15:14: error: no such module 'Foundation'
13 | //===----------------------------------------------------------------------===//
14 |
15 | import class Foundation.JSONEncoder
| `- error: no such module 'Foundation'
16 |
17 | // https://github.com/aws/aws-lambda-go/blob/master/events/alb.go
[52/142] Compiling AWSLambdaEvents APIGateway+V2.swift
/host/spi-builder-workspace/Sources/AWSLambdaEvents/ALB.swift:15:14: error: no such module 'Foundation'
13 | //===----------------------------------------------------------------------===//
14 |
15 | import class Foundation.JSONEncoder
| `- error: no such module 'Foundation'
16 |
17 | // https://github.com/aws/aws-lambda-go/blob/master/events/alb.go
[53/143] Compiling AWSLambdaEvents APIGateway.swift
[54/143] Compiling AWSLambdaEvents AWSRegion.swift
[57/143] Emitting module InternalCollectionsUtilities
[58/143] Compiling AWSLambdaEvents AppSync.swift
[59/143] Compiling AWSLambdaEvents Cloudwatch.swift
[60/143] Compiling Backtrace Demangle.swift
[61/143] Compiling AWSLambdaEvents S3.swift
[62/143] Compiling AWSLambdaEvents SQS.swift
[63/143] Compiling AWSLambdaEvents DateWrappers.swift
/host/spi-builder-workspace/Sources/AWSLambdaEvents/ALB.swift:15:14: error: no such module 'Foundation'
13 | //===----------------------------------------------------------------------===//
14 |
15 | import class Foundation.JSONEncoder
| `- error: no such module 'Foundation'
16 |
17 | // https://github.com/aws/aws-lambda-go/blob/master/events/alb.go
/host/spi-builder-workspace/Sources/AWSLambdaEvents/ALB.swift:15:14: error: no such module 'Foundation'
13 | //===----------------------------------------------------------------------===//
14 |
15 | import class Foundation.JSONEncoder
| `- error: no such module 'Foundation'
16 |
17 | // https://github.com/aws/aws-lambda-go/blob/master/events/alb.go
[65/143] Compiling AWSLambdaEvents Base64.swift
/host/spi-builder-workspace/Sources/AWSLambdaEvents/ALB.swift:15:14: error: no such module 'Foundation'
13 | //===----------------------------------------------------------------------===//
14 |
15 | import class Foundation.JSONEncoder
| `- error: no such module 'Foundation'
16 |
17 | // https://github.com/aws/aws-lambda-go/blob/master/events/alb.go
[66/143] Compiling Logging Locks.swift
[70/143] Compiling AWSLambdaEvents DynamoDB.swift
/host/spi-builder-workspace/Sources/AWSLambdaEvents/ALB.swift:15:14: error: no such module 'Foundation'
13 | //===----------------------------------------------------------------------===//
14 |
15 | import class Foundation.JSONEncoder
| `- error: no such module 'Foundation'
16 |
17 | // https://github.com/aws/aws-lambda-go/blob/master/events/alb.go
/host/spi-builder-workspace/Sources/AWSLambdaEvents/ALB.swift:15:14: error: no such module 'Foundation'
13 | //===----------------------------------------------------------------------===//
14 |
15 | import class Foundation.JSONEncoder
| `- error: no such module 'Foundation'
16 |
17 | // https://github.com/aws/aws-lambda-go/blob/master/events/alb.go
[72/143] Compiling AWSLambdaEvents SES.swift
/host/spi-builder-workspace/Sources/AWSLambdaEvents/ALB.swift:15:14: error: no such module 'Foundation'
13 | //===----------------------------------------------------------------------===//
14 |
15 | import class Foundation.JSONEncoder
| `- error: no such module 'Foundation'
16 |
17 | // https://github.com/aws/aws-lambda-go/blob/master/events/alb.go
[73/143] Compiling AWSLambdaEvents SNS.swift
/host/spi-builder-workspace/Sources/AWSLambdaEvents/ALB.swift:15:14: error: no such module 'Foundation'
13 | //===----------------------------------------------------------------------===//
14 |
15 | import class Foundation.JSONEncoder
| `- error: no such module 'Foundation'
16 |
17 | // https://github.com/aws/aws-lambda-go/blob/master/events/alb.go
/host/spi-builder-workspace/Sources/AWSLambdaEvents/ALB.swift:15:14: error: no such module 'Foundation'
13 | //===----------------------------------------------------------------------===//
14 |
15 | import class Foundation.JSONEncoder
| `- error: no such module 'Foundation'
16 |
17 | // https://github.com/aws/aws-lambda-go/blob/master/events/alb.go
/host/spi-builder-workspace/Sources/AWSLambdaEvents/ALB.swift:15:14: error: no such module 'Foundation'
13 | //===----------------------------------------------------------------------===//
14 |
15 | import class Foundation.JSONEncoder
| `- error: no such module 'Foundation'
16 |
17 | // https://github.com/aws/aws-lambda-go/blob/master/events/alb.go
error: emit-module command failed with exit code 1 (use -v to see invocation)
[78/143] Emitting module AWSLambdaEvents
/host/spi-builder-workspace/Sources/AWSLambdaEvents/ALB.swift:15:14: error: no such module 'Foundation'
13 | //===----------------------------------------------------------------------===//
14 |
15 | import class Foundation.JSONEncoder
| `- error: no such module 'Foundation'
16 |
17 | // https://github.com/aws/aws-lambda-go/blob/master/events/alb.go
/host/spi-builder-workspace/Sources/AWSLambdaEvents/ALB.swift:15:14: error: no such module 'Foundation'
13 | //===----------------------------------------------------------------------===//
14 |
15 | import class Foundation.JSONEncoder
| `- error: no such module 'Foundation'
16 |
17 | // https://github.com/aws/aws-lambda-go/blob/master/events/alb.go
/host/spi-builder-workspace/Sources/AWSLambdaEvents/ALB.swift:15:14: error: no such module 'Foundation'
13 | //===----------------------------------------------------------------------===//
14 |
15 | import class Foundation.JSONEncoder
| `- error: no such module 'Foundation'
16 |
17 | // https://github.com/aws/aws-lambda-go/blob/master/events/alb.go
[85/143] Emitting module Backtrace
[86/143] Compiling Backtrace Backtrace.swift
[88/143] Compiling Atomics DoubleWord.swift
[89/143] Compiling Atomics ManagedAtomic.swift
[90/143] Compiling Atomics ManagedAtomicLazyReference.swift
[91/144] Compiling _NIOBase64 Base64.swift
[92/144] Emitting module _NIOBase64
[93/145] Compiling _NIODataStructures PriorityQueue.swift
[94/145] Compiling _NIODataStructures _TinyArray.swift
[100/145] Emitting module Atomics
[100/145] Wrapping AST for _NIOBase64 for debugging
[101/145] Wrapping AST for Backtrace for debugging
[103/145] Compiling AWSLambdaEvents HTTP.swift
/host/spi-builder-workspace/Sources/AWSLambdaEvents/ALB.swift:15:14: error: no such module 'Foundation'
13 | //===----------------------------------------------------------------------===//
14 |
15 | import class Foundation.JSONEncoder
| `- error: no such module 'Foundation'
16 |
17 | // https://github.com/aws/aws-lambda-go/blob/master/events/alb.go
[104/145] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[105/145] Emitting module NIOConcurrencyHelpers
[106/145] Compiling Logging LogHandler.swift
BUILD FAILURE 6.2 wasm