This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 NumericAnnex with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.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.0
Building package at path:  $workDir
https://github.com/xwu/NumericAnnex.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a 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-6F35C1178C84523A.txt
[3/14] 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
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
537 |     let t = canonical
538 |     return _Hash._combine(t.numerator, t.denominator)
[4/14] Compiling NumericAnnex RoundingRule.swift
[5/15] Compiling NumericAnnex Real.swift
[6/15] Compiling NumericAnnex Random.swift
[7/15] Compiling NumericAnnex Hash.swift
[8/15] Compiling NumericAnnex IntegerAlgorithms.swift
[9/15] Compiling NumericAnnex Random.Xoroshiro.swift
[10/15] Compiling NumericAnnex PRNG.swift
[11/15] Compiling NumericAnnex Sign.swift
[12/15] Compiling NumericAnnex Math.swift
[13/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
 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
 498 |     return _Hash._combine(real, imaginary)
 499 |   }
[14/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
 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
 498 |     return _Hash._combine(real, imaginary)
 499 |   }
[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
 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
 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
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
537 |     let t = canonical
538 |     return _Hash._combine(t.numerator, t.denominator)
Build complete! (10.55s)
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.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.