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

Successful build of USearch, reference v2.21.0 (fd6279), with Swift 6.0 for Linux on 4 Sep 2025 16:38:49 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/unum-cloud/usearch.git
Reference: v2.21.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/unum-cloud/usearch
 * tag               v2.21.0    -> FETCH_HEAD
HEAD is now at fd6279a Release: v2.21.0 [skip ci] ### Minor
Submodule path 'fp16': checked out '0a92994d729ff76a58f692d3028ca1b64b145d91'
Submodule path 'simsimd': checked out '869b8d84930af1413c34c92ede48e18d1d951b6d'
Submodule path 'stringzilla': checked out '2f4b1386ca2ed3c4178c1e4f467a2e78a911f3b2'
Submodule 'fp16' (https://github.com/maratyszcza/fp16) registered for path 'fp16'
Submodule 'simsimd' (https://github.com/ashvardanian/simsimd) registered for path 'simsimd'
Submodule 'stringzilla' (https://github.com/ashvardanian/stringzilla) registered for path 'stringzilla'
Cloning into '/host/spi-builder-workspace/fp16'...
Cloning into '/host/spi-builder-workspace/simsimd'...
Cloning into '/host/spi-builder-workspace/stringzilla'...
Cloned https://github.com/unum-cloud/usearch.git
Revision (git rev-parse @):
fd6279af6bc205baab1e0ad48651cc0f875cdb7d
SUCCESS checkout https://github.com/unum-cloud/usearch.git at v2.21.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/unum-cloud/usearch.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:2ffdcefcdb291d9eb78a77ed5e4b4766a710a1cb89004e0bfdb0fefda731df2f
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/3] Write sources
In file included from /host/spi-builder-workspace/c/lib.cpp:3:
In file included from /host/spi-builder-workspace/include/usearch/index_dense.hpp:12:
In file included from /host/spi-builder-workspace/include/usearch/index_plugins.hpp:74:
In file included from /host/spi-builder-workspace/simsimd/include/simsimd/simsimd.h:104:
In file included from /host/spi-builder-workspace/simsimd/include/simsimd/binary.h:50:
/host/spi-builder-workspace/simsimd/include/simsimd/types.h:318:2: warning: "Unknown compiler or architecture for float16." [-W#warnings]
  318 | #warning "Unknown compiler or architecture for float16."
      |  ^
/host/spi-builder-workspace/simsimd/include/simsimd/types.h:366:2: warning: "Unknown compiler or architecture for bfloat16." [-W#warnings]
  366 | #warning "Unknown compiler or architecture for bfloat16."
      |  ^
In file included from /host/spi-builder-workspace/c/lib.cpp:3:
In file included from /host/spi-builder-workspace/include/usearch/index_dense.hpp:12:
In file included from /host/spi-builder-workspace/include/usearch/index_plugins.hpp:74:
/host/spi-builder-workspace/simsimd/include/simsimd/simsimd.h:611:32: warning: unknown warning group '-Wvolatile', ignored [-Wunknown-warning-option]
  611 | #pragma GCC diagnostic ignored "-Wvolatile"
      |                                ^
/host/spi-builder-workspace/simsimd/include/simsimd/simsimd.h:612:34: warning: unknown warning group '-Wvolatile', ignored [-Wunknown-warning-option]
  612 | #pragma clang diagnostic ignored "-Wvolatile"
      |                                  ^
4 warnings generated.
[1/3] Write swift-version-24593BA9C3E375BF.txt
[2/3] Compiling USearchC lib.cpp
[4/7] Emitting module USearch
[5/7] Compiling USearch Util.swift
[6/7] Compiling USearch USearchIndex+Sugar.swift
[7/7] Compiling USearch USearchIndex.swift
Build complete! (9.83s)
Build complete.
{
  "cxx_language_standard" : "c++11",
  "dependencies" : [
  ],
  "manifest_display_name" : "USearch",
  "name" : "USearch",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "USearch",
      "targets" : [
        "USearch"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "USearchTestsSwift",
      "module_type" : "SwiftTarget",
      "name" : "USearchTestsSwift",
      "path" : "swift",
      "sources" : [
        "Test.swift"
      ],
      "target_dependencies" : [
        "USearch"
      ],
      "type" : "test"
    },
    {
      "c99name" : "USearchC",
      "module_type" : "ClangTarget",
      "name" : "USearchC",
      "path" : "c",
      "product_memberships" : [
        "USearch"
      ],
      "sources" : [
        "lib.cpp"
      ],
      "type" : "library"
    },
    {
      "c99name" : "USearch",
      "module_type" : "SwiftTarget",
      "name" : "USearch",
      "path" : "swift",
      "product_memberships" : [
        "USearch"
      ],
      "sources" : [
        "USearchIndex+Sugar.swift",
        "USearchIndex.swift",
        "Util.swift"
      ],
      "target_dependencies" : [
        "USearchC"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:2ffdcefcdb291d9eb78a77ed5e4b4766a710a1cb89004e0bfdb0fefda731df2f
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.