Build Information
Successful build of TensorSwift, reference 0.2.3 (f4616d), with Swift 6.3 for macOS (SPM) on 21 Apr 2026 06:10:53 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/qoncept/TensorSwift.git
Reference: 0.2.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/qoncept/TensorSwift
* tag 0.2.3 -> FETCH_HEAD
HEAD is now at f4616d0 Merge pull request #12 from qoncept/dev-0.2.3
Cloned https://github.com/qoncept/TensorSwift.git
Revision (git rev-parse @):
f4616d049b2d5dc89ed537ad6532a505f2d3391d
SUCCESS checkout https://github.com/qoncept/TensorSwift.git at 0.2.3
========================================
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": "tensorswift",
"name": "TensorSwift",
"url": "https://github.com/qoncept/TensorSwift.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/TensorSwift",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
Fetching https://github.com/qoncept/TensorSwift.git
[1/979] Fetching tensorswift
Fetched https://github.com/qoncept/TensorSwift.git from cache (1.54s)
Creating working copy for https://github.com/qoncept/TensorSwift.git
Working copy of https://github.com/qoncept/TensorSwift.git resolved at 0.2.3 (f4616d0)
warning: '.resolve-product-dependencies': dependency 'tensorswift' 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/qoncept/TensorSwift.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/10] Compiling TensorSwift TensorMath.swift
[4/10] Compiling TensorSwift Utils.swift
[5/10] Compiling TensorSwift TensorNN.swift
/Users/admin/builder/spi-builder-workspace/Sources/TensorSwift/TensorNN.swift:59:37: warning: initialization of 'UnsafeMutablePointer<Tensor.Element>' (aka 'UnsafeMutablePointer<Float>') results in a dangling pointer [#TemporaryPointers]
57 | let inMaxX = Swift.min(inX0 + inMaxDx, inCols - 1)
58 |
59 | var inPointer = UnsafeMutablePointer<Element>(mutating: self.elements) + (inY * inCols + inMinX) * numChannels
| | |- note: implicit argument conversion from '[Tensor.Element]' (aka 'Array<Float>') to 'UnsafePointer<Tensor.Element>' (aka 'UnsafePointer<Float>') produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Tensor.Element>' (aka 'UnsafeMutablePointer<Float>') results in a dangling pointer [#TemporaryPointers]
60 | for _ in inMinX...inMaxX {
61 | var outPointer = UnsafeMutablePointer<Element>(mutating: elements) + outPixelIndex * numChannels
/Users/admin/builder/spi-builder-workspace/Sources/TensorSwift/TensorNN.swift:61:42: warning: initialization of 'UnsafeMutablePointer<Tensor.Element>' (aka 'UnsafeMutablePointer<Float>') results in a dangling pointer [#TemporaryPointers]
59 | var inPointer = UnsafeMutablePointer<Element>(mutating: self.elements) + (inY * inCols + inMinX) * numChannels
60 | for _ in inMinX...inMaxX {
61 | var outPointer = UnsafeMutablePointer<Element>(mutating: elements) + outPixelIndex * numChannels
| | |- note: implicit argument conversion from '[Tensor.Element]' (aka 'Array<Float>') to 'UnsafePointer<Tensor.Element>' (aka 'UnsafePointer<Float>') produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Tensor.Element>' (aka 'UnsafeMutablePointer<Float>') results in a dangling pointer [#TemporaryPointers]
62 | for _ in 0..<numChannels {
63 | outPointer.pointee = Swift.max(outPointer.pointee, inPointer.pointee)
/Users/admin/builder/spi-builder-workspace/Sources/TensorSwift/TensorNN.swift:105:35: warning: initialization of 'UnsafePointer<Float>' results in a dangling pointer [#TemporaryPointers]
103 |
104 | #if os(iOS) || os(OSX)
105 | let elementsPointer = UnsafePointer<Float>(elements)
| | |- note: implicit argument conversion from '[Tensor.Element]' (aka 'Array<Float>') to 'UnsafePointer<Float>' produces a pointer valid only for the duration of the call to 'init(_:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafePointer<Float>' results in a dangling pointer [#TemporaryPointers]
106 |
107 | // a.shape == [outRows * outCols, rowSize]
/Users/admin/builder/spi-builder-workspace/Sources/TensorSwift/TensorNN.swift:121:32: warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer [#TemporaryPointers]
119 |
120 | // Add (x,y)'s patch as a vector
121 | var dest = UnsafeMutablePointer<Float>(mutating: a) + ((y * outCols + x) * filterHeight - Swift.min(inY0 + inMinDy, 0)) * filterWidth * inChannels
| | |- note: implicit argument conversion from '[Float]' to 'UnsafePointer<Float>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer [#TemporaryPointers]
122 | var src = elementsPointer + (inMinY * inCols + inMinX) * inChannels
123 | for _ in inMinY...inMaxY {
/Users/admin/builder/spi-builder-workspace/Sources/TensorSwift/TensorNN.swift:145:17: warning: initialization of 'UnsafePointer<Float>' results in a dangling pointer [#TemporaryPointers]
143 | k, // K
144 | 1.0, // alpha
145 | UnsafePointer<Float>(a), // A
| | |- note: implicit argument conversion from '[Float]' to 'UnsafePointer<Float>' produces a pointer valid only for the duration of the call to 'init(_:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafePointer<Float>' results in a dangling pointer [#TemporaryPointers]
146 | k, // lda
147 | UnsafePointer<Float>(filter.elements), // B
/Users/admin/builder/spi-builder-workspace/Sources/TensorSwift/TensorNN.swift:147:17: warning: initialization of 'UnsafePointer<Float>' results in a dangling pointer [#TemporaryPointers]
145 | UnsafePointer<Float>(a), // A
146 | k, // lda
147 | UnsafePointer<Float>(filter.elements), // B
| | |- note: implicit argument conversion from '[Tensor.Element]' (aka 'Array<Float>') to 'UnsafePointer<Float>' produces a pointer valid only for the duration of the call to 'init(_:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafePointer<Float>' results in a dangling pointer [#TemporaryPointers]
148 | n, // ldb
149 | 1.0, // beta
/Users/admin/builder/spi-builder-workspace/Sources/TensorSwift/TensorNN.swift:150:17: warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer [#TemporaryPointers]
148 | n, // ldb
149 | 1.0, // beta
150 | UnsafeMutablePointer<Float>(mutating: result.elements), // C
| | |- note: implicit argument conversion from '[Tensor.Element]' (aka 'Array<Float>') to 'UnsafePointer<Float>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer [#TemporaryPointers]
151 | n // ldc
152 | )
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
[6/10] Compiling TensorSwift Operators.swift
[7/10] Compiling TensorSwift Shape.swift
[8/10] Compiling TensorSwift Dimension.swift
[9/10] Compiling TensorSwift Tensor.swift
/Users/admin/builder/spi-builder-workspace/Sources/TensorSwift/Tensor.swift:165:17: warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer [#TemporaryPointers]
163 | n, // ldb
164 | 1.0, // beta
165 | UnsafeMutablePointer<Float>(mutating: result.elements), // C
| | |- note: implicit argument conversion from '[Tensor.Element]' (aka 'Array<Float>') to 'UnsafePointer<Float>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
| | `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
| `- warning: initialization of 'UnsafeMutablePointer<Float>' results in a dangling pointer [#TemporaryPointers]
166 | n // ldc
167 | )
[#TemporaryPointers]: <https://docs.swift.org/compiler/documentation/diagnostics/temporary-pointers>
[10/10] Emitting module TensorSwift
Build complete! (5.84s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "TensorSwift",
"name" : "TensorSwift",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "TensorSwift",
"targets" : [
"TensorSwift"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "TensorSwiftTests",
"module_type" : "SwiftTarget",
"name" : "TensorSwiftTests",
"path" : "Tests/TensorSwiftTests",
"sources" : [
"CalculationPerformanceTests.swift",
"DimensionTests.swift",
"PowerTests.swift",
"TensorMathTest.swift",
"TensorNNTests.swift",
"TensorSwiftSample.swift",
"TensorSwiftTests.swift",
"TensorTests.swift"
],
"target_dependencies" : [
"TensorSwift"
],
"type" : "test"
},
{
"c99name" : "TensorSwift",
"module_type" : "SwiftTarget",
"name" : "TensorSwift",
"path" : "Sources/TensorSwift",
"product_memberships" : [
"TensorSwift"
],
"sources" : [
"Dimension.swift",
"Operators.swift",
"Shape.swift",
"Tensor.swift",
"TensorMath.swift",
"TensorNN.swift",
"Utils.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Done.