The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SF2LibAU, reference main (b2ba1d), with Swift 6.1 for Wasm on 10 Aug 2025 06:58:26 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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.65.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bradhowes/SF2LibAU.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/SF2LibAU
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at b2ba1d4 Play notes from onscreen keyboard.
Cloned https://github.com/bradhowes/SF2LibAU.git
Revision (git rev-parse @):
b2ba1d46d23a51d2dd01233bcd68e1dd16af612c
SUCCESS checkout https://github.com/bradhowes/SF2LibAU.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/bradhowes/SF2LibAU.git
https://github.com/bradhowes/SF2LibAU.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "cxx_language_standard" : "c++2b",
  "dependencies" : [
    {
      "identity" : "sf2lib",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "6.6.0",
            "upper_bound" : "7.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/bradhowes/SF2Lib"
    }
  ],
  "manifest_display_name" : "SF2LibAU",
  "name" : "SF2LibAU",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "SF2LibAU",
      "targets" : [
        "SF2LibAU"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SF2LibAUTests",
      "module_type" : "SwiftTarget",
      "name" : "SF2LibAUTests",
      "path" : "Tests/SF2LibAUTests",
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/SF2LibAUTests/Resources/FreeFont.sf2",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/SF2LibAUTests/Resources/RolandNicePiano.sf2",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "AVAudioUnitTests.swift",
        "Helpers.swift",
        "SF2LibAUTests.swift"
      ],
      "target_dependencies" : [
        "SF2LibAU"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SF2LibAU",
      "module_type" : "SwiftTarget",
      "name" : "SF2LibAU",
      "path" : "Sources/SF2LibAU",
      "product_dependencies" : [
        "Engine"
      ],
      "product_memberships" : [
        "SF2LibAU"
      ],
      "sources" : [
        "SF2LibAU.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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 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
Fetching https://github.com/bradhowes/SF2Lib
[1/6298] Fetching sf2lib
Fetched https://github.com/bradhowes/SF2Lib from cache (1.44s)
Computing version for https://github.com/bradhowes/SF2Lib
Computed https://github.com/bradhowes/SF2Lib at 6.7.0 (1.88s)
Fetching https://github.com/bradhowes/DSPHeaders
[1/241] Fetching dspheaders
Fetched https://github.com/bradhowes/DSPHeaders from cache (0.20s)
Computing version for https://github.com/bradhowes/DSPHeaders
warning: 'dspheaders': 2025-08-10 06:58:09.887 dspheaders-manifest[168:7b8a7800] --- compiling with UNSAFE C++ flags: 0
Computed https://github.com/bradhowes/DSPHeaders at 1.0.7 (2.08s)
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
Working copy of https://github.com/bradhowes/SF2Lib resolved at 6.7.0
warning: 'dspheaders': 2025-08-10 06:58:11.533 dspheaders-manifest[294:7d84e800] --- compiling with UNSAFE C++ flags: 0
Building for debugging...
[0/5] Write sources
[1/5] Write swift-version-24593BA9C3E375BF.txt
In file included from /host/spi-builder-workspace/.build/checkouts/SF2Lib/Sources/Engine/SF2PresetInfo.mm:1:
In file included from /host/spi-builder-workspace/.build/checkouts/SF2Lib/Sources/SF2Lib/include/SF2Lib/Entity/Preset.hpp:5:
In file included from /host/spi-builder-workspace/.build/checkouts/SF2Lib/Sources/SF2Lib/include/SF2Lib/IO/Pos.hpp:8:
In file included from /host/spi-builder-workspace/.build/checkouts/SF2Lib/Sources/SF2Lib/include/SF2Lib/IO/Tag.hpp:7:
/host/spi-builder-workspace/.build/checkouts/SF2Lib/Sources/SF2Lib/include/SF2Lib/Types.hpp:5:10: fatal error: 'os/log.h' file not found
    5 | #include <os/log.h>
      |          ^~~~~~~~~~
1 error generated.
[2/5] Compiling Engine SF2PresetInfo.mm
In file included from /host/spi-builder-workspace/.build/checkouts/SF2Lib/Sources/Engine/SF2Engine.mm:3:
/host/spi-builder-workspace/.build/checkouts/SF2Lib/Sources/Engine/include/SF2Engine.hpp:10:10: fatal error: 'Foundation/Foundation.h' file not found
   10 | #include <Foundation/Foundation.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~
[2/5] Compiling Engine SF2Engine.mm
In file included from /host/spi-builder-workspace/.build/checkouts/SF2Lib/Sources/Engine/SF2FileInfo.mm:3:
/host/spi-builder-workspace/.build/checkouts/SF2Lib/Sources/Engine/include/SF2FileInfo.hpp:5:10: fatal error: 'swift/bridging' file not found
    5 | #include <swift/bridging>
      |          ^~~~~~~~~~~~~~~~
[2/5] Compiling Engine SF2FileInfo.mm
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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: 'dspheaders': 2025-08-10 06:58:23.259 dspheaders-manifest[154:b0baa800] --- compiling with UNSAFE C++ flags: 0
[0/1] Planning build
Building for debugging...
[0/4] Write swift-version-24593BA9C3E375BF.txt
In file included from /host/spi-builder-workspace/.build/checkouts/SF2Lib/Sources/Engine/SF2PresetInfo.mm:1:
In file included from /host/spi-builder-workspace/.build/checkouts/SF2Lib/Sources/SF2Lib/include/SF2Lib/Entity/Preset.hpp:5:
In file included from /host/spi-builder-workspace/.build/checkouts/SF2Lib/Sources/SF2Lib/include/SF2Lib/IO/Pos.hpp:8:
In file included from /host/spi-builder-workspace/.build/checkouts/SF2Lib/Sources/SF2Lib/include/SF2Lib/IO/Tag.hpp:7:
/host/spi-builder-workspace/.build/checkouts/SF2Lib/Sources/SF2Lib/include/SF2Lib/Types.hpp:5:10: fatal error: 'os/log.h' file not found
    5 | #include <os/log.h>
      |          ^~~~~~~~~~
1 error generated.
[1/4] Compiling Engine SF2PresetInfo.mm
In file included from /host/spi-builder-workspace/.build/checkouts/SF2Lib/Sources/Engine/SF2FileInfo.mm:3:
/host/spi-builder-workspace/.build/checkouts/SF2Lib/Sources/Engine/include/SF2FileInfo.hpp:5:10: fatal error: 'swift/bridging' file not found
    5 | #include <swift/bridging>
      |          ^~~~~~~~~~~~~~~~
[1/4] Compiling Engine SF2FileInfo.mm
In file included from /host/spi-builder-workspace/.build/checkouts/SF2Lib/Sources/Engine/SF2Engine.mm:3:
/host/spi-builder-workspace/.build/checkouts/SF2Lib/Sources/Engine/include/SF2Engine.hpp:10:10: fatal error: 'Foundation/Foundation.h' file not found
   10 | #include <Foundation/Foundation.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~
[1/4] Compiling Engine SF2Engine.mm
BUILD FAILURE 6.1 wasm