Build Information
Failed to build OpenAI with Swift 5.8 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.39.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/StanfordBDHG/OpenAI.git
Reference: 0.2.9
Initialized empty Git repository in /Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/StanfordBDHG/OpenAI
* tag 0.2.9 -> FETCH_HEAD
HEAD is now at 1ad95dd Merge pull request #3 from StanfordBDHG/upstream/0.2.9
Cloned https://github.com/StanfordBDHG/OpenAI.git
Revision (git rev-parse @):
1ad95dd531d7c854a3f98f588b0eb68fa83e8a8c
SUCCESS checkout https://github.com/StanfordBDHG/OpenAI.git at 0.2.9
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.8
Building package at path: $workDir
https://github.com/StanfordBDHG/OpenAI.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 5.9.0 but the installed version is 5.8.1
BUILD FAILURE 5.8 macosSpm