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 6.5.0 (5e6688), with Swift 6.1 for Wasm on 28 Jun 2025 12:47:45 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

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 /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               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:         wasm
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" : [
  ],
  "manifest_display_name" : "SF2Lib",
  "name" : "SF2Lib",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "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",
      "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" : "SF2LibTests",
      "module_type" : "ClangTarget",
      "name" : "SF2LibTests",
      "path" : "Tests/SF2LibTests",
      "sources" : [
        "Base64Tests.mm",
        "ConfigurationTests.mm",
        "DSPHeadersTests/BiquadTests.mm",
        "DSPHeadersTests/BoolParameterTests.mm",
        "DSPHeadersTests/BufferFacetTests.mm",
        "DSPHeadersTests/BusBuffersTests.mm",
        "DSPHeadersTests/ConstMathTests.mm",
        "DSPHeadersTests/DSP2Tests.mm",
        "DSPHeadersTests/DelayBufferTests.mm",
        "DSPHeadersTests/EventProcessorTests.mm",
        "DSPHeadersTests/IntegralParameterTests.mm",
        "DSPHeadersTests/LFO2Tests.mm",
        "DSPHeadersTests/MillisecondParameterTests.mm",
        "DSPHeadersTests/PercentageParameterTests.mm",
        "DSPHeadersTests/PhaseIncrementTests.mm",
        "DSPHeadersTests/PhaseShifterTests.mm",
        "DSPHeadersTests/Pirkle/fxobjects.cpp",
        "DSPHeadersTests/RampingParameterTests.mm",
        "DSPHeadersTests/SampleBufferTests.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/EngineTests/EngineTests.mm",
        "Render/EngineTests/OldestVoiceCacheTests.mm",
        "Render/EngineTests/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_memberships" : [
        "SF2Lib",
        "Engine"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/SF2Lib/Resources/Configuration.plist",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Configuration.mm",
        "DSPHeaders.mm",
        "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/Version.mm",
        "IO/Chunk.mm",
        "IO/ChunkItems.mm",
        "IO/ChunkList.mm",
        "IO/File.mm",
        "IO/Parser.mm",
        "IO/Pos.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/SampleSourceCollection.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",
        "Utils/Base64.mm",
        "Utils/StringUtils.mm"
      ],
      "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" : [
        "Engine.mm",
        "FileInfo.mm"
      ],
      "target_dependencies" : [
        "SF2Lib"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
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-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
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
[0/55] Copying ZZZ2.sf2
[0/55] Copying ZZZ1.sf2
[3/55] Copying FreeFont.sf2
[4/55] Copying RolandNicePiano.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.
[5/55] Compiling SF2Lib resource_bundle_accessor.m
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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[5/55] Compiling Base64.mm
[5/55] Compiling Zone.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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[5/55] Compiling Preset.mm
[5/55] Compiling Engine Engine.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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[5/55] Compiling StringUtils.mm
[5/55] Compiling Engine FileInfo.mm
[5/55] Copying GeneralUser GS MuseScore v1.442.sf2
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
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...
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.
[0/50] Compiling SF2Lib resource_bundle_accessor.m
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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/50] Compiling Base64.mm
[0/50] Compiling Engine FileInfo.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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/50] Compiling Preset.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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/50] Compiling StringUtils.mm
[0/50] Compiling Engine Engine.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>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[0/50] Compiling Zone.mm
[0/50] Copying GeneralUser GS MuseScore v1.442.sf2
BUILD FAILURE 6.1 wasm