The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-tls, reference 2.1.0 (cbb2f5), with Swift 6.4 for Android on 27 Sep 2026 23:01:18 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344847-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/1amageek/swift-tls.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/1amageek/swift-tls
 * tag               2.1.0      -> FETCH_HEAD
HEAD is now at cbb2f5b Release swift-tls 2.1.0
Cloned https://github.com/1amageek/swift-tls.git
Revision (git rev-parse @):
cbb2f5b3e3355c51cfea2edc6a8282fed16e790d
SUCCESS checkout https://github.com/1amageek/swift-tls.git at 2.1.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.4
Building package at path:  $PWD
https://github.com/1amageek/swift-tls.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-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/1amageek/swift-networking.git
Fetching https://github.com/1amageek/swift-ssl.git
[1/100] Fetching swift-networking
[101/3539] Fetching swift-networking, swift-ssl
Fetched https://github.com/1amageek/swift-networking.git (0.65s)
Fetched https://github.com/1amageek/swift-ssl.git (0.65s)
Computing version for https://github.com/1amageek/swift-networking.git
Computed https://github.com/1amageek/swift-networking.git at 0.1.0 (0.82s)
Computing version for https://github.com/1amageek/swift-ssl.git
Computed https://github.com/1amageek/swift-ssl.git at 0.4.0 (1.18s)
Creating working copy for https://github.com/1amageek/swift-networking.git
Working copy of https://github.com/1amageek/swift-networking.git resolved at 0.1.0
Creating working copy for https://github.com/1amageek/swift-ssl.git
Working copy of https://github.com/1amageek/swift-ssl.git resolved at 0.4.0
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 721]
[Planning deferred tasks]
[146 / 309] NetworkingCore
[155 / 326] SSLCryptoContracts
[165 / 326] NetworkingCore
[173 / 326] SSLCryptoContracts
[174 / 326] SSLCryptoContracts-product
[178 / 326] SSLCryptoContracts
[187 / 327] NetworkingCore
[192 / 329] NetworkingTime
[205 / 362] TLSWireCore
[209 / 362] TLSTypes
[231 / 362] TLSWireCore
[231 / 362] TLSWire-product
[233 / 363] TLSTypes
[237 / 363] TLSTypes
[238 / 363] TLSTypes
[241 / 363] NetworkingWASI-product
[245 / 364] NetworkingDatagram
[246 / 364] NetworkingWASI
[247 / 364] NetworkingPOSIX
[250 / 364] TLSWireCore
[255 / 367] NetworkingCore
[265 / 382] SSLCore
[274 / 382] SSLCore
[277 / 383] SSLCore
[286 / 385] NetworkingPOSIX
[291 / 394] DTLSWireCore
[303 / 403] DTLSWireCore
[309 / 405] NetworkingPOSIX
[310 / 406] SSLCore
[313 / 406] SSLCore
[319 / 406] DTLSWireCore
[327 / 416] SSLASN1
[329 / 416] SSLASN1
[330 / 416] DTLSWireCore
[333 / 416] DTLSWireCore
[340 / 417] TLSWireCore
[345 / 418]
[348 / 419]
[353 / 436] SSLCrypto
[360 / 436] DTLSHandshakeCore
[363 / 436] SSLCrypto
[364 / 437] SSLCrypto
[366 / 437] SSLCrypto
[367 / 437] SSLCrypto
[374 / 437] SSLX509
[375 / 437] DTLSHandshakeCore
[377 / 437] DTLSHandshakeCore
[378 / 437] DTLSHandshakeCore
[378 / 437] DTLSHandshake-product
[380 / 439] SSLDTLSMechanism
[385 / 458] SSLX509
[386 / 458] SSLX509
[398 / 458] SSLX509
[399 / 458] SSLX509-product
[400 / 458] SSLX509-product
[401 / 458] SSLX509-product
[402 / 458] SSLTLS
[403 / 458] SSLTLS
[405 / 458] SSLDTLSMechanism
[406 / 458] SSLX509
[408 / 458] SSLDTLSMechanism
[409 / 458] SSLDTLSMechanism
[409 / 459] SSLDTLSMechanism
[413 / 459] DTLSHandshakeCore
[418 / 466] SSLDTLSMechanism
[420 / 466] SSLDTLS
[420 / 467] SSLTLS
[422 / 476] SSLDTLSMechanism
[430 / 477] SSLTLS
[432 / 477] SSLTLS
[433 / 478] SSLTLS
[434 / 478] SSLTLS
[435 / 478] SSLTLS
[436 / 478] SSLTLS
[443 / 478]
[447 / 488] SSLQUIC
[448 / 489] SSLQUIC
[449 / 489] SSLQUIC
[452 / 489] SSLQUIC
[456 / 489] SSLQUIC
[457 / 489] SSLQUIC-product
[458 / 489] SSLQUIC-product
[459 / 489] TLS
[462 / 489]
[464 / 492] TLS
[466 / 505] QUICTLS
[468 / 505] TLS
error: SwiftCompile normal aarch64 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/Sources/TLS/TLSPlatformClock.swift:6:34: error: cannot find type 'POSIXWallClock' in scope
4 | #else
5 | import NetworkingPOSIX
6 | typealias TLSPlatformWallClock = POSIXWallClock
  |                                  `- error: cannot find type 'POSIXWallClock' in scope
7 | #endif
8 |
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/TLS/CanonicalTLSSupport.swift /host/spi-builder-workspace/Sources/TLS/Certificate.swift /host/spi-builder-workspace/Sources/TLS/DTLSClient.swift /host/spi-builder-workspace/Sources/TLS/DTLSConfiguration.swift /host/spi-builder-workspace/Sources/TLS/DTLSEngineStrategy.swift /host/spi-builder-workspace/Sources/TLS/DTLSEntropy.swift /host/spi-builder-workspace/Sources/TLS/DTLSErrorMapping.swift /host/spi-builder-workspace/Sources/TLS/DTLSHandshakeCryptoFactory.swift /host/spi-builder-workspace/Sources/TLS/DTLSKeyExchange.swift /host/spi-builder-workspace/Sources/TLS/DTLSOutput.swift /host/spi-builder-workspace/Sources/TLS/DTLSRecordProtectionFactory.swift /host/spi-builder-workspace/Sources/TLS/DTLSRetransmission.swift /host/spi-builder-workspace/Sources/TLS/DTLSSRTPConfiguration.swift /host/spi-builder-workspace/Sources/TLS/DTLSSRTPKeyingMaterial.swift /host/spi-builder-workspace/Sources/TLS/DTLSSRTPProtectionProfile.swift /host/spi-builder-workspace/Sources/TLS/DTLSServer.swift /host/spi-builder-workspace/Sources/TLS/DTLSSignatureOperations.swift /host/spi-builder-workspace/Sources/TLS/FacadeLock.swift /host/spi-builder-workspace/Sources/TLS/PeerIdentity.swift /host/spi-builder-workspace/Sources/TLS/Span+OwnedArray.swift /host/spi-builder-workspace/Sources/TLS/TLSCapabilityRequest.swift /host/spi-builder-workspace/Sources/TLS/TLSCapabilityResponse.swift /host/spi-builder-workspace/Sources/TLS/TLSCapabilityToken.swift /host/spi-builder-workspace/Sources/TLS/TLSCertificateTypes.swift /host/spi-builder-workspace/Sources/TLS/TLSClient.swift /host/spi-builder-workspace/Sources/TLS/TLSConfiguration.swift /host/spi-builder-workspace/Sources/TLS/TLSCredential.swift /host/spi-builder-workspace/Sources/TLS/TLSCredentialSelectionRequest.swift /host/spi-builder-workspace/Sources/TLS/TLSError.swift /host/spi-builder-workspace/Sources/TLS/TLSIdentity.swift /host/spi-builder-workspace/Sources/TLS/TLSIssuedSessionTicket.swift /host/spi-builder-workspace/Sources/TLS/TLSOutput.swift /host/spi-builder-workspace/Sources/TLS/TLSPeerTrustEvaluationRequest.swift /host/spi-builder-workspace/Sources/TLS/TLSPlatformClock.swift /host/spi-builder-workspace/Sources/TLS/TLSRecordDestinationResult.swift /host/spi-builder-workspace/Sources/TLS/TLSRecordSizing.swift /host/spi-builder-workspace/Sources/TLS/TLSResumptionState.swift /host/spi-builder-workspace/Sources/TLS/TLSServer.swift /host/spi-builder-workspace/Sources/TLS/TLSSignatureRequest.swift /host/spi-builder-workspace/Sources/TLS/TLSSignatureScheme.swift /host/spi-builder-workspace/Sources/TLS/TLSStreamClosureState.swift /host/spi-builder-workspace/Sources/TLS/TLSTrustRoots.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 Xcode -serialize-debugging-options -enable-experimental-feature Lifetimes -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 -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-tls.build/Debug-android-aarch64/TLS-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-tls.build/Debug-android-aarch64/TLS-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-tls.build/Debug-android-aarch64/TLS-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name TLS -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-tls.build/Debug-android-aarch64/TLS-t.build/Objects-normal/aarch64/TLS_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-tls.build/Debug-android-aarch64/TLS-t.build/Objects-normal/aarch64/Modules/TLS.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-tls.build/Debug-android-aarch64/TLS-t.build/Objects-normal/aarch64/Modules/TLS.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-tls.build/Debug-android-aarch64/TLS-t.build/Objects-normal/aarch64/TLS-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-tls.build/Debug-android-aarch64/TLS-t.build/Objects-normal/aarch64/TLS-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-tls.build/Debug-android-aarch64/TLS-t.build/Objects-normal/aarch64/TLS-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-tls.build/Debug-android-aarch64/TLS-t.build/Objects-normal/aarch64/Modules/TLS.swiftmodule
error: Build failed
BUILD FAILURE 6.4 android