Build Information
Successful build of swift-safetensors, reference 0.0.8 (02f8e8
), with Swift 6.0 for macOS (SPM) on 23 Mar 2025 21:34:34 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
Build Log
========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jkrukowski/swift-safetensors.git
Reference: 0.0.8
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jkrukowski/swift-safetensors
* tag 0.0.8 -> FETCH_HEAD
HEAD is now at 02f8e83 Added sharding support
Cloned https://github.com/jkrukowski/swift-safetensors.git
Revision (git rev-parse @):
02f8e83e16c3334aaf55fc64fb0ab12e82f527bc
SUCCESS checkout https://github.com/jkrukowski/swift-safetensors.git at 0.0.8
========================================
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": "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",
"dependencies": [
]
}
]
}
Fetching https://github.com/jkrukowski/swift-safetensors.git
[1/200] Fetching swift-safetensors
Fetched https://github.com/jkrukowski/swift-safetensors.git from cache (0.68s)
Creating working copy for https://github.com/jkrukowski/swift-safetensors.git
Working copy of https://github.com/jkrukowski/swift-safetensors.git resolved at 0.0.8 (02f8e83)
warning: '.resolve-product-dependencies': dependency 'swift-safetensors' 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/jkrukowski/swift-safetensors.git
https://github.com/jkrukowski/swift-safetensors.git
{
"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" : [
"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/MLMultiArray.swift",
"Backend/MLShapedArray.swift",
"Backend/MLTensor.swift",
"Backend/SafetensorsEncodable.swift",
"HeaderElement.swift",
"OffsetRange.swift",
"ParsedSafetensors.swift",
"ParsedSafetensorsIndex.swift",
"Safetensors.swift",
"TensorData.swift",
"Utils.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-5BDAB9E9C0126B9D.txt
[3/13] Compiling Safetensors TensorData.swift
[4/13] Compiling Safetensors OffsetRange.swift
[5/13] Compiling Safetensors HeaderElement.swift
[6/13] Emitting module Safetensors
[7/13] Compiling Safetensors ParsedSafetensors.swift
[8/13] Compiling Safetensors SafetensorsEncodable.swift
[9/13] Compiling Safetensors MLTensor.swift
[10/13] Compiling Safetensors ParsedSafetensorsIndex.swift
[11/13] Compiling Safetensors Safetensors.swift
[12/13] Compiling Safetensors MLMultiArray.swift
[13/13] Compiling Safetensors MLShapedArray.swift
[14/14] Compiling Safetensors Utils.swift
Build complete! (13.66s)
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" : [
"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/MLMultiArray.swift",
"Backend/MLShapedArray.swift",
"Backend/MLTensor.swift",
"Backend/SafetensorsEncodable.swift",
"HeaderElement.swift",
"OffsetRange.swift",
"ParsedSafetensors.swift",
"ParsedSafetensorsIndex.swift",
"Safetensors.swift",
"TensorData.swift",
"Utils.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Done.