The Swift Package Index logo.Swift Package Index

Build Information

Successful build of swift-hnsw, reference 0.0.2 (2f0fda), with Swift 6.4 for macOS (SPM) on 23 Sep 2026 21:48:30 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jkrukowski/swift-hnsw.git
Reference: 0.0.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jkrukowski/swift-hnsw
 * tag               0.0.2      -> FETCH_HEAD
HEAD is now at 2f0fdae typed throws
Cloned https://github.com/jkrukowski/swift-hnsw.git
Revision (git rev-parse @):
2f0fdae38877f250a04c51b98b9732ffa3f20e36
SUCCESS checkout https://github.com/jkrukowski/swift-hnsw.git at 0.0.2
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/jkrukowski/swift-hnsw.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Pre-planning 1 / 125]
[Planning deferred tasks]
[28 / 47]
[30 / 48] CHNSW
[43 / 82]
[45 / 82]
[50 / 82]
[54 / 82] CHNSW
[66 / 82] HNSW
[67 / 82] HNSW
[77 / 83] HNSW
[78 / 83] HNSWCLI-product
[86 / 108]
[90 / 108]
[92 / 108]
[95 / 108]
[98 / 108]
[100 / 108]
[101 / 108]
[104 / 108] HNSWCLI-product
[106 / 108] HNSWCLI-product
Build complete! (7.69 sec)
Fetching https://github.com/apple/swift-numerics.git
[1/6640] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git (1.31s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (1.90s)
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
/Users/admin/builder/spi-builder-workspace/Sources/CHNSW/hnsw.c:399:12: warning: implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'int' [-Wshorten-64-to-32]
  399 |     return x;
      |     ~~~~~~ ^
/Users/admin/builder/spi-builder-workspace/Sources/CHNSW/hnsw.c:1238:77: warning: implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'uint32_t' (aka 'unsigned int') [-Wshorten-64-to-32]
 1238 |                 hnsw_update_worst_neighbor_on_remove(index,worst_node,layer,j);
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                        ^
/Users/admin/builder/spi-builder-workspace/Sources/CHNSW/hnsw.c:2319:30: warning: implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'uint32_t' (aka 'unsigned int') [-Wshorten-64-to-32]
 2319 |         uint32_t num_links = params[param_idx++];
      |                  ~~~~~~~~~   ^~~~~~~~~~~~~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/CHNSW/hnsw.c:2320:30: warning: implicit conversion loses integer precision: 'uint64_t' (aka 'unsigned long long') to 'uint32_t' (aka 'unsigned int') [-Wshorten-64-to-32]
 2320 |         uint32_t max_links = params[param_idx++];
      |                  ~~~~~~~~~   ^~~~~~~~~~~~~~~~~~~
4 warnings generated.
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-numerics",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-numerics.git"
    }
  ],
  "manifest_display_name" : "swift-hnsw",
  "name" : "swift-hnsw",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "26.0"
    },
    {
      "name" : "ios",
      "version" : "26.0"
    },
    {
      "name" : "watchos",
      "version" : "26.0"
    },
    {
      "name" : "tvos",
      "version" : "26.0"
    },
    {
      "name" : "visionos",
      "version" : "26.0"
    }
  ],
  "products" : [
    {
      "name" : "HNSWCLI",
      "targets" : [
        "HNSWCLI"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "HNSW",
      "targets" : [
        "HNSW"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "HNSWTests",
      "module_type" : "SwiftTarget",
      "name" : "HNSWTests",
      "path" : "Tests/HNSWTests",
      "product_dependencies" : [
        "Numerics"
      ],
      "sources" : [
        "IndexTests.swift",
        "Utils.swift"
      ],
      "target_dependencies" : [
        "HNSW"
      ],
      "type" : "test"
    },
    {
      "c99name" : "HNSWCLI",
      "module_type" : "SwiftTarget",
      "name" : "HNSWCLI",
      "path" : "Sources/HNSWCLI",
      "product_memberships" : [
        "HNSWCLI"
      ],
      "sources" : [
        "CLI.swift"
      ],
      "target_dependencies" : [
        "HNSW"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "HNSW",
      "module_type" : "SwiftTarget",
      "name" : "HNSW",
      "path" : "Sources/HNSW",
      "product_memberships" : [
        "HNSWCLI",
        "HNSW"
      ],
      "sources" : [
        "Constants.swift",
        "Index.swift",
        "IndexError.swift",
        "InsertContext.swift",
        "Node.swift",
        "NodeIterator.swift",
        "NodeSequence.swift",
        "Quantization.swift",
        "SearchResult.swift",
        "SerializedNode.swift"
      ],
      "target_dependencies" : [
        "CHNSW"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CHNSW",
      "module_type" : "ClangTarget",
      "name" : "CHNSW",
      "path" : "Sources/CHNSW",
      "product_memberships" : [
        "HNSWCLI",
        "HNSW"
      ],
      "sources" : [
        "hnsw.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.2"
}
Done.