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 CSErrors, reference 2.0.0 (776b78), with Swift 5.10 for macOS (SPM) on 20 Apr 2025 16:31:15 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CharlesJS/CSErrors.git
Reference: 2.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/CharlesJS/CSErrors
 * tag               2.0.0      -> FETCH_HEAD
HEAD is now at 776b781 Move Foundation support to a trait instead of a separate target
Cloned https://github.com/CharlesJS/CSErrors.git
Revision (git rev-parse @):
776b7813f14e4618701b3c4f33c7ff27be53dfc0
SUCCESS checkout https://github.com/CharlesJS/CSErrors.git at 2.0.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $PWD
https://github.com/CharlesJS/CSErrors.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