Build Information
Failed to build swift-corelibs-foundation, reference main (b40c41), with Swift 6.4 for Android on 20 Oct 2026 01:50:37 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>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftlang/swift-corelibs-foundation.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-corelibs-foundation
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at b40c41e Accept Set-Cookie response header fields regardless of case (#5613)
Cloned https://github.com/swiftlang/swift-corelibs-foundation.git
Revision (git rev-parse @):
b40c41e73612385c24be821bdfe95a67fdb157a5
SUCCESS checkout https://github.com/swiftlang/swift-corelibs-foundation.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.4
Building package at path: $PWD
https://github.com/swiftlang/swift-corelibs-foundation.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:d9a84d7647394b4473e054b8d8a8f0e0b43300080afc6972ec459a3a608366e4
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Fetching https://github.com/apple/swift-foundation-icu
[1/4800] Fetching swift-foundation-icu
Fetched https://github.com/apple/swift-foundation-icu (6.68s)
Fetching https://github.com/apple/swift-foundation
[1/38601] Fetching swift-foundation
Fetched https://github.com/apple/swift-foundation (9.53s)
Fetching https://github.com/swiftlang/swift-syntax
[1/80878] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax (4.74s)
Fetching https://github.com/apple/swift-collections
[1/28904] Fetching swift-collections
Fetched https://github.com/apple/swift-collections (2.05s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.7.3 (2.93s)
Creating working copy for https://github.com/apple/swift-foundation
Working copy of https://github.com/apple/swift-foundation resolved at main (d7bae74)
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.7.3
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at main (fbbd990)
Creating working copy for https://github.com/apple/swift-foundation-icu
Working copy of https://github.com/apple/swift-foundation-icu resolved at main (e8538d2)
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 1362]
[Planning 970 / 1362]
[Planning deferred tasks]
[Constructing 1609 / 3472]
[126 / 1064] SwiftDiagnostics
[256 / 1068] _FoundationICU
[260 / 1068] _FoundationICU
[263 / 1068] _FoundationICU
[265 / 1068] _FoundationICU
[273 / 1068] _FoundationInternationalizationData
[277 / 1068] _FoundationICU
[279 / 1068] _FoundationICU
[280 / 1068] _FoundationICU
[281 / 1068] _FoundationICU
[282 / 1068] _FoundationICU
[285 / 1068] _FoundationICU
[288 / 1068] _FoundationICU
[290 / 1068] _FoundationICU
[293 / 1068] _FoundationICU
[294 / 1068] _FoundationICU
[296 / 1068] _FoundationICU
[298 / 1068] _FoundationICU
[300 / 1068] _FoundationICU
[306 / 1068] _FoundationICU
[307 / 1068] _FoundationICU
[313 / 1068] _FoundationICU
[314 / 1068] _FoundationICU
[316 / 1068] _FoundationICU
[318 / 1068] _FoundationICU
[320 / 1068] _FoundationICU
[323 / 1068] _FoundationICU
[324 / 1068] _FoundationICU
[325 / 1068] _FoundationICU
[327 / 1068] _FoundationICU
[330 / 1068] _FoundationICU
[331 / 1068] _FoundationICU
[334 / 1068] _FoundationICU
[335 / 1068] _FoundationICU
[336 / 1068] _FoundationICU
[340 / 1068] _FoundationICU
[342 / 1068] _FoundationICU
[345 / 1068] _FoundationICU
[348 / 1068] _FoundationICU
[350 / 1068] _FoundationICU
[353 / 1068] _FoundationICU
[354 / 1068] _FoundationICU
[356 / 1068] _FoundationICU
[359 / 1068] _FoundationICU
[360 / 1068] _FoundationICU
[362 / 1068] _FoundationICU
[364 / 1068] _FoundationICU
[365 / 1068] _FoundationICU
[371 / 1068] _FoundationICU
[373 / 1068] _FoundationICU
[376 / 1068] _FoundationICU
[379 / 1068] _FoundationICU
[381 / 1068] _FoundationICU
[383 / 1068] _FoundationICU
[384 / 1068] _FoundationICU
[386 / 1068] _FoundationICU
[387 / 1068] _FoundationICU
[389 / 1068] _FoundationICU
[391 / 1068] _FoundationICU
[395 / 1068] _FoundationICU
[398 / 1068] _FoundationICU
[399 / 1068] _FoundationICU
[403 / 1068] _FoundationICU
[405 / 1068] _FoundationICU
[406 / 1068] _FoundationICU
[409 / 1068] _FoundationICU
[411 / 1068] _FoundationICU
[412 / 1068] _FoundationICU
[414 / 1068] _FoundationICU
[417 / 1068] _FoundationICU
[419 / 1068] _FoundationICU
[421 / 1068] _FoundationICU
[423 / 1068] _FoundationICU
[425 / 1068] _FoundationICU
[429 / 1068] _FoundationICU
[430 / 1068] _FoundationICU
[432 / 1068] _FoundationICU
[436 / 1068] _FoundationICU
[439 / 1068] _FoundationICU
[440 / 1068] _FoundationICU
[443 / 1068] _FoundationICU
[445 / 1068] _FoundationICU
[446 / 1068] _FoundationICU
[447 / 1068] _FoundationICU
[449 / 1068] _FoundationICU
[454 / 1068] _FoundationICU
[456 / 1068] _FoundationICU
[457 / 1068] _FoundationICU
[458 / 1068] _FoundationICU
[459 / 1068] _FoundationICU
[461 / 1068] _FoundationICU
[463 / 1068] _FoundationICU
[467 / 1068] _FoundationICU
[470 / 1068] _FoundationICU
[471 / 1068] _FoundationICU
[472 / 1068] _FoundationICU
[476 / 1068] _FoundationICU
[479 / 1068] _FoundationICU
[480 / 1068] _FoundationICU
[482 / 1068] _FoundationICU
[484 / 1068] _FoundationICU
[485 / 1068] _FoundationICU
[486 / 1068] _FoundationICU
[488 / 1068] _FoundationICU
[489 / 1068] _FoundationICU
[490 / 1068] _FoundationICU
[493 / 1068] _FoundationICU
[496 / 1068] _FoundationICU
[499 / 1068] _FoundationICU
[501 / 1068] _FoundationICU
[502 / 1068] _FoundationICU
[505 / 1068] _FoundationICU
[508 / 1068] _FoundationICU
[510 / 1068] _FoundationICU
[513 / 1068] _FoundationICU
[514 / 1068] _FoundationICU
[516 / 1068] _FoundationICU
[517 / 1068] _FoundationICU
[518 / 1068] _FoundationICU
[521 / 1068] _FoundationICU
[523 / 1068] _FoundationICU
[527 / 1068] _FoundationICU
[529 / 1068] _FoundationICU
[532 / 1068] _FoundationICU
[534 / 1068] _FoundationICU
[537 / 1068] _FoundationICU
[538 / 1068] _FoundationICU
[540 / 1068] _FoundationICU
[542 / 1068] _FoundationICU
[545 / 1068] _FoundationICU
[547 / 1068] _FoundationICU
[548 / 1068] _FoundationICU
[550 / 1068] _FoundationICU
[553 / 1068] _FoundationICU
[555 / 1068] _FoundationICU
[559 / 1068] _FoundationICU
[560 / 1068] _FoundationICU
[561 / 1068] _FoundationICU
[563 / 1068] _FoundationICU
[565 / 1068] _FoundationICU
[567 / 1068] _FoundationICU
[569 / 1068] _FoundationICU
[573 / 1068] _FoundationICU
[577 / 1068] _FoundationICU
[578 / 1068] _FoundationICU
[579 / 1068] _FoundationICU
[583 / 1068] _FoundationICU
[585 / 1068] _FoundationICU
[586 / 1068] _FoundationICU
[587 / 1068] _FoundationICU
[592 / 1068] _FoundationICU
[593 / 1068] _FoundationICU
[594 / 1068] _FoundationICU
[595 / 1068] _FoundationICU
[600 / 1068] _FoundationICU
[601 / 1068] _FoundationICU
[604 / 1068] _FoundationICU
[607 / 1068] _FoundationICU
[608 / 1068] _FoundationICU
[612 / 1068] _FoundationICU
[615 / 1068] _FoundationICU
[618 / 1068] _FoundationICU
[620 / 1068] _FoundationICU
[622 / 1068] _FoundationICU
[623 / 1068] _FoundationICU
[625 / 1068] _FoundationICU
[628 / 1068] _FoundationICU
[629 / 1068] _FoundationICU
[633 / 1068] _FoundationICU
[635 / 1068] _FoundationICU
[637 / 1068] _FoundationICU
[639 / 1068] _FoundationICU
[644 / 1068] _FoundationICU
[647 / 1068] _FoundationICU
[648 / 1068] _FoundationICU
[651 / 1068] _FoundationICU
[652 / 1068] _FoundationICU
[656 / 1068] _FoundationICU
[659 / 1068] _FoundationICU
[660 / 1068] _FoundationICU
[664 / 1068] _FoundationICU
[665 / 1068] _FoundationICU
[666 / 1068] _FoundationICU
[667 / 1068] _FoundationICU
[671 / 1068] _FoundationICU
[675 / 1068] _FoundationICU
[676 / 1068] _FoundationICU
[679 / 1068] _FoundationICU
[680 / 1068] _FoundationICU
[681 / 1068] _FoundationICU
[684 / 1068] _FoundationICU
[686 / 1068] _FoundationICU
[687 / 1068] _FoundationICU
[689 / 1068] _FoundationICU
[693 / 1068] _FoundationICU
[695 / 1068] _FoundationICU
[698 / 1068] _FoundationICU
[700 / 1068] _FoundationICU
[702 / 1068] _FoundationICU
[704 / 1068] _FoundationICU
[705 / 1068] _FoundationICU
[707 / 1068] _FoundationICU
[709 / 1068] _FoundationICU
[711 / 1068] _FoundationICU
[713 / 1068] _FoundationICU
[714 / 1068] _FoundationICU
[717 / 1068] _FoundationICU
[720 / 1068] _FoundationICU
[722 / 1068] _FoundationICU
[726 / 1068] _FoundationICU
[728 / 1068] _FoundationICU
[732 / 1069] _FoundationICU
[736 / 1071] Testing
In file included from /host/spi-builder-workspace/Sources/_CFURLSessionInterface/CFURLSessionInterface.c:21:
In file included from /host/spi-builder-workspace/Sources/CoreFoundation/internalInclude/CFInternal.h:21:
In file included from /host/spi-builder-workspace/Sources/CoreFoundation/include/CFBase.h:63:
In file included from /root/.local/share/swiftly/toolchains/6.4.0/usr/lib/clang/21/include/stdint.h:56:
In file included from /android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/stdint.h:32:
[1m/usr/include/x86_64-linux-gnu/sys/cdefs.h:64:6: [0m[0;1;31merror: [0m[1mfunction-like macro '__GNUC_PREREQ' is not defined[0m
64 | # [0;34mif[0m __GNUC_PREREQ ([0;32m4[0m, [0;32m6[0m) && !defined _LIBC[0m
| [0;1;32m ^
[0m[1m/usr/include/x86_64-linux-gnu/sys/cdefs.h:78:10: [0m[0;1;31merror: [0m[1mfunction-like macro '__GNUC_PREREQ' is not defined[0m
78 | && (__GNUC_PREREQ ([0;32m3[0m, [0;32m4[0m) || __glibc_has_attribute (__nothrow__))[0m
| [0;1;32m ^
[0m[1m/usr/include/x86_64-linux-gnu/sys/cdefs.h:84:31: [0m[0;1;31merror: [0m[1mfunction-like macro '__GNUC_PREREQ' is not defined[0m
84 | # [0;34mif[0m defined __cplusplus && (__GNUC_PREREQ ([0;32m2[0m,[0;32m8[0m) || __clang_major__ >= [0;32m4[0m)[0m
| [0;1;32m ^
[0m[1m/usr/include/x86_64-linux-gnu/sys/cdefs.h:101:6: [0m[0;1;31merror: [0m[1mfunction-like macro '__GNUC_PREREQ' is not defined[0m
101 | # [0;34mif[0m __GNUC_PREREQ ([0;32m4[0m, [0;32m3[0m) || __glibc_has_attribute (__cold__)[0m
| [0;1;32m ^
[0m[1m/usr/include/x86_64-linux-gnu/sys/cdefs.h:153:34: [0m[0;1;31merror: [0m[1mfunction-like macro '__glibc_clang_prereq' is not defined[0m
153 | #[0;34mif[0m __USE_FORTIFY_LEVEL == [0;32m3[0m && (__glibc_clang_prereq ([0;32m9[0m, [0;32m0[0m) \[0m
| [0;1;32m ^
[0m[1m/usr/include/x86_64-linux-gnu/sys/cdefs.h:211:5: [0m[0;1;31merror: [0m[1mfunction-like macro '__GNUC_PREREQ' is not defined[0m
211 | #[0;34mif[0m __GNUC_PREREQ ([0;32m4[0m,[0;32m3[0m)[0m
| [0;1;32m ^
[0m[1m/usr/include/x86_64-linux-gnu/sys/cdefs.h:297:5: [0m[0;1;31merror: [0m[1mfunction-like macro '__GNUC_PREREQ' is not defined[0m
297 | #[0;34mif[0m __GNUC_PREREQ ([0;32m2[0m,[0;32m96[0m) || __glibc_has_attribute (__malloc__)[0m
| [0;1;32m ^
[0m[1m/usr/include/x86_64-linux-gnu/sys/cdefs.h:305:5: [0m[0;1;31merror: [0m[1mfunction-like macro '__GNUC_PREREQ' is not defined[0m
305 | #[0;34mif[0m __GNUC_PREREQ ([0;32m4[0m, [0;32m3[0m)[0m
| [0;1;32m ^
[0m[1m/usr/include/x86_64-linux-gnu/sys/cdefs.h:314:5: [0m[0;1;31merror: [0m[1mfunction-like macro '__GNUC_PREREQ' is not defined[0m
314 | #[0;34mif[0m __GNUC_PREREQ ([0;32m4[0m, [0;32m9[0m) || __glibc_has_attribute (__alloc_align__)[0m
| [0;1;32m ^
[0m[1m/usr/include/x86_64-linux-gnu/sys/cdefs.h:324:5: [0m[0;1;31merror: [0m[1mfunction-like macro '__GNUC_PREREQ' is not defined[0m
324 | #[0;34mif[0m __GNUC_PREREQ ([0;32m2[0m,[0;32m96[0m) || __glibc_has_attribute (__pure__)[0m
| [0;1;32m ^
[0m[1m/usr/include/x86_64-linux-gnu/sys/cdefs.h:331:5: [0m[0;1;31merror: [0m[1mfunction-like macro '__GNUC_PREREQ' is not defined[0m
331 | #[0;34mif[0m __GNUC_PREREQ ([0;32m2[0m,[0;32m5[0m) || __glibc_has_attribute ([0;34m__const__[0m)[0m
| [0;1;32m ^
[0m[1m/usr/include/x86_64-linux-gnu/sys/cdefs.h:337:5: [0m[0;1;31merror: [0m[1mfunction-like macro '__GNUC_PREREQ' is not defined[0m
337 | #[0;34mif[0m __GNUC_PREREQ ([0;32m2[0m,[0;32m7[0m) || __glibc_has_attribute (__unused__)[0m
| [0;1;32m ^
[0m[1m/usr/include/x86_64-linux-gnu/sys/cdefs.h:346:5: [0m[0;1;31merror: [0m[1mfunction-like macro '__GNUC_PREREQ' is not defined[0m
346 | #[0;34mif[0m __GNUC_PREREQ ([0;32m3[0m,[0;32m1[0m) || __glibc_has_attribute (__used__)[0m
| [0;1;32m ^
[0m[1m/usr/include/x86_64-linux-gnu/sys/cdefs.h:355:5: [0m[0;1;31merror: [0m[1mfunction-like macro '__GNUC_PREREQ' is not defined[0m
355 | #[0;34mif[0m __GNUC_PREREQ ([0;32m3[0m,[0;32m2[0m) || __glibc_has_attribute (__deprecated__)[0m
| [0;1;32m ^
[0m[1m/usr/include/x86_64-linux-gnu/sys/cdefs.h:364:5: [0m[0;1;31merror: [0m[1mfunction-like macro '__GNUC_PREREQ' is not defined[0m
364 | #[0;34mif[0m __GNUC_PREREQ ([0;32m4[0m,[0;32m5[0m) \[0m
| [0;1;32m ^
[0m[1m/usr/include/x86_64-linux-gnu/sys/cdefs.h:378:5: [0m[0;1;31merror: [0m[1mfunction-like macro '__GNUC_PREREQ' is not defined[0m
378 | #[0;34mif[0m __GNUC_PREREQ ([0;32m2[0m,[0;32m8[0m) || __glibc_has_attribute (__format_arg__)[0m
| [0;1;32m ^
[0m[1m/usr/include/x86_64-linux-gnu/sys/cdefs.h:388:5: [0m[0;1;31merror: [0m[1mfunction-like macro '__GNUC_PREREQ' is not defined[0m
388 | #[0;34mif[0m __GNUC_PREREQ ([0;32m2[0m,[0;32m97[0m) || __glibc_has_attribute (__format__)[0m
| [0;1;32m ^
[0m[1m/usr/include/x86_64-linux-gnu/sys/cdefs.h:400:6: [0m[0;1;31merror: [0m[1mfunction-like macro '__GNUC_PREREQ' is not defined[0m
400 | # [0;34mif[0m __GNUC_PREREQ ([0;32m3[0m,[0;32m3[0m) || __glibc_has_attribute (__nonnull__)[0m
| [0;1;32m ^
[0m[1m/usr/include/x86_64-linux-gnu/sys/cdefs.h:413:6: [0m[0;1;31merror: [0m[1mfunction-like macro '__GNUC_PREREQ' is not defined[0m
413 | # [0;34mif[0m __GNUC_PREREQ ([0;32m4[0m, [0;32m9[0m) || __glibc_has_attribute (__returns_nonnull__)[0m
| [0;1;32m ^
[0m[0;1;31mfatal error: [0m[1mtoo many errors emitted, stopping now [-ferror-limit=][0m
20 errors generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-corelibs-foundation.build/Debug-android-aarch64/_CFURLSessionInterface-t.build/Objects-normal/aarch64/CFURLSessionInterface.o /host/spi-builder-workspace/Sources/_CFURLSessionInterface/CFURLSessionInterface.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-corelibs-foundation.build/Debug-android-aarch64/_CFURLSessionInterface-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 -Wno-shorten-64-to-32 -Wno-deprecated-declarations -Wno-unreachable-code -Wno-conditional-uninitialized -Wno-unused-variable -Wno-unused-function -Wno-microsoft-enum-forward-reference -Wno-int-conversion @/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-corelibs-foundation.build/Debug-android-aarch64/_CFURLSessionInterface-t.build/Objects-normal/aarch64/9f65232cb83f8421e3a495a5062eba382369c975104ee97bafc405ab795bfc5e-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-corelibs-foundation.build/Debug-android-aarch64/_CFURLSessionInterface-t.build/Objects-normal/aarch64/CFURLSessionInterface.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-corelibs-foundation.build/Debug-android-aarch64/_CFURLSessionInterface-t.build/Objects-normal/aarch64/CFURLSessionInterface.dia -c /host/spi-builder-workspace/Sources/_CFURLSessionInterface/CFURLSessionInterface.c -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-corelibs-foundation.build/Debug-android-aarch64/_CFURLSessionInterface-t.build/Objects-normal/aarch64/CFURLSessionInterface.o
error: Build failed
BUILD FAILURE 6.4 android