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.0 for Linux on 3 Dec 2024 10:21:55 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.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.58.4
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.0
Building package at path:  $PWD
https://github.com/wallisch/ChromaSwift.git
{
  "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.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-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 chromaprint.cpp
[0/16] Compiling CChromaprint chroma_filter.cpp
[0/16] Compiling CChromaprint fingerprint_compressor.cpp
[0/16] Compiling CChromaprint fft.cpp
[0/16] Compiling CChromaprint fingerprint_calculator.cpp
[0/16] Compiling CChromaprint chroma.cpp
[0/16] Compiling CChromaprint audio_processor.cpp
BUILD FAILURE 6.0 linux