Build Information
Failed to build TelegramBotAPI, reference main (aaca2e), with Swift 6.2 for Android on 1 Mar 2026 01:53:23 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/atacan/TelegramBotAPI.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/atacan/TelegramBotAPI
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at aaca2e4 Add MIT License to the project
Cloned https://github.com/atacan/TelegramBotAPI.git
Revision (git rev-parse @):
aaca2e49476e03deb95269d26753800f09941798
SUCCESS checkout https://github.com/atacan/TelegramBotAPI.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/atacan/TelegramBotAPI.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:0e5e7915595da63d8208b049b9b111c031f8df8a6b9b79e3bba6f3737b8b2f25
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/atacan/SwiftLogExport
[1/67] Fetching swiftlogexport
Fetched https://github.com/atacan/SwiftLogExport from cache (0.31s)
Fetching https://github.com/apple/swift-openapi-runtime
Fetching https://github.com/swift-server/swift-openapi-async-http-client
Fetching https://github.com/apple/swift-openapi-generator
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-log.git
[1/2649] Fetching swift-service-lifecycle
[1564/22904] Fetching swift-service-lifecycle, swift-collections
[1767/29161] Fetching swift-service-lifecycle, swift-collections, swift-openapi-runtime
[7039/35251] Fetching swift-service-lifecycle, swift-collections, swift-openapi-runtime, swift-log
[9345/52087] Fetching swift-service-lifecycle, swift-collections, swift-openapi-runtime, swift-log, swift-openapi-generator
[11916/52701] Fetching swift-service-lifecycle, swift-collections, swift-openapi-runtime, swift-log, swift-openapi-generator, swift-openapi-async-http-client
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.72s)
[11962/50052] Fetching swift-collections, swift-openapi-runtime, swift-log, swift-openapi-generator, swift-openapi-async-http-client
Fetching https://github.com/apple/swift-async-algorithms.git
[27447/56194] Fetching swift-collections, swift-openapi-runtime, swift-log, swift-openapi-generator, swift-openapi-async-http-client, swift-async-algorithms
Fetched https://github.com/apple/swift-log.git from cache (1.23s)
[21682/50104] Fetching swift-collections, swift-openapi-runtime, swift-openapi-generator, swift-openapi-async-http-client, swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.96s)
[35050/43962] Fetching swift-collections, swift-openapi-runtime, swift-openapi-generator, swift-openapi-async-http-client
Fetched https://github.com/swift-server/swift-openapi-async-http-client from cache (2.89s)
Fetched https://github.com/apple/swift-openapi-runtime from cache (2.89s)
Fetched https://github.com/apple/swift-openapi-generator from cache (2.91s)
Fetched https://github.com/apple/swift-collections.git from cache (2.94s)
Computing version for https://github.com/swift-server/swift-openapi-async-http-client
Computed https://github.com/swift-server/swift-openapi-async-http-client at 1.3.0 (5.95s)
Fetching https://github.com/apple/swift-nio
Fetching https://github.com/apple/swift-http-types
[1/951] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types from cache (0.45s)
[1/82546] Fetching swift-nio
Fetching https://github.com/swift-server/async-http-client.git
Fetched https://github.com/apple/swift-nio from cache (9.24s)
[1/15328] Fetching async-http-client
Fetched https://github.com/swift-server/async-http-client.git from cache (1.23s)
Computing version for https://github.com/apple/swift-openapi-runtime
Computed https://github.com/apple/swift-openapi-runtime at 1.10.1 (10.66s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.2 (0.74s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (0.91s)
Computing version for https://github.com/apple/swift-openapi-generator
Computed https://github.com/apple/swift-openapi-generator at 1.10.4 (2.96s)
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-algorithms
Fetching https://github.com/jpsim/Yams
[1/6058] Fetching swift-algorithms
[1455/23230] Fetching swift-algorithms, swift-argument-parser
[1880/34733] Fetching swift-algorithms, swift-argument-parser, yams
Fetched https://github.com/apple/swift-algorithms from cache (0.73s)
[22004/28675] Fetching swift-argument-parser, yams
Fetching https://github.com/mattpolzin/OpenAPIKit
Fetched https://github.com/apple/swift-argument-parser from cache (1.07s)
[8168/11503] Fetching yams
[11504/134612] Fetching yams, openapikit
Fetched https://github.com/jpsim/Yams from cache (1.85s)
[1232/123109] Fetching openapikit
Fetched https://github.com/mattpolzin/OpenAPIKit from cache (8.52s)
Computing version for https://github.com/mattpolzin/OpenAPIKit
Computed https://github.com/mattpolzin/OpenAPIKit at 3.9.0 (13.05s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.1 (3.52s)
Fetching https://github.com/apple/swift-numerics.git
[1/6416] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (2.13s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (4.85s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.0 (0.37s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.5.1 (0.47s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.10.1 (0.35s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.10.1 (0.45s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.32.0 (1.35s)
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-service-context.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-configuration.git
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/1180] Fetching swift-service-context
[485/4124] Fetching swift-service-context, swift-configuration
[1859/9789] Fetching swift-service-context, swift-configuration, swift-distributed-tracing
[2555/12604] Fetching swift-service-context, swift-configuration, swift-distributed-tracing, swift-nio-transport-services
[7344/19089] Fetching swift-service-context, swift-configuration, swift-distributed-tracing, swift-nio-transport-services, swift-nio-extras
[19026/34431] Fetching swift-service-context, swift-configuration, swift-distributed-tracing, swift-nio-transport-services, swift-nio-extras, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.47s)
[17655/31616] Fetching swift-service-context, swift-configuration, swift-distributed-tracing, swift-nio-extras, swift-nio-ssl
Fetching https://github.com/apple/swift-atomics.git
Fetched https://github.com/apple/swift-configuration.git from cache (0.62s)
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.62s)
[9967/23007] Fetching swift-service-context, swift-nio-extras, swift-nio-ssl
Fetching https://github.com/apple/swift-nio-http2.git
[10735/24827] Fetching swift-service-context, swift-nio-extras, swift-nio-ssl, swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.46s)
[15797/23007] Fetching swift-service-context, swift-nio-extras, swift-nio-ssl
[17179/35005] Fetching swift-service-context, swift-nio-extras, swift-nio-ssl, swift-nio-http2
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.32s)
Fetched https://github.com/apple/swift-service-context.git from cache (1.98s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (1.98s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.01s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.4.0 (2.45s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.3.0 (0.42s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.1.0 (0.59s)
Fetching https://github.com/apple/swift-system
[1/5583] Fetching swift-system
Fetched https://github.com/apple/swift-system from cache (0.43s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.78s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.26.0 (0.36s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.40.0 (0.38s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.4 (2.95s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.36.0 (0.44s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.32.1 (0.92s)
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-asn1.git
[1/1210] Fetching swift-http-structured-headers
[861/2970] Fetching swift-http-structured-headers, swift-asn1
[1986/10079] Fetching swift-http-structured-headers, swift-asn1, swift-certificates
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.33s)
[5813/8869] Fetching swift-asn1, swift-certificates
Fetched https://github.com/apple/swift-asn1.git from cache (0.39s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.51s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.95.0 (8.97s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.1 (0.46s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.18.0 (0.94s)
Fetching https://github.com/apple/swift-crypto.git
[1/17238] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.27s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.6.0 (2.66s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.2.0 (1.15s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 6.2.1 (0.41s)
Creating working copy for https://github.com/apple/swift-openapi-runtime
Working copy of https://github.com/apple/swift-openapi-runtime resolved at 1.10.1
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.2.0
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.36.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-configuration.git
Working copy of https://github.com/apple/swift-configuration.git resolved at 1.1.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.3.0
Creating working copy for https://github.com/apple/swift-algorithms
Working copy of https://github.com/apple/swift-algorithms resolved at 1.2.1
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.0
Creating working copy for https://github.com/apple/swift-openapi-generator
Working copy of https://github.com/apple/swift-openapi-generator resolved at 1.10.4
Creating working copy for https://github.com/mattpolzin/OpenAPIKit
Working copy of https://github.com/mattpolzin/OpenAPIKit resolved at 3.9.0
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.40.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.1.2
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.18.0
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.4.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.7.0
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 6.2.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.32.0
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-http-types
Working copy of https://github.com/apple/swift-http-types resolved at 1.5.1
Creating working copy for https://github.com/swift-server/swift-openapi-async-http-client
Working copy of https://github.com/swift-server/swift-openapi-async-http-client resolved at 1.3.0
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.6.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.10.1
Creating working copy for https://github.com/apple/swift-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.95.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.26.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.5.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.32.1
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.10.1
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.4
Creating working copy for https://github.com/atacan/SwiftLogExport
Working copy of https://github.com/atacan/SwiftLogExport resolved at main (c661684)
[1/1] Compiling plugin OpenAPIGeneratorCommand
[2/2] Compiling plugin OpenAPIGenerator
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin GenerateDoccReference
Building for debugging...
[4/466] Write sources
[41/466] Compiling CNIOOpenBSD shim.c
[42/466] Compiling CNIOWindows WSAStartup.c
[43/466] Compiling CNIODarwin shim.c
[43/466] Compiling CNIOLinux liburing_shims.c
[45/466] Write sources
[48/466] Compiling CNIOWASI CNIOWASI.c
[48/466] Compiling CAsyncHTTPClient CAsyncHTTPClient.c
[50/466] Compiling CNIOWindows shim.c
[51/466] Compiling CNIOPosix event_loop_id.c
[51/466] Compiling _AtomicsShims.c
[53/466] Compiling _NumericsShims _NumericsShims.c
[54/466] Write swift-version--3EE9C60077A20DAF.txt
[55/466] Compiling CSystem shims.c
[56/466] Compiling CNIOExtrasZlib empty.c
[57/466] Compiling CNIOLLHTTP c_nio_http.c
[57/466] Compiling CNIOLinux shim.c
[59/466] Compiling fiat_p256_adx_sqr.S
[60/473] Compiling CNIOLLHTTP c_nio_api.c
[62/475] Compiling _NIODataStructures _TinyArray.swift
<unknown>:0: error: module compiled with Swift 6.2 cannot be imported by the Swift 6.2.3 compiler: /root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64/android/Swift.swiftmodule/aarch64-unknown-linux-android.swiftmodule
[63/485] Compiling _NIODataStructures PriorityQueue.swift
<unknown>:0: error: module compiled with Swift 6.2 cannot be imported by the Swift 6.2.3 compiler: /root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64/android/Swift.swiftmodule/aarch64-unknown-linux-android.swiftmodule
[64/486] Compiling RealModule RealFunctions.swift
<unknown>:0: error: module compiled with Swift 6.2 cannot be imported by the Swift 6.2.3 compiler: /root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64/android/Swift.swiftmodule/aarch64-unknown-linux-android.swiftmodule
[65/486] Compiling ServiceContextModule ServiceContext.swift
<unknown>:0: error: module compiled with Swift 6.2 cannot be imported by the Swift 6.2.3 compiler: /root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64/android/Swift.swiftmodule/aarch64-unknown-linux-android.swiftmodule
[66/486] Compiling ServiceContextModule ServiceContextKey.swift
<unknown>:0: error: module compiled with Swift 6.2 cannot be imported by the Swift 6.2.3 compiler: /root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64/android/Swift.swiftmodule/aarch64-unknown-linux-android.swiftmodule
error: emit-module command failed with exit code 1 (use -v to see invocation)
[67/487] Emitting module _NIODataStructures
<unknown>:0: error: module compiled with Swift 6.2 cannot be imported by the Swift 6.2.3 compiler: /root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64/android/Swift.swiftmodule/aarch64-unknown-linux-android.swiftmodule
[68/487] Compiling _NIODataStructures Heap.swift
<unknown>:0: error: module compiled with Swift 6.2 cannot be imported by the Swift 6.2.3 compiler: /root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64/android/Swift.swiftmodule/aarch64-unknown-linux-android.swiftmodule
[69/487] Compiling RealModule Real.swift
<unknown>:0: error: module compiled with Swift 6.2 cannot be imported by the Swift 6.2.3 compiler: /root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64/android/Swift.swiftmodule/aarch64-unknown-linux-android.swiftmodule
[70/487] Compiling _NIOBase64 Base64.swift
<unknown>:0: error: module compiled with Swift 6.2 cannot be imported by the Swift 6.2.3 compiler: /root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64/android/Swift.swiftmodule/aarch64-unknown-linux-android.swiftmodule
error: emit-module command failed with exit code 1 (use -v to see invocation)
[71/487] Emitting module _NIOBase64
<unknown>:0: error: module compiled with Swift 6.2 cannot be imported by the Swift 6.2.3 compiler: /root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64/android/Swift.swiftmodule/aarch64-unknown-linux-android.swiftmodule
error: emit-module command failed with exit code 1 (use -v to see invocation)
[72/507] Emitting module ServiceContextModule
<unknown>:0: error: module compiled with Swift 6.2 cannot be imported by the Swift 6.2.3 compiler: /root/.swiftpm/swift-sdks/swift-6.2-RELEASE-android-0.1.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64/android/Swift.swiftmodule/aarch64-unknown-linux-android.swiftmodule
[72/510] Compiling CNIOLLHTTP c_nio_llhttp.c
[72/510] Compiling CNIOBoringSSLShims shims.c
BUILD FAILURE 6.2 android