The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of USearch, reference v2.16.2 (dccdd8), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 20:04:32 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/unum-cloud/usearch.git
Reference: v2.16.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/unum-cloud/usearch
 * tag               v2.16.2    -> FETCH_HEAD
HEAD is now at dccdd8e Release: v2.16.2 [skip ci]
Submodule path 'fp16': checked out '0a92994d729ff76a58f692d3028ca1b64b145d91'
Submodule path 'simsimd': checked out '935fef2964bc38e995c5f465b42259a35b8cf0d3'
Submodule path 'stringzilla': checked out '91d0a1a02faae90a41c60a30855d5935eb3eaef1'
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 '/Users/admin/builder/spi-builder-workspace/fp16'...
Cloning into '/Users/admin/builder/spi-builder-workspace/simsimd'...
Cloning into '/Users/admin/builder/spi-builder-workspace/stringzilla'...
Cloned https://github.com/unum-cloud/usearch.git
Revision (git rev-parse @):
dccdd8e4152de82870296163562e0281315afa42
SUCCESS checkout https://github.com/unum-cloud/usearch.git at v2.16.2
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "usearch",
      "name": "USearch",
      "url": "https://github.com/unum-cloud/usearch.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/usearch",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/unum-cloud/usearch.git
[1/13742] Fetching usearch
Fetched https://github.com/unum-cloud/usearch.git from cache (1.64s)
Creating working copy for https://github.com/unum-cloud/usearch.git
Working copy of https://github.com/unum-cloud/usearch.git resolved at v2.16.2 (dccdd8e)
warning: '.resolve-product-dependencies': dependency 'usearch' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/unum-cloud/usearch.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/3] Write sources
[1/3] Write swift-version--7754E27361AE5C74.txt
In file included from /Users/admin/builder/spi-builder-workspace/objc/USearchObjective.mm:5:
In file included from /Users/admin/builder/spi-builder-workspace/include/usearch/index_dense.hpp:12:
In file included from /Users/admin/builder/spi-builder-workspace/include/usearch/index_plugins.hpp:74:
In file included from /Users/admin/builder/spi-builder-workspace/simsimd/include/simsimd/simsimd.h:105:
In file included from /Users/admin/builder/spi-builder-workspace/simsimd/include/simsimd/binary.h:21:
/Users/admin/builder/spi-builder-workspace/simsimd/include/simsimd/types.h:357:2: warning: "Unknown compiler or architecture for bfloat16." [-W#warnings]
  357 | #warning "Unknown compiler or architecture for bfloat16."
      |  ^
In file included from /Users/admin/builder/spi-builder-workspace/objc/USearchObjective.mm:5:
In file included from /Users/admin/builder/spi-builder-workspace/include/usearch/index_dense.hpp:12:
In file included from /Users/admin/builder/spi-builder-workspace/include/usearch/index_plugins.hpp:74:
/Users/admin/builder/spi-builder-workspace/simsimd/include/simsimd/simsimd.h:536:32: warning: unknown warning group '-Wvolatile', ignored [-Wunknown-warning-option]
  536 | #pragma GCC diagnostic ignored "-Wvolatile"
      |                                ^
/Users/admin/builder/spi-builder-workspace/simsimd/include/simsimd/simsimd.h:537:34: warning: unknown warning group '-Wvolatile', ignored [-Wunknown-warning-option]
  537 | #pragma clang diagnostic ignored "-Wvolatile"
      |                                  ^
3 warnings generated.
[2/3] Compiling USearchObjective USearchObjective.mm
[4/6] Compiling USearch Index+Sugar.swift
[5/6] Compiling USearch USearch.swift
[6/6] Emitting module USearch
Build complete! (6.40s)
Build complete.
{
  "cxx_language_standard" : "c++11",
  "dependencies" : [
  ],
  "manifest_display_name" : "USearch",
  "name" : "USearch",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "USearch",
      "targets" : [
        "USearchObjective",
        "USearch"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "USearchTests",
      "module_type" : "SwiftTarget",
      "name" : "USearchTests",
      "path" : "swift",
      "sources" : [
        "Test.swift"
      ],
      "target_dependencies" : [
        "USearch"
      ],
      "type" : "test"
    },
    {
      "c99name" : "USearchObjective",
      "module_type" : "ClangTarget",
      "name" : "USearchObjective",
      "path" : "objc",
      "product_memberships" : [
        "USearch"
      ],
      "sources" : [
        "USearchObjective.mm"
      ],
      "type" : "library"
    },
    {
      "c99name" : "USearch",
      "module_type" : "SwiftTarget",
      "name" : "USearch",
      "path" : "swift",
      "product_memberships" : [
        "USearch"
      ],
      "sources" : [
        "Index+Sugar.swift",
        "USearch.swift"
      ],
      "target_dependencies" : [
        "USearchObjective"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.