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.0 for Linux on 13 Sep 2025 16:52:16 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 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:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/bradhowes/SF2Lib.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:2ffdcefcdb291d9eb78a77ed5e4b4766a710a1cb89004e0bfdb0fefda731df2f
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/bradhowes/DSPHeaders
[1/241] Fetching dspheaders
Fetched https://github.com/bradhowes/DSPHeaders from cache (0.29s)
Computing version for https://github.com/bradhowes/DSPHeaders
warning: 'dspheaders': 2025-09-13 16:52:09.234 dspheaders-manifest[185:bc2ea800] --- compiling with UNSAFE C++ flags: 0
Computed https://github.com/bradhowes/DSPHeaders at 1.0.7 (4.05s)
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:12.044 dspheaders-manifest[258:99e29800] --- 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] Compiling SF2Util Base64.mm
[1/55] Copying ZZZ2.sf2
[1/55] Copying ZZZ1.sf2
In file included from /host/spi-builder-workspace/Sources/Engine/SF2PresetInfo.mm:1:
In file included from /host/spi-builder-workspace/Sources/SF2File/include/SF2File/Entity/Preset.hpp:5:
In file included from /host/spi-builder-workspace/Sources/SF2File/include/SF2File/IO/Pos.hpp:8:
In file included from /host/spi-builder-workspace/Sources/SF2File/include/SF2File/IO/Tag.hpp:7:
/host/spi-builder-workspace/Sources/SF2Util/include/SF2Util/Types.hpp:5:10: fatal error: 'os/log.h' file not found
    5 | #include <os/log.h>
      |          ^~~~~~~~~~
1 error generated.
[3/55] Compiling Engine SF2PresetInfo.mm
[3/55] Copying RolandNicePiano.sf2
[3/55] Compiling SF2Util StringUtils.mm
In file included from /host/spi-builder-workspace/Sources/SF2File/Entity/Bag.mm:6:
In file included from /host/spi-builder-workspace/Sources/SF2File/include/SF2File/Entity/Bag.hpp:8:
In file included from /host/spi-builder-workspace/Sources/SF2File/include/SF2File/IO/Pos.hpp:8:
In file included from /host/spi-builder-workspace/Sources/SF2File/include/SF2File/IO/Tag.hpp:7:
/host/spi-builder-workspace/Sources/SF2Util/include/SF2Util/Types.hpp:5:10: fatal error: 'os/log.h' file not found
    5 | #include <os/log.h>
      |          ^~~~~~~~~~
[3/55] Compiling Bag.mm
In file included from /host/spi-builder-workspace/Sources/Engine/SF2Engine.mm:3:
/host/spi-builder-workspace/Sources/Engine/include/SF2Engine.hpp:10:10: fatal error: 'Foundation/Foundation.h' file not found
   10 | #include <Foundation/Foundation.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~
[3/55] Compiling Engine SF2Engine.mm
In file included from /host/spi-builder-workspace/Sources/Engine/SF2FileInfo.mm:4:
In file included from /host/spi-builder-workspace/Sources/SF2File/include/SF2File/Entity/Preset.hpp:5:
In file included from /host/spi-builder-workspace/Sources/SF2File/include/SF2File/IO/Pos.hpp:8:
In file included from /host/spi-builder-workspace/Sources/SF2File/include/SF2File/IO/Tag.hpp:7:
/host/spi-builder-workspace/Sources/SF2Util/include/SF2Util/Types.hpp:5:10: fatal error: 'os/log.h' file not found
    5 | #include <os/log.h>
      |          ^~~~~~~~~~
[3/55] Compiling Engine SF2FileInfo.mm
In file included from /host/spi-builder-workspace/Sources/SF2File/Entity/Version.mm:5:
In file included from /host/spi-builder-workspace/Sources/SF2File/include/SF2File/Entity/Version.hpp:5:
In file included from /host/spi-builder-workspace/Sources/SF2File/include/SF2File/IO/Pos.hpp:8:
In file included from /host/spi-builder-workspace/Sources/SF2File/include/SF2File/IO/Tag.hpp:7:
/host/spi-builder-workspace/Sources/SF2Util/include/SF2Util/Types.hpp:5:10: fatal error: 'os/log.h' file not found
    5 | #include <os/log.h>
      |          ^~~~~~~~~~
[3/55] Compiling Version.mm
[3/55] Compiling Definition.mm
BUILD FAILURE 6.0 linux