Build Information
Failed to build swift-openapi-lambda, reference 2.1.0 (97b2e6), with Swift 6.4 for Android on 23 Sep 2026 06:30:23 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-1":/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>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/awslabs/swift-openapi-lambda.git
Reference: 2.1.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/awslabs/swift-openapi-lambda
* tag 2.1.0 -> FETCH_HEAD
HEAD is now at 97b2e6d Add support for Lambda functions exposed behind an Application Load Balancer (ALB) (#29)
Cloned https://github.com/awslabs/swift-openapi-lambda.git
Revision (git rev-parse @):
97b2e6d017b9d7404b144ab59bd92b0fc6316a2e
SUCCESS checkout https://github.com/awslabs/swift-openapi-lambda.git at 2.1.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.4
Building package at path: $PWD
https://github.com/awslabs/swift-openapi-lambda.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-1":/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/awslabs/swift-aws-lambda-runtime.git
Fetching https://github.com/awslabs/swift-aws-lambda-events.git
Fetching https://github.com/apple/swift-openapi-runtime.git
[1/2841] Fetching swift-aws-lambda-events
[200/20874] Fetching swift-aws-lambda-events, swift-aws-lambda-runtime
[258/27812] Fetching swift-aws-lambda-events, swift-aws-lambda-runtime, swift-openapi-runtime
Fetched https://github.com/awslabs/swift-aws-lambda-events.git (0.57s)
Fetched https://github.com/apple/swift-openapi-runtime.git (0.57s)
[902/18033] Fetching swift-aws-lambda-runtime
Fetched https://github.com/awslabs/swift-aws-lambda-runtime.git (1.22s)
Computing version for https://github.com/awslabs/swift-aws-lambda-events.git
Computed https://github.com/awslabs/swift-aws-lambda-events.git at 1.5.0 (1.38s)
Fetching https://github.com/apple/swift-http-types.git
[1/1935] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types.git (0.48s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.8.0 (0.69s)
Computing version for https://github.com/apple/swift-openapi-runtime.git
Computed https://github.com/apple/swift-openapi-runtime.git at 1.12.1 (0.20s)
Computing version for https://github.com/awslabs/swift-aws-lambda-runtime.git
Computed https://github.com/awslabs/swift-aws-lambda-runtime.git at 2.11.0 (0.18s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/soto-project/soto-core.git
Fetching https://github.com/apple/swift-nio.git
[1/8148] Fetching swift-log
[2120/10991] Fetching swift-log, swift-service-lifecycle
Fetched https://github.com/apple/swift-log.git (0.60s)
[1/27693] Fetching swift-collections
[14402/100336] Fetching swift-collections, soto-core
[18624/186401] Fetching swift-collections, soto-core, swift-nio
Fetched https://github.com/apple/swift-collections.git (1.31s)
[78952/158708] Fetching soto-core, swift-nio
Fetched https://github.com/swift-server/swift-service-lifecycle.git (2.56s)
Fetched https://github.com/soto-project/soto-core.git (3.40s)
Fetched https://github.com/apple/swift-nio.git (3.41s)
Computing version for https://github.com/soto-project/soto-core.git
Computed https://github.com/soto-project/soto-core.git at 7.15.0 (3.66s)
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/jmespath/jmespath.swift.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/swift-server/async-http-client.git
[1/18549] Fetching swift-crypto
[558/19202] Fetching swift-crypto, jmespath.swift
[1767/25522] Fetching swift-crypto, jmespath.swift, swift-distributed-tracing
[1768/28385] Fetching swift-crypto, jmespath.swift, swift-distributed-tracing, swift-nio-transport-services
[4330/31901] Fetching swift-crypto, jmespath.swift, swift-distributed-tracing, swift-nio-transport-services, swift-metrics
Fetched https://github.com/apple/swift-nio-transport-services.git (0.58s)
[12218/29038] Fetching swift-crypto, jmespath.swift, swift-distributed-tracing, swift-metrics
Fetching https://github.com/apple/swift-atomics.git
Fetched https://github.com/apple/swift-metrics.git (0.60s)
Fetching https://github.com/apple/swift-nio-ssl.git
[9014/25522] Fetching swift-crypto, jmespath.swift, swift-distributed-tracing
[9200/41719] Fetching swift-crypto, jmespath.swift, swift-distributed-tracing, async-http-client
Fetched https://github.com/jmespath/jmespath.swift.git (0.92s)
[33832/41066] Fetching swift-crypto, swift-distributed-tracing, async-http-client
Fetched https://github.com/apple/swift-distributed-tracing.git (0.93s)
[27698/34746] Fetching swift-crypto, async-http-client
Fetched https://github.com/swift-server/async-http-client.git (0.93s)
[11686/18549] Fetching swift-crypto
[18550/20424] Fetching swift-crypto, swift-atomics
[19150/36489] Fetching swift-crypto, swift-atomics, swift-nio-ssl
Fetched https://github.com/apple/swift-atomics.git (0.56s)
[19835/34614] Fetching swift-crypto, swift-nio-ssl
Fetched https://github.com/apple/swift-crypto.git (1.18s)
[1607/16065] Fetching swift-nio-ssl
Fetched https://github.com/apple/swift-nio-ssl.git (1.07s)
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 (1.86s)
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.15s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.0 (1.44s)
Computing version for https://github.com/jmespath/jmespath.swift.git
Computed https://github.com/jmespath/jmespath.swift.git at 1.0.3 (1.05s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.19s)
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.21s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.16s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.5.0 (0.18s)
Fetching https://github.com/apple/swift-service-context.git
[1/1364] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git (0.50s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.3.0 (0.68s)
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-system.git
[1/6916] Fetching swift-system
Fetched https://github.com/apple/swift-system.git (0.66s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.36.1 (0.89s)
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-configuration.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-algorithms.git
[1/6145] Fetching swift-algorithms
[2/9924] Fetching swift-algorithms, swift-configuration
[9925/22176] Fetching swift-algorithms, swift-configuration, swift-nio-http2
Fetched https://github.com/apple/swift-configuration.git (0.56s)
[6758/18397] Fetching swift-algorithms, swift-nio-http2
[9577/25087] Fetching swift-algorithms, swift-nio-http2, swift-nio-extras
Fetched https://github.com/apple/swift-algorithms.git (0.78s)
Fetched https://github.com/apple/swift-nio-extras.git (0.78s)
Fetched https://github.com/apple/swift-nio-http2.git (0.93s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.12s)
Fetching https://github.com/apple/swift-numerics.git
[1/6640] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git (0.64s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.2.1 (1.65s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.16s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.28.0 (0.20s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.46.0 (0.21s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.5 (0.24s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.22s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.35.1 (0.49s)
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-asn1.git
[1/7575] Fetching swift-certificates
[7576/8828] Fetching swift-certificates, swift-http-structured-headers
[8829/10811] Fetching swift-certificates, swift-http-structured-headers, swift-asn1
Fetched https://github.com/apple/swift-http-structured-headers.git (1.01s)
Fetched https://github.com/apple/swift-asn1.git (1.01s)
Fetched https://github.com/apple/swift-certificates.git (1.01s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.7.0 (1.21s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.22s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.0 (0.25s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.0.0 (0.28s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.11.0 (0.19s)
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.3.0
Creating working copy for https://github.com/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.36.1
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.8.0
Creating working copy for https://github.com/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.5.0
Creating working copy for https://github.com/soto-project/soto-core.git
Working copy of https://github.com/soto-project/soto-core.git resolved at 7.15.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.7.0
Creating working copy for https://github.com/jmespath/jmespath.swift.git
Working copy of https://github.com/jmespath/jmespath.swift.git resolved at 1.0.3
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.28.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/awslabs/swift-aws-lambda-runtime.git
Working copy of https://github.com/awslabs/swift-aws-lambda-runtime.git resolved at 2.11.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-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.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/awslabs/swift-aws-lambda-events.git
Working copy of https://github.com/awslabs/swift-aws-lambda-events.git resolved at 1.5.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-configuration.git
Working copy of https://github.com/apple/swift-configuration.git resolved at 1.2.1
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-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.3
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.37.5
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-openapi-runtime.git
Working copy of https://github.com/apple/swift-openapi-runtime.git resolved at 1.12.1
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.21.0
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.7.0
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.35.1
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 5.0.0
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.11.0
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.46.0
Building for debugging...
[Computing dependencies]
[Provisioning 3 / 48]
[Pre-planning 1 / 1017]
[Planning deferred tasks]
[Starting]
[143 / 373] CNIOLinux
[197 / 386] _NIODataStructures
[204 / 423] InternalCollectionsUtilities
[205 / 423] _NIOBase64
[206 / 423] NIOConcurrencyHelpers
[223 / 423] InternalCollectionsUtilities
[225 / 423] InternalCollectionsUtilities
[236 / 423] ConcurrencyHelpers
[248 / 424] NIOConcurrencyHelpers
[249 / 424] _NIOBase64
[252 / 424] Logging-product
[255 / 425] _NIODataStructures
[259 / 425] _NIODataStructures
[261 / 425] InternalCollectionsUtilities
[262 / 425] SpanPreview
[263 / 425] SpanPreview
[265 / 426] NIOConcurrencyHelpers
[267 / 426] NIOConcurrencyHelpers
[269 / 426] InternalCollectionsUtilities
[271 / 426] HTTPTypes
[272 / 426] HTTPTypes
[273 / 426] HTTPTypes-product
[274 / 426] HTTPTypes-product
[275 / 426] OpenAPIRuntime
[276 / 427] OpenAPIRuntime
[278 / 427] HTTPTypes
[280 / 427] UnixSignals
[281 / 427] UnixSignals
[285 / 427] Logging
[292 / 427]
[301 / 438] ConcurrencyHelpers
[309 / 438] SpanPreview
[315 / 438] HTTPTypes
[325 / 440] UnixSignals
[338 / 451] Atomics
[343 / 452] OrderedCollections
[344 / 460] OrderedCollections
[345 / 460] OrderedCollections
[348 / 460] OrderedCollections
[349 / 461] UnixSignals
[351 / 461] UnixSignals
[353 / 461] OrderedCollections
[354 / 461] OrderedCollections
[355 / 461] OrderedCollections
[358 / 462] OpenAPIRuntime
[359 / 462] InternalCollectionsUtilities
[366 / 463] SpanPreview
[372 / 483] DequeModule
[373 / 492] AWSLambdaEvents
[374 / 492] OrderedCollections
[381 / 492] OrderedCollections-product
[383 / 493] OrderedCollections-product
[384 / 493] OrderedCollections-product
[388 / 493] OpenAPIRuntime
[397 / 493] Logging-product
[398 / 493] DequeModule
[402 / 493] DequeModule
[403 / 493] DequeModule
[404 / 493] OpenAPIRuntime
[410 / 493] Atomics
[411 / 493] Atomics
[413 / 494] OpenAPIRuntime
[415 / 494] DequeModule
[422 / 494] AWSLambdaEvents
[422 / 494] DequeModule-product
[427 / 496] AsyncAlgorithms
[428 / 505] UnixSignals
[431 / 514] NIOCore
[432 / 515] NIOCore
[434 / 515] NIOCore
[435 / 515] NIOCore
[436 / 515] NIOCore
[436 / 515] AWSLambdaEvents
[438 / 516] NIOCore
[445 / 516] DequeModule
[447 / 516] AsyncAlgorithms
[448 / 516] AsyncAlgorithms-product
[449 / 516] AsyncAlgorithms-product
[450 / 516] ServiceLifecycle
[451 / 516] ServiceLifecycle
[453 / 516] AWSLambdaEvents
[456 / 516]
[459 / 526] ServiceLifecycle
[460 / 526] ServiceLifecycle
[463 / 526] ServiceLifecycle
[469 / 526] ServiceLifecycle-product
[470 / 526] ServiceLifecycle-product
[472 / 526] NIOCore
[483 / 542] ServiceLifecycle
[485 / 543] NIOPosix
[487 / 543] NIOPosix
[488 / 543] NIOPosix
[489 / 543] AsyncAlgorithms
[493 / 544] NIOEmbedded
[498 / 544] NIOPosix
[498 / 544] NIOEmbedded
[500 / 544] NIOCore
[505 / 544] AsyncAlgorithms
[514 / 547] NIOEmbedded
[529 / 559] NIOHTTP1
[530 / 559] NIOHTTP1
[531 / 559] NIOHTTP1
[535 / 559] NIOHTTP1
[542 / 560] NIOPosix
[544 / 561] AWSLambdaRuntime
[547 / 570] AWSLambdaRuntime
[548 / 570] NIOHTTP1
error: SwiftCompile normal aarch64 /host/spi-builder-workspace/.build/checkouts/swift-aws-lambda-runtime/Sources/AWSLambdaRuntime/LambdaResponseStreamWriter+Headers.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile LambdaResponseStreamWriter+Headers.swift
error: SwiftCompile normal aarch64 /host/spi-builder-workspace/.build/checkouts/swift-aws-lambda-runtime/Sources/AWSLambdaRuntime/LambdaRuntimeError.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile LambdaRuntimeError.swift
error: SwiftCompile normal aarch64 /host/spi-builder-workspace/.build/checkouts/swift-aws-lambda-runtime/Sources/AWSLambdaRuntime/Logging/JSONLogHandler.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile JSONLogHandler.swift
error: SwiftCompile normal aarch64 /host/spi-builder-workspace/.build/checkouts/swift-aws-lambda-runtime/Sources/AWSLambdaRuntime/Logging/LoggingConfiguration.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile LoggingConfiguration.swift
/host/spi-builder-workspace/.build/checkouts/swift-aws-lambda-runtime/Sources/AWSLambdaRuntime/Lambda.swift:30:8: [1;31merror: [1;39mUnsupported platform[0;0m
[0;36m28 |[0;0m import ucrt
[0;36m29 |[0;0m #else
[0;36m30 |[0;0m #error([4;39m"Unsupported platform"[0;0m)
[0;36m|[0;0m `- [1;31merror: [1;39mUnsupported platform[0;0m
[0;36m31 |[0;0m #endif
[0;36m32 |[0;0m
/host/spi-builder-workspace/.build/checkouts/swift-aws-lambda-runtime/Sources/AWSLambdaRuntime/LambdaClock.swift:25:8: [1;31merror: [1;39mUnsupported platform[0;0m
[0;36m23 |[0;0m import ucrt
[0;36m24 |[0;0m #else
[0;36m25 |[0;0m #error([4;39m"Unsupported platform"[0;0m)
[0;36m|[0;0m `- [1;31merror: [1;39mUnsupported platform[0;0m
[0;36m26 |[0;0m #endif
[0;36m27 |[0;0m
/host/spi-builder-workspace/.build/checkouts/swift-aws-lambda-runtime/Sources/AWSLambdaRuntime/Logging/JSONLogHandler.swift:148:33: [1;31merror: [1;39mcannot convert value of type '()' to closure result type 'Int'[0;0m
[0;36m146 |[0;0m private func writeToStderr(_ data: Data) -> Int {
[0;36m147 |[0;0m _stderrLock.withLock { _ in
[0;36m148 |[0;0m self.writeAll(data) [4;39m{ pointer, count in[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mcannot convert value of type '()' to closure result type 'Int'[0;0m
[0;36m149 |[0;0m #if canImport(Darwin)
[0;36m150 |[0;0m Darwin.write(2, pointer, count)
/host/spi-builder-workspace/.build/checkouts/swift-aws-lambda-runtime/Sources/AWSLambdaRuntime/Logging/JSONLogHandler.swift:179:24: [1;31merror: [1;39mcannot find 'errno' in scope[0;0m
[0;36m177 |[0;0m if written < 0 {
[0;36m178 |[0;0m // Retry on EINTR; give up on any other error
[0;36m179 |[0;0m if [4;39merrno[0;0m == EINTR { continue }
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'errno' in scope[0;0m
[0;36m180 |[0;0m return offset
[0;36m181 |[0;0m }
/host/spi-builder-workspace/.build/checkouts/swift-aws-lambda-runtime/Sources/AWSLambdaRuntime/Logging/JSONLogHandler.swift:179:33: [1;31merror: [1;39mcannot find 'EINTR' in scope[0;0m
[0;36m177 |[0;0m if written < 0 {
[0;36m178 |[0;0m // Retry on EINTR; give up on any other error
[0;36m179 |[0;0m if errno == [4;39mEINTR[0;0m { continue }
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'EINTR' in scope[0;0m
[0;36m180 |[0;0m return offset
[0;36m181 |[0;0m }
/host/spi-builder-workspace/.build/checkouts/swift-aws-lambda-runtime/Sources/AWSLambdaRuntime/Logging/JSONLogHandler.swift:171:14: [1;31merror: [1;39mgeneric parameter 'ContentType' could not be inferred[0;0m
[0;36m169 |[0;0m using writeFn: (_ pointer: UnsafeRawPointer, _ count: Int) -> Int
[0;36m170 |[0;0m ) -> Int {
[0;36m171 |[0;0m data.withUnsafeBytes { buffer in
[0;36m|[0;0m `- [1;31merror: [1;39mgeneric parameter 'ContentType' could not be inferred[0;0m
[0;36m172 |[0;0m guard let baseAddress = buffer.baseAddress else { return 0 }
[0;36m173 |[0;0m var remaining = buffer.count
FoundationEssentials.Data.withUnsafeBytes:3:15: [1;39mnote: [1;39min call to function 'withUnsafeBytes'[0;0m
[0;36m1 |[0;0m struct Data {
[0;36m2 |[0;0m @available(swift, deprecated: 5, message: "use `withUnsafeBytes<R>(_: (UnsafeRawBufferPointer) throws -> R) rethrows -> R` instead")
[0;36m3 |[0;0m public func withUnsafeBytes<ResultType, ContentType>(_ body: (UnsafePointer<ContentType>) throws -> ResultType) rethrows -> ResultType}
[0;36m|[0;0m `- [1;39mnote: [1;39min call to function 'withUnsafeBytes'[0;0m
[0;36m4 |[0;0m
/host/spi-builder-workspace/.build/checkouts/swift-aws-lambda-runtime/Sources/AWSLambdaRuntime/Logging/JSONLogHandler.swift:172:44: [1;31merror: [1;39mvalue of type 'UnsafePointer<ContentType>' has no member 'baseAddress'[0;0m
[0;36m170 |[0;0m ) -> Int {
[0;36m171 |[0;0m data.withUnsafeBytes { buffer in
[0;36m172 |[0;0m guard let baseAddress = [4;39mbuffer[0;0m.[4;39mbaseAddress[0;0m else { return 0 }
[0;36m|[0;0m `- [1;31merror: [1;39mvalue of type 'UnsafePointer<ContentType>' has no member 'baseAddress'[0;0m
[0;36m173 |[0;0m var remaining = buffer.count
[0;36m174 |[0;0m var offset = 0
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/.build/checkouts/swift-aws-lambda-runtime/Sources/AWSLambdaRuntime/FoundationSupport/Context+Foundation.swift /host/spi-builder-workspace/.build/checkouts/swift-aws-lambda-runtime/Sources/AWSLambdaRuntime/FoundationSupport/LambdaManagedRuntime+JSON.swift /host/spi-builder-workspace/.build/checkouts/swift-aws-lambda-runtime/Sources/AWSLambdaRuntime/FoundationSupport/LambdaRuntime+JSON.swift /host/spi-builder-workspace/.build/checkouts/swift-aws-lambda-runtime/Sources/AWSLambdaRuntime/FoundationSupport/Vendored/ByteBuffer-foundation.swift /host/spi-builder-workspace/.build/checkouts/swift-aws-lambda-runtime/Sources/AWSLambdaRuntime/FoundationSupport/Vendored/JSON+ByteBuffer.swift /host/spi-builder-workspace/.build/checkouts/swift-aws-lambda-runtime/Sources/AWSLambdaRuntime/HTTPClient/ControlPlaneRequest.swift /host/spi-builder-workspace/.build/checkouts/swift-aws-lambda-runtime/Sources/AWSLambdaRuntime/HTTPClient/ControlPlaneRequestEncoder.swift /host/spi-builder-workspace/.build/checkouts/swift-aws-lambda-runtime/Sources/AWSLambdaRuntime/HTTPClient/LambdaRuntimeClient+ChannelHandler.swift /host/spi-builder-workspace/.build/checkouts/swift-aws-lambda-runtime/Sources/AWSLambdaRuntime/HTTPClient/LambdaRuntimeClient.swift /host/spi-builder-workspace/.build/checkouts/swift-aws-lambda-runtime/Sources/AWSLambdaRuntime/HTTPClient/LambdaRuntimeClientProtocol.swift /host/spi-builder-workspace/.build/checkouts/swift-aws-lambda-runtime/Sources/AWSLambdaRuntime/HTTPServer/Lambda+LocalServer+Pool.swift /host/spi-builder-workspace/.build/checkouts/swift-aws-lambda-runtime/Sources/AWSLambdaRuntime/HTTPServer/Lambda+LocalServer.swift /host/spi-builder-workspace/.build/checkouts/swift-aws-lambda-runtime/Sources/AWSLambdaRuntime/Lambda.swift /host/spi-builder-workspace/.build/checkouts/swift-aws-lambda-runtime/Sources/AWSLambdaRuntime/LambdaClock.swift /host/spi-builder-workspace/.build/checkouts/swift-aws-lambda-runtime/Sources/AWSLambdaRuntime/LambdaContext.swift /host/spi-builder-workspace/.build/checkouts/swift-aws-lambda-runtime/Sources/AWSLambdaRuntime/LambdaRequestID.swift -primary-file /host/spi-builder-workspace/.build/checkouts/swift-aws-lambda-runtime/Sources/AWSLambdaRuntime/LambdaResponseStreamWriter+Headers.swift -primary-file /host/spi-builder-workspace/.build/checkouts/swift-aws-lambda-runtime/Sources/AWSLambdaRuntime/LambdaRuntimeError.swift -primary-file /host/spi-builder-workspace/.build/checkouts/swift-aws-lambda-runtime/Sources/AWSLambdaRuntime/Logging/JSONLogHandler.swift -primary-file /host/spi-builder-workspace/.build/checkouts/swift-aws-lambda-runtime/Sources/AWSLambdaRuntime/Logging/LoggingConfiguration.swift /host/spi-builder-workspace/.build/checkouts/swift-aws-lambda-runtime/Sources/AWSLambdaRuntime/ManagedRuntime/LambdaManagedRuntime+ServiceLifecycle.swift /host/spi-builder-workspace/.build/checkouts/swift-aws-lambda-runtime/Sources/AWSLambdaRuntime/ManagedRuntime/LambdaManagedRuntime.swift /host/spi-builder-workspace/.build/checkouts/swift-aws-lambda-runtime/Sources/AWSLambdaRuntime/ManagedRuntime/LambdaManagedRuntimeHandlers.swift /host/spi-builder-workspace/.build/checkouts/swift-aws-lambda-runtime/Sources/AWSLambdaRuntime/Runtime/LambdaHandlers.swift /host/spi-builder-workspace/.build/checkouts/swift-aws-lambda-runtime/Sources/AWSLambdaRuntime/Runtime/LambdaRuntime+Codable.swift /host/spi-builder-workspace/.build/checkouts/swift-aws-lambda-runtime/Sources/AWSLambdaRuntime/Runtime/LambdaRuntime+Handler.swift /host/spi-builder-workspace/.build/checkouts/swift-aws-lambda-runtime/Sources/AWSLambdaRuntime/Runtime/LambdaRuntime+ServiceLifecycle.swift /host/spi-builder-workspace/.build/checkouts/swift-aws-lambda-runtime/Sources/AWSLambdaRuntime/Runtime/LambdaRuntime.swift /host/spi-builder-workspace/.build/checkouts/swift-aws-lambda-runtime/Sources/AWSLambdaRuntime/SendableMetatype.swift /host/spi-builder-workspace/.build/checkouts/swift-aws-lambda-runtime/Sources/AWSLambdaRuntime/Utils.swift /host/spi-builder-workspace/.build/checkouts/swift-aws-lambda-runtime/Sources/AWSLambdaRuntime/Version.swift -supplementary-output-file-map /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-aws-lambda-runtime.build/Debug-android-aarch64/AWSLambdaRuntime-t.build/Objects-normal/aarch64/supplementaryOutputs-74 -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 -suppress-warnings -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 -user-module-version 2.11.0 -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 swift_aws_lambda_runtime -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 -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/LambdaResponseStreamWriter+Headers.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-aws-lambda-runtime.build/Debug-android-aarch64/AWSLambdaRuntime-t.build/Objects-normal/aarch64/LambdaRuntimeError.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-aws-lambda-runtime.build/Debug-android-aarch64/AWSLambdaRuntime-t.build/Objects-normal/aarch64/JSONLogHandler.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-aws-lambda-runtime.build/Debug-android-aarch64/AWSLambdaRuntime-t.build/Objects-normal/aarch64/LoggingConfiguration.o -index-unit-output-path /swift-aws-lambda-runtime.build/Debug-android-aarch64/AWSLambdaRuntime-t.build/Objects-normal/aarch64/LambdaResponseStreamWriter+Headers.o -index-unit-output-path /swift-aws-lambda-runtime.build/Debug-android-aarch64/AWSLambdaRuntime-t.build/Objects-normal/aarch64/LambdaRuntimeError.o -index-unit-output-path /swift-aws-lambda-runtime.build/Debug-android-aarch64/AWSLambdaRuntime-t.build/Objects-normal/aarch64/JSONLogHandler.o -index-unit-output-path /swift-aws-lambda-runtime.build/Debug-android-aarch64/AWSLambdaRuntime-t.build/Objects-normal/aarch64/LoggingConfiguration.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 android