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 SF2Lib, reference main (4da66b), with Swift 6.2 (beta) for macOS (SPM) on 28 Jun 2025 12:47:55 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: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/bradhowes/SF2Lib
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 4da66ba Use true size for reset command
Cloned https://github.com/bradhowes/SF2Lib.git
Revision (git rev-parse @):
4da66ba295a4881a9fb94a7443a12071f70d0172
SUCCESS checkout https://github.com/bradhowes/SF2Lib.git at main
========================================
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 FreeFont.sf2
[0/55] Copying Configuration.plist
[1/55] Copying RolandNicePiano.sf2
[1/55] Copying ZZZ2.sf2
[1/55] Copying GeneralUser GS MuseScore v1.442.sf2
[2/55] Copying ZZZ1.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 PresetCollection.mm
[17/55] Compiling Preset.mm
[17/55] Compiling SampleSourceCollection.mm
[17/55] Compiling Bounds.mm
[17/55] Compiling TestUtils TestResources.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