The Swift Package Index logo.Swift Package Index

Build Information

Successful build of swift-safetensors, reference 0.1.1 (3852f0), with Swift 6.3 for macOS (SPM) on 18 Apr 2026 11:23:38 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jkrukowski/swift-safetensors.git
Reference: 0.1.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jkrukowski/swift-safetensors
 * tag               0.1.1      -> FETCH_HEAD
HEAD is now at 3852f0b fix: Ensure Float16 tests are platform-specific
Cloned https://github.com/jkrukowski/swift-safetensors.git
Revision (git rev-parse @):
3852f0bd561071588361c26c49c016d344234c60
SUCCESS checkout https://github.com/jkrukowski/swift-safetensors.git at 0.1.1
========================================
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",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "swift-safetensors",
      "name": "swift-safetensors",
      "url": "https://github.com/jkrukowski/swift-safetensors.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-safetensors",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/jkrukowski/swift-safetensors.git
[1/263] Fetching swift-safetensors
Fetched https://github.com/jkrukowski/swift-safetensors.git from cache (0.73s)
Creating working copy for https://github.com/jkrukowski/swift-safetensors.git
Working copy of https://github.com/jkrukowski/swift-safetensors.git resolved at 0.1.1 (3852f0b)
warning: '.resolve-product-dependencies': dependency 'swift-safetensors' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/jkrukowski/swift-safetensors.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
[3/19] Compiling Safetensors Safetensors.swift
[4/19] Compiling Safetensors SafetensorsBuilder.swift
[5/19] Compiling Safetensors TensorData.swift
[6/19] Compiling Safetensors ShardedData.swift
[7/19] Compiling Safetensors HeaderElement.swift
[8/19] Compiling Safetensors OffsetRange.swift
[9/19] Compiling Safetensors ParsedSafetensors.swift
[10/19] Compiling Safetensors ParsedSafetensorsIndex.swift
[11/20] Compiling Safetensors Utils.swift
[12/20] Compiling Safetensors DataType.swift
[13/20] Compiling Safetensors EncodedSafetensors.swift
[14/20] Emitting module Safetensors
[15/20] Compiling Safetensors MLTensor.swift
[16/20] Compiling Safetensors SafetensorsEncodable.swift
[17/20] Compiling Safetensors Array.swift
[18/20] Compiling Safetensors InlineArray.swift
[19/20] Compiling Safetensors MLMultiArray.swift
[20/20] Compiling Safetensors MLShapedArray.swift
Build complete! (6.73s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-safetensors",
  "name" : "swift-safetensors",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "Safetensors",
      "targets" : [
        "Safetensors"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SafetensorsTests",
      "module_type" : "SwiftTarget",
      "name" : "SafetensorsTests",
      "path" : "Tests/SafetensorsTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SafetensorsTests/data.safetensors",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "ArrayTests.swift",
        "InlineArrayTests.swift",
        "MLMultiArrayTests.swift",
        "MLShapedArrayTests.swift",
        "MLTensorTests.swift",
        "SafetensorTests.swift",
        "ShardingTests.swift",
        "TestUtils.swift"
      ],
      "target_dependencies" : [
        "Safetensors"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Safetensors",
      "module_type" : "SwiftTarget",
      "name" : "Safetensors",
      "path" : "Sources/Safetensors",
      "product_memberships" : [
        "Safetensors"
      ],
      "sources" : [
        "Backend/Array.swift",
        "Backend/InlineArray.swift",
        "Backend/MLMultiArray.swift",
        "Backend/MLShapedArray.swift",
        "Backend/MLTensor.swift",
        "Backend/SafetensorsEncodable.swift",
        "DataType.swift",
        "EncodedSafetensors.swift",
        "HeaderElement.swift",
        "OffsetRange.swift",
        "ParsedSafetensors.swift",
        "ParsedSafetensorsIndex.swift",
        "Safetensors.swift",
        "SafetensorsBuilder.swift",
        "ShardedData.swift",
        "TensorData.swift",
        "Utils.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Done.