Build Information
Failed to build SF2Lib, reference 6.5.0 (5e6688
), with Swift 6.2 (beta) for macOS (SPM) on 28 Jun 2025 12:49:10 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bradhowes/SF2Lib.git
Reference: 6.5.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/bradhowes/SF2Lib
* tag 6.5.0 -> FETCH_HEAD
HEAD is now at 5e6688d Fix messaging commands
Cloned https://github.com/bradhowes/SF2Lib.git
Revision (git rev-parse @):
5e6688d336d2ee7efb7c839de71fbd56ed7482cc
SUCCESS checkout https://github.com/bradhowes/SF2Lib.git at 6.5.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/bradhowes/SF2Lib.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/55] Copying Configuration.plist
[0/55] Copying GeneralUser GS MuseScore v1.442.sf2
[0/55] Copying FreeFont.sf2
[1/55] Copying ZZZ1.sf2
[4/55] Copying RolandNicePiano.sf2
[5/55] Copying ZZZ2.sf2
[6/55] Compiling Base64.mm
[7/55] Compiling StringUtils.mm
[8/55] Compiling SF2Lib resource_bundle_accessor.m
[9/55] Compiling Preset.mm
[10/55] Compiling Zone.mm
[10/55] Compiling Instrument.mm
[12/55] Compiling State.mm
[13/55] Compiling Modulator.mm
[14/55] Compiling Voice.mm
[15/55] Compiling TestUtils resource_bundle_accessor.m
[16/55] Compiling Engine FileInfo.mm
In file included from /Users/admin/builder/spi-builder-workspace/Sources/SF2Lib/Render/Voice/Sample/Pitch.mm:3:
In file included from /Users/admin/builder/spi-builder-workspace/Sources/SF2Lib/include/SF2Lib/Entity/SampleHeader.hpp:7:
/Users/admin/builder/spi-builder-workspace/Sources/SF2Lib/include/SF2Lib/Types.hpp:49:26: error: no template named 'is_bounded_array_v' in namespace 'std'; did you mean 'is_unbounded_array_v'?
49 | concept CharArray = std::is_bounded_array_v<T> && requires(T v) { { v[0] } -> std::same_as<char&>; };
| ~~~~~^~~~~~~~~~~~~~~~~~
| is_unbounded_array_v
/Applications/Xcode-26.0.0-Beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX26.0.sdk/usr/include/c++/v1/__type_traits/is_unbounded_array.h:40:50: note: 'is_unbounded_array_v' declared here
40 | _LIBCPP_NO_SPECIALIZATIONS inline constexpr bool is_unbounded_array_v = is_unbounded_array<_Tp>::value;
| ^
1 error generated.
[17/55] Compiling Pitch.mm
[17/55] Compiling Preset.mm
[17/55] Compiling SampleSourceCollection.mm
[17/55] Compiling PresetCollection.mm
[17/55] Compiling TestUtils TestResources.mm
[17/55] Compiling Bounds.mm
[17/55] Compiling Generator.mm
[17/55] Compiling TestUtils SampleBasedContexts.mm
[17/55] Compiling Config.mm
[17/55] Compiling Engine Engine.mm
BUILD FAILURE 6.2 macosSpm