The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build SwiftTelegramBot, reference 4.2.2 (20ee97), with Swift 5.10 for macOS (SPM) on 20 Sep 2025 15:51:16 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nerzh/swift-telegram-bot.git
Reference: 4.2.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nerzh/swift-telegram-bot
 * tag               4.2.2      -> FETCH_HEAD
HEAD is now at 20ee970 removed a no longer needed error
Cloned https://github.com/nerzh/swift-telegram-bot.git
Revision (git rev-parse @):
20ee97068149f707d41d49f0a779e4c42a023393
SUCCESS checkout https://github.com/nerzh/swift-telegram-bot.git at 4.2.2
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $PWD
https://github.com/nerzh/swift-telegram-bot.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.0.0 but the installed version is 5.10.0
BUILD FAILURE 5.10 macosSpm