The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-aws-lambda-runtime, reference 1.0.0-alpha.2 (8d9f44), with Swift 6.4 for Android on 22 Sep 2026 16:05:58 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/andrea-scuderi/swift-aws-lambda-runtime.git
Reference: 1.0.0-alpha.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               1.0.0-alpha.2 -> FETCH_HEAD
HEAD is now at 8d9f44b allow custom initialization of the HandlerType of the LambdaRuntime (#310)
Cloned https://github.com/andrea-scuderi/swift-aws-lambda-runtime.git
Revision (git rev-parse @):
8d9f44b7838750b103ad2ad49055e8333d719e8a
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/andrea-scuderi/swift-aws-lambda-runtime.git at 1.0.0-alpha.2
========================================
Build
========================================
Selected platform:         android
Swift version:             6.4
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-54344843-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:abadcff584c273feba50641b454858d377ba30b35ea7287a94f45ebd8afd0ea0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git
[1/2345] Fetching swift-docc-plugin
[236/10493] Fetching swift-docc-plugin, swift-log
Fetched https://github.com/apple/swift-docc-plugin (1.02s)
[1/86065] Fetching swift-nio
Fetched https://github.com/apple/swift-log.git (4.02s)
Fetched https://github.com/apple/swift-nio.git (4.06s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (5.14s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3829] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.76s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.00s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.22s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (0.35s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
[1/1875] Fetching swift-atomics
[1876/8791] Fetching swift-atomics, swift-system
Fetched https://github.com/apple/swift-system.git (0.72s)
[1/27654] Fetching swift-collections
Fetched https://github.com/apple/swift-atomics.git (1.97s)
Fetched https://github.com/apple/swift-collections.git (1.99s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (2.23s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (0.36s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.34s)
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.1
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.5.0
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
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.6.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.103.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.15.1
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 955]
[Planning 666 / 955]
[Planning deferred tasks]
[Constructing 1544 / 1999]
[53 / 320] NIOFoundationCompat
[170 / 328] InternalCollectionsUtilities
[177 / 356] InternalCollectionsUtilities
[177 / 356] _NIOBase64
[186 / 356] InternalCollectionsUtilities
[188 / 356] InternalCollectionsUtilities
[204 / 356] NIOConcurrencyHelpers-product
[206 / 356] Logging
[211 / 356] NIOConcurrencyHelpers
[213 / 356] NIOConcurrencyHelpers
[215 / 356] Logging
[218 / 358] _NIODataStructures
[219 / 358] _NIOBase64
[221 / 358] _NIODataStructures
[223 / 358] Logging
[224 / 358] Logging
[225 / 358] InternalCollectionsUtilities
[225 / 358] NIOConcurrencyHelpers
[227 / 359] NIOConcurrencyHelpers
[228 / 359] InternalCollectionsUtilities
[230 / 359] NIOConcurrencyHelpers
[232 / 359] InternalCollectionsUtilities
[233 / 359] InternalCollectionsUtilities
[235 / 359] InternalCollectionsUtilities
[238 / 359]
[241 / 360] CNIOWASI
[246 / 369] ContainersPreview
[247 / 369] ContainersPreview
[250 / 369] ContainersPreview
[253 / 370] ContainersPreview
[256 / 370] ContainersPreview
[262 / 370] ContainersPreview
[271 / 371]
[278 / 382] Atomics
[280 / 391] DequeModule
[281 / 391] CNIOLLHTTP
[283 / 391] DequeModule
[285 / 392] Logging
[286 / 392] Logging
[288 / 392] Logging
[290 / 392] CNIOAtomics
[291 / 392] CNIOAtomics
[293 / 392] CNIOLLHTTP
[295 / 392] Atomics
[296 / 392] Atomics
[297 / 392] Atomics
[299 / 392] Atomics
[300 / 392] Atomics
[300 / 392]
[301 / 392] NIOConcurrencyHelpers
[301 / 392] Atomics
[306 / 392] Atomics
[309 / 393] Atomics
[309 / 393] DequeModule
[318 / 395] NIOCore
[327 / 404] NIOCore
[327 / 405] NIOCore
[344 / 415] NIOCore
[346 / 424] NIOCore
[347 / 424] NIOEmbedded
[353 / 424] NIOEmbedded
[354 / 424] NIOEmbedded
[356 / 425] NIOFoundationEssentialsCompat
[364 / 426] NIOPosix
[365 / 426] NIOFoundationEssentialsCompat
[372 / 426] NIOPosix
[376 / 429] NIOEmbedded
[383 / 429] NIOFoundationEssentialsCompat
[385 / 431] NIOHTTP1
[387 / 440] NIOPosix
[389 / 440] NIOHTTP1
[391 / 440] NIOHTTP1
[392 / 440] NIOHTTP1
[394 / 440] NIOHTTP1
[399 / 440] NIOHTTP1
[402 / 445] NIOFoundationEssentialsCompat
[404 / 445] NIOFoundationCompat
[405 / 445] NIOFoundationCompat
[411 / 446]
[414 / 449] MockServer-product
[415 / 458] AWSLambdaRuntimeCore
[416 / 458] AWSLambdaRuntimeCore
[419 / 459] AWSLambdaRuntimeCore
[420 / 459] NIOFoundationCompat
[422 / 460] NIOPosix
[427 / 461] AWSLambdaRuntimeCore
[427 / 461] NIOPosix
error: SwiftCompile normal aarch64 /host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/Lambda.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile Lambda.swift
/host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/Lambda.swift:18:8: error: no such module 'Darwin.C'
 16 | import Glibc
 17 | #else
 18 | import Darwin.C
    |        `- error: no such module 'Darwin.C'
 19 | #endif
 20 |
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/ControlPlaneRequest.swift /host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/ControlPlaneRequestEncoder.swift /host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/HTTPClient.swift /host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/Lambda+LocalServer.swift -primary-file /host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/Lambda+String.swift -primary-file /host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/Lambda.swift /host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaConfiguration.swift /host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaContext.swift /host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaHandler.swift /host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaRequestID.swift /host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaRunner.swift /host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaRuntime.swift /host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/LambdaRuntimeClient.swift /host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/Terminator.swift /host/spi-builder-workspace/Sources/AWSLambdaRuntimeCore/Utils.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-aws-lambda-runtime.build/Debug-android-aarch64/AWSLambdaRuntimeCore-t.build/Objects-normal/aarch64/Lambda+String.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-aws-lambda-runtime.build/Debug-android-aarch64/AWSLambdaRuntimeCore-t.build/Objects-normal/aarch64/Lambda+String.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-aws-lambda-runtime.build/Debug-android-aarch64/AWSLambdaRuntimeCore-t.build/Objects-normal/aarch64/Lambda+String.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-aws-lambda-runtime.build/Debug-android-aarch64/AWSLambdaRuntimeCore-t.build/Objects-normal/aarch64/Lambda+String.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-aws-lambda-runtime.build/Debug-android-aarch64/AWSLambdaRuntimeCore-t.build/Objects-normal/aarch64/Lambda.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-aws-lambda-runtime.build/Debug-android-aarch64/AWSLambdaRuntimeCore-t.build/Objects-normal/aarch64/Lambda.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-aws-lambda-runtime.build/Debug-android-aarch64/AWSLambdaRuntimeCore-t.build/Objects-normal/aarch64/Lambda.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-aws-lambda-runtime.build/Debug-android-aarch64/AWSLambdaRuntimeCore-t.build/Objects-normal/aarch64/Lambda.dia -target aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -sysroot /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -I /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins/testing\#/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_android.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64 -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/18 -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-android-aarch64/CNIOLLHTTP.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-atomics/Sources/_AtomicsShims/include/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-android-aarch64/CNIOPosix.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-android-aarch64/CNIOWASI.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-android-aarch64/CNIOFreeBSD.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-android-aarch64/CNIOAtomics.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOWindows/include/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-android-aarch64/CNIODarwin.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-android-aarch64/CNIOLinux.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-android-aarch64/CNIOOpenBSD.modulemap -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOLLHTTP/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-atomics/Sources/_AtomicsShims/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOPosix/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOWASI/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOFreeBSD/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOAtomics/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOWindows/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIODarwin/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOLinux/include -Xcc -I/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/CNIOOpenBSD/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-aws-lambda-runtime.build/Debug-android-aarch64/AWSLambdaRuntimeCore-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-aws-lambda-runtime.build/Debug-android-aarch64/AWSLambdaRuntimeCore-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-aws-lambda-runtime.build/Debug-android-aarch64/AWSLambdaRuntimeCore-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name AWSLambdaRuntimeCore -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-aws-lambda-runtime.build/Debug-android-aarch64/AWSLambdaRuntimeCore-t.build/Objects-normal/aarch64/AWSLambdaRuntimeCore_const_extract_protocols.json -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-aws-lambda-runtime.build/Debug-android-aarch64/AWSLambdaRuntimeCore-t.build/Objects-normal/aarch64/Lambda+String.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-aws-lambda-runtime.build/Debug-android-aarch64/AWSLambdaRuntimeCore-t.build/Objects-normal/aarch64/Lambda.o -index-unit-output-path /swift-aws-lambda-runtime.build/Debug-android-aarch64/AWSLambdaRuntimeCore-t.build/Objects-normal/aarch64/Lambda+String.o -index-unit-output-path /swift-aws-lambda-runtime.build/Debug-android-aarch64/AWSLambdaRuntimeCore-t.build/Objects-normal/aarch64/Lambda.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 android