The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of SwiftNP, reference main (ef19b2), with Swift 6.2 (beta) for macOS (SPM) on 25 Jun 2025 19:26:52 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/k-arindam/SwiftNP.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/k-arindam/SwiftNP
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ef19b20 [WIP] Structure Definition Part 2
Cloned https://github.com/k-arindam/SwiftNP.git
Revision (git rev-parse @):
ef19b20fd6b132c56b7791bb2ac8707807654389
SUCCESS checkout https://github.com/k-arindam/SwiftNP.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/k-arindam/SwiftNP.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/6] Write sources
[2/6] Copying Localizable.xcstrings
[4/6] Copying Media.xcassets
[5/6] Write swift-version-1EA4D86E10B52AF.txt
[7/55] Compiling SwiftNP ArithmeticOperation.swift
[8/55] Compiling SwiftNP ReshapeOrder.swift
[9/55] Compiling SwiftNP SNPBackendProvider.swift
[10/55] Compiling SwiftNP SNPError.swift
[11/55] Compiling SwiftNP ScalarOperation.swift
[12/55] Compiling SwiftNP Array+Extensions.swift
[13/60] Compiling SwiftNP Int+Extensions.swift
[14/60] Compiling SwiftNP MLMultiArray+Extensions.swift
[15/60] Compiling SwiftNP Numeric+Extensions.swift
[16/60] Compiling SwiftNP Shape+Extensions.swift
[17/60] Compiling SwiftNP String+Extensions.swift
[18/60] Compiling SwiftNP SwiftBackend.swift
[19/60] Compiling SwiftNP SwiftNP.swift
[20/60] Compiling SwiftNP Typealiases.swift
[21/60] Compiling SwiftNP Utils.swift
[22/60] Compiling SwiftNP resource_bundle_accessor.swift
[23/60] Compiling SwiftNP CGImage+NDArray.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNP/NDArray/NDArray.swift:19:16: warning: stored property 'dtype' of 'Sendable'-conforming generic class 'NDArray' has non-sendable type 'any SNPNumeric.Type'
17 |     public let shape: Shape
18 |
19 |     public let dtype: any SNPNumeric.Type
   |                `- warning: stored property 'dtype' of 'Sendable'-conforming generic class 'NDArray' has non-sendable type 'any SNPNumeric.Type'
20 |
21 |     public let data: [Element]
[24/60] Compiling SwiftNP MLMultiArray+NDArray.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNP/NDArray/NDArray.swift:19:16: warning: stored property 'dtype' of 'Sendable'-conforming generic class 'NDArray' has non-sendable type 'any SNPNumeric.Type'
17 |     public let shape: Shape
18 |
19 |     public let dtype: any SNPNumeric.Type
   |                `- warning: stored property 'dtype' of 'Sendable'-conforming generic class 'NDArray' has non-sendable type 'any SNPNumeric.Type'
20 |
21 |     public let data: [Element]
[25/60] Compiling SwiftNP NSImage+NDArray.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNP/NDArray/NDArray.swift:19:16: warning: stored property 'dtype' of 'Sendable'-conforming generic class 'NDArray' has non-sendable type 'any SNPNumeric.Type'
17 |     public let shape: Shape
18 |
19 |     public let dtype: any SNPNumeric.Type
   |                `- warning: stored property 'dtype' of 'Sendable'-conforming generic class 'NDArray' has non-sendable type 'any SNPNumeric.Type'
20 |
21 |     public let data: [Element]
[26/60] Compiling SwiftNP UIImage+NDArray.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNP/NDArray/NDArray.swift:19:16: warning: stored property 'dtype' of 'Sendable'-conforming generic class 'NDArray' has non-sendable type 'any SNPNumeric.Type'
17 |     public let shape: Shape
18 |
19 |     public let dtype: any SNPNumeric.Type
   |                `- warning: stored property 'dtype' of 'Sendable'-conforming generic class 'NDArray' has non-sendable type 'any SNPNumeric.Type'
20 |
21 |     public let data: [Element]
[27/60] Compiling SwiftNP NDArray.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNP/NDArray/NDArray.swift:19:16: warning: stored property 'dtype' of 'Sendable'-conforming generic class 'NDArray' has non-sendable type 'any SNPNumeric.Type'
17 |     public let shape: Shape
18 |
19 |     public let dtype: any SNPNumeric.Type
   |                `- warning: stored property 'dtype' of 'Sendable'-conforming generic class 'NDArray' has non-sendable type 'any SNPNumeric.Type'
20 |
21 |     public let data: [Element]
[28/60] Compiling SwiftNP Broadcasting+AccelerateBackend.swift
[29/60] Compiling SwiftNP Indexing+AccelerateBackend.swift
[30/60] Compiling SwiftNP Reshape+AccelerateBackend.swift
[31/60] Compiling SwiftNP Statistical+AccelerateBackend.swift
[32/60] Compiling SwiftNP Transpose+AccelerateBackend.swift
[33/60] Compiling SwiftNP Constants.swift
[34/60] Compiling SwiftNP Arithmetic+NDArray.swift
[35/60] Compiling SwiftNP Broadcasting+NDArray.swift
[36/60] Compiling SwiftNP Indexing+NDArray.swift
[37/60] Compiling SwiftNP Reshape+NDArray.swift
[38/60] Compiling SwiftNP Statistical+NDArray.swift
[39/60] Compiling SwiftNP Broadcasting+SwiftBackend.swift
[40/60] Compiling SwiftNP Indexing+SwiftBackend.swift
[41/60] Compiling SwiftNP Reshape+SwiftBackend.swift
[42/60] Compiling SwiftNP Statistical+SwiftBackend.swift
[43/60] Compiling SwiftNP Transpose+SwiftBackend.swift
[44/60] Compiling SwiftNP Transpose+NDArray.swift
[45/60] Compiling SwiftNP Initializers+NDArray.swift
[46/60] Compiling SwiftNP Operators+NDArray.swift
[47/60] Compiling SwiftNP SNPBackend.swift
[48/60] Compiling SwiftNP SNPNumeric.swift
[49/60] Compiling SwiftNP CGImage+SwiftBackend.swift
[50/60] Compiling SwiftNP MLMultiArray+SwiftBackend.swift
[51/60] Compiling SwiftNP NSImage+SwiftBackend.swift
[52/60] Compiling SwiftNP UIImage+SwiftBackend.swift
[53/60] Compiling SwiftNP Arithmetic+SwiftBackend.swift
[54/60] Emitting module SwiftNP
/Users/admin/builder/spi-builder-workspace/Sources/SwiftNP/NDArray/NDArray.swift:19:16: warning: stored property 'dtype' of 'Sendable'-conforming generic class 'NDArray' has non-sendable type 'any SNPNumeric.Type'
17 |     public let shape: Shape
18 |
19 |     public let dtype: any SNPNumeric.Type
   |                `- warning: stored property 'dtype' of 'Sendable'-conforming generic class 'NDArray' has non-sendable type 'any SNPNumeric.Type'
20 |
21 |     public let data: [Element]
[55/60] Compiling SwiftNP AccelerateBackend.swift
[56/60] Compiling SwiftNP CGImage+AccelerateBackend.swift
[57/60] Compiling SwiftNP MLMultiArray+AccelerateBackend.swift
[58/60] Compiling SwiftNP NSImage+AccelerateBackend.swift
[59/60] Compiling SwiftNP UIImage+AccelerateBackend.swift
[60/60] Compiling SwiftNP Arithmetic+AccelerateBackend.swift
Build complete! (24.89s)
Fetching https://github.com/swiftlang/swift-docc-plugin.git
[1/2082] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin.git from cache (1.10s)
Computing version for https://github.com/swiftlang/swift-docc-plugin.git
Computed https://github.com/swiftlang/swift-docc-plugin.git at 1.4.4 (3.46s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3416] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.10s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.65s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin.git
Working copy of https://github.com/swiftlang/swift-docc-plugin.git resolved at 1.4.4
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/SwiftNP/SwiftNP.swift.bak
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-docc-plugin.git"
    }
  ],
  "manifest_display_name" : "SwiftNP",
  "name" : "SwiftNP",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftNP",
      "targets" : [
        "SwiftNP"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftNPTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftNPTests",
      "path" : "Tests/SwiftNPTests",
      "sources" : [
        "SwiftNPTests.swift"
      ],
      "target_dependencies" : [
        "SwiftNP"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftNP",
      "module_type" : "SwiftTarget",
      "name" : "SwiftNP",
      "path" : "Sources/SwiftNP",
      "product_memberships" : [
        "SwiftNP"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/SwiftNP/Resources/Localizable.xcstrings",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/SwiftNP/Resources/Media.xcassets",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "AccelerateBackend/AccelerateBackend.swift",
        "AccelerateBackend/Conversions/CGImage+AccelerateBackend.swift",
        "AccelerateBackend/Conversions/MLMultiArray+AccelerateBackend.swift",
        "AccelerateBackend/Conversions/NSImage+AccelerateBackend.swift",
        "AccelerateBackend/Conversions/UIImage+AccelerateBackend.swift",
        "AccelerateBackend/Operations/Arithmetic+AccelerateBackend.swift",
        "AccelerateBackend/Operations/Broadcasting+AccelerateBackend.swift",
        "AccelerateBackend/Operations/Indexing+AccelerateBackend.swift",
        "AccelerateBackend/Operations/Reshape+AccelerateBackend.swift",
        "AccelerateBackend/Operations/Statistical+AccelerateBackend.swift",
        "AccelerateBackend/Operations/Transpose+AccelerateBackend.swift",
        "Common/Constants.swift",
        "Enums/ArithmeticOperation.swift",
        "Enums/ReshapeOrder.swift",
        "Enums/SNPBackendProvider.swift",
        "Enums/SNPError.swift",
        "Enums/ScalarOperation.swift",
        "Extensions/Array+Extensions.swift",
        "Extensions/Int+Extensions.swift",
        "Extensions/MLMultiArray+Extensions.swift",
        "Extensions/Numeric+Extensions.swift",
        "Extensions/Shape+Extensions.swift",
        "Extensions/String+Extensions.swift",
        "NDArray/Conversions/CGImage+NDArray.swift",
        "NDArray/Conversions/MLMultiArray+NDArray.swift",
        "NDArray/Conversions/NSImage+NDArray.swift",
        "NDArray/Conversions/UIImage+NDArray.swift",
        "NDArray/NDArray.swift",
        "NDArray/Operations/Arithmetic+NDArray.swift",
        "NDArray/Operations/Broadcasting+NDArray.swift",
        "NDArray/Operations/Indexing+NDArray.swift",
        "NDArray/Operations/Reshape+NDArray.swift",
        "NDArray/Operations/Statistical+NDArray.swift",
        "NDArray/Operations/Transpose+NDArray.swift",
        "NDArray/Others/Initializers+NDArray.swift",
        "NDArray/Others/Operators+NDArray.swift",
        "Protocols/SNPBackend.swift",
        "Protocols/SNPNumeric.swift",
        "SwiftBackend/Conversions/CGImage+SwiftBackend.swift",
        "SwiftBackend/Conversions/MLMultiArray+SwiftBackend.swift",
        "SwiftBackend/Conversions/NSImage+SwiftBackend.swift",
        "SwiftBackend/Conversions/UIImage+SwiftBackend.swift",
        "SwiftBackend/Operations/Arithmetic+SwiftBackend.swift",
        "SwiftBackend/Operations/Broadcasting+SwiftBackend.swift",
        "SwiftBackend/Operations/Indexing+SwiftBackend.swift",
        "SwiftBackend/Operations/Reshape+SwiftBackend.swift",
        "SwiftBackend/Operations/Statistical+SwiftBackend.swift",
        "SwiftBackend/Operations/Transpose+SwiftBackend.swift",
        "SwiftBackend/SwiftBackend.swift",
        "SwiftNP.swift",
        "Typealiases.swift",
        "Utils.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.1"
}
Done.