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 (6880e2), with Swift 6.2 (beta) for Wasm on 13 Sep 2025 16:52:11 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bradhowes/SF2Lib.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/bradhowes/SF2Lib
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 6880e20 Fix missing scheme
Cloned https://github.com/bradhowes/SF2Lib.git
Revision (git rev-parse @):
6880e209e27ab3504b0d39cb128e08b4a2f3e514
SUCCESS checkout https://github.com/bradhowes/SF2Lib.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/bradhowes/SF2Lib.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:3160178686d03086db4c1712d78c1980537bb37521128c64baade7f466b6b4aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/bradhowes/DSPHeaders
[1/241] Fetching dspheaders
Fetched https://github.com/bradhowes/DSPHeaders from cache (0.25s)
Computing version for https://github.com/bradhowes/DSPHeaders
warning: 'dspheaders': 2025-09-13 16:52:07.736 dspheaders-manifest[121:eafc1800] --- compiling with UNSAFE C++ flags: 0
Computed https://github.com/bradhowes/DSPHeaders at 1.0.7 (2.99s)
Creating working copy for https://github.com/bradhowes/DSPHeaders
Working copy of https://github.com/bradhowes/DSPHeaders resolved at 1.0.7
warning: 'dspheaders': 2025-09-13 16:52:08.339 dspheaders-manifest[184:da5d3800] --- compiling with UNSAFE C++ flags: 0
warning: 'spi-builder-workspace': ignoring target 'SF2LibTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
warning: 'spi-builder-workspace': ignoring target 'EngineTests' in package 'spi-builder-workspace'; C language in tests is not yet supported
Building for debugging...
[0/55] Copying ZZZ1.sf2
[0/55] Copying ZZZ2.sf2
[2/55] Copying RolandNicePiano.sf2
[3/55] Copying FreeFont.sf2
[3/55] Copying Configuration.plist
[5/55] Copying GeneralUser GS MuseScore v1.442.sf2
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/SF2Lib.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[6/55] Compiling SF2Lib resource_bundle_accessor.m
[6/55] Compiling Generator.mm
[6/55] Compiling SF2Util StringUtils.mm
[6/55] Compiling Engine SF2PresetInfo.mm
[6/55] Compiling Definition.mm
[6/55] Compiling SF2Util Base64.mm
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/SF2Lib.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[6/55] Compiling Zone.mm
[6/55] Compiling Bag.mm
BUILD FAILURE 6.2 wasm