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 swift-numerics, reference main (2b458e), with Swift 5.9 for macOS (SPM) on 10 Apr 2025 18:43:26 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-numerics.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/apple/swift-numerics
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 2b458e8 Merge pull request #305 from stephentyrone/remove-stochastic-rounding
Cloned https://github.com/apple/swift-numerics.git
Revision (git rev-parse @):
2b458e8aeb9cf3f3a156f54ba427b9f101a4511a
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/swift-numerics.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD
https://github.com/apple/swift-numerics.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/1] Compiling _NumericsShims _NumericsShims.c
[2/19] Compiling RealModule RealFunctions.swift
[3/20] Compiling RealModule Real.swift
[4/20] Compiling RealModule Float80+Real.swift
[5/20] Emitting module RealModule
[6/20] Compiling RealModule Float16+Real.swift
[7/20] Compiling RealModule Float+Real.swift
[8/20] Compiling RealModule ElementaryFunctions.swift
[9/20] Compiling RealModule AugmentedArithmetic.swift
[10/20] Compiling RealModule Double+Real.swift
[11/20] Compiling RealModule AlgebraicField.swift
[12/20] Compiling RealModule ApproximateEquality.swift
[13/20] Compiling RealModule RelaxedArithmetic.swift
[14/20] Compiling IntegerUtilities SaturatingArithmetic.swift
[15/20] Compiling IntegerUtilities Rotate.swift
[16/20] Compiling IntegerUtilities ShiftWithRounding.swift
[17/31] Compiling IntegerUtilities RoundingRule.swift
[18/31] Compiling IntegerUtilities GCD.swift
[19/31] Compiling ComplexModule Polar.swift
[20/32] Compiling ComplexModule Complex+Numeric.swift
[21/32] Compiling ComplexModule Complex+StringConvertible.swift
[22/32] Compiling ComplexModule Complex+Hashable.swift
[23/32] Compiling ComplexModule Complex.swift
[24/32] Compiling ComplexModule Complex+IntegerLiteral.swift
[25/32] Compiling ComplexModule Scale.swift
[26/32] Emitting module IntegerUtilities
[27/32] Compiling IntegerUtilities DivideWithRounding.swift
[28/32] Compiling ComplexModule Complex+ElementaryFunctions.swift
[29/32] Compiling ComplexModule Complex+AdditiveArithmetic.swift
[30/32] Compiling ComplexModule Complex+AlgebraicField.swift
[31/32] Emitting module ComplexModule
[32/32] Compiling ComplexModule Complex+Codable.swift
[33/34] Emitting module Numerics
[34/34] Compiling Numerics Numerics.swift
[35/40] Compiling _TestSupport Interval.swift
[36/40] Compiling _TestSupport BlackHole.swift
[37/40] Compiling _TestSupport DoubleWidth.swift
[38/40] Compiling _TestSupport Error.swift
[39/40] Compiling _TestSupport RealTestSupport.swift
[40/40] Emitting module _TestSupport
Build complete! (3.85s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-numerics",
  "name" : "swift-numerics",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "ComplexModule",
      "targets" : [
        "ComplexModule"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Numerics",
      "targets" : [
        "Numerics"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "RealModule",
      "targets" : [
        "RealModule"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "_TestSupport",
      "module_type" : "SwiftTarget",
      "name" : "_TestSupport",
      "path" : "Sources/_TestSupport",
      "sources" : [
        "BlackHole.swift",
        "DoubleWidth.swift",
        "Error.swift",
        "Interval.swift",
        "RealTestSupport.swift"
      ],
      "target_dependencies" : [
        "Numerics"
      ],
      "type" : "library"
    },
    {
      "c99name" : "_NumericsShims",
      "module_type" : "ClangTarget",
      "name" : "_NumericsShims",
      "path" : "Sources/_NumericsShims",
      "product_memberships" : [
        "ComplexModule",
        "Numerics",
        "RealModule"
      ],
      "sources" : [
        "_NumericsShims.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "RealTests",
      "module_type" : "SwiftTarget",
      "name" : "RealTests",
      "path" : "Tests/RealTests",
      "sources" : [
        "ApproximateEqualityTests.swift",
        "AugmentedArithmeticTests.swift",
        "ElementaryFunctionChecks.swift",
        "IntegerExponentTests.swift",
        "RelaxedArithmeticTests.swift"
      ],
      "target_dependencies" : [
        "_TestSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "RealModule",
      "module_type" : "SwiftTarget",
      "name" : "RealModule",
      "path" : "Sources/RealModule",
      "product_memberships" : [
        "ComplexModule",
        "Numerics",
        "RealModule"
      ],
      "sources" : [
        "AlgebraicField.swift",
        "ApproximateEquality.swift",
        "AugmentedArithmetic.swift",
        "Double+Real.swift",
        "ElementaryFunctions.swift",
        "Float+Real.swift",
        "Float16+Real.swift",
        "Float80+Real.swift",
        "Real.swift",
        "RealFunctions.swift",
        "RelaxedArithmetic.swift"
      ],
      "target_dependencies" : [
        "_NumericsShims"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Numerics",
      "module_type" : "SwiftTarget",
      "name" : "Numerics",
      "path" : "Sources/Numerics",
      "product_memberships" : [
        "Numerics"
      ],
      "sources" : [
        "Numerics.swift"
      ],
      "target_dependencies" : [
        "ComplexModule",
        "IntegerUtilities",
        "RealModule"
      ],
      "type" : "library"
    },
    {
      "c99name" : "IntegerUtilitiesTests",
      "module_type" : "SwiftTarget",
      "name" : "IntegerUtilitiesTests",
      "path" : "Tests/IntegerUtilitiesTests",
      "sources" : [
        "DivideTests.swift",
        "DoubleWidthTests.swift",
        "GCDTests.swift",
        "RotateTests.swift",
        "RoundingTests.swift",
        "SaturatingArithmeticTests.swift",
        "ShiftTests.swift"
      ],
      "target_dependencies" : [
        "IntegerUtilities",
        "_TestSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "IntegerUtilities",
      "module_type" : "SwiftTarget",
      "name" : "IntegerUtilities",
      "path" : "Sources/IntegerUtilities",
      "product_memberships" : [
        "Numerics"
      ],
      "sources" : [
        "DivideWithRounding.swift",
        "GCD.swift",
        "Rotate.swift",
        "RoundingRule.swift",
        "SaturatingArithmetic.swift",
        "ShiftWithRounding.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ComplexTests",
      "module_type" : "SwiftTarget",
      "name" : "ComplexTests",
      "path" : "Tests/ComplexTests",
      "sources" : [
        "ApproximateEqualityTests.swift",
        "ArithmeticTests.swift",
        "ElementaryFunctionTests.swift",
        "PropertyTests.swift"
      ],
      "target_dependencies" : [
        "_TestSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ComplexModule",
      "module_type" : "SwiftTarget",
      "name" : "ComplexModule",
      "path" : "Sources/ComplexModule",
      "product_memberships" : [
        "ComplexModule",
        "Numerics"
      ],
      "sources" : [
        "Complex+AdditiveArithmetic.swift",
        "Complex+AlgebraicField.swift",
        "Complex+Codable.swift",
        "Complex+ElementaryFunctions.swift",
        "Complex+Hashable.swift",
        "Complex+IntegerLiteral.swift",
        "Complex+Numeric.swift",
        "Complex+StringConvertible.swift",
        "Complex.swift",
        "Polar.swift",
        "Scale.swift"
      ],
      "target_dependencies" : [
        "RealModule"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.