The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-sdk-generator, reference main (bac62b), with Swift 6.4 for Android on 15 Oct 2026 23:45:59 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344849-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.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftlang/swift-sdk-generator.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/swiftlang/swift-sdk-generator
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at bac62b8 Link the platform abstraction layer implementation by default (#278)
Cloned https://github.com/swiftlang/swift-sdk-generator.git
Revision (git rev-parse @):
bac62b856ac8bcbdc4fc515bc4b4a538043aa242
SUCCESS checkout https://github.com/swiftlang/swift-sdk-generator.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.4
Building package at path:  $PWD
https://github.com/swiftlang/swift-sdk-generator.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344849-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:d9a84d7647394b4473e054b8d8a8f0e0b43300080afc6972ec459a3a608366e4
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-crypto.git
[1/8305] Fetching swift-log
[1829/10194] Fetching swift-log, swift-atomics
[7224/17015] Fetching swift-log, swift-atomics, swift-async-algorithms
[9802/35657] Fetching swift-log, swift-atomics, swift-async-algorithms, swift-crypto
Fetched https://github.com/apple/swift-async-algorithms.git (0.55s)
Fetching https://github.com/apple/swift-argument-parser
[10940/28836] Fetching swift-log, swift-atomics, swift-crypto
[12246/115324] Fetching swift-log, swift-atomics, swift-crypto, swift-nio
[12620/144183] Fetching swift-log, swift-atomics, swift-crypto, swift-nio, swift-collections
[66188/163297] Fetching swift-log, swift-atomics, swift-crypto, swift-nio, swift-collections, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser (0.99s)
Fetching https://github.com/apple/swift-system
[118237/144183] Fetching swift-log, swift-atomics, swift-crypto, swift-nio, swift-collections
Fetched https://github.com/apple/swift-atomics.git (1.64s)
Fetching https://github.com/swift-server/async-http-client.git
Fetched https://github.com/apple/swift-collections.git (1.65s)
[90949/113435] Fetching swift-log, swift-crypto, swift-nio
[113436/120723] Fetching swift-log, swift-crypto, swift-nio, swift-system
Fetched https://github.com/apple/swift-system (0.70s)
Fetched https://github.com/apple/swift-log.git (3.14s)
Fetched https://github.com/apple/swift-crypto.git (3.15s)
Fetched https://github.com/apple/swift-nio.git (3.17s)
[1/16473] Fetching async-http-client
Fetched https://github.com/swift-server/async-http-client.git (1.97s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.1 (3.79s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.13s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.14s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.3 (0.22s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.8.1 (0.17s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.16.1 (0.14s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (0.89s)
Fetching https://github.com/apple/swift-asn1.git
[1/2051] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.42s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (1.29s)
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.2 (0.16s)
Fetching https://github.com/apple/swift-configuration.git
Fetching https://github.com/apple/swift-service-context.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-nio-extras.git
[1/1536] Fetching swift-service-context
[754/5516] Fetching swift-service-context, swift-configuration
[2214/8383] Fetching swift-service-context, swift-configuration, swift-nio-transport-services
[2255/15042] Fetching swift-service-context, swift-configuration, swift-nio-transport-services, swift-distributed-tracing
[2512/21747] Fetching swift-service-context, swift-configuration, swift-nio-transport-services, swift-distributed-tracing, swift-nio-extras
Fetched https://github.com/apple/swift-configuration.git (0.46s)
[15169/17767] Fetching swift-service-context, swift-nio-transport-services, swift-distributed-tracing, swift-nio-extras
Fetching https://github.com/apple/swift-algorithms.git
Fetched https://github.com/apple/swift-nio-transport-services.git (0.47s)
[13103/14900] Fetching swift-service-context, swift-distributed-tracing, swift-nio-extras
Fetching https://github.com/apple/swift-nio-ssl.git
[14901/27194] Fetching swift-service-context, swift-distributed-tracing, swift-nio-extras, swift-nio-http2
Fetched https://github.com/apple/swift-nio-extras.git (0.54s)
Fetched https://github.com/apple/swift-distributed-tracing.git (0.54s)
[3381/13830] Fetching swift-service-context, swift-nio-http2
[13831/19989] Fetching swift-service-context, swift-nio-http2, swift-algorithms
[14201/36878] Fetching swift-service-context, swift-nio-http2, swift-algorithms, swift-nio-ssl
Fetched https://github.com/apple/swift-service-context.git (0.91s)
[13589/35342] Fetching swift-nio-http2, swift-algorithms, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-http2.git (0.91s)
[1849/23048] Fetching swift-algorithms, swift-nio-ssl
Fetched https://github.com/apple/swift-algorithms.git (0.52s)
[1183/16889] Fetching swift-nio-ssl
Fetched https://github.com/apple/swift-nio-ssl.git (1.17s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.81s)
Fetching https://github.com/apple/swift-numerics.git
[1/6756] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git (0.57s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.71s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.2.2 (0.20s)
Fetching https://github.com/swift-server/swift-service-lifecycle
[1/2874] Fetching swift-service-lifecycle
Fetched https://github.com/swift-server/swift-service-lifecycle (0.57s)
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.73s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.104.0 (0.26s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.5.1 (0.14s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.7.2 (0.14s)
Computing version for https://github.com/swift-server/swift-service-lifecycle
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.1 (0.00s)
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.00s)
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.00s)
Computed https://github.com/apple/swift-collections.git at 1.7.3 (0.00s)
Computed https://github.com/apple/swift-system at 1.8.1 (0.00s)
Computed https://github.com/apple/swift-log.git at 1.16.1 (0.00s)
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (0.00s)
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.00s)
Computed https://github.com/swift-server/async-http-client.git at 1.36.2 (0.00s)
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.00s)
Computed https://github.com/apple/swift-configuration.git at 1.0.0 (0.19s)
Computed https://github.com/swift-server/swift-service-lifecycle at 2.7.0 (0.14s)
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.00s)
Computed https://github.com/apple/swift-nio-transport-services.git at 1.28.0 (0.00s)
Computed https://github.com/apple/swift-nio.git at 2.104.0 (0.00s)
Computed https://github.com/apple/swift-service-context.git at 1.5.1 (0.00s)
Computed https://github.com/apple/swift-distributed-tracing.git at 1.7.2 (0.00s)
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.14s)
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.17s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.26.0 (0.17s)
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-http-structured-headers.git
[1/1939] Fetching swift-http-types
[292/3223] Fetching swift-http-types, swift-http-structured-headers
Fetched https://github.com/apple/swift-http-structured-headers.git (0.40s)
Fetched https://github.com/apple/swift-http-types.git (0.40s)
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 (0.55s)
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.16s)
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-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.26.0
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.0.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.104.0
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.8.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/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.3
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.16.1
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.7.2
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.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.0.0
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-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.46.0
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-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-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.5.1
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.2
Creating working copy for https://github.com/swift-server/swift-service-lifecycle
Working copy of https://github.com/swift-server/swift-service-lifecycle resolved at 2.7.0
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-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.7.0
warning: 'spi-builder-workspace': couldn't find pc file for sqlite3
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 1735]
[Planning 1160 / 1735]
[Planning deferred tasks]
[Constructing 1158 / 4515]
[Starting]
[303 / 1383] Algorithms
[327 / 1439] SystemPackage
[339 / 1439] InternalCollectionsUtilities
[339 / 1439] NIOConcurrencyHelpers
[351 / 1439] SystemPackage
[351 / 1439] InternalCollectionsUtilities
[363 / 1439] SystemPackage
[363 / 1439] _NIOBase64
[374 / 1440] SystemPackage-product
[377 / 1440] RealModule
[379 / 1441] RealModule
[382 / 1441] RealModule-product
[386 / 1441] NIOConcurrencyHelpers-product
[395 / 1442] Logging-product
[400 / 1442] Logging
[405 / 1443] InternalCollectionsUtilities
[409 / 1443] InternalCollectionsUtilities
[418 / 1461] Instrumentation
[424 / 1462] Instrumentation
[433 / 1463] ServiceContextModule
[437 / 1463] InternalCollectionsUtilities
[442 / 1464] Instrumentation
[447 / 1465] InternalCollectionsUtilities
[455 / 1467] Instrumentation
[460 / 1478] CProcessSpawnSync
In file included from /host/spi-builder-workspace/Sources/CProcessSpawnSync/spawner.c:30:
/host/spi-builder-workspace/Sources/CProcessSpawnSync/internal-helpers.h:118:14: error: call to undeclared function 'getdtablesize'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  118 |         hi = getdtablesize();
      |              ^
/host/spi-builder-workspace/Sources/CProcessSpawnSync/internal-helpers.h:118:14: note: did you mean 'getpagesize'?
In file included from /host/spi-builder-workspace/Sources/CProcessSpawnSync/spawner.c:13:
/android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/unistd.h:461:5: note: 'getpagesize' declared here
  461 | int getpagesize(void) __attribute_const__;
      |     ^
1 error generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-sdk-generator.build/Debug-android-aarch64/CProcessSpawnSync-t.build/Objects-normal/aarch64/spawner.o /host/spi-builder-workspace/Sources/CProcessSpawnSync/spawner.c normal aarch64 c com.apple.compilers.llvm.clang.1_0.compiler failed with a nonzero exit code. Command line:     cd /host

    Using response file: /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-sdk-generator.build/Debug-android-aarch64/CProcessSpawnSync-t.build/Objects-normal/aarch64/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp

    /root/.local/share/swiftly/toolchains/6.4.0/usr/bin/clang -x c -target aarch64-unknown-linux-android28 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-implicit-fallthrough -fstrict-aliasing -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body --sysroot /android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot @/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-sdk-generator.build/Debug-android-aarch64/CProcessSpawnSync-t.build/Objects-normal/aarch64/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-sdk-generator.build/Debug-android-aarch64/CProcessSpawnSync-t.build/Objects-normal/aarch64/spawner.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-sdk-generator.build/Debug-android-aarch64/CProcessSpawnSync-t.build/Objects-normal/aarch64/spawner.dia -c /host/spi-builder-workspace/Sources/CProcessSpawnSync/spawner.c -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-sdk-generator.build/Debug-android-aarch64/CProcessSpawnSync-t.build/Objects-normal/aarch64/spawner.o
error: Build failed
BUILD FAILURE 6.4 android