Build Information
Failed to build swift-tui, reference 0.16.0 (9ef8fe), with Swift 6.4 for Android on 10 Oct 2026 12:29:02 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886768-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.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SwiftTUI/swift-tui.git
Reference: 0.16.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/SwiftTUI/swift-tui
* tag 0.16.0 -> FETCH_HEAD
HEAD is now at 9ef8fee STUI-908 Run the full collection transport journey in the core lane
Cloned https://github.com/SwiftTUI/swift-tui.git
Revision (git rev-parse @):
9ef8feec9fee6fc199767a52aa1c913976bdb2c9
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/SwiftTUI/swift-tui.git at 0.16.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.4
Building package at path: $PWD
https://github.com/SwiftTUI/swift-tui.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-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:34a00a57f57797b403a98b861c3ce940f20735b4cb78ef45654f0d4f3b0c0295
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/swiftlang/swift-docc-plugin.git
Fetching https://github.com/apple/swift-collections.git
[1/2345] Fetching swift-docc-plugin
[1174/9164] Fetching swift-docc-plugin, swift-async-algorithms
[5892/28260] Fetching swift-docc-plugin, swift-async-algorithms, swift-argument-parser
Fetched https://github.com/swiftlang/swift-docc-plugin.git (0.51s)
[4025/25915] Fetching swift-async-algorithms, swift-argument-parser
[10640/54610] Fetching swift-async-algorithms, swift-argument-parser, swift-collections
Fetched https://github.com/apple/swift-async-algorithms.git (0.59s)
[4394/47791] Fetching swift-argument-parser, swift-collections
Fetched https://github.com/apple/swift-argument-parser.git (0.81s)
[4018/28695] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.67s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.8.2 (1.82s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.4 (0.17s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.2 (0.22s)
Computing version for https://github.com/swiftlang/swift-docc-plugin.git
Computed https://github.com/swiftlang/swift-docc-plugin.git at 1.5.0 (0.87s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3836] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.59s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.79s)
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.2
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/swiftlang/swift-docc-plugin.git
Working copy of https://github.com/swiftlang/swift-docc-plugin.git resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.8.2
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.4
Building for debugging...
[Computing dependencies]
[Provisioning 1 / 65]
[Pre-planning 1 / 1754]
[Planning 1599 / 1754]
[Planning deferred tasks]
[Writing build description]
[206 / 572] OrderedCollections
[299 / 618] InternalCollectionsUtilities
[311 / 618] InternalCollectionsUtilities
[323 / 618] SwiftTUIVendorPNG
[335 / 618] SwiftTUIVendorPNG
[338 / 618] SwiftTUIVendorJPEG
[343 / 618] SwiftTUIVendorJPEG
[348 / 619] SwiftTUIVendorGIF
[351 / 619] SwiftTUIVendorGIF
[352 / 619] SwiftTUIVendorFiglet
[356 / 619] InternalCollectionsUtilities
error: SwiftCompile normal aarch64 /host/spi-builder-workspace/Sources/SwiftTUIPlatformIO/PlatformPOSIX.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile PlatformPOSIX.swift
/host/spi-builder-workspace/Sources/SwiftTUIPlatformIO/PlatformPOSIX.swift:110:46: [1;31merror: [1;39mvalue of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'[0;0m
[0;36m108 |[0;0m ) -> Int {
[0;36m109 |[0;0m #if canImport(Darwin) || canImport(Glibc) || canImport(Android)
[0;36m110 |[0;0m let sent = unsafe send(fileDescriptor, buffer, count, Int32(MSG_NOSIGNAL))
[0;36m|[0;0m |- [1;31merror: [1;39mvalue of optional type 'UnsafeRawPointer?' must be unwrapped to a value of type 'UnsafeRawPointer'[0;0m
[0;36m|[0;0m |- [1;39mnote: [1;39mcoalesce using '??' to provide a default when the optional value contains 'nil'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39mforce-unwrap using '!' to abort execution if the optional value contains 'nil'[0;0m
[0;36m111 |[0;0m if sent >= 0 || errno != ENOTSOCK {
[0;36m112 |[0;0m return sent
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.0/usr/bin/swift-frontend -frontend -c -primary-file /host/spi-builder-workspace/Sources/SwiftTUIPlatformIO/PlatformPOSIX.swift /host/spi-builder-workspace/Sources/SwiftTUIPlatformIO/PlatformWindows.swift /host/spi-builder-workspace/Sources/SwiftTUIPlatformIO/TerminalSignal.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-tui.build/Debug-android-aarch64/SwiftTUIPlatformIO-t.build/Objects-normal/aarch64/PlatformPOSIX.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-tui.build/Debug-android-aarch64/SwiftTUIPlatformIO-t.build/Objects-normal/aarch64/PlatformPOSIX.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-tui.build/Debug-android-aarch64/SwiftTUIPlatformIO-t.build/Objects-normal/aarch64/PlatformPOSIX.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-tui.build/Debug-android-aarch64/SwiftTUIPlatformIO-t.build/Objects-normal/aarch64/PlatformPOSIX.dia -target aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot -sysroot /android-ndk/android-ndk-r30/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 Xcode -serialize-debugging-options -enable-upcoming-feature ExistentialAny -enable-upcoming-feature ImmutableWeakCaptures -enable-upcoming-feature InternalImportsByDefault -enable-upcoming-feature MemberImportVisibility -enable-upcoming-feature NonisolatedNonsendingByDefault -enable-experimental-feature DebugDescriptionMacro -strict-memory-safety -default-isolation nonisolated -empty-abi-descriptor -external-plugin-path /root/.local/share/swiftly/toolchains/6.4.0/usr/lib/swift/host/plugins/testing\#/root/.local/share/swiftly/toolchains/6.4.0/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.0-RELEASE_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-r30/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/21 -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/out/Products/Debug-android-aarch64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-tui.build/Debug-android-aarch64/SwiftTUIPlatformIO-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-tui.build/Debug-android-aarch64/SwiftTUIPlatformIO-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-tui.build/Debug-android-aarch64/SwiftTUIPlatformIO-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SwiftTUIPlatformIO -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-tui.build/Debug-android-aarch64/SwiftTUIPlatformIO-t.build/Objects-normal/aarch64/SwiftTUIPlatformIO_const_extract_protocols.json -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.4.0/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.0/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.0/usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-tui.build/Debug-android-aarch64/SwiftTUIPlatformIO-t.build/Objects-normal/aarch64/PlatformPOSIX.o -index-unit-output-path /swift-tui.build/Debug-android-aarch64/SwiftTUIPlatformIO-t.build/Objects-normal/aarch64/PlatformPOSIX.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 android