The Swift Package Index logo.Swift Package Index

Build Information

Failed to build TelegramBotAPI, reference main (aaca2e), with Swift 6.0 for Linux on 1 Mar 2026 01:44:54 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build 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:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/atacan/TelegramBotAPI.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:5920b6fc7f526808de8dcf4e65806a8aca248ef5a9160d25a6b9c7489c0b8a3f
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
error: 'spi-builder-workspace': Invalid manifest (compiled with: ["/usr/bin/swiftc", "-vfsoverlay", "/tmp/TemporaryDirectory.bBU4DU/vfs.yaml", "-L", "/usr/lib/swift/pm/ManifestAPI", "-lPackageDescription", "-Xlinker", "-rpath", "-Xlinker", "/usr/lib/swift/pm/ManifestAPI", "-swift-version", "6", "-I", "/usr/lib/swift/pm/ManifestAPI", "-package-description-version", "6.0.0", "/host/spi-builder-workspace/Package.swift", "-o", "/tmp/TemporaryDirectory.rGx1LZ/spi-builder-workspace-manifest"])
/host/spi-builder-workspace/Package.swift:50:9: error: unexpected ',' separator
48 |             name: "LoggingToTelegramTests",
49 |             dependencies: ["LoggingToTelegram"],
50 |         ),
   |         `- error: unexpected ',' separator
51 |         .executableTarget(
52 |             name: "Prepare",
error: 'spi-builder-workspace': Invalid manifest (compiled with: ["/usr/bin/swiftc", "-vfsoverlay", "/tmp/TemporaryDirectory.wntHvU/vfs.yaml", "-L", "/usr/lib/swift/pm/ManifestAPI", "-lPackageDescription", "-Xlinker", "-rpath", "-Xlinker", "/usr/lib/swift/pm/ManifestAPI", "-swift-version", "6", "-I", "/usr/lib/swift/pm/ManifestAPI", "-package-description-version", "6.0.0", "/host/spi-builder-workspace/Package.swift", "-o", "/tmp/TemporaryDirectory.0E7KED/spi-builder-workspace-manifest"])
/host/spi-builder-workspace/Package.swift:50:9: error: unexpected ',' separator
48 |             name: "LoggingToTelegramTests",
49 |             dependencies: ["LoggingToTelegram"],
50 |         ),
   |         `- error: unexpected ',' separator
51 |         .executableTarget(
52 |             name: "Prepare",
BUILD FAILURE 6.0 linux