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 8.1.4 (6880e2), with Swift 6.1 for Android on 12 Sep 2025 23:59:10 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bradhowes/SF2Lib.git
Reference: 8.1.4
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
 * tag               8.1.4      -> FETCH_HEAD
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 8.1.4
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/bradhowes/SF2Lib.git
https://github.com/bradhowes/SF2Lib.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "cxx_language_standard" : "c++2b",
  "dependencies" : [
    {
      "identity" : "dspheaders",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.7",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/bradhowes/DSPHeaders"
    }
  ],
  "manifest_display_name" : "SF2Lib",
  "name" : "SF2Lib",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "SF2File",
      "targets" : [
        "SF2File"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SF2Lib",
      "targets" : [
        "SF2Lib"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Engine",
      "targets" : [
        "Engine"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TestUtils",
      "module_type" : "ClangTarget",
      "name" : "TestUtils",
      "path" : "Sources/TestUtils",
      "product_dependencies" : [
        "DSPHeaders"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/TestUtils/Resources/FreeFont.sf2",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/TestUtils/Resources/GeneralUser GS MuseScore v1.442.sf2",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/TestUtils/Resources/RolandNicePiano.sf2",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/TestUtils/Resources/ZZZ1.sf2",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/TestUtils/Resources/ZZZ2.sf2",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "SampleBasedContexts.mm",
        "TestResources.mm"
      ],
      "target_dependencies" : [
        "SF2Lib"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SF2Util",
      "module_type" : "ClangTarget",
      "name" : "SF2Util",
      "path" : "Sources/SF2Util",
      "product_dependencies" : [
        "DSPHeaders"
      ],
      "product_memberships" : [
        "SF2File",
        "SF2Lib",
        "Engine"
      ],
      "sources" : [
        "Base64.mm",
        "StringUtils.mm"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SF2LibTests",
      "module_type" : "ClangTarget",
      "name" : "SF2LibTests",
      "path" : "Tests/SF2LibTests",
      "sources" : [
        "Base64Tests.mm",
        "ConfigurationTests.mm",
        "DSPTests.mm",
        "Entity/GeneratorAmountTests.mm",
        "Entity/ModulatorDefaultsTests.mm",
        "Entity/ModulatorSourceTests.mm",
        "IO/ChunkTests.mm",
        "IO/ParserTests.mm",
        "IO/SFFileTestsObjC.mm",
        "IO/TagTests.mm",
        "MIDI/ChannelStateTests.mm",
        "MIDI/MIDITests.mm",
        "MIDI/NoteTests.mm",
        "MIDI/ValueTransformerTests.mm",
        "Render/Engine/EngineTests.mm",
        "Render/Engine/OldestVoiceCacheTests.mm",
        "Render/Engine/PresetCollectionTests.mm",
        "Render/EnvelopeTests.mm",
        "Render/GeneratorIndexTests.mm",
        "Render/InstrumentTests.mm",
        "Render/LFOTests.mm",
        "Render/NormalizedSampleSourceTests.mm",
        "Render/PitchTests.mm",
        "Render/PresetTests.mm",
        "Render/RangeTests.mm",
        "Render/Voice/BoundsTests.mm",
        "Render/Voice/ModulatorTests.mm",
        "Render/Voice/StateTests.mm",
        "Render/Voice/VoiceTests.mm",
        "StringUtils.mm"
      ],
      "target_dependencies" : [
        "SF2Lib",
        "TestUtils"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SF2Lib",
      "module_type" : "ClangTarget",
      "name" : "SF2Lib",
      "path" : "Sources/SF2Lib",
      "product_dependencies" : [
        "DSPHeaders"
      ],
      "product_memberships" : [
        "SF2Lib",
        "Engine"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/SF2Lib/Resources/Configuration.plist",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Configuration.mm",
        "MIDI/ChannelState.mm",
        "MIDI/ValueTransformer.mm",
        "Render/Engine/Engine.mm",
        "Render/Engine/Parameters.mm",
        "Render/Envelope/Generator.mm",
        "Render/Envelope/Stage.mm",
        "Render/Instrument.mm",
        "Render/InstrumentCollection.mm",
        "Render/LFO.mm",
        "Render/LowPassFilter.mm",
        "Render/Preset.mm",
        "Render/PresetCollection.mm",
        "Render/Voice/Sample/Bounds.mm",
        "Render/Voice/Sample/Generator.mm",
        "Render/Voice/Sample/Pitch.mm",
        "Render/Voice/State/Config.mm",
        "Render/Voice/State/Modulator.mm",
        "Render/Voice/State/State.mm",
        "Render/Voice/Voice.mm",
        "Render/Zone/Instrument.mm",
        "Render/Zone/Preset.mm",
        "Render/Zone/Zone.mm"
      ],
      "target_dependencies" : [
        "SF2File",
        "SF2Util"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SF2File",
      "module_type" : "ClangTarget",
      "name" : "SF2File",
      "path" : "Sources/SF2File",
      "product_dependencies" : [
        "DSPHeaders"
      ],
      "product_memberships" : [
        "SF2File",
        "SF2Lib",
        "Engine"
      ],
      "sources" : [
        "Entity/Bag.mm",
        "Entity/Generator/Definition.mm",
        "Entity/Generator/Generator.mm",
        "Entity/Instrument.mm",
        "Entity/Modulator/Modulator.mm",
        "Entity/Modulator/Source.mm",
        "Entity/Modulator/Transform.mm",
        "Entity/Preset.mm",
        "Entity/SampleHeader.mm",
        "Entity/SampleSourceCollection.mm",
        "Entity/Version.mm",
        "IO/Chunk.mm",
        "IO/ChunkItems.mm",
        "IO/ChunkList.mm",
        "IO/File.mm",
        "IO/Parser.mm",
        "IO/Pos.mm"
      ],
      "target_dependencies" : [
        "SF2Util"
      ],
      "type" : "library"
    },
    {
      "c99name" : "EngineTests",
      "module_type" : "ClangTarget",
      "name" : "EngineTests",
      "path" : "Tests/EngineTests",
      "sources" : [
        "EngineTests.mm",
        "FileInfoTests.mm"
      ],
      "target_dependencies" : [
        "Engine",
        "TestUtils"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Engine",
      "module_type" : "ClangTarget",
      "name" : "Engine",
      "path" : "Sources/Engine",
      "product_memberships" : [
        "Engine"
      ],
      "sources" : [
        "SF2Engine.mm",
        "SF2FileInfo.mm",
        "SF2PresetInfo.mm"
      ],
      "target_dependencies" : [
        "SF2Lib"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8106a39f56f5bb7aad9f0d9a94f1e5362f9a40b692f7bc17efe17b7b91dc65fc
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/bradhowes/DSPHeaders
[1/241] Fetching dspheaders
Fetched https://github.com/bradhowes/DSPHeaders from cache (0.26s)
Computing version for https://github.com/bradhowes/DSPHeaders
warning: 'dspheaders': 2025-09-12 23:58:56.077 dspheaders-manifest[117:7f8d9800] --- compiling with UNSAFE C++ flags: 0
Computed https://github.com/bradhowes/DSPHeaders at 1.0.7 (2.13s)
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-12 23:58:56.644 dspheaders-manifest[180:9361a800] --- 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 Configuration.plist
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.
[1/55] Compiling Engine SF2PresetInfo.mm
[1/55] Compiling Modulator.mm
[1/55] Compiling Generator.mm
[1/55] Compiling SF2Util Base64.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>
      |          ^~~~~~~~~~
[1/55] Compiling Engine SF2FileInfo.mm
In file included from /host/spi-builder-workspace/Sources/SF2File/IO/Pos.mm:5:
In file included from /host/spi-builder-workspace/Sources/SF2File/include/SF2File/IO/ChunkList.hpp:5:
In file included from /host/spi-builder-workspace/Sources/SF2File/include/SF2File/IO/Chunk.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/55] Compiling Pos.mm
[1/55] Compiling Bag.mm
In file included from /host/spi-builder-workspace/Sources/SF2Util/StringUtils.mm:9:
In file included from /host/spi-builder-workspace/Sources/SF2Util/include/SF2Util/StringUtils.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/55] Compiling SF2Util StringUtils.mm
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8106a39f56f5bb7aad9f0d9a94f1e5362f9a40b692f7bc17efe17b7b91dc65fc
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
warning: 'dspheaders': 2025-09-12 23:59:07.640 dspheaders-manifest[111:a5bae800] --- 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
[0/1] Planning build
Building for debugging...
[0/54] Copying ZZZ2.sf2
[0/54] Copying ZZZ1.sf2
[2/54] Copying RolandNicePiano.sf2
[3/54] Copying FreeFont.sf2
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/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.
[4/54] Compiling SF2Lib resource_bundle_accessor.m
[4/54] Compiling Voice.mm
[4/54] Compiling SF2Util Base64.mm
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/SF2Lib.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[4/54] Compiling Preset.mm
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android24/debug/SF2Lib.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[4/54] Compiling Zone.mm
[4/54] Compiling SF2Util StringUtils.mm
[4/54] Compiling Instrument.mm
[4/54] Copying GeneralUser GS MuseScore v1.442.sf2
BUILD FAILURE 6.1 android