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 NumericAnnex, reference master (ff00a9), with Swift 6.2 (beta) for macOS (SPM) on 18 Jun 2025 04:13:42 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/xwu/NumericAnnex.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/xwu/NumericAnnex
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at ff00a9a Update README.md
Cloned https://github.com/xwu/NumericAnnex.git
Revision (git rev-parse @):
ff00a9ad3c7c9632a149ac3114936dbc9dabae01
SUCCESS checkout https://github.com/xwu/NumericAnnex.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/xwu/NumericAnnex.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/14] Compiling NumericAnnex Random.swift
[4/14] Compiling NumericAnnex RoundingRule.swift
[5/14] Compiling NumericAnnex Real.swift
[6/15] Compiling NumericAnnex Sign.swift
[7/15] Compiling NumericAnnex Math.swift
[8/15] Compiling NumericAnnex Random.Xoroshiro.swift
[9/15] Compiling NumericAnnex PRNG.swift
[10/15] Compiling NumericAnnex Rational.swift
/Users/admin/builder/spi-builder-workspace/Sources/Rational.swift:70:1: warning: '@frozen' attribute is now used for fixed-layout structs
 68 | /// occurs when the division (`/`) operator is used to create a value of type
 69 | /// `Rational<T>` with numerator `T.min`.
 70 | @_fixed_layout
    | `- warning: '@frozen' attribute is now used for fixed-layout structs
 71 | public struct Rational<T : SignedInteger> : Codable
 72 | where T : Codable & _ExpressibleByBuiltinIntegerLiteral,
/Users/admin/builder/spi-builder-workspace/Sources/Rational.swift:536:14: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Rational' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
534 |
535 |   // @_transparent // @_inlineable
536 |   public var hashValue: Int {
    |              `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Rational' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
537 |     let t = canonical
538 |     return _Hash._combine(t.numerator, t.denominator)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[11/15] Compiling NumericAnnex Complex.swift
/Users/admin/builder/spi-builder-workspace/Sources/Complex.swift:54:1: warning: '@frozen' attribute is now used for fixed-layout structs
  52 | /// [dfn]: http://mathworld.wolfram.com/BranchCut.html
  53 | /// [std]: http://www.open-std.org/JTC1/SC22/WG14/www/standards.html#9899
  54 | @_fixed_layout
     | `- warning: '@frozen' attribute is now used for fixed-layout structs
  55 | public struct Complex<T : Real> : Codable
  56 | where T : Codable & _ExpressibleByBuiltinFloatLiteral {
/Users/admin/builder/spi-builder-workspace/Sources/Complex.swift:497:14: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Complex' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 495 |
 496 |   // @_transparent // @_inlineable
 497 |   public var hashValue: Int {
     |              `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Complex' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 498 |     return _Hash._combine(real, imaginary)
 499 |   }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[12/15] Compiling NumericAnnex ExponentiationOperators.swift
/Users/admin/builder/spi-builder-workspace/Sources/Complex.swift:54:1: warning: '@frozen' attribute is now used for fixed-layout structs
  52 | /// [dfn]: http://mathworld.wolfram.com/BranchCut.html
  53 | /// [std]: http://www.open-std.org/JTC1/SC22/WG14/www/standards.html#9899
  54 | @_fixed_layout
     | `- warning: '@frozen' attribute is now used for fixed-layout structs
  55 | public struct Complex<T : Real> : Codable
  56 | where T : Codable & _ExpressibleByBuiltinFloatLiteral {
/Users/admin/builder/spi-builder-workspace/Sources/Complex.swift:497:14: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Complex' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 495 |
 496 |   // @_transparent // @_inlineable
 497 |   public var hashValue: Int {
     |              `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Complex' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 498 |     return _Hash._combine(real, imaginary)
 499 |   }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[13/15] Compiling NumericAnnex Hash.swift
[14/15] Compiling NumericAnnex IntegerAlgorithms.swift
[15/15] Emitting module NumericAnnex
/Users/admin/builder/spi-builder-workspace/Sources/Complex.swift:54:1: warning: '@frozen' attribute is now used for fixed-layout structs
  52 | /// [dfn]: http://mathworld.wolfram.com/BranchCut.html
  53 | /// [std]: http://www.open-std.org/JTC1/SC22/WG14/www/standards.html#9899
  54 | @_fixed_layout
     | `- warning: '@frozen' attribute is now used for fixed-layout structs
  55 | public struct Complex<T : Real> : Codable
  56 | where T : Codable & _ExpressibleByBuiltinFloatLiteral {
/Users/admin/builder/spi-builder-workspace/Sources/Complex.swift:497:14: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Complex' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 495 |
 496 |   // @_transparent // @_inlineable
 497 |   public var hashValue: Int {
     |              `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Complex' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
 498 |     return _Hash._combine(real, imaginary)
 499 |   }
/Users/admin/builder/spi-builder-workspace/Sources/Rational.swift:70:1: warning: '@frozen' attribute is now used for fixed-layout structs
 68 | /// occurs when the division (`/`) operator is used to create a value of type
 69 | /// `Rational<T>` with numerator `T.min`.
 70 | @_fixed_layout
    | `- warning: '@frozen' attribute is now used for fixed-layout structs
 71 | public struct Rational<T : SignedInteger> : Codable
 72 | where T : Codable & _ExpressibleByBuiltinIntegerLiteral,
/Users/admin/builder/spi-builder-workspace/Sources/Rational.swift:536:14: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Rational' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
534 |
535 |   // @_transparent // @_inlineable
536 |   public var hashValue: Int {
    |              `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Rational' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
537 |     let t = canonical
538 |     return _Hash._combine(t.numerator, t.denominator)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Build complete! (2.63s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "NumericAnnex",
  "name" : "NumericAnnex",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "NumericAnnex",
      "targets" : [
        "NumericAnnex"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "NumericAnnexTests",
      "module_type" : "SwiftTarget",
      "name" : "NumericAnnexTests",
      "path" : "Tests/NumericAnnexTests",
      "sources" : [
        "ComplexTests.swift",
        "DocumentationExampleTests.swift",
        "ExponentiationTests.swift",
        "FactoringTests.swift",
        "RandomXoroshiroTests.swift",
        "RandomXorshiftTests.swift",
        "RationalTests.swift",
        "RealTests.swift",
        "RootExtractionTests.swift"
      ],
      "target_dependencies" : [
        "NumericAnnex"
      ],
      "type" : "test"
    },
    {
      "c99name" : "NumericAnnex",
      "module_type" : "SwiftTarget",
      "name" : "NumericAnnex",
      "path" : "Sources",
      "product_memberships" : [
        "NumericAnnex"
      ],
      "sources" : [
        "Complex.swift",
        "ExponentiationOperators.swift",
        "Hash.swift",
        "IntegerAlgorithms.swift",
        "Math.swift",
        "PRNG.swift",
        "Random.Xoroshiro.swift",
        "Random.swift",
        "Rational.swift",
        "Real.swift",
        "RoundingRule.swift",
        "Sign.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.