The Swift Package Index logo.Swift Package Index

Build Information

Failed to build NumericAnnex, reference 0.1.19 (241ef9), with Swift 6.3 for macOS (SPM) on 11 Apr 2026 03:32:42 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/xwu/NumericAnnex.git
Reference: 0.1.19
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/xwu/NumericAnnex
 * tag               0.1.19     -> FETCH_HEAD
HEAD is now at 241ef9f Update README.md, podspec, and CHANGELOG.md
Cloned https://github.com/xwu/NumericAnnex.git
Revision (git rev-parse @):
241ef9fd836b879e31a81bb863c1f0be5899bae4
SUCCESS checkout https://github.com/xwu/NumericAnnex.git at 0.1.19
========================================
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",
  "traits": [
    "default"
  ],
  "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",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/xwu/NumericAnnex.git
[1/2609] Fetching numericannex
Fetched https://github.com/xwu/NumericAnnex.git from cache (1.47s)
Creating working copy for https://github.com/xwu/NumericAnnex.git
Working copy of https://github.com/xwu/NumericAnnex.git resolved at 0.1.19 (241ef9f)
warning: '.resolve-product-dependencies': dependency 'numericannex' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/xwu/NumericAnnex.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
[3/14] Compiling NumericAnnex Real.swift
[4/15] Compiling NumericAnnex RoundingRule.swift
[5/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:537:14: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Rational' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
535 |
536 |   // @_transparent // @_inlineable
537 |   public var hashValue: Int {
    |              `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Rational' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
538 |     let t = canonical
539 |     return _Hash._combine(t.numerator, t.denominator)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[6/15] Compiling NumericAnnex Random.swift
/Users/admin/builder/spi-builder-workspace/Sources/PRNG.swift:55:3: error: cannot find type 'SubSequence' in scope
 53 | public protocol PRNG : class, IteratorProtocol, Sequence
 54 | where Element : FixedWidthInteger & UnsignedInteger,
 55 |   SubSequence : Sequence,
    |   `- error: cannot find type 'SubSequence' in scope
 56 |   Element == SubSequence.Element {
 57 |   /// A type that can represent the internal state of the pseudo-random number
/Users/admin/builder/spi-builder-workspace/Sources/PRNG.swift:56:14: error: cannot find type 'SubSequence' in scope
 54 | where Element : FixedWidthInteger & UnsignedInteger,
 55 |   SubSequence : Sequence,
 56 |   Element == SubSequence.Element {
    |              `- error: cannot find type 'SubSequence' in scope
 57 |   /// A type that can represent the internal state of the pseudo-random number
 58 |   /// generator.
/Users/admin/builder/spi-builder-workspace/Sources/Random.swift:37:20: error: type 'Random' does not conform to protocol 'IteratorProtocol'
35 | ///
36 | /// [ref]: http://vigna.di.unimi.it/ftp/papers/xorshiftplus.pdf
37 | public final class Random : PRNG {
   |                    `- error: type 'Random' does not conform to protocol 'IteratorProtocol'
38 |   /// The internal state of the pseudo-random number generator.
39 |   public var state: (UInt64, UInt64)
/Users/admin/builder/spi-builder-workspace/Sources/Random.swift:37:20: error: type 'Random' does not conform to protocol 'Sequence'
35 | ///
36 | /// [ref]: http://vigna.di.unimi.it/ftp/papers/xorshiftplus.pdf
37 | public final class Random : PRNG {
   |                    |- error: type 'Random' does not conform to protocol 'Sequence'
   |                    `- note: add stubs for conformance
38 |   /// The internal state of the pseudo-random number generator.
39 |   public var state: (UInt64, UInt64)
Swift.IteratorProtocol.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol IteratorProtocol {
2 | associatedtype Element}
  |                `- note: protocol requires nested type 'Element'
3 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/15] Compiling NumericAnnex Hash.swift
[8/15] Compiling NumericAnnex IntegerAlgorithms.swift
[9/15] Compiling NumericAnnex Math.swift
[10/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>
[11/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>
[12/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/PRNG.swift:55:3: error: cannot find type 'SubSequence' in scope
 53 | public protocol PRNG : class, IteratorProtocol, Sequence
 54 | where Element : FixedWidthInteger & UnsignedInteger,
 55 |   SubSequence : Sequence,
    |   `- error: cannot find type 'SubSequence' in scope
 56 |   Element == SubSequence.Element {
 57 |   /// A type that can represent the internal state of the pseudo-random number
/Users/admin/builder/spi-builder-workspace/Sources/PRNG.swift:56:14: error: cannot find type 'SubSequence' in scope
 54 | where Element : FixedWidthInteger & UnsignedInteger,
 55 |   SubSequence : Sequence,
 56 |   Element == SubSequence.Element {
    |              `- error: cannot find type 'SubSequence' in scope
 57 |   /// A type that can represent the internal state of the pseudo-random number
 58 |   /// generator.
/Users/admin/builder/spi-builder-workspace/Sources/Random.Xoroshiro.swift:36:22: error: type 'Random.Xoroshiro' does not conform to protocol 'IteratorProtocol'
34 |   ///
35 |   /// - SeeAlso: `Random`, `PRNG`
36 |   public final class Xoroshiro : PRNG {
   |                      `- error: type 'Random.Xoroshiro' does not conform to protocol 'IteratorProtocol'
37 |     /// The internal state of the pseudo-random number generator.
38 |     public var state: (UInt64, UInt64)
/Users/admin/builder/spi-builder-workspace/Sources/Random.Xoroshiro.swift:36:22: error: type 'Random.Xoroshiro' does not conform to protocol 'Sequence'
34 |   ///
35 |   /// - SeeAlso: `Random`, `PRNG`
36 |   public final class Xoroshiro : PRNG {
   |                      |- error: type 'Random.Xoroshiro' does not conform to protocol 'Sequence'
   |                      `- note: add stubs for conformance
37 |     /// The internal state of the pseudo-random number generator.
38 |     public var state: (UInt64, UInt64)
Swift.IteratorProtocol.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol IteratorProtocol {
2 | associatedtype Element}
  |                `- note: protocol requires nested type 'Element'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Random.swift:37:20: error: type 'Random' does not conform to protocol 'IteratorProtocol'
35 | ///
36 | /// [ref]: http://vigna.di.unimi.it/ftp/papers/xorshiftplus.pdf
37 | public final class Random : PRNG {
   |                    `- error: type 'Random' does not conform to protocol 'IteratorProtocol'
38 |   /// The internal state of the pseudo-random number generator.
39 |   public var state: (UInt64, UInt64)
/Users/admin/builder/spi-builder-workspace/Sources/Random.swift:37:20: error: type 'Random' does not conform to protocol 'Sequence'
35 | ///
36 | /// [ref]: http://vigna.di.unimi.it/ftp/papers/xorshiftplus.pdf
37 | public final class Random : PRNG {
   |                    |- error: type 'Random' does not conform to protocol 'Sequence'
   |                    `- note: add stubs for conformance
38 |   /// The internal state of the pseudo-random number generator.
39 |   public var state: (UInt64, UInt64)
Swift.IteratorProtocol.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol IteratorProtocol {
2 | associatedtype Element}
  |                `- note: protocol requires nested type 'Element'
3 |
/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:537:14: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Rational' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
535 |
536 |   // @_transparent // @_inlineable
537 |   public var hashValue: Int {
    |              `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'Rational' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
538 |     let t = canonical
539 |     return _Hash._combine(t.numerator, t.denominator)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[13/15] Compiling NumericAnnex PRNG.swift
/Users/admin/builder/spi-builder-workspace/Sources/PRNG.swift:55:3: error: cannot find type 'SubSequence' in scope
 53 | public protocol PRNG : class, IteratorProtocol, Sequence
 54 | where Element : FixedWidthInteger & UnsignedInteger,
 55 |   SubSequence : Sequence,
    |   `- error: cannot find type 'SubSequence' in scope
 56 |   Element == SubSequence.Element {
 57 |   /// A type that can represent the internal state of the pseudo-random number
/Users/admin/builder/spi-builder-workspace/Sources/PRNG.swift:56:14: error: cannot find type 'SubSequence' in scope
 54 | where Element : FixedWidthInteger & UnsignedInteger,
 55 |   SubSequence : Sequence,
 56 |   Element == SubSequence.Element {
    |              `- error: cannot find type 'SubSequence' in scope
 57 |   /// A type that can represent the internal state of the pseudo-random number
 58 |   /// generator.
/Users/admin/builder/spi-builder-workspace/Sources/PRNG.swift:98:31: error: binary operator '-' cannot be applied to two '(Self) -> ((Self.Element, Self.Element) throws -> Bool) throws -> Self.Element?' operands
 96 |   /// pseudo-random number generator.
 97 |   public static var _randomBitWidth: Int {
 98 |     let difference = Self.max - Self.min
    |                               `- error: binary operator '-' cannot be applied to two '(Self) -> ((Self.Element, Self.Element) throws -> Bool) throws -> Self.Element?' operands
 99 |     guard difference < Element.max else { return Element.bitWidth }
100 |     return Element.bitWidth - (difference + 1).leadingZeroBitCount - 1
/Users/admin/builder/spi-builder-workspace/Sources/PRNG.swift:166:24: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
164 |       bitCount == T.bitWidth {
165 |       // It is an awkward way of spelling `next()`, but it is necessary.
166 |       guard let next = first(where: { _ in true }) else { fatalError() }
    |                        `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
167 |       return T(truncatingIfNeeded: next)
168 |     }
/Users/admin/builder/spi-builder-workspace/Sources/PRNG.swift:323:27: error: type '(Self) -> ((Self.Element, Self.Element) throws -> Bool) throws -> Self.Element?' cannot conform to 'BinaryInteger' [#ProtocolTypeNonConformance]
321 |       bitCount.quotientAndRemainder(dividingBy: Self._randomBitWidth)
322 |     let k = Swift.max(1, remainder == 0 ? quotient : quotient + 1)
323 |     let step = T(Self.max - Self.min)
    |                           |- error: type '(Self) -> ((Self.Element, Self.Element) throws -> Bool) throws -> Self.Element?' cannot conform to 'BinaryInteger' [#ProtocolTypeNonConformance]
    |                           |- note: only concrete types such as structs, enums and classes can conform to protocols
    |                           `- note: required by referencing operator function '-' on 'BinaryInteger' where 'Self' = '(Self) -> ((Self.Element, Self.Element) throws -> Bool) throws -> Self.Element?'
324 |     let initial = (0 as T, 1 as T)
325 |     // Call `next()` exactly `k` times.
/Users/admin/builder/spi-builder-workspace/Sources/PRNG.swift:326:68: error: cannot infer type of closure parameter 'next' without a type annotation
324 |     let initial = (0 as T, 1 as T)
325 |     // Call `next()` exactly `k` times.
326 |     let (dividend, divisor) = prefix(k).reduce(initial) { partial, next in
    |                                                                    `- error: cannot infer type of closure parameter 'next' without a type annotation
327 |       let x = partial.0 + T(next - Self.min) * partial.1
328 |       let y = partial.1 + step * partial.1
/Users/admin/builder/spi-builder-workspace/Sources/PRNG.swift:331:21: error: cannot convert return expression of type 'Duration' to return type 'T'
329 |       return (x, y)
330 |     }
331 |     return dividend / divisor
    |                     `- error: cannot convert return expression of type 'Duration' to return type 'T'
332 |   }
333 |
[#ProtocolTypeNonConformance]: <https://docs.swift.org/compiler/documentation/diagnostics/protocol-type-non-conformance>
[14/15] Compiling NumericAnnex Random.Xoroshiro.swift
/Users/admin/builder/spi-builder-workspace/Sources/PRNG.swift:55:3: error: cannot find type 'SubSequence' in scope
 53 | public protocol PRNG : class, IteratorProtocol, Sequence
 54 | where Element : FixedWidthInteger & UnsignedInteger,
 55 |   SubSequence : Sequence,
    |   `- error: cannot find type 'SubSequence' in scope
 56 |   Element == SubSequence.Element {
 57 |   /// A type that can represent the internal state of the pseudo-random number
/Users/admin/builder/spi-builder-workspace/Sources/PRNG.swift:56:14: error: cannot find type 'SubSequence' in scope
 54 | where Element : FixedWidthInteger & UnsignedInteger,
 55 |   SubSequence : Sequence,
 56 |   Element == SubSequence.Element {
    |              `- error: cannot find type 'SubSequence' in scope
 57 |   /// A type that can represent the internal state of the pseudo-random number
 58 |   /// generator.
/Users/admin/builder/spi-builder-workspace/Sources/Random.Xoroshiro.swift:36:22: error: type 'Random.Xoroshiro' does not conform to protocol 'IteratorProtocol'
34 |   ///
35 |   /// - SeeAlso: `Random`, `PRNG`
36 |   public final class Xoroshiro : PRNG {
   |                      `- error: type 'Random.Xoroshiro' does not conform to protocol 'IteratorProtocol'
37 |     /// The internal state of the pseudo-random number generator.
38 |     public var state: (UInt64, UInt64)
/Users/admin/builder/spi-builder-workspace/Sources/Random.Xoroshiro.swift:36:22: error: type 'Random.Xoroshiro' does not conform to protocol 'Sequence'
34 |   ///
35 |   /// - SeeAlso: `Random`, `PRNG`
36 |   public final class Xoroshiro : PRNG {
   |                      |- error: type 'Random.Xoroshiro' does not conform to protocol 'Sequence'
   |                      `- note: add stubs for conformance
37 |     /// The internal state of the pseudo-random number generator.
38 |     public var state: (UInt64, UInt64)
Swift.IteratorProtocol.Element:2:16: note: protocol requires nested type 'Element'
1 | protocol IteratorProtocol {
2 | associatedtype Element}
  |                `- note: protocol requires nested type 'Element'
3 |
[15/15] Compiling NumericAnnex Sign.swift
BUILD FAILURE 6.3 macosSpm