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 (bf1b4a), with Swift 6.1 for Wasm on 29 May 2025 18:06:55 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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.63.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 bf1b4a5 Clarify licensing in headers, LICENSE and README.md
Submodule path 'chromaprint': checked out 'aa67c95b9e486884a6d3ee8b0c91207d8c2b0551'
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 @):
bf1b4a5c59b8c4c8baa0bab40d10d86a6d4b358c
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-4609320-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 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
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.
[0/16] Compiling CChromaprint fft_lib_vdsp.cpp
[0/16] Compiling CChromaprint fft.cpp
[0/16] Compiling CChromaprint chroma_filter.cpp
[0/16] Compiling CChromaprint fingerprint_calculator.cpp
[0/16] Compiling CChromaprint chroma.cpp
[0/16] Compiling CChromaprint fingerprint_compressor.cpp
[0/16] Compiling CChromaprint chromaprint.cpp
[0/16] Compiling CChromaprint audio_processor.cpp
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
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/16] Write sources
[1/16] Compiling base64.cpp
[2/16] Write swift-version-24593BA9C3E375BF.txt
[3/16] Compiling CChromaprint simhash.cpp
[4/16] Compiling CChromaprint fingerprinter_configuration.cpp
[5/16] Compiling CChromaprint fingerprint_decompressor.cpp
[6/16] Compiling CChromaprint fingerprinter.cpp
[7/16] Compiling CChromaprint silence_remover.cpp
[8/16] Compiling CChromaprint fingerprint_compressor.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.
[9/16] Compiling CChromaprint fft_lib_vdsp.cpp
[9/16] Compiling CChromaprint audio_processor.cpp
[9/16] Compiling CChromaprint chromaprint.cpp
[9/16] Compiling CChromaprint chroma_filter.cpp
[9/16] Compiling CChromaprint fft.cpp
[9/16] Compiling CChromaprint chroma.cpp
[9/16] Compiling CChromaprint fingerprint_calculator.cpp
BUILD FAILURE 6.1 wasm