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 SwiftAIAgent, reference main (c255cf), with Swift 5.10 for macOS (SPM) on 7 Sep 2025 06:09:54 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/ShenghaiWang/SwiftAIAgent.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ShenghaiWang/SwiftAIAgent
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at c255cfa Merge UseTempFileToSaveResult into main
Cloned https://github.com/ShenghaiWang/SwiftAIAgent.git
Revision (git rev-parse @):
c255cfa6ea11f01104631542881b9fffac9e3352
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ShenghaiWang/SwiftAIAgent.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $PWD
https://github.com/ShenghaiWang/SwiftAIAgent.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.1.0 but the installed version is 5.10.0
BUILD FAILURE 5.10 macosSpm