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 Linux on 29 Apr 2025 11:42:31 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
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:         linux
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-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/16] Write sources
[1/16] Compiling base64.cpp
[2/16] Compiling CChromaprint simhash.cpp
[3/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: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.
[4/16] Compiling CChromaprint fft.cpp
[4/16] Compiling CChromaprint fingerprinter.cpp
[4/16] Compiling CChromaprint fingerprint_decompressor.cpp
[4/16] Compiling CChromaprint fingerprinter_configuration.cpp
[4/16] Compiling CChromaprint fingerprint_calculator.cpp
[4/16] Compiling CChromaprint chromaprint.cpp
[4/16] Compiling CChromaprint fingerprint_compressor.cpp
[4/16] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/12] Write swift-version-24593BA9C3E375BF.txt
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/12] Compiling CChromaprint fft_lib_vdsp.cpp
[1/12] Compiling CChromaprint fingerprint_compressor.cpp
[1/12] Compiling CChromaprint chromaprint.cpp
[1/12] Compiling CChromaprint fingerprint_calculator.cpp
[1/12] Compiling CChromaprint fingerprinter_configuration.cpp
[1/12] Compiling CChromaprint fingerprint_decompressor.cpp
[1/12] Compiling CChromaprint fingerprinter.cpp
[1/12] Compiling CChromaprint fft.cpp
BUILD FAILURE 6.1 linux