The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftTelegramBot, reference master (86c911), with Swift 6.4 for Android on 21 Nov 2026 10:37:20 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.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nerzh/swift-telegram-bot.git
Reference: master
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/nerzh/swift-telegram-bot
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 86c9111 cleaning
Cloned https://github.com/nerzh/swift-telegram-bot.git
Revision (git rev-parse @):
86c9111fd7e5327e140bc476dc4bedcfc1a562a9
SUCCESS checkout https://github.com/nerzh/swift-telegram-bot.git at master
========================================
Build
========================================
Selected platform:         android
Swift version:             6.4
Building package at path:  $PWD
https://github.com/nerzh/swift-telegram-bot.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:8c75a76a95057fd39be8bfba32b7cf15b3a8a4b3b65299863763333672fd9e67
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Fetching https://github.com/nerzh/swift-custom-logger
Fetching https://github.com/nerzh/swift-extensions-pack.git
Fetching https://github.com/nerzh/swift-regular-expression
[1/61] Fetching swift-regular-expression
[62/1566] Fetching swift-regular-expression, swift-extensions-pack
[123/1603] Fetching swift-regular-expression, swift-extensions-pack, swift-custom-logger
Fetched https://github.com/nerzh/swift-custom-logger (0.33s)
[1190/1566] Fetching swift-regular-expression, swift-extensions-pack
Fetched https://github.com/nerzh/swift-regular-expression (0.36s)
Fetched https://github.com/nerzh/swift-extensions-pack.git (0.36s)
Computing version for https://github.com/nerzh/swift-regular-expression
Computed https://github.com/nerzh/swift-regular-expression at 0.2.4 (1.23s)
Computing version for https://github.com/nerzh/swift-extensions-pack.git
Computed https://github.com/nerzh/swift-extensions-pack.git at 2.15.0 (0.14s)
Fetching https://github.com/bytehubio/ed25519
Fetching https://github.com/apple/swift-crypto
[1/204] Fetching ed25519
[205/19191] Fetching ed25519, swift-crypto
Fetched https://github.com/bytehubio/ed25519 (1.22s)
Fetched https://github.com/apple/swift-crypto (1.23s)
Computing version for https://github.com/bytehubio/ed25519
Computed https://github.com/bytehubio/ed25519 at 1.1.0 (1.37s)
Computing version for https://github.com/nerzh/swift-custom-logger
Computed https://github.com/nerzh/swift-custom-logger at 1.1.1 (0.12s)
Fetching https://github.com/apple/swift-log
[1/8544] Fetching swift-log
Fetched https://github.com/apple/swift-log (0.46s)
Computing version for https://github.com/apple/swift-crypto
Computed https://github.com/apple/swift-crypto at 5.1.2 (1.38s)
Fetching https://github.com/apple/swift-asn1.git
[1/2082] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.39s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.4 (0.56s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.17.2 (0.14s)
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.17.2
Creating working copy for https://github.com/nerzh/swift-regular-expression
Working copy of https://github.com/nerzh/swift-regular-expression resolved at 0.2.4
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.4
Creating working copy for https://github.com/bytehubio/ed25519
Working copy of https://github.com/bytehubio/ed25519 resolved at 1.1.0
Creating working copy for https://github.com/apple/swift-crypto
Working copy of https://github.com/apple/swift-crypto resolved at 5.1.2
Creating working copy for https://github.com/nerzh/swift-custom-logger
Working copy of https://github.com/nerzh/swift-custom-logger resolved at 1.1.1
Creating working copy for https://github.com/nerzh/swift-extensions-pack.git
Working copy of https://github.com/nerzh/swift-extensions-pack.git resolved at 2.15.0
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 485]
[Planning deferred tasks]
[Starting]
[85 / 545]
[105 / 585] SwiftASN1
[106 / 585] Logging
[118 / 585] SwiftASN1
[118 / 585] Ed25519
[127 / 585] CryptoBoringWrapper
[134 / 585] SwiftASN1
[136 / 585] Logging
[140 / 585] SwiftASN1
[145 / 585] SwiftASN1
[148 / 585] SwiftCustomLogger
[150 / 585] Ed25519-product
[156 / 586] CryptoBoringWrapper
[158 / 586] CryptoBoringWrapper
[164 / 588] SwiftRegularExpression
[175 / 588] CEd25519
[184 / 588] CCryptoBoringSSL
[186 / 590] CCryptoBoringSSL
[192 / 590] CCryptoBoringSSL
[199 / 590] CCryptoBoringSSL
[200 / 590] CCryptoBoringSSL
[201 / 590] CCryptoBoringSSL
[204 / 590] CCryptoBoringSSL
[207 / 590] CCryptoBoringSSL
[208 / 590] CCryptoBoringSSL
[213 / 590] CCryptoBoringSSL
[215 / 590] CCryptoBoringSSL
[217 / 590] CCryptoBoringSSL
[229 / 590] CCryptoBoringSSL
[233 / 590] CCryptoBoringSSL
[237 / 590] CCryptoBoringSSL
[240 / 590] CCryptoBoringSSL
[241 / 590] CCryptoBoringSSL
[244 / 590] CCryptoBoringSSL
[249 / 590] CCryptoBoringSSL
[250 / 590] CCryptoBoringSSL
[253 / 590] CCryptoBoringSSL
[257 / 590] CCryptoBoringSSL
[258 / 590] CCryptoBoringSSL
[260 / 590] CCryptoBoringSSL
[265 / 590] CCryptoBoringSSL
[266 / 590] CCryptoBoringSSL
[270 / 590] CCryptoBoringSSL
[271 / 590] CCryptoBoringSSL
[272 / 590] CCryptoBoringSSL
[276 / 590] CCryptoBoringSSL
[284 / 590] CCryptoBoringSSL
[295 / 590] CCryptoBoringSSL
[309 / 590] CCryptoBoringSSL
[310 / 590] CCryptoBoringSSL
[312 / 590] CCryptoBoringSSL
[318 / 590] CCryptoBoringSSL
[320 / 590] CCryptoBoringSSL
[324 / 590] CCryptoBoringSSL
[328 / 590] CCryptoBoringSSL
[329 / 590] CCryptoBoringSSL
[332 / 590] CCryptoBoringSSL
[334 / 590] CCryptoBoringSSL
[337 / 590] CCryptoBoringSSL
[341 / 590] CCryptoBoringSSL
[342 / 590] CCryptoBoringSSL
[346 / 590] CCryptoBoringSSL
[347 / 590] CCryptoBoringSSL
[349 / 590] CCryptoBoringSSL
[351 / 590] CCryptoBoringSSL
[353 / 590] CCryptoBoringSSL
[356 / 590] CCryptoBoringSSL
[360 / 590] CCryptoBoringSSL
[368 / 590] CCryptoBoringSSL
[372 / 590] CCryptoBoringSSL
[376 / 590] CCryptoBoringSSL
[380 / 590] CCryptoBoringSSL
[383 / 590] CCryptoBoringSSL
[384 / 590] CCryptoBoringSSL
[390 / 590] CCryptoBoringSSL
[403 / 590] CCryptoBoringSSL
[407 / 590] CCryptoBoringSSL
[410 / 590] CCryptoBoringSSL
[414 / 590] CCryptoBoringSSL
[419 / 590] CCryptoBoringSSL
[421 / 590] CCryptoBoringSSL
[425 / 590] CCryptoBoringSSL
[428 / 590] CCryptoBoringSSL
[433 / 590] CCryptoBoringSSL
[434 / 590] CCryptoBoringSSL
[439 / 590] CCryptoBoringSSL
[440 / 590] CCryptoBoringSSL
[442 / 590] CCryptoBoringSSL
[446 / 590] CCryptoBoringSSL
[450 / 590] CCryptoBoringSSL
[452 / 590] CCryptoBoringSSL
[455 / 590] CCryptoBoringSSL
[458 / 590] CCryptoBoringSSL
[463 / 590] CCryptoBoringSSL
[470 / 590] CCryptoBoringSSL
[478 / 590] CCryptoBoringSSL
[481 / 590] CCryptoBoringSSL
[486 / 590] CCryptoBoringSSL
[491 / 590] CCryptoBoringSSL
[495 / 590] CCryptoBoringSSL
[497 / 590] CCryptoBoringSSL
[500 / 590] CCryptoBoringSSL
[504 / 590] CCryptoBoringSSL
[514 / 590] CCryptoBoringSSL
[526 / 590] CCryptoBoringSSL
[529 / 590] CCryptoBoringSSL
[530 / 590] CCryptoBoringSSL
[532 / 590] CCryptoBoringSSL
[534 / 590] CCryptoBoringSSL
[537 / 590] CCryptoBoringSSL
[539 / 590] CCryptoBoringSSL
[544 / 590] SwiftASN1
[553 / 592] CXKCPShims
[557 / 606] Crypto
error: SwiftCompile normal aarch64 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/.build/checkouts/swift-custom-logger/Sources/SwiftCustomLogger/Printer.swift:51:43: error: cannot find type 'FILE' in scope
49 | private struct OutputStream: TextOutputStream {
50 |
51 |     public let file: UnsafeMutablePointer<FILE>
   |                                           `- error: cannot find type 'FILE' in scope
52 |
53 |     public func write(_ string: String) {
/host/spi-builder-workspace/.build/checkouts/swift-custom-logger/Sources/SwiftCustomLogger/Printer.swift:66:58: error: cannot force unwrap value of non-optional type 'OpaquePointer'
64 |
65 |     #elseif canImport(Android)
66 |     static let stderr = OutputStream(file: Android.stderr!)
   |                                                          `- error: cannot force unwrap value of non-optional type 'OpaquePointer'
67 |     static let stdout = OutputStream(file: Android.stdout!)
68 |
/host/spi-builder-workspace/.build/checkouts/swift-custom-logger/Sources/SwiftCustomLogger/Printer.swift:67:58: error: cannot force unwrap value of non-optional type 'OpaquePointer'
65 |     #elseif canImport(Android)
66 |     static let stderr = OutputStream(file: Android.stderr!)
67 |     static let stdout = OutputStream(file: Android.stdout!)
   |                                                          `- error: cannot force unwrap value of non-optional type 'OpaquePointer'
68 |
69 |     #elseif canImport(WASILibc)
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.0/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/.build/checkouts/swift-custom-logger/Sources/SwiftCustomLogger/BasicFormatter.swift /host/spi-builder-workspace/.build/checkouts/swift-custom-logger/Sources/SwiftCustomLogger/CustomHandler.swift /host/spi-builder-workspace/.build/checkouts/swift-custom-logger/Sources/SwiftCustomLogger/LogFormatter.swift /host/spi-builder-workspace/.build/checkouts/swift-custom-logger/Sources/SwiftCustomLogger/Printer.swift -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 -suppress-warnings -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -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/SwiftCustomLogger.build/Debug-android-aarch64/SwiftCustomLogger-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCustomLogger.build/Debug-android-aarch64/SwiftCustomLogger-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCustomLogger.build/Debug-android-aarch64/SwiftCustomLogger-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SwiftCustomLogger -package-name swift_custom_logger -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCustomLogger.build/Debug-android-aarch64/SwiftCustomLogger-t.build/Objects-normal/aarch64/SwiftCustomLogger_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 -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCustomLogger.build/Debug-android-aarch64/SwiftCustomLogger-t.build/Objects-normal/aarch64/Modules/SwiftCustomLogger.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCustomLogger.build/Debug-android-aarch64/SwiftCustomLogger-t.build/Objects-normal/aarch64/Modules/SwiftCustomLogger.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCustomLogger.build/Debug-android-aarch64/SwiftCustomLogger-t.build/Objects-normal/aarch64/SwiftCustomLogger-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCustomLogger.build/Debug-android-aarch64/SwiftCustomLogger-t.build/Objects-normal/aarch64/SwiftCustomLogger-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCustomLogger.build/Debug-android-aarch64/SwiftCustomLogger-t.build/Objects-normal/aarch64/SwiftCustomLogger-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCustomLogger.build/Debug-android-aarch64/SwiftCustomLogger-t.build/Objects-normal/aarch64/Modules/SwiftCustomLogger.swiftmodule
error: Build failed
BUILD FAILURE 6.4 android