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

Successful build of SF2Lib, reference main (6880e2), with Swift 6.1 for macOS (SPM) on 13 Sep 2025 16:52:41 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats

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 /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 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
Fetching https://github.com/bradhowes/DSPHeaders
[1/241] Fetching dspheaders
Fetched https://github.com/bradhowes/DSPHeaders from cache (0.79s)
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 09:52:24.665 dspheaders-manifest[564:3075] --- compiling with UNSAFE C++ flags: 0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "sf2lib",
      "name": "SF2Lib",
      "url": "https://github.com/bradhowes/SF2Lib.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SF2Lib",
      "dependencies": [
        {
          "identity": "dspheaders",
          "name": "DSPHeaders",
          "url": "https://github.com/bradhowes/DSPHeaders",
          "version": "1.0.7",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/DSPHeaders",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/bradhowes/SF2Lib.git
[1/6406] Fetching sf2lib
Fetched https://github.com/bradhowes/SF2Lib.git from cache (1.90s)
Fetching https://github.com/bradhowes/DSPHeaders from cache
Fetched https://github.com/bradhowes/DSPHeaders from cache (0.44s)
Computing version for https://github.com/bradhowes/DSPHeaders
warning: 'dspheaders': 2025-09-13 09:52:28.786 dspheaders-manifest[686:3391] --- compiling with UNSAFE C++ flags: 0
Computed https://github.com/bradhowes/DSPHeaders at 1.0.7 (1.03s)
Creating working copy for https://github.com/bradhowes/DSPHeaders
Working copy of https://github.com/bradhowes/DSPHeaders resolved at 1.0.7
Creating working copy for https://github.com/bradhowes/SF2Lib.git
Working copy of https://github.com/bradhowes/SF2Lib.git resolved at main (6880e20)
warning: '.resolve-product-dependencies': dependency 'sf2lib' is not used by any target
Found 1 product dependencies
  - DSPHeaders
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/bradhowes/SF2Lib.git
https://github.com/bradhowes/SF2Lib.git
{
  "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" : "/Users/admin/builder/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" : "/Users/admin/builder/spi-builder-workspace/Sources/TestUtils/Resources/FreeFont.sf2",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/TestUtils/Resources/GeneralUser GS MuseScore v1.442.sf2",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/TestUtils/Resources/RolandNicePiano.sf2",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/TestUtils/Resources/ZZZ1.sf2",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/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" : "/Users/admin/builder/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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
Building for debugging...
[0/55] Compiling Source.mm
[1/55] Compiling Definition.mm
[2/55] Compiling Transform.mm
[2/55] Copying ZZZ2.sf2
[2/55] Compiling Engine SF2PresetInfo.mm
[2/55] Copying ZZZ1.sf2
[2/55] Copying RolandNicePiano.sf2
[2/55] Copying GeneralUser GS MuseScore v1.442.sf2
[2/55] Copying FreeFont.sf2
[2/55] Copying Configuration.plist
[2/55] Compiling Version.mm
[2/55] Compiling Bag.mm
[2/55] Compiling Generator.mm
[2/55] Compiling Instrument.mm
[14/55] Compiling Engine SF2FileInfo.mm
[15/55] Compiling SF2Util Base64.mm
[16/55] Compiling SF2Util StringUtils.mm
[17/55] Compiling ChunkItems.mm
[18/55] Compiling Parser.mm
[19/55] Compiling ChunkList.mm
[20/55] Compiling Pos.mm
[21/55] Compiling Chunk.mm
[22/55] Compiling SampleSourceCollection.mm
[23/55] Compiling File.mm
[24/55] Compiling Engine SF2Engine.mm
[25/55] Compiling TestUtils resource_bundle_accessor.m
[26/55] Compiling TestUtils TestResources.mm
[27/55] Compiling Zone.mm
[28/55] Compiling Instrument.mm
[29/55] Compiling Preset.mm
[30/55] Compiling SF2Lib resource_bundle_accessor.m
[31/55] Compiling Modulator.mm
[32/55] Compiling State.mm
[33/55] Compiling TestUtils SampleBasedContexts.mm
[34/55] Compiling Voice.mm
[35/55] Compiling Pitch.mm
[36/55] Compiling Config.mm
[37/55] Compiling Bounds.mm
[38/55] Compiling LowPassFilter.mm
[39/55] Compiling Generator.mm
[40/55] Compiling LFO.mm
[41/55] Compiling Stage.mm
[42/55] Compiling PresetCollection.mm
[43/55] Compiling Preset.mm
[44/55] Compiling Generator.mm
[45/55] Compiling SF2Lib Configuration.mm
[46/55] Compiling InstrumentCollection.mm
[47/55] Compiling Instrument.mm
[48/55] Compiling ChannelState.mm
[49/55] Compiling ValueTransformer.mm
[50/55] Compiling SampleHeader.mm
[51/55] Compiling Preset.mm
[52/55] Compiling Modulator.mm
[53/55] Compiling Parameters.mm
[54/55] Compiling Engine.mm
Build complete! (9.25s)
warning: 'dspheaders': 2025-09-13 09:52:31.872 dspheaders-manifest[843:3784] --- compiling with UNSAFE C++ flags: 0
Build complete.
{
  "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" : "/Users/admin/builder/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" : "/Users/admin/builder/spi-builder-workspace/Sources/TestUtils/Resources/FreeFont.sf2",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/TestUtils/Resources/GeneralUser GS MuseScore v1.442.sf2",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/TestUtils/Resources/RolandNicePiano.sf2",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/TestUtils/Resources/ZZZ1.sf2",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/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" : "/Users/admin/builder/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"
}
Done.