The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of SF2Lib, reference main (fce31d), with Swift 6.0 for macOS (SPM) on 1 Dec 2024 08:14:28 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -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

Build Log

========================================
RunAll
========================================
Builder version: 4.58.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 fce31d2 Rethinking logging.
Cloned https://github.com/bradhowes/SF2Lib.git
Revision (git rev-parse @):
fce31d27a9c337de061116b196f0f6fd251f4aa9
SUCCESS checkout https://github.com/bradhowes/SF2Lib.git at main
Fetching https://github.com/bradhowes/AUv3Support
[1/4077] Fetching auv3support
Fetched https://github.com/bradhowes/AUv3Support from cache (1.20s)
Computing version for https://github.com/bradhowes/AUv3Support
Computed https://github.com/bradhowes/AUv3Support at 11.1.3 (0.46s)
Creating working copy for https://github.com/bradhowes/AUv3Support
Working copy of https://github.com/bradhowes/AUv3Support resolved at 11.1.3
========================================
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": "auv3support",
          "name": "AUv3Support",
          "url": "https://github.com/bradhowes/AUv3Support",
          "version": "11.1.4",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/AUv3Support",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/bradhowes/SF2Lib.git
[1/5736] Fetching sf2lib
Fetched https://github.com/bradhowes/SF2Lib.git from cache (2.12s)
Fetching https://github.com/bradhowes/AUv3Support from cache
Fetched https://github.com/bradhowes/AUv3Support from cache (0.45s)
Computing version for https://github.com/bradhowes/AUv3Support
Computed https://github.com/bradhowes/AUv3Support at 11.1.4 (0.02s)
Creating working copy for https://github.com/bradhowes/SF2Lib.git
Working copy of https://github.com/bradhowes/SF2Lib.git resolved at main (fce31d2)
Creating working copy for https://github.com/bradhowes/AUv3Support
Working copy of https://github.com/bradhowes/AUv3Support resolved at 11.1.4
warning: '.resolve-product-dependencies': dependency 'sf2lib' is not used by any target
Found 1 product dependencies
  - AUv3Support
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/bradhowes/SF2Lib.git
{
  "cxx_language_standard" : "c++20",
  "dependencies" : [
    {
      "identity" : "auv3support",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "11.1.2",
            "upper_bound" : "12.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/bradhowes/AUv3Support"
    }
  ],
  "manifest_display_name" : "SF2Lib",
  "name" : "SF2Lib",
  "path" : "/Users/admin/builder/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" : "/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" : "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/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_dependencies" : [
        "AUv3-DSP-Headers"
      ],
      "product_memberships" : [
        "SF2Lib",
        "Engine"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/SF2Lib/Resources/Configuration.plist",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Configuration.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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/54] Copying Configuration.plist
[1/54] Copying ZZZ2.sf2
[1/54] Copying FreeFont.sf2
[3/54] Copying GeneralUser GS MuseScore v1.442.sf2
[3/54] Copying ZZZ1.sf2
[3/54] Copying RolandNicePiano.sf2
[6/54] Compiling StringUtils.mm
[6/54] Compiling Base64.mm
[8/54] Compiling SF2Lib resource_bundle_accessor.m
[9/54] Compiling Zone.mm
[10/54] Compiling Instrument.mm
[10/54] Compiling Preset.mm
[12/54] Compiling State.mm
[13/54] Compiling Voice.mm
[14/54] Compiling Modulator.mm
[15/54] Compiling Engine FileInfo.mm
[16/54] Compiling Engine Engine.mm
[17/54] Compiling Pitch.mm
[18/54] Compiling Config.mm
[19/54] Compiling Bounds.mm
[20/54] Compiling Generator.mm
[21/54] Compiling TestUtils resource_bundle_accessor.m
[22/54] Compiling TestUtils TestResources.mm
[23/54] Compiling LowPassFilter.mm
[24/54] Compiling SampleSourceCollection.mm
[25/54] Compiling PresetCollection.mm
[26/54] Compiling TestUtils SampleBasedContexts.mm
[27/54] Compiling Stage.mm
[28/54] Compiling LFO.mm
[29/54] Compiling Preset.mm
[30/54] Compiling Generator.mm
[31/54] Compiling InstrumentCollection.mm
[32/54] Compiling Instrument.mm
[33/54] Compiling ChannelState.mm
[34/54] Compiling ValueTransformer.mm
[35/54] Compiling ChunkItems.mm
[36/54] Compiling Pos.mm
[37/54] Compiling Parser.mm
[38/54] Compiling Parameters.mm
[39/54] Compiling ChunkList.mm
[40/54] Compiling Version.mm
[41/54] Compiling SampleHeader.mm
[42/54] Compiling Engine.mm
[43/54] Compiling File.mm
[44/54] Compiling Chunk.mm
[45/54] Compiling Preset.mm
[46/54] Compiling SF2Lib Configuration.mm
[47/54] Compiling Transform.mm
[48/54] Compiling Source.mm
[49/54] Compiling Instrument.mm
[50/54] Compiling Modulator.mm
[51/54] Compiling Generator.mm
[52/54] Compiling Definition.mm
[53/54] Compiling Bag.mm
Build complete! (8.88s)
Build complete.
{
  "cxx_language_standard" : "c++20",
  "dependencies" : [
    {
      "identity" : "auv3support",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "11.1.2",
            "upper_bound" : "12.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/bradhowes/AUv3Support"
    }
  ],
  "manifest_display_name" : "SF2Lib",
  "name" : "SF2Lib",
  "path" : "/Users/admin/builder/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" : "/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" : "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/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_dependencies" : [
        "AUv3-DSP-Headers"
      ],
      "product_memberships" : [
        "SF2Lib",
        "Engine"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/SF2Lib/Resources/Configuration.plist",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Configuration.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"
}
Done.