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 ChromaSwift, reference master (7c53f4), with Swift 6.1 for Wasm on 18 Sep 2025 21:46:37 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/wallisch/ChromaSwift.git
Reference: master
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/wallisch/ChromaSwift
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 7c53f43 Update codecov action
Submodule path 'chromaprint': checked out '655c26f0db4d54014c367e3e714a62e3714792ce'
Submodule 'chromaprint' (https://github.com/acoustid/chromaprint) registered for path 'chromaprint'
Cloning into '/host/spi-builder-workspace/chromaprint'...
Cloned https://github.com/wallisch/ChromaSwift.git
Revision (git rev-parse @):
7c53f4370da03704ba76412c5a7214e7ab74be27
SUCCESS checkout https://github.com/wallisch/ChromaSwift.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/wallisch/ChromaSwift.git
https://github.com/wallisch/ChromaSwift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "cxx_language_standard" : "c++11",
  "dependencies" : [
  ],
  "manifest_display_name" : "ChromaSwift",
  "name" : "ChromaSwift",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "ChromaSwift",
      "targets" : [
        "ChromaSwift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ChromaSwiftTests",
      "module_type" : "SwiftTarget",
      "name" : "ChromaSwiftTests",
      "path" : "Tests/ChromaSwiftTests",
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/ChromaSwiftTests/Audio",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "ChromaSwiftTests.swift",
        "URLSessionMock.swift"
      ],
      "target_dependencies" : [
        "ChromaSwift"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ChromaSwift",
      "module_type" : "SwiftTarget",
      "name" : "ChromaSwift",
      "path" : "Sources/ChromaSwift",
      "product_memberships" : [
        "ChromaSwift"
      ],
      "sources" : [
        "AcoustID.swift",
        "AudioDecoder.swift",
        "AudioFingerprint.swift",
        "URLSessionProtocol.swift"
      ],
      "target_dependencies" : [
        "CChromaprint"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CChromaprintTests",
      "module_type" : "SwiftTarget",
      "name" : "CChromaprintTests",
      "path" : "Tests/CChromaprintTests",
      "sources" : [
        "CChromaprintTests.swift"
      ],
      "target_dependencies" : [
        "CChromaprint"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CChromaprint",
      "module_type" : "ClangTarget",
      "name" : "CChromaprint",
      "path" : "Sources/CChromaprint",
      "product_memberships" : [
        "ChromaSwift"
      ],
      "sources" : [
        "audio_processor.cpp",
        "chroma.cpp",
        "chroma_filter.cpp",
        "chromaprint.cpp",
        "fft.cpp",
        "fft_lib_vdsp.cpp",
        "fingerprint_calculator.cpp",
        "fingerprint_compressor.cpp",
        "fingerprint_decompressor.cpp",
        "fingerprinter.cpp",
        "fingerprinter_configuration.cpp",
        "silence_remover.cpp",
        "simhash.cpp",
        "utils/base64.cpp"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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: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:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
[0/16] Write sources
[1/16] Compiling base64.cpp
[2/16] Compiling CChromaprint silence_remover.cpp
In file included from /host/spi-builder-workspace/Sources/CChromaprint/fft.cpp:6:
In file included from /host/spi-builder-workspace/Sources/CChromaprint/fft_lib.h:28:
/host/spi-builder-workspace/Sources/CChromaprint/fft_lib_vdsp.h:7:10: fatal error: 'Accelerate/Accelerate.h' file not found
    7 | #include <Accelerate/Accelerate.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[3/16] Compiling CChromaprint fft.cpp
[3/16] Compiling CChromaprint fingerprint_decompressor.cpp
[3/16] Compiling CChromaprint fingerprint_compressor.cpp
[3/16] Compiling CChromaprint chromaprint.cpp
[3/16] Compiling CChromaprint simhash.cpp
[3/16] Compiling CChromaprint fingerprinter.cpp
[3/16] Write swift-version-24593BA9C3E375BF.txt
[3/16] Compiling CChromaprint fingerprinter_configuration.cpp
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/13] Compiling CChromaprint fingerprinter.cpp
In file included from /host/spi-builder-workspace/Sources/CChromaprint/fft_lib_vdsp.cpp:5:
/host/spi-builder-workspace/Sources/CChromaprint/fft_lib_vdsp.h:7:10: fatal error: 'Accelerate/Accelerate.h' file not found
    7 | #include <Accelerate/Accelerate.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/13] Compiling CChromaprint fft_lib_vdsp.cpp
[1/13] Compiling CChromaprint fft.cpp
[1/13] Compiling CChromaprint fingerprint_decompressor.cpp
[1/13] Compiling CChromaprint simhash.cpp
[1/13] Compiling CChromaprint fingerprint_calculator.cpp
[1/13] Compiling CChromaprint fingerprinter_configuration.cpp
[1/13] Compiling CChromaprint fingerprint_compressor.cpp
[1/13] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm