The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-aws-lambda-runtime, reference main (bd7d9e), with Swift 6.4 for Android on 22 Sep 2026 16:05:34 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/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: main
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
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at bd7d9ee Add ResourcesPackaging README and update dependencies (#669)
Cloned https://github.com/andrea-scuderi/swift-aws-lambda-runtime.git
Revision (git rev-parse @):
bd7d9ee38a6d7b6113f875b627e4cac8e5baec0b
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/andrea-scuderi/swift-aws-lambda-runtime.git at main
========================================
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-54344844-0":/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-collections.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-log.git
[1/8148] Fetching swift-log
[83/35802] Fetching swift-log, swift-collections
[84/38645] Fetching swift-log, swift-collections, swift-service-lifecycle
Fetched https://github.com/swift-server/swift-service-lifecycle.git (1.02s)
[10084/35802] Fetching swift-log, swift-collections
[10085/121867] Fetching swift-log, swift-collections, swift-nio
Fetched https://github.com/apple/swift-log.git (3.47s)
Fetched https://github.com/apple/swift-collections.git (3.49s)
Fetched https://github.com/apple/swift-nio.git (3.51s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.12.0 (3.71s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6723] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git (1.47s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (1.78s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.21s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.5 (0.23s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.103.0 (0.34s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
[1/1875] Fetching swift-atomics
[1876/8791] Fetching swift-atomics, swift-system
Fetched https://github.com/apple/swift-atomics.git (1.02s)
Fetched https://github.com/apple/swift-system.git (1.02s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.22s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.23s)
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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.103.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.12.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.6.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
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.1.5
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
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 926]
[Planning deferred tasks]
[178 / 344] ConcurrencyHelpers
[185 / 369] Logging
[185 / 369] _NIODataStructures
[196 / 369] ConcurrencyHelpers
[204 / 369] Logging
[216 / 369] _NIODataStructures
[224 / 370] NIOConcurrencyHelpers
[228 / 370] Logging-product
[232 / 371] _NIODataStructures
[239 / 372] InternalCollectionsUtilities
[240 / 372] InternalCollectionsUtilities
[241 / 372] OrderedCollections
[245 / 372] Logging
[247 / 372] UnixSignals
[253 / 372] CNIOWASI
[257 / 376] UnixSignals
[266 / 379] ContainersPreview
[269 / 407] Logging
[275 / 407] CNIOLinux
[280 / 410] ContainersPreview
[286 / 410] OrderedCollections
[288 / 410] OrderedCollections
[289 / 410] Logging
[293 / 410] InternalCollectionsUtilities
[295 / 410] InternalCollectionsUtilities
[299 / 410] ContainersPreview
[304 / 410] OrderedCollections
[309 / 410] ConcurrencyHelpers
[315 / 411] Atomics
[317 / 412] CNIOLLHTTP
[330 / 413] DequeModule
[335 / 422] DequeModule
[336 / 422] DequeModule
[344 / 422] OrderedCollections-product
[345 / 422] CNIOAtomics
[347 / 422] CNIOWindows
[350 / 422] ContainersPreview
[352 / 422] DequeModule
[352 / 422] Atomics
[355 / 423] DequeModule
[355 / 424] DequeModule
[365 / 426] AsyncAlgorithms
[374 / 444] NIOCore
[375 / 444] NIOCore
[377 / 444] NIOCore
[377 / 444] AsyncAlgorithms
[379 / 444] AsyncAlgorithms
[381 / 444] AsyncAlgorithms
[385 / 444] NIOCore
[387 / 444] NIOCore
[388 / 444] AsyncAlgorithms-product
[391 / 454] ServiceLifecycle
[394 / 454] ServiceLifecycle
[399 / 455] ServiceLifecycle
[400 / 455] ServiceLifecycle-product
[403 / 455] ServiceLifecycle
[404 / 455] AsyncAlgorithms
[406 / 455] NIOCore
[409 / 456] NIOCore
[424 / 471] NIOPosix
[425 / 471] NIOEmbedded
[428 / 471] NIOEmbedded
[432 / 471] NIOPosix
[433 / 472] NIOPosix
[434 / 473] NIOPosix
[436 / 473] NIOCore
[439 / 473] NIOCore
[440 / 473] NIOPosix
[448 / 476] NIO
[460 / 487] NIOHTTP1
[461 / 487] NIOPosix
[463 / 487] NIOHTTP1
[464 / 487] NIOHTTP1
[473 / 490] MockServer-product
[474 / 491]
[477 / 500] AWSLambdaRuntime
[479 / 500] MockServer-product
[480 / 500] MockServer-product
error: SwiftCompile normal aarch64 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/Sources/AWSLambdaRuntime/Lambda.swift:30:8: error: Unsupported platform
 28 | import ucrt
 29 | #else
 30 | #error("Unsupported platform")
    |        `- error: Unsupported platform
 31 | #endif
 32 |
/host/spi-builder-workspace/Sources/AWSLambdaRuntime/LambdaClock.swift:25:8: error: Unsupported platform
 23 | import ucrt
 24 | #else
 25 | #error("Unsupported platform")
    |        `- error: Unsupported platform
 26 | #endif
 27 |
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/AWSLambdaRuntime/FoundationSupport/Context+Foundation.swift /host/spi-builder-workspace/Sources/AWSLambdaRuntime/FoundationSupport/LambdaManagedRuntime+JSON.swift /host/spi-builder-workspace/Sources/AWSLambdaRuntime/FoundationSupport/LambdaRuntime+JSON.swift /host/spi-builder-workspace/Sources/AWSLambdaRuntime/FoundationSupport/Vendored/ByteBuffer-foundation.swift /host/spi-builder-workspace/Sources/AWSLambdaRuntime/FoundationSupport/Vendored/JSON+ByteBuffer.swift /host/spi-builder-workspace/Sources/AWSLambdaRuntime/HTTPClient/ControlPlaneRequest.swift /host/spi-builder-workspace/Sources/AWSLambdaRuntime/HTTPClient/ControlPlaneRequestEncoder.swift /host/spi-builder-workspace/Sources/AWSLambdaRuntime/HTTPClient/LambdaRuntimeClient+ChannelHandler.swift /host/spi-builder-workspace/Sources/AWSLambdaRuntime/HTTPClient/LambdaRuntimeClient.swift /host/spi-builder-workspace/Sources/AWSLambdaRuntime/HTTPClient/LambdaRuntimeClientProtocol.swift /host/spi-builder-workspace/Sources/AWSLambdaRuntime/HTTPServer/Lambda+LocalServer+Pool.swift /host/spi-builder-workspace/Sources/AWSLambdaRuntime/HTTPServer/Lambda+LocalServer.swift /host/spi-builder-workspace/Sources/AWSLambdaRuntime/Lambda.swift /host/spi-builder-workspace/Sources/AWSLambdaRuntime/LambdaClock.swift /host/spi-builder-workspace/Sources/AWSLambdaRuntime/LambdaContext.swift /host/spi-builder-workspace/Sources/AWSLambdaRuntime/LambdaRequestID.swift /host/spi-builder-workspace/Sources/AWSLambdaRuntime/LambdaResponseStreamWriter+Headers.swift /host/spi-builder-workspace/Sources/AWSLambdaRuntime/LambdaRuntimeError.swift /host/spi-builder-workspace/Sources/AWSLambdaRuntime/Logging/JSONLogHandler.swift /host/spi-builder-workspace/Sources/AWSLambdaRuntime/Logging/LoggingConfiguration.swift /host/spi-builder-workspace/Sources/AWSLambdaRuntime/ManagedRuntime/LambdaManagedRuntime+ServiceLifecycle.swift /host/spi-builder-workspace/Sources/AWSLambdaRuntime/ManagedRuntime/LambdaManagedRuntime.swift /host/spi-builder-workspace/Sources/AWSLambdaRuntime/ManagedRuntime/LambdaManagedRuntimeHandlers.swift /host/spi-builder-workspace/Sources/AWSLambdaRuntime/Runtime/LambdaHandlers.swift /host/spi-builder-workspace/Sources/AWSLambdaRuntime/Runtime/LambdaRuntime+Codable.swift /host/spi-builder-workspace/Sources/AWSLambdaRuntime/Runtime/LambdaRuntime+Handler.swift /host/spi-builder-workspace/Sources/AWSLambdaRuntime/Runtime/LambdaRuntime+ServiceLifecycle.swift /host/spi-builder-workspace/Sources/AWSLambdaRuntime/Runtime/LambdaRuntime.swift /host/spi-builder-workspace/Sources/AWSLambdaRuntime/SendableMetatype.swift /host/spi-builder-workspace/Sources/AWSLambdaRuntime/Utils.swift /host/spi-builder-workspace/Sources/AWSLambdaRuntime/Version.swift -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 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D FoundationJSONSupport -D LocalServerSupport -D ManagedRuntimeSupport -D ServiceLifecycleSupport -D Xcode -serialize-debugging-options -enable-experimental-feature AvailabilityMacro\=LambdaSwift\ 2.0:macOS\ 15.0 -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/AWSLambdaRuntime-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-aws-lambda-runtime.build/Debug-android-aarch64/AWSLambdaRuntime-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-aws-lambda-runtime.build/Debug-android-aarch64/AWSLambdaRuntime-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name AWSLambdaRuntime -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/AWSLambdaRuntime-t.build/Objects-normal/aarch64/AWSLambdaRuntime_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 -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-aws-lambda-runtime.build/Debug-android-aarch64/AWSLambdaRuntime-t.build/Objects-normal/aarch64/Modules/AWSLambdaRuntime.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-aws-lambda-runtime.build/Debug-android-aarch64/AWSLambdaRuntime-t.build/Objects-normal/aarch64/Modules/AWSLambdaRuntime.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-aws-lambda-runtime.build/Debug-android-aarch64/AWSLambdaRuntime-t.build/Objects-normal/aarch64/AWSLambdaRuntime-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-aws-lambda-runtime.build/Debug-android-aarch64/AWSLambdaRuntime-t.build/Objects-normal/aarch64/AWSLambdaRuntime-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-aws-lambda-runtime.build/Debug-android-aarch64/AWSLambdaRuntime-t.build/Objects-normal/aarch64/AWSLambdaRuntime-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-aws-lambda-runtime.build/Debug-android-aarch64/AWSLambdaRuntime-t.build/Objects-normal/aarch64/Modules/AWSLambdaRuntime.swiftmodule
[482 / 501] NIOHTTP1
error: Build failed
BUILD FAILURE 6.4 android