The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of Numerix, reference main (5b38a7), with Swift 6.0 for macOS (SPM) on 28 Sep 2024 01:43:31 UTC.

Swift 6 data race errors: 4

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.0.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.54.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/wigging/numerix.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/wigging/numerix
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 5b38a70 Add determinant function for matrix
Cloned https://github.com/wigging/numerix.git
Revision (git rev-parse @):
5b38a705783230676ab27ceb64e10eaa101cf448
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/wigging/numerix.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/wigging/numerix.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--4A847ED0836F2485.txt
[3/26] Emitting module Numerix
/Users/admin/builder/spi-builder-workspace/Sources/Numerix/Determinant.swift:23:10: warning: associated value 'illegalValue(error:matrix:)' of 'Sendable'-conforming generic enum 'DeterminantError' has non-sendable type 'Matrix<T>'; this is an error in the Swift 6 language mode
 21 |     /// - Parameter error: A string that contains the error message.
 22 |     /// - Parameter matrix: A matrix that represents the partial result.
 23 |     case illegalValue(error: String, matrix: Matrix<T>)
    |          `- warning: associated value 'illegalValue(error:matrix:)' of 'Sendable'-conforming generic enum 'DeterminantError' has non-sendable type 'Matrix<T>'; this is an error in the Swift 6 language mode
 24 |
 25 |     /// A singular matrix.
/Users/admin/builder/spi-builder-workspace/Sources/Numerix/Matrix.swift:9:15: note: consider making generic struct 'Matrix' conform to the 'Sendable' protocol
  7 |
  8 | /// A two-dimensional collection of numerical values.
  9 | public struct Matrix<T> {
    |               `- note: consider making generic struct 'Matrix' conform to the 'Sendable' protocol
 10 |
 11 |     /// Number of rows in the matrix.
/Users/admin/builder/spi-builder-workspace/Sources/Numerix/Determinant.swift:28:10: warning: associated value 'singular(error:matrix:)' of 'Sendable'-conforming generic enum 'DeterminantError' has non-sendable type 'Matrix<T>'; this is an error in the Swift 6 language mode
 26 |     /// - Parameter error: A string that contains the error message.
 27 |     /// - Parameter matrix: A matrix that represents the partial result.
 28 |     case singular(error: String, matrix: Matrix<T>)
    |          `- warning: associated value 'singular(error:matrix:)' of 'Sendable'-conforming generic enum 'DeterminantError' has non-sendable type 'Matrix<T>'; this is an error in the Swift 6 language mode
 29 | }
 30 |
/Users/admin/builder/spi-builder-workspace/Sources/Numerix/Matrix.swift:9:15: note: consider making generic struct 'Matrix' conform to the 'Sendable' protocol
  7 |
  8 | /// A two-dimensional collection of numerical values.
  9 | public struct Matrix<T> {
    |               `- note: consider making generic struct 'Matrix' conform to the 'Sendable' protocol
 10 |
 11 |     /// Number of rows in the matrix.
/Users/admin/builder/spi-builder-workspace/Sources/Numerix/Inverse.swift:25:10: warning: associated value 'illegalValue(message:matrix:)' of 'Sendable'-conforming generic enum 'InverseError' has non-sendable type 'Matrix<T>'; this is an error in the Swift 6 language mode
 23 |     /// - Parameter message: A string that contains the error message.
 24 |     /// - Parameter matrix: A matrix that represents the partial result.
 25 |     case illegalValue(message: String, matrix: Matrix<T>)
    |          `- warning: associated value 'illegalValue(message:matrix:)' of 'Sendable'-conforming generic enum 'InverseError' has non-sendable type 'Matrix<T>'; this is an error in the Swift 6 language mode
 26 |
 27 |     /// A singular matrix.
/Users/admin/builder/spi-builder-workspace/Sources/Numerix/Matrix.swift:9:15: note: consider making generic struct 'Matrix' conform to the 'Sendable' protocol
  7 |
  8 | /// A two-dimensional collection of numerical values.
  9 | public struct Matrix<T> {
    |               `- note: consider making generic struct 'Matrix' conform to the 'Sendable' protocol
 10 |
 11 |     /// Number of rows in the matrix.
/Users/admin/builder/spi-builder-workspace/Sources/Numerix/Inverse.swift:30:10: warning: associated value 'singular(message:matrix:)' of 'Sendable'-conforming generic enum 'InverseError' has non-sendable type 'Matrix<T>'; this is an error in the Swift 6 language mode
 28 |     /// - Parameter message: A string that contains the error message.
 29 |     /// - Parameter matrix: A matrix that represents the partial result.
 30 |     case singular(message: String, matrix: Matrix<T>)
    |          `- warning: associated value 'singular(message:matrix:)' of 'Sendable'-conforming generic enum 'InverseError' has non-sendable type 'Matrix<T>'; this is an error in the Swift 6 language mode
 31 | }
 32 |
/Users/admin/builder/spi-builder-workspace/Sources/Numerix/Matrix.swift:9:15: note: consider making generic struct 'Matrix' conform to the 'Sendable' protocol
  7 |
  8 | /// A two-dimensional collection of numerical values.
  9 | public struct Matrix<T> {
    |               `- note: consider making generic struct 'Matrix' conform to the 'Sendable' protocol
 10 |
 11 |     /// Number of rows in the matrix.
[4/28] Compiling Numerix Trigonometric.swift
[5/28] Compiling Numerix Vector.swift
[6/28] Compiling Numerix CumulativeSum.swift
[7/28] Compiling Numerix DataBuffer.swift
[8/28] Compiling Numerix Description.swift
[9/28] Compiling Numerix Exponential.swift
/Users/admin/builder/spi-builder-workspace/Sources/Numerix/Inverse.swift:25:10: warning: associated value 'illegalValue(message:matrix:)' of 'Sendable'-conforming generic enum 'InverseError' has non-sendable type 'Matrix<T>'; this is an error in the Swift 6 language mode
 23 |     /// - Parameter message: A string that contains the error message.
 24 |     /// - Parameter matrix: A matrix that represents the partial result.
 25 |     case illegalValue(message: String, matrix: Matrix<T>)
    |          `- warning: associated value 'illegalValue(message:matrix:)' of 'Sendable'-conforming generic enum 'InverseError' has non-sendable type 'Matrix<T>'; this is an error in the Swift 6 language mode
 26 |
 27 |     /// A singular matrix.
/Users/admin/builder/spi-builder-workspace/Sources/Numerix/Matrix.swift:9:15: note: consider making generic struct 'Matrix' conform to the 'Sendable' protocol
  7 |
  8 | /// A two-dimensional collection of numerical values.
  9 | public struct Matrix<T> {
    |               `- note: consider making generic struct 'Matrix' conform to the 'Sendable' protocol
 10 |
 11 |     /// Number of rows in the matrix.
/Users/admin/builder/spi-builder-workspace/Sources/Numerix/Inverse.swift:30:10: warning: associated value 'singular(message:matrix:)' of 'Sendable'-conforming generic enum 'InverseError' has non-sendable type 'Matrix<T>'; this is an error in the Swift 6 language mode
 28 |     /// - Parameter message: A string that contains the error message.
 29 |     /// - Parameter matrix: A matrix that represents the partial result.
 30 |     case singular(message: String, matrix: Matrix<T>)
    |          `- warning: associated value 'singular(message:matrix:)' of 'Sendable'-conforming generic enum 'InverseError' has non-sendable type 'Matrix<T>'; this is an error in the Swift 6 language mode
 31 | }
 32 |
/Users/admin/builder/spi-builder-workspace/Sources/Numerix/Matrix.swift:9:15: note: consider making generic struct 'Matrix' conform to the 'Sendable' protocol
  7 |
  8 | /// A two-dimensional collection of numerical values.
  9 | public struct Matrix<T> {
    |               `- note: consider making generic struct 'Matrix' conform to the 'Sendable' protocol
 10 |
 11 |     /// Number of rows in the matrix.
[10/28] Compiling Numerix FlatIndex.swift
/Users/admin/builder/spi-builder-workspace/Sources/Numerix/Inverse.swift:25:10: warning: associated value 'illegalValue(message:matrix:)' of 'Sendable'-conforming generic enum 'InverseError' has non-sendable type 'Matrix<T>'; this is an error in the Swift 6 language mode
 23 |     /// - Parameter message: A string that contains the error message.
 24 |     /// - Parameter matrix: A matrix that represents the partial result.
 25 |     case illegalValue(message: String, matrix: Matrix<T>)
    |          `- warning: associated value 'illegalValue(message:matrix:)' of 'Sendable'-conforming generic enum 'InverseError' has non-sendable type 'Matrix<T>'; this is an error in the Swift 6 language mode
 26 |
 27 |     /// A singular matrix.
/Users/admin/builder/spi-builder-workspace/Sources/Numerix/Matrix.swift:9:15: note: consider making generic struct 'Matrix' conform to the 'Sendable' protocol
  7 |
  8 | /// A two-dimensional collection of numerical values.
  9 | public struct Matrix<T> {
    |               `- note: consider making generic struct 'Matrix' conform to the 'Sendable' protocol
 10 |
 11 |     /// Number of rows in the matrix.
/Users/admin/builder/spi-builder-workspace/Sources/Numerix/Inverse.swift:30:10: warning: associated value 'singular(message:matrix:)' of 'Sendable'-conforming generic enum 'InverseError' has non-sendable type 'Matrix<T>'; this is an error in the Swift 6 language mode
 28 |     /// - Parameter message: A string that contains the error message.
 29 |     /// - Parameter matrix: A matrix that represents the partial result.
 30 |     case singular(message: String, matrix: Matrix<T>)
    |          `- warning: associated value 'singular(message:matrix:)' of 'Sendable'-conforming generic enum 'InverseError' has non-sendable type 'Matrix<T>'; this is an error in the Swift 6 language mode
 31 | }
 32 |
/Users/admin/builder/spi-builder-workspace/Sources/Numerix/Matrix.swift:9:15: note: consider making generic struct 'Matrix' conform to the 'Sendable' protocol
  7 |
  8 | /// A two-dimensional collection of numerical values.
  9 | public struct Matrix<T> {
    |               `- note: consider making generic struct 'Matrix' conform to the 'Sendable' protocol
 10 |
 11 |     /// Number of rows in the matrix.
[11/28] Compiling Numerix Inverse.swift
/Users/admin/builder/spi-builder-workspace/Sources/Numerix/Inverse.swift:25:10: warning: associated value 'illegalValue(message:matrix:)' of 'Sendable'-conforming generic enum 'InverseError' has non-sendable type 'Matrix<T>'; this is an error in the Swift 6 language mode
 23 |     /// - Parameter message: A string that contains the error message.
 24 |     /// - Parameter matrix: A matrix that represents the partial result.
 25 |     case illegalValue(message: String, matrix: Matrix<T>)
    |          `- warning: associated value 'illegalValue(message:matrix:)' of 'Sendable'-conforming generic enum 'InverseError' has non-sendable type 'Matrix<T>'; this is an error in the Swift 6 language mode
 26 |
 27 |     /// A singular matrix.
/Users/admin/builder/spi-builder-workspace/Sources/Numerix/Matrix.swift:9:15: note: consider making generic struct 'Matrix' conform to the 'Sendable' protocol
  7 |
  8 | /// A two-dimensional collection of numerical values.
  9 | public struct Matrix<T> {
    |               `- note: consider making generic struct 'Matrix' conform to the 'Sendable' protocol
 10 |
 11 |     /// Number of rows in the matrix.
/Users/admin/builder/spi-builder-workspace/Sources/Numerix/Inverse.swift:30:10: warning: associated value 'singular(message:matrix:)' of 'Sendable'-conforming generic enum 'InverseError' has non-sendable type 'Matrix<T>'; this is an error in the Swift 6 language mode
 28 |     /// - Parameter message: A string that contains the error message.
 29 |     /// - Parameter matrix: A matrix that represents the partial result.
 30 |     case singular(message: String, matrix: Matrix<T>)
    |          `- warning: associated value 'singular(message:matrix:)' of 'Sendable'-conforming generic enum 'InverseError' has non-sendable type 'Matrix<T>'; this is an error in the Swift 6 language mode
 31 | }
 32 |
/Users/admin/builder/spi-builder-workspace/Sources/Numerix/Matrix.swift:9:15: note: consider making generic struct 'Matrix' conform to the 'Sendable' protocol
  7 |
  8 | /// A two-dimensional collection of numerical values.
  9 | public struct Matrix<T> {
    |               `- note: consider making generic struct 'Matrix' conform to the 'Sendable' protocol
 10 |
 11 |     /// Number of rows in the matrix.
[12/28] Compiling Numerix Subtraction.swift
[13/28] Compiling Numerix Transpose.swift
[14/28] Compiling Numerix Norm.swift
[15/28] Compiling Numerix Pad.swift
[16/28] Compiling Numerix Determinant.swift
/Users/admin/builder/spi-builder-workspace/Sources/Numerix/Determinant.swift:23:10: warning: associated value 'illegalValue(error:matrix:)' of 'Sendable'-conforming generic enum 'DeterminantError' has non-sendable type 'Matrix<T>'; this is an error in the Swift 6 language mode
 21 |     /// - Parameter error: A string that contains the error message.
 22 |     /// - Parameter matrix: A matrix that represents the partial result.
 23 |     case illegalValue(error: String, matrix: Matrix<T>)
    |          `- warning: associated value 'illegalValue(error:matrix:)' of 'Sendable'-conforming generic enum 'DeterminantError' has non-sendable type 'Matrix<T>'; this is an error in the Swift 6 language mode
 24 |
 25 |     /// A singular matrix.
/Users/admin/builder/spi-builder-workspace/Sources/Numerix/Matrix.swift:9:15: note: consider making generic struct 'Matrix' conform to the 'Sendable' protocol
  7 |
  8 | /// A two-dimensional collection of numerical values.
  9 | public struct Matrix<T> {
    |               `- note: consider making generic struct 'Matrix' conform to the 'Sendable' protocol
 10 |
 11 |     /// Number of rows in the matrix.
/Users/admin/builder/spi-builder-workspace/Sources/Numerix/Determinant.swift:28:10: warning: associated value 'singular(error:matrix:)' of 'Sendable'-conforming generic enum 'DeterminantError' has non-sendable type 'Matrix<T>'; this is an error in the Swift 6 language mode
 26 |     /// - Parameter error: A string that contains the error message.
 27 |     /// - Parameter matrix: A matrix that represents the partial result.
 28 |     case singular(error: String, matrix: Matrix<T>)
    |          `- warning: associated value 'singular(error:matrix:)' of 'Sendable'-conforming generic enum 'DeterminantError' has non-sendable type 'Matrix<T>'; this is an error in the Swift 6 language mode
 29 | }
 30 |
/Users/admin/builder/spi-builder-workspace/Sources/Numerix/Matrix.swift:9:15: note: consider making generic struct 'Matrix' conform to the 'Sendable' protocol
  7 |
  8 | /// A two-dimensional collection of numerical values.
  9 | public struct Matrix<T> {
    |               `- note: consider making generic struct 'Matrix' conform to the 'Sendable' protocol
 10 |
 11 |     /// Number of rows in the matrix.
[17/28] Compiling Numerix Division.swift
/Users/admin/builder/spi-builder-workspace/Sources/Numerix/Determinant.swift:23:10: warning: associated value 'illegalValue(error:matrix:)' of 'Sendable'-conforming generic enum 'DeterminantError' has non-sendable type 'Matrix<T>'; this is an error in the Swift 6 language mode
 21 |     /// - Parameter error: A string that contains the error message.
 22 |     /// - Parameter matrix: A matrix that represents the partial result.
 23 |     case illegalValue(error: String, matrix: Matrix<T>)
    |          `- warning: associated value 'illegalValue(error:matrix:)' of 'Sendable'-conforming generic enum 'DeterminantError' has non-sendable type 'Matrix<T>'; this is an error in the Swift 6 language mode
 24 |
 25 |     /// A singular matrix.
/Users/admin/builder/spi-builder-workspace/Sources/Numerix/Matrix.swift:9:15: note: consider making generic struct 'Matrix' conform to the 'Sendable' protocol
  7 |
  8 | /// A two-dimensional collection of numerical values.
  9 | public struct Matrix<T> {
    |               `- note: consider making generic struct 'Matrix' conform to the 'Sendable' protocol
 10 |
 11 |     /// Number of rows in the matrix.
/Users/admin/builder/spi-builder-workspace/Sources/Numerix/Determinant.swift:28:10: warning: associated value 'singular(error:matrix:)' of 'Sendable'-conforming generic enum 'DeterminantError' has non-sendable type 'Matrix<T>'; this is an error in the Swift 6 language mode
 26 |     /// - Parameter error: A string that contains the error message.
 27 |     /// - Parameter matrix: A matrix that represents the partial result.
 28 |     case singular(error: String, matrix: Matrix<T>)
    |          `- warning: associated value 'singular(error:matrix:)' of 'Sendable'-conforming generic enum 'DeterminantError' has non-sendable type 'Matrix<T>'; this is an error in the Swift 6 language mode
 29 | }
 30 |
/Users/admin/builder/spi-builder-workspace/Sources/Numerix/Matrix.swift:9:15: note: consider making generic struct 'Matrix' conform to the 'Sendable' protocol
  7 |
  8 | /// A two-dimensional collection of numerical values.
  9 | public struct Matrix<T> {
    |               `- note: consider making generic struct 'Matrix' conform to the 'Sendable' protocol
 10 |
 11 |     /// Number of rows in the matrix.
[18/28] Compiling Numerix DotProduct.swift
/Users/admin/builder/spi-builder-workspace/Sources/Numerix/Determinant.swift:23:10: warning: associated value 'illegalValue(error:matrix:)' of 'Sendable'-conforming generic enum 'DeterminantError' has non-sendable type 'Matrix<T>'; this is an error in the Swift 6 language mode
 21 |     /// - Parameter error: A string that contains the error message.
 22 |     /// - Parameter matrix: A matrix that represents the partial result.
 23 |     case illegalValue(error: String, matrix: Matrix<T>)
    |          `- warning: associated value 'illegalValue(error:matrix:)' of 'Sendable'-conforming generic enum 'DeterminantError' has non-sendable type 'Matrix<T>'; this is an error in the Swift 6 language mode
 24 |
 25 |     /// A singular matrix.
/Users/admin/builder/spi-builder-workspace/Sources/Numerix/Matrix.swift:9:15: note: consider making generic struct 'Matrix' conform to the 'Sendable' protocol
  7 |
  8 | /// A two-dimensional collection of numerical values.
  9 | public struct Matrix<T> {
    |               `- note: consider making generic struct 'Matrix' conform to the 'Sendable' protocol
 10 |
 11 |     /// Number of rows in the matrix.
/Users/admin/builder/spi-builder-workspace/Sources/Numerix/Determinant.swift:28:10: warning: associated value 'singular(error:matrix:)' of 'Sendable'-conforming generic enum 'DeterminantError' has non-sendable type 'Matrix<T>'; this is an error in the Swift 6 language mode
 26 |     /// - Parameter error: A string that contains the error message.
 27 |     /// - Parameter matrix: A matrix that represents the partial result.
 28 |     case singular(error: String, matrix: Matrix<T>)
    |          `- warning: associated value 'singular(error:matrix:)' of 'Sendable'-conforming generic enum 'DeterminantError' has non-sendable type 'Matrix<T>'; this is an error in the Swift 6 language mode
 29 | }
 30 |
/Users/admin/builder/spi-builder-workspace/Sources/Numerix/Matrix.swift:9:15: note: consider making generic struct 'Matrix' conform to the 'Sendable' protocol
  7 |
  8 | /// A two-dimensional collection of numerical values.
  9 | public struct Matrix<T> {
    |               `- note: consider making generic struct 'Matrix' conform to the 'Sendable' protocol
 10 |
 11 |     /// Number of rows in the matrix.
[19/28] Compiling Numerix Power.swift
[20/28] Compiling Numerix Random.swift
[21/28] Compiling Numerix Logarithm.swift
[22/28] Compiling Numerix Matrix.swift
[23/28] Compiling Numerix Multiplication.swift
[24/28] Compiling Numerix ShapedArray.swift
[25/28] Compiling Numerix ShapedArrayElement.swift
[26/28] Compiling Numerix Addition.swift
[27/28] Compiling Numerix Approx.swift
[28/28] Compiling Numerix Complex.swift
Build complete! (18.64s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Numerix",
  "name" : "Numerix",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "tvos",
      "version" : "17.0"
    },
    {
      "name" : "watchos",
      "version" : "10.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "Numerix",
      "targets" : [
        "Numerix"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Tests",
      "module_type" : "SwiftTarget",
      "name" : "Tests",
      "path" : "Tests",
      "sources" : [
        "AdditionTests.swift",
        "ApproxTests.swift",
        "CumulativeSumTests.swift",
        "DescriptionTests.swift",
        "DeterminantTests.swift",
        "DivisionTests.swift",
        "DotProductTests.swift",
        "ExponentialTests.swift",
        "InverseTests.swift",
        "LogarithmTests.swift",
        "MatrixTests.swift",
        "MultiplicationTests.swift",
        "NormTests.swift",
        "PadTests.swift",
        "PerformanceTests.swift",
        "PowerTests.swift",
        "RandomTests.swift",
        "ShapedArrayTests.swift",
        "SubtractionTests.swift",
        "TransposeTests.swift",
        "TrigonometricTests.swift",
        "VectorTests.swift"
      ],
      "target_dependencies" : [
        "Numerix"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Numerix",
      "module_type" : "SwiftTarget",
      "name" : "Numerix",
      "path" : "Sources/Numerix",
      "product_memberships" : [
        "Numerix"
      ],
      "sources" : [
        "Addition.swift",
        "Approx.swift",
        "Complex.swift",
        "CumulativeSum.swift",
        "DataBuffer.swift",
        "Description.swift",
        "Determinant.swift",
        "Division.swift",
        "DotProduct.swift",
        "Exponential.swift",
        "FlatIndex.swift",
        "Inverse.swift",
        "Logarithm.swift",
        "Matrix.swift",
        "Multiplication.swift",
        "Norm.swift",
        "Pad.swift",
        "Power.swift",
        "Random.swift",
        "ShapedArray.swift",
        "ShapedArrayElement.swift",
        "Subtraction.swift",
        "Transpose.swift",
        "Trigonometric.swift",
        "Vector.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
Done.