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

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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: v1.2.0
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
 * tag               v1.2.0     -> FETCH_HEAD
HEAD is now at 4570630 Disable codecov patch/project checkmarks
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 @):
4570630752e5c9a07244df7621888363d287c1c4
SUCCESS checkout https://github.com/wallisch/ChromaSwift.git at v1.2.0
========================================
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" 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...
[0/16] Write sources
[1/16] Compiling base64.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:24:
/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.
[2/16] Compiling CChromaprint fft.cpp
[2/16] Compiling CChromaprint fingerprint_calculator.cpp
[2/16] Compiling CChromaprint chromaprint.cpp
[2/16] Write swift-version-24593BA9C3E375BF.txt
[2/16] Compiling CChromaprint silence_remover.cpp
[2/16] Compiling CChromaprint fingerprinter_configuration.cpp
[2/16] Compiling CChromaprint simhash.cpp
[2/16] Compiling CChromaprint chroma_filter.cpp
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/14] Compiling CChromaprint fingerprint_compressor.cpp
[1/14] Compiling CChromaprint simhash.cpp
[2/14] Compiling CChromaprint fingerprinter.cpp
[3/14] Compiling CChromaprint silence_remover.cpp
[4/14] Write swift-version-24593BA9C3E375BF.txt
[5/14] Compiling CChromaprint fingerprinter_configuration.cpp
[6/14] Compiling CChromaprint fingerprint_calculator.cpp
[7/14] Compiling CChromaprint fingerprint_decompressor.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.
[8/14] Compiling CChromaprint fft_lib_vdsp.cpp
[8/14] Compiling CChromaprint audio_processor.cpp
[8/14] Compiling CChromaprint chroma.cpp
[8/14] Compiling CChromaprint fft.cpp
[8/14] Compiling CChromaprint chroma_filter.cpp
[8/14] Compiling CChromaprint chromaprint.cpp
BUILD FAILURE 6.1 wasm