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, reference master (ff00a9), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 15:35:23 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.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.56.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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "numericannex",
      "name": "NumericAnnex",
      "url": "https://github.com/xwu/NumericAnnex.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/NumericAnnex",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/xwu/NumericAnnex.git
[1/2609] Fetching numericannex
Fetched https://github.com/xwu/NumericAnnex.git from cache (1.54s)
Creating working copy for https://github.com/xwu/NumericAnnex.git
Working copy of https://github.com/xwu/NumericAnnex.git resolved at master (ff00a9a)
warning: '.resolve-product-dependencies': dependency 'numericannex' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/xwu/NumericAnnex.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.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--7754E27361AE5C74.txt
[3/14] Compiling NumericAnnex Hash.swift
[4/14] Compiling NumericAnnex IntegerAlgorithms.swift
[5/15] Compiling NumericAnnex Sign.swift
[6/15] Compiling NumericAnnex Random.Xoroshiro.swift
[7/15] Compiling NumericAnnex Random.swift
[8/15] Compiling NumericAnnex PRNG.swift
[9/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)
[10/15] Compiling NumericAnnex Math.swift
[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
 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 |   }
[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
 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 |   }
[13/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
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)
[14/15] Compiling NumericAnnex RoundingRule.swift
[15/15] Compiling NumericAnnex Real.swift
Build complete! (9.21s)
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.