The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-aws-lambda-runtime, reference 0.5.2 (699ada), with Swift 6.2 for Wasm on 13 Jul 2025 11:37:08 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/andrea-scuderi/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/andrea-scuderi/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/andrea-scuderi/swift-aws-lambda-runtime.git
Revision (git rev-parse @):
699ada1724459582303c15aae64fa12ca4d33809
SUCCESS checkout https://github.com/andrea-scuderi/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/andrea-scuderi/swift-aws-lambda-runtime.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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-backtrace.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git
[1/631] Fetching swift-backtrace
[632/4485] Fetching swift-backtrace, swift-log
[4486/81064] Fetching swift-backtrace, swift-log, swift-nio
Fetched https://github.com/swift-server/swift-backtrace.git from cache (4.69s)
Fetched https://github.com/apple/swift-log.git from cache (4.69s)
Fetched https://github.com/apple/swift-nio.git from cache (4.80s)
Computing version for https://github.com/swift-server/swift-backtrace.git
Computed https://github.com/swift-server/swift-backtrace.git at 1.3.5 (5.27s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.88s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.84.0 (0.96s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
[1/1808] Fetching swift-atomics
[1520/6465] Fetching swift-atomics, swift-system
[3905/23211] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (0.44s)
[6667/21403] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.68s)
Fetched https://github.com/apple/swift-collections.git from cache (1.71s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (2.14s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.39s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.70s)
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-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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.84.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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Building for debugging...
[0/73] Write sources
[16/73] Compiling CNIOWindows WSAStartup.c
[17/73] Compiling CNIOWindows shim.c
[18/73] Compiling _AtomicsShims.c
[19/73] Compiling CNIOWASI CNIOWASI.c
[20/73] Compiling CNIOLinux shim.c
[21/73] Compiling CNIOLLHTTP c_nio_http.c
[22/73] Compiling CNIOLinux liburing_shims.c
[23/73] Compiling CNIODarwin shim.c
[24/73] Compiling CBacktrace state.c
[25/73] Compiling CNIOLLHTTP c_nio_api.c
[26/73] Compiling CBacktrace simple.c
[26/73] Compiling CBacktrace sort.c
[28/73] Write swift-version-24593BA9C3E375BF.txt
[29/73] Compiling CBacktrace posix.c
[30/73] Compiling CBacktrace print.c
[31/73] Compiling CBacktrace mmap.c
[32/73] Compiling CBacktrace mmapio.c
[33/73] 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
[41/101] Emitting module _NIODataStructures
[41/101] Compiling CNIOLLHTTP c_nio_llhttp.c
[42/119] Compiling c-nioatomics.c
[43/119] Write sources
[47/119] Compiling c-atomics.c
[49/139] Compiling Atomics ManagedAtomic.swift
[50/139] Compiling Atomics ManagedAtomicLazyReference.swift
[51/141] Compiling AWSLambdaEvents APIGateway.swift
[52/141] Compiling AWSLambdaEvents AWSRegion.swift
[53/142] Emitting module Backtrace
[54/142] Compiling AWSLambdaEvents DynamoDB.swift
[55/142] Compiling AWSLambdaEvents S3.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
[58/143] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[59/143] Compiling Backtrace Demangle.swift
[60/143] Compiling Backtrace Backtrace.swift
[61/144] Compiling Atomics UnsafeAtomic.swift
[62/144] Compiling Atomics UnsafeAtomicLazyReference.swift
[63/144] Compiling AWSLambdaEvents ALB.swift
[64/144] Compiling AWSLambdaEvents APIGateway+V2.swift
[65/144] Compiling _NIODataStructures PriorityQueue.swift
[67/144] Compiling AWSLambdaEvents SES.swift
[68/144] Compiling AWSLambdaEvents SNS.swift
[69/144] Emitting module Logging
[71/144] Compiling Atomics DoubleWord.swift
[72/144] 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
[73/144] Compiling Logging Locks.swift
[74/144] Compiling Logging LogHandler.swift
[75/144] Compiling AWSLambdaEvents SQS.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
[76/144] 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
/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
[84/144] Compiling _NIOBase64 Base64.swift
[85/144] Emitting module _NIOBase64
/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)
[88/144] 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
[89/144] Compiling AWSLambdaEvents AppSync.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
[90/144] Compiling AWSLambdaEvents Cloudwatch.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
[92/144] Wrapping AST for Backtrace for debugging
[96/145] Emitting module InternalCollectionsUtilities
[99/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
[100/145] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[102/146] Emitting module NIOConcurrencyHelpers
[103/146] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
BUILD FAILURE 6.2 wasm