Build Information
Failed to build EllipticCurve, reference 0.3.2 (4ef14c
), with Swift 6.2 (beta) for macOS (SPM) on 17 Jun 2025 13:55:32 UTC.
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/hyugit/EllipticCurve.git
Reference: 0.3.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/hyugit/EllipticCurve
* tag 0.3.2 -> FETCH_HEAD
HEAD is now at 4ef14cb fix type miscasting (#4)
Cloned https://github.com/hyugit/EllipticCurve.git
Revision (git rev-parse @):
4ef14cbde93db6d535c271a7f1aeccaf9d50b961
SUCCESS checkout https://github.com/hyugit/EllipticCurve.git at 0.3.2
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.2
Building package at path: $PWD
https://github.com/hyugit/EllipticCurve.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-1EA4D86E10B52AF.txt
[4/18] Compiling UInt256 UInt256+FixedWidthInteger.swift
[5/18] Compiling UInt256 UInt256+Hashable.swift
[6/18] Compiling UInt256 UInt256+Karatsuba.swift
[7/18] Compiling UInt256 UInt256+arc4random.swift
[8/18] Compiling UInt256 UInt256+Equatable.swift
[9/18] Compiling UInt256 UInt256+ExpressibleByIntegerLiteral.swift
[10/18] Compiling UInt256 UInt256+UnsignedInteger.swift
[11/18] Compiling UInt256 UInt256+BinaryInteger.swift
[12/18] Compiling UInt256 UInt256+Comparable.swift
[13/18] Compiling UInt256 FixedWidthInteger+LongDivision.swift
[14/18] Compiling UInt256 UInt256+BarrettDivision.swift
[15/18] Compiling UInt256 UInt256+CustomStringConvertible.swift
[16/18] Compiling UInt256 UInt256+Divide&Conquer.swift
[17/18] Compiling UInt256 UInt256+Numeric.swift
[18/18] Emitting module UInt256
[19/19] Compiling UInt256 UInt256.swift
[20/34] Compiling EllipticCurve BasicArithmeticOperations.swift
[21/35] Compiling EllipticCurve FiniteField.swift
[22/35] Compiling EllipticCurve FiniteFieldInteger+Default.swift
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger+Default.swift:11:22: warning: typealias overriding associated type 'Magnitude' from protocol 'Numeric' is better expressed as same-type constraint on the protocol
9 | extension FiniteFieldInteger {
10 | public typealias IntegerLiteralType = Int
11 | public typealias Magnitude = Self.Type
| `- warning: typealias overriding associated type 'Magnitude' from protocol 'Numeric' is better expressed as same-type constraint on the protocol
12 |
13 | public static var Order: Element {
Swift.Numeric.Magnitude:2:16: note: 'Magnitude' declared here
1 | protocol Numeric {
2 | associatedtype Magnitude : Comparable, Numeric}
| `- note: 'Magnitude' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger+Default.swift:10:22: warning: typealias overriding associated type 'IntegerLiteralType' from protocol 'ExpressibleByIntegerLiteral' is better expressed as same-type constraint on the protocol
8 | /// and do not apply to points or other element types
9 | extension FiniteFieldInteger {
10 | public typealias IntegerLiteralType = Int
| `- warning: typealias overriding associated type 'IntegerLiteralType' from protocol 'ExpressibleByIntegerLiteral' is better expressed as same-type constraint on the protocol
11 | public typealias Magnitude = Self.Type
12 |
Swift.ExpressibleByIntegerLiteral.IntegerLiteralType:2:16: note: 'IntegerLiteralType' declared here
1 | protocol ExpressibleByIntegerLiteral {
2 | associatedtype IntegerLiteralType : _ExpressibleByBuiltinIntegerLiteral}
| `- note: 'IntegerLiteralType' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Comparable'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Comparable'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Numeric'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Numeric'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Equatable'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Equatable'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : AdditiveArithmetic'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : AdditiveArithmetic'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : ExpressibleByIntegerLiteral'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : ExpressibleByIntegerLiteral'
10 |
11 | var value: Element { get set }
[23/35] Compiling EllipticCurve FiniteFieldInteger.swift
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger+Default.swift:11:22: warning: typealias overriding associated type 'Magnitude' from protocol 'Numeric' is better expressed as same-type constraint on the protocol
9 | extension FiniteFieldInteger {
10 | public typealias IntegerLiteralType = Int
11 | public typealias Magnitude = Self.Type
| `- warning: typealias overriding associated type 'Magnitude' from protocol 'Numeric' is better expressed as same-type constraint on the protocol
12 |
13 | public static var Order: Element {
Swift.Numeric.Magnitude:2:16: note: 'Magnitude' declared here
1 | protocol Numeric {
2 | associatedtype Magnitude : Comparable, Numeric}
| `- note: 'Magnitude' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger+Default.swift:10:22: warning: typealias overriding associated type 'IntegerLiteralType' from protocol 'ExpressibleByIntegerLiteral' is better expressed as same-type constraint on the protocol
8 | /// and do not apply to points or other element types
9 | extension FiniteFieldInteger {
10 | public typealias IntegerLiteralType = Int
| `- warning: typealias overriding associated type 'IntegerLiteralType' from protocol 'ExpressibleByIntegerLiteral' is better expressed as same-type constraint on the protocol
11 | public typealias Magnitude = Self.Type
12 |
Swift.ExpressibleByIntegerLiteral.IntegerLiteralType:2:16: note: 'IntegerLiteralType' declared here
1 | protocol ExpressibleByIntegerLiteral {
2 | associatedtype IntegerLiteralType : _ExpressibleByBuiltinIntegerLiteral}
| `- note: 'IntegerLiteralType' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Comparable'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Comparable'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Numeric'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Numeric'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Equatable'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Equatable'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : AdditiveArithmetic'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : AdditiveArithmetic'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : ExpressibleByIntegerLiteral'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : ExpressibleByIntegerLiteral'
10 |
11 | var value: Element { get set }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[24/35] Emitting module EllipticCurve
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger+Default.swift:11:22: warning: typealias overriding associated type 'Magnitude' from protocol 'Numeric' is better expressed as same-type constraint on the protocol
9 | extension FiniteFieldInteger {
10 | public typealias IntegerLiteralType = Int
11 | public typealias Magnitude = Self.Type
| `- warning: typealias overriding associated type 'Magnitude' from protocol 'Numeric' is better expressed as same-type constraint on the protocol
12 |
13 | public static var Order: Element {
Swift.Numeric.Magnitude:2:16: note: 'Magnitude' declared here
1 | protocol Numeric {
2 | associatedtype Magnitude : Comparable, Numeric}
| `- note: 'Magnitude' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger+Default.swift:10:22: warning: typealias overriding associated type 'IntegerLiteralType' from protocol 'ExpressibleByIntegerLiteral' is better expressed as same-type constraint on the protocol
8 | /// and do not apply to points or other element types
9 | extension FiniteFieldInteger {
10 | public typealias IntegerLiteralType = Int
| `- warning: typealias overriding associated type 'IntegerLiteralType' from protocol 'ExpressibleByIntegerLiteral' is better expressed as same-type constraint on the protocol
11 | public typealias Magnitude = Self.Type
12 |
Swift.ExpressibleByIntegerLiteral.IntegerLiteralType:2:16: note: 'IntegerLiteralType' declared here
1 | protocol ExpressibleByIntegerLiteral {
2 | associatedtype IntegerLiteralType : _ExpressibleByBuiltinIntegerLiteral}
| `- note: 'IntegerLiteralType' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Comparable'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Comparable'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Numeric'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Numeric'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Equatable'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Equatable'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : AdditiveArithmetic'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : AdditiveArithmetic'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : ExpressibleByIntegerLiteral'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : ExpressibleByIntegerLiteral'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp192k1.swift:25:19: error: type 'Secp192k1.FFInt' does not conform to protocol 'FiniteFieldInteger'
23 | public struct Secp192k1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| `- error: type 'Secp192k1.FFInt' does not conform to protocol 'FiniteFieldInteger'
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp192k1.swift:25:19: error: 'FiniteFieldInteger' requires the types 'Secp192k1.FFInt' and 'Secp192k1.FFInt.Type' be equivalent
23 | public struct Secp192k1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| |- error: 'FiniteFieldInteger' requires the types 'Secp192k1.FFInt' and 'Secp192k1.FFInt.Type' be equivalent
| `- note: requirement specified as 'Self.Magnitude' == 'Self.Type' [with Self = Secp192k1.FFInt]
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
/Users/admin/builder/spi-builder-workspace/Sources/EllipticCurve/EllipticCurveOverFiniteField+Default.swift:7:22: warning: typealias overriding associated type 'Element' from protocol 'FiniteField' is better expressed as same-type constraint on the protocol
5 | extension EllipticCurveOverFiniteField {
6 |
7 | public typealias Element = Self.Coordinate.Element
| `- warning: typealias overriding associated type 'Element' from protocol 'FiniteField' is better expressed as same-type constraint on the protocol
8 |
9 | public static var Zero: Self {
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteField.swift:7:20: note: 'Element' declared here
5 |
6 | public protocol FiniteField: CustomStringConvertible {
7 | associatedtype Element: UnsignedInteger, FixedWidthInteger
| `- note: 'Element' declared here
8 |
9 | static var Characteristic: Element { get }
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp192r1.swift:25:19: error: type 'Secp192r1.FFInt' does not conform to protocol 'FiniteFieldInteger'
23 | public struct Secp192r1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| `- error: type 'Secp192r1.FFInt' does not conform to protocol 'FiniteFieldInteger'
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp192r1.swift:25:19: error: 'FiniteFieldInteger' requires the types 'Secp192r1.FFInt' and 'Secp192r1.FFInt.Type' be equivalent
23 | public struct Secp192r1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| |- error: 'FiniteFieldInteger' requires the types 'Secp192r1.FFInt' and 'Secp192r1.FFInt.Type' be equivalent
| `- note: requirement specified as 'Self.Magnitude' == 'Self.Type' [with Self = Secp192r1.FFInt]
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp224k1.swift:25:19: error: type 'Secp224k1.FFInt' does not conform to protocol 'FiniteFieldInteger'
23 | public struct Secp224k1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| `- error: type 'Secp224k1.FFInt' does not conform to protocol 'FiniteFieldInteger'
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp224k1.swift:25:19: error: 'FiniteFieldInteger' requires the types 'Secp224k1.FFInt' and 'Secp224k1.FFInt.Type' be equivalent
23 | public struct Secp224k1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| |- error: 'FiniteFieldInteger' requires the types 'Secp224k1.FFInt' and 'Secp224k1.FFInt.Type' be equivalent
| `- note: requirement specified as 'Self.Magnitude' == 'Self.Type' [with Self = Secp224k1.FFInt]
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp224r1.swift:25:19: error: type 'Secp224r1.FFInt' does not conform to protocol 'FiniteFieldInteger'
23 | public struct Secp224r1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| `- error: type 'Secp224r1.FFInt' does not conform to protocol 'FiniteFieldInteger'
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp224r1.swift:25:19: error: 'FiniteFieldInteger' requires the types 'Secp224r1.FFInt' and 'Secp224r1.FFInt.Type' be equivalent
23 | public struct Secp224r1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| |- error: 'FiniteFieldInteger' requires the types 'Secp224r1.FFInt' and 'Secp224r1.FFInt.Type' be equivalent
| `- note: requirement specified as 'Self.Magnitude' == 'Self.Type' [with Self = Secp224r1.FFInt]
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp256k1.swift:31:19: error: type 'Secp256k1.FFInt' does not conform to protocol 'FiniteFieldInteger'
29 |
30 | public struct Secp256k1: EllipticCurveOverFiniteField {
31 | public struct FFInt: FiniteFieldInteger {
| `- error: type 'Secp256k1.FFInt' does not conform to protocol 'FiniteFieldInteger'
32 | public static var Characteristic: UInt256 = Parameters.P
33 | public static var InverseCharacteristic: (high: UInt256, low: UInt256)? = Parameters.InverseP
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp256k1.swift:31:19: error: 'FiniteFieldInteger' requires the types 'Secp256k1.FFInt' and 'Secp256k1.FFInt.Type' be equivalent
29 |
30 | public struct Secp256k1: EllipticCurveOverFiniteField {
31 | public struct FFInt: FiniteFieldInteger {
| |- error: 'FiniteFieldInteger' requires the types 'Secp256k1.FFInt' and 'Secp256k1.FFInt.Type' be equivalent
| `- note: requirement specified as 'Self.Magnitude' == 'Self.Type' [with Self = Secp256k1.FFInt]
32 | public static var Characteristic: UInt256 = Parameters.P
33 | public static var InverseCharacteristic: (high: UInt256, low: UInt256)? = Parameters.InverseP
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp256r1.swift:25:19: error: type 'Secp256r1.FFInt' does not conform to protocol 'FiniteFieldInteger'
23 | public struct Secp256r1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| `- error: type 'Secp256r1.FFInt' does not conform to protocol 'FiniteFieldInteger'
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp256r1.swift:25:19: error: 'FiniteFieldInteger' requires the types 'Secp256r1.FFInt' and 'Secp256r1.FFInt.Type' be equivalent
23 | public struct Secp256r1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| |- error: 'FiniteFieldInteger' requires the types 'Secp256r1.FFInt' and 'Secp256r1.FFInt.Type' be equivalent
| `- note: requirement specified as 'Self.Magnitude' == 'Self.Type' [with Self = Secp256r1.FFInt]
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
/Users/admin/builder/spi-builder-workspace/Sources/SignatureAlgorithms/ECDSA.swift:11:20: error: type 'ECDSA<Point>.IsomorphicField' does not conform to protocol 'FiniteFieldInteger'
9 | public typealias Hashing = (_ msg: Data) -> Element
10 |
11 | private struct IsomorphicField: FiniteFieldInteger {
| `- error: type 'ECDSA<Point>.IsomorphicField' does not conform to protocol 'FiniteFieldInteger'
12 | public static var Characteristic: Element {
13 | return Point.Order
/Users/admin/builder/spi-builder-workspace/Sources/SignatureAlgorithms/ECDSA.swift:11:20: error: 'FiniteFieldInteger' requires the types 'ECDSA<Point>.IsomorphicField' and 'ECDSA<Point>.IsomorphicField.Type' be equivalent
9 | public typealias Hashing = (_ msg: Data) -> Element
10 |
11 | private struct IsomorphicField: FiniteFieldInteger {
| |- error: 'FiniteFieldInteger' requires the types 'ECDSA<Point>.IsomorphicField' and 'ECDSA<Point>.IsomorphicField.Type' be equivalent
| `- note: requirement specified as 'Self.Magnitude' == 'Self.Type' [with Self = ECDSA<Point>.IsomorphicField]
12 | public static var Characteristic: Element {
13 | return Point.Order
[25/35] Compiling EllipticCurve Secp224k1.swift
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger+Default.swift:11:22: warning: typealias overriding associated type 'Magnitude' from protocol 'Numeric' is better expressed as same-type constraint on the protocol
9 | extension FiniteFieldInteger {
10 | public typealias IntegerLiteralType = Int
11 | public typealias Magnitude = Self.Type
| `- warning: typealias overriding associated type 'Magnitude' from protocol 'Numeric' is better expressed as same-type constraint on the protocol
12 |
13 | public static var Order: Element {
Swift.Numeric.Magnitude:2:16: note: 'Magnitude' declared here
1 | protocol Numeric {
2 | associatedtype Magnitude : Comparable, Numeric}
| `- note: 'Magnitude' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger+Default.swift:10:22: warning: typealias overriding associated type 'IntegerLiteralType' from protocol 'ExpressibleByIntegerLiteral' is better expressed as same-type constraint on the protocol
8 | /// and do not apply to points or other element types
9 | extension FiniteFieldInteger {
10 | public typealias IntegerLiteralType = Int
| `- warning: typealias overriding associated type 'IntegerLiteralType' from protocol 'ExpressibleByIntegerLiteral' is better expressed as same-type constraint on the protocol
11 | public typealias Magnitude = Self.Type
12 |
Swift.ExpressibleByIntegerLiteral.IntegerLiteralType:2:16: note: 'IntegerLiteralType' declared here
1 | protocol ExpressibleByIntegerLiteral {
2 | associatedtype IntegerLiteralType : _ExpressibleByBuiltinIntegerLiteral}
| `- note: 'IntegerLiteralType' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Comparable'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Comparable'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Numeric'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Numeric'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Equatable'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Equatable'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : AdditiveArithmetic'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : AdditiveArithmetic'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : ExpressibleByIntegerLiteral'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : ExpressibleByIntegerLiteral'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp224k1.swift:25:19: error: type 'Secp224k1.FFInt' does not conform to protocol 'FiniteFieldInteger'
23 | public struct Secp224k1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| `- error: type 'Secp224k1.FFInt' does not conform to protocol 'FiniteFieldInteger'
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp224k1.swift:25:19: error: 'FiniteFieldInteger' requires the types 'Secp224k1.FFInt' and 'Secp224k1.FFInt.Type' be equivalent
23 | public struct Secp224k1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| |- error: 'FiniteFieldInteger' requires the types 'Secp224k1.FFInt' and 'Secp224k1.FFInt.Type' be equivalent
| `- note: requirement specified as 'Self.Magnitude' == 'Self.Type' [with Self = Secp224k1.FFInt]
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
/Users/admin/builder/spi-builder-workspace/Sources/EllipticCurve/EllipticCurveOverFiniteField+Default.swift:7:22: warning: typealias overriding associated type 'Element' from protocol 'FiniteField' is better expressed as same-type constraint on the protocol
5 | extension EllipticCurveOverFiniteField {
6 |
7 | public typealias Element = Self.Coordinate.Element
| `- warning: typealias overriding associated type 'Element' from protocol 'FiniteField' is better expressed as same-type constraint on the protocol
8 |
9 | public static var Zero: Self {
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteField.swift:7:20: note: 'Element' declared here
5 |
6 | public protocol FiniteField: CustomStringConvertible {
7 | associatedtype Element: UnsignedInteger, FixedWidthInteger
| `- note: 'Element' declared here
8 |
9 | static var Characteristic: Element { get }
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp224r1.swift:25:19: error: type 'Secp224r1.FFInt' does not conform to protocol 'FiniteFieldInteger'
23 | public struct Secp224r1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| `- error: type 'Secp224r1.FFInt' does not conform to protocol 'FiniteFieldInteger'
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp224r1.swift:25:19: error: 'FiniteFieldInteger' requires the types 'Secp224r1.FFInt' and 'Secp224r1.FFInt.Type' be equivalent
23 | public struct Secp224r1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| |- error: 'FiniteFieldInteger' requires the types 'Secp224r1.FFInt' and 'Secp224r1.FFInt.Type' be equivalent
| `- note: requirement specified as 'Self.Magnitude' == 'Self.Type' [with Self = Secp224r1.FFInt]
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
[26/35] Compiling EllipticCurve Secp224r1.swift
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger+Default.swift:11:22: warning: typealias overriding associated type 'Magnitude' from protocol 'Numeric' is better expressed as same-type constraint on the protocol
9 | extension FiniteFieldInteger {
10 | public typealias IntegerLiteralType = Int
11 | public typealias Magnitude = Self.Type
| `- warning: typealias overriding associated type 'Magnitude' from protocol 'Numeric' is better expressed as same-type constraint on the protocol
12 |
13 | public static var Order: Element {
Swift.Numeric.Magnitude:2:16: note: 'Magnitude' declared here
1 | protocol Numeric {
2 | associatedtype Magnitude : Comparable, Numeric}
| `- note: 'Magnitude' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger+Default.swift:10:22: warning: typealias overriding associated type 'IntegerLiteralType' from protocol 'ExpressibleByIntegerLiteral' is better expressed as same-type constraint on the protocol
8 | /// and do not apply to points or other element types
9 | extension FiniteFieldInteger {
10 | public typealias IntegerLiteralType = Int
| `- warning: typealias overriding associated type 'IntegerLiteralType' from protocol 'ExpressibleByIntegerLiteral' is better expressed as same-type constraint on the protocol
11 | public typealias Magnitude = Self.Type
12 |
Swift.ExpressibleByIntegerLiteral.IntegerLiteralType:2:16: note: 'IntegerLiteralType' declared here
1 | protocol ExpressibleByIntegerLiteral {
2 | associatedtype IntegerLiteralType : _ExpressibleByBuiltinIntegerLiteral}
| `- note: 'IntegerLiteralType' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Comparable'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Comparable'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Numeric'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Numeric'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Equatable'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Equatable'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : AdditiveArithmetic'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : AdditiveArithmetic'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : ExpressibleByIntegerLiteral'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : ExpressibleByIntegerLiteral'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp224k1.swift:25:19: error: type 'Secp224k1.FFInt' does not conform to protocol 'FiniteFieldInteger'
23 | public struct Secp224k1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| `- error: type 'Secp224k1.FFInt' does not conform to protocol 'FiniteFieldInteger'
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp224k1.swift:25:19: error: 'FiniteFieldInteger' requires the types 'Secp224k1.FFInt' and 'Secp224k1.FFInt.Type' be equivalent
23 | public struct Secp224k1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| |- error: 'FiniteFieldInteger' requires the types 'Secp224k1.FFInt' and 'Secp224k1.FFInt.Type' be equivalent
| `- note: requirement specified as 'Self.Magnitude' == 'Self.Type' [with Self = Secp224k1.FFInt]
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
/Users/admin/builder/spi-builder-workspace/Sources/EllipticCurve/EllipticCurveOverFiniteField+Default.swift:7:22: warning: typealias overriding associated type 'Element' from protocol 'FiniteField' is better expressed as same-type constraint on the protocol
5 | extension EllipticCurveOverFiniteField {
6 |
7 | public typealias Element = Self.Coordinate.Element
| `- warning: typealias overriding associated type 'Element' from protocol 'FiniteField' is better expressed as same-type constraint on the protocol
8 |
9 | public static var Zero: Self {
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteField.swift:7:20: note: 'Element' declared here
5 |
6 | public protocol FiniteField: CustomStringConvertible {
7 | associatedtype Element: UnsignedInteger, FixedWidthInteger
| `- note: 'Element' declared here
8 |
9 | static var Characteristic: Element { get }
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp224r1.swift:25:19: error: type 'Secp224r1.FFInt' does not conform to protocol 'FiniteFieldInteger'
23 | public struct Secp224r1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| `- error: type 'Secp224r1.FFInt' does not conform to protocol 'FiniteFieldInteger'
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp224r1.swift:25:19: error: 'FiniteFieldInteger' requires the types 'Secp224r1.FFInt' and 'Secp224r1.FFInt.Type' be equivalent
23 | public struct Secp224r1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| |- error: 'FiniteFieldInteger' requires the types 'Secp224r1.FFInt' and 'Secp224r1.FFInt.Type' be equivalent
| `- note: requirement specified as 'Self.Magnitude' == 'Self.Type' [with Self = Secp224r1.FFInt]
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
[27/35] Compiling EllipticCurve EllipticCurveOverFiniteField+Default.swift
/Users/admin/builder/spi-builder-workspace/Sources/EllipticCurve/EllipticCurveOverFiniteField+Default.swift:7:22: warning: typealias overriding associated type 'Element' from protocol 'FiniteField' is better expressed as same-type constraint on the protocol
5 | extension EllipticCurveOverFiniteField {
6 |
7 | public typealias Element = Self.Coordinate.Element
| `- warning: typealias overriding associated type 'Element' from protocol 'FiniteField' is better expressed as same-type constraint on the protocol
8 |
9 | public static var Zero: Self {
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteField.swift:7:20: note: 'Element' declared here
5 |
6 | public protocol FiniteField: CustomStringConvertible {
7 | associatedtype Element: UnsignedInteger, FixedWidthInteger
| `- note: 'Element' declared here
8 |
9 | static var Characteristic: Element { get }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger+Default.swift:11:22: warning: typealias overriding associated type 'Magnitude' from protocol 'Numeric' is better expressed as same-type constraint on the protocol
9 | extension FiniteFieldInteger {
10 | public typealias IntegerLiteralType = Int
11 | public typealias Magnitude = Self.Type
| `- warning: typealias overriding associated type 'Magnitude' from protocol 'Numeric' is better expressed as same-type constraint on the protocol
12 |
13 | public static var Order: Element {
Swift.Numeric.Magnitude:2:16: note: 'Magnitude' declared here
1 | protocol Numeric {
2 | associatedtype Magnitude : Comparable, Numeric}
| `- note: 'Magnitude' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger+Default.swift:10:22: warning: typealias overriding associated type 'IntegerLiteralType' from protocol 'ExpressibleByIntegerLiteral' is better expressed as same-type constraint on the protocol
8 | /// and do not apply to points or other element types
9 | extension FiniteFieldInteger {
10 | public typealias IntegerLiteralType = Int
| `- warning: typealias overriding associated type 'IntegerLiteralType' from protocol 'ExpressibleByIntegerLiteral' is better expressed as same-type constraint on the protocol
11 | public typealias Magnitude = Self.Type
12 |
Swift.ExpressibleByIntegerLiteral.IntegerLiteralType:2:16: note: 'IntegerLiteralType' declared here
1 | protocol ExpressibleByIntegerLiteral {
2 | associatedtype IntegerLiteralType : _ExpressibleByBuiltinIntegerLiteral}
| `- note: 'IntegerLiteralType' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Comparable'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Comparable'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Numeric'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Numeric'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Equatable'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Equatable'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : AdditiveArithmetic'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : AdditiveArithmetic'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : ExpressibleByIntegerLiteral'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : ExpressibleByIntegerLiteral'
10 |
11 | var value: Element { get set }
[28/35] Compiling EllipticCurve EllipticCurveOverFiniteField.swift
/Users/admin/builder/spi-builder-workspace/Sources/EllipticCurve/EllipticCurveOverFiniteField+Default.swift:7:22: warning: typealias overriding associated type 'Element' from protocol 'FiniteField' is better expressed as same-type constraint on the protocol
5 | extension EllipticCurveOverFiniteField {
6 |
7 | public typealias Element = Self.Coordinate.Element
| `- warning: typealias overriding associated type 'Element' from protocol 'FiniteField' is better expressed as same-type constraint on the protocol
8 |
9 | public static var Zero: Self {
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteField.swift:7:20: note: 'Element' declared here
5 |
6 | public protocol FiniteField: CustomStringConvertible {
7 | associatedtype Element: UnsignedInteger, FixedWidthInteger
| `- note: 'Element' declared here
8 |
9 | static var Characteristic: Element { get }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger+Default.swift:11:22: warning: typealias overriding associated type 'Magnitude' from protocol 'Numeric' is better expressed as same-type constraint on the protocol
9 | extension FiniteFieldInteger {
10 | public typealias IntegerLiteralType = Int
11 | public typealias Magnitude = Self.Type
| `- warning: typealias overriding associated type 'Magnitude' from protocol 'Numeric' is better expressed as same-type constraint on the protocol
12 |
13 | public static var Order: Element {
Swift.Numeric.Magnitude:2:16: note: 'Magnitude' declared here
1 | protocol Numeric {
2 | associatedtype Magnitude : Comparable, Numeric}
| `- note: 'Magnitude' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger+Default.swift:10:22: warning: typealias overriding associated type 'IntegerLiteralType' from protocol 'ExpressibleByIntegerLiteral' is better expressed as same-type constraint on the protocol
8 | /// and do not apply to points or other element types
9 | extension FiniteFieldInteger {
10 | public typealias IntegerLiteralType = Int
| `- warning: typealias overriding associated type 'IntegerLiteralType' from protocol 'ExpressibleByIntegerLiteral' is better expressed as same-type constraint on the protocol
11 | public typealias Magnitude = Self.Type
12 |
Swift.ExpressibleByIntegerLiteral.IntegerLiteralType:2:16: note: 'IntegerLiteralType' declared here
1 | protocol ExpressibleByIntegerLiteral {
2 | associatedtype IntegerLiteralType : _ExpressibleByBuiltinIntegerLiteral}
| `- note: 'IntegerLiteralType' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Comparable'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Comparable'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Numeric'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Numeric'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Equatable'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Equatable'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : AdditiveArithmetic'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : AdditiveArithmetic'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : ExpressibleByIntegerLiteral'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : ExpressibleByIntegerLiteral'
10 |
11 | var value: Element { get set }
[29/35] Compiling EllipticCurve Secp256k1.swift
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger+Default.swift:11:22: warning: typealias overriding associated type 'Magnitude' from protocol 'Numeric' is better expressed as same-type constraint on the protocol
9 | extension FiniteFieldInteger {
10 | public typealias IntegerLiteralType = Int
11 | public typealias Magnitude = Self.Type
| `- warning: typealias overriding associated type 'Magnitude' from protocol 'Numeric' is better expressed as same-type constraint on the protocol
12 |
13 | public static var Order: Element {
Swift.Numeric.Magnitude:2:16: note: 'Magnitude' declared here
1 | protocol Numeric {
2 | associatedtype Magnitude : Comparable, Numeric}
| `- note: 'Magnitude' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger+Default.swift:10:22: warning: typealias overriding associated type 'IntegerLiteralType' from protocol 'ExpressibleByIntegerLiteral' is better expressed as same-type constraint on the protocol
8 | /// and do not apply to points or other element types
9 | extension FiniteFieldInteger {
10 | public typealias IntegerLiteralType = Int
| `- warning: typealias overriding associated type 'IntegerLiteralType' from protocol 'ExpressibleByIntegerLiteral' is better expressed as same-type constraint on the protocol
11 | public typealias Magnitude = Self.Type
12 |
Swift.ExpressibleByIntegerLiteral.IntegerLiteralType:2:16: note: 'IntegerLiteralType' declared here
1 | protocol ExpressibleByIntegerLiteral {
2 | associatedtype IntegerLiteralType : _ExpressibleByBuiltinIntegerLiteral}
| `- note: 'IntegerLiteralType' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Comparable'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Comparable'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Numeric'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Numeric'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Equatable'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Equatable'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : AdditiveArithmetic'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : AdditiveArithmetic'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : ExpressibleByIntegerLiteral'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : ExpressibleByIntegerLiteral'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp256k1.swift:31:19: error: type 'Secp256k1.FFInt' does not conform to protocol 'FiniteFieldInteger'
29 |
30 | public struct Secp256k1: EllipticCurveOverFiniteField {
31 | public struct FFInt: FiniteFieldInteger {
| `- error: type 'Secp256k1.FFInt' does not conform to protocol 'FiniteFieldInteger'
32 | public static var Characteristic: UInt256 = Parameters.P
33 | public static var InverseCharacteristic: (high: UInt256, low: UInt256)? = Parameters.InverseP
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp256k1.swift:31:19: error: 'FiniteFieldInteger' requires the types 'Secp256k1.FFInt' and 'Secp256k1.FFInt.Type' be equivalent
29 |
30 | public struct Secp256k1: EllipticCurveOverFiniteField {
31 | public struct FFInt: FiniteFieldInteger {
| |- error: 'FiniteFieldInteger' requires the types 'Secp256k1.FFInt' and 'Secp256k1.FFInt.Type' be equivalent
| `- note: requirement specified as 'Self.Magnitude' == 'Self.Type' [with Self = Secp256k1.FFInt]
32 | public static var Characteristic: UInt256 = Parameters.P
33 | public static var InverseCharacteristic: (high: UInt256, low: UInt256)? = Parameters.InverseP
/Users/admin/builder/spi-builder-workspace/Sources/EllipticCurve/EllipticCurveOverFiniteField+Default.swift:7:22: warning: typealias overriding associated type 'Element' from protocol 'FiniteField' is better expressed as same-type constraint on the protocol
5 | extension EllipticCurveOverFiniteField {
6 |
7 | public typealias Element = Self.Coordinate.Element
| `- warning: typealias overriding associated type 'Element' from protocol 'FiniteField' is better expressed as same-type constraint on the protocol
8 |
9 | public static var Zero: Self {
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteField.swift:7:20: note: 'Element' declared here
5 |
6 | public protocol FiniteField: CustomStringConvertible {
7 | associatedtype Element: UnsignedInteger, FixedWidthInteger
| `- note: 'Element' declared here
8 |
9 | static var Characteristic: Element { get }
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp256r1.swift:25:19: error: type 'Secp256r1.FFInt' does not conform to protocol 'FiniteFieldInteger'
23 | public struct Secp256r1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| `- error: type 'Secp256r1.FFInt' does not conform to protocol 'FiniteFieldInteger'
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp256r1.swift:25:19: error: 'FiniteFieldInteger' requires the types 'Secp256r1.FFInt' and 'Secp256r1.FFInt.Type' be equivalent
23 | public struct Secp256r1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| |- error: 'FiniteFieldInteger' requires the types 'Secp256r1.FFInt' and 'Secp256r1.FFInt.Type' be equivalent
| `- note: requirement specified as 'Self.Magnitude' == 'Self.Type' [with Self = Secp256r1.FFInt]
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
[30/35] Compiling EllipticCurve Secp256r1.swift
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger+Default.swift:11:22: warning: typealias overriding associated type 'Magnitude' from protocol 'Numeric' is better expressed as same-type constraint on the protocol
9 | extension FiniteFieldInteger {
10 | public typealias IntegerLiteralType = Int
11 | public typealias Magnitude = Self.Type
| `- warning: typealias overriding associated type 'Magnitude' from protocol 'Numeric' is better expressed as same-type constraint on the protocol
12 |
13 | public static var Order: Element {
Swift.Numeric.Magnitude:2:16: note: 'Magnitude' declared here
1 | protocol Numeric {
2 | associatedtype Magnitude : Comparable, Numeric}
| `- note: 'Magnitude' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger+Default.swift:10:22: warning: typealias overriding associated type 'IntegerLiteralType' from protocol 'ExpressibleByIntegerLiteral' is better expressed as same-type constraint on the protocol
8 | /// and do not apply to points or other element types
9 | extension FiniteFieldInteger {
10 | public typealias IntegerLiteralType = Int
| `- warning: typealias overriding associated type 'IntegerLiteralType' from protocol 'ExpressibleByIntegerLiteral' is better expressed as same-type constraint on the protocol
11 | public typealias Magnitude = Self.Type
12 |
Swift.ExpressibleByIntegerLiteral.IntegerLiteralType:2:16: note: 'IntegerLiteralType' declared here
1 | protocol ExpressibleByIntegerLiteral {
2 | associatedtype IntegerLiteralType : _ExpressibleByBuiltinIntegerLiteral}
| `- note: 'IntegerLiteralType' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Comparable'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Comparable'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Numeric'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Numeric'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Equatable'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Equatable'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : AdditiveArithmetic'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : AdditiveArithmetic'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : ExpressibleByIntegerLiteral'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : ExpressibleByIntegerLiteral'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp256k1.swift:31:19: error: type 'Secp256k1.FFInt' does not conform to protocol 'FiniteFieldInteger'
29 |
30 | public struct Secp256k1: EllipticCurveOverFiniteField {
31 | public struct FFInt: FiniteFieldInteger {
| `- error: type 'Secp256k1.FFInt' does not conform to protocol 'FiniteFieldInteger'
32 | public static var Characteristic: UInt256 = Parameters.P
33 | public static var InverseCharacteristic: (high: UInt256, low: UInt256)? = Parameters.InverseP
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp256k1.swift:31:19: error: 'FiniteFieldInteger' requires the types 'Secp256k1.FFInt' and 'Secp256k1.FFInt.Type' be equivalent
29 |
30 | public struct Secp256k1: EllipticCurveOverFiniteField {
31 | public struct FFInt: FiniteFieldInteger {
| |- error: 'FiniteFieldInteger' requires the types 'Secp256k1.FFInt' and 'Secp256k1.FFInt.Type' be equivalent
| `- note: requirement specified as 'Self.Magnitude' == 'Self.Type' [with Self = Secp256k1.FFInt]
32 | public static var Characteristic: UInt256 = Parameters.P
33 | public static var InverseCharacteristic: (high: UInt256, low: UInt256)? = Parameters.InverseP
/Users/admin/builder/spi-builder-workspace/Sources/EllipticCurve/EllipticCurveOverFiniteField+Default.swift:7:22: warning: typealias overriding associated type 'Element' from protocol 'FiniteField' is better expressed as same-type constraint on the protocol
5 | extension EllipticCurveOverFiniteField {
6 |
7 | public typealias Element = Self.Coordinate.Element
| `- warning: typealias overriding associated type 'Element' from protocol 'FiniteField' is better expressed as same-type constraint on the protocol
8 |
9 | public static var Zero: Self {
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteField.swift:7:20: note: 'Element' declared here
5 |
6 | public protocol FiniteField: CustomStringConvertible {
7 | associatedtype Element: UnsignedInteger, FixedWidthInteger
| `- note: 'Element' declared here
8 |
9 | static var Characteristic: Element { get }
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp256r1.swift:25:19: error: type 'Secp256r1.FFInt' does not conform to protocol 'FiniteFieldInteger'
23 | public struct Secp256r1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| `- error: type 'Secp256r1.FFInt' does not conform to protocol 'FiniteFieldInteger'
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp256r1.swift:25:19: error: 'FiniteFieldInteger' requires the types 'Secp256r1.FFInt' and 'Secp256r1.FFInt.Type' be equivalent
23 | public struct Secp256r1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| |- error: 'FiniteFieldInteger' requires the types 'Secp256r1.FFInt' and 'Secp256r1.FFInt.Type' be equivalent
| `- note: requirement specified as 'Self.Magnitude' == 'Self.Type' [with Self = Secp256r1.FFInt]
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
[31/35] Compiling EllipticCurve Secp192k1.swift
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger+Default.swift:11:22: warning: typealias overriding associated type 'Magnitude' from protocol 'Numeric' is better expressed as same-type constraint on the protocol
9 | extension FiniteFieldInteger {
10 | public typealias IntegerLiteralType = Int
11 | public typealias Magnitude = Self.Type
| `- warning: typealias overriding associated type 'Magnitude' from protocol 'Numeric' is better expressed as same-type constraint on the protocol
12 |
13 | public static var Order: Element {
Swift.Numeric.Magnitude:2:16: note: 'Magnitude' declared here
1 | protocol Numeric {
2 | associatedtype Magnitude : Comparable, Numeric}
| `- note: 'Magnitude' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger+Default.swift:10:22: warning: typealias overriding associated type 'IntegerLiteralType' from protocol 'ExpressibleByIntegerLiteral' is better expressed as same-type constraint on the protocol
8 | /// and do not apply to points or other element types
9 | extension FiniteFieldInteger {
10 | public typealias IntegerLiteralType = Int
| `- warning: typealias overriding associated type 'IntegerLiteralType' from protocol 'ExpressibleByIntegerLiteral' is better expressed as same-type constraint on the protocol
11 | public typealias Magnitude = Self.Type
12 |
Swift.ExpressibleByIntegerLiteral.IntegerLiteralType:2:16: note: 'IntegerLiteralType' declared here
1 | protocol ExpressibleByIntegerLiteral {
2 | associatedtype IntegerLiteralType : _ExpressibleByBuiltinIntegerLiteral}
| `- note: 'IntegerLiteralType' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Comparable'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Comparable'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Numeric'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Numeric'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Equatable'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Equatable'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : AdditiveArithmetic'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : AdditiveArithmetic'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : ExpressibleByIntegerLiteral'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : ExpressibleByIntegerLiteral'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp192k1.swift:25:19: error: type 'Secp192k1.FFInt' does not conform to protocol 'FiniteFieldInteger'
23 | public struct Secp192k1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| `- error: type 'Secp192k1.FFInt' does not conform to protocol 'FiniteFieldInteger'
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp192k1.swift:25:19: error: 'FiniteFieldInteger' requires the types 'Secp192k1.FFInt' and 'Secp192k1.FFInt.Type' be equivalent
23 | public struct Secp192k1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| |- error: 'FiniteFieldInteger' requires the types 'Secp192k1.FFInt' and 'Secp192k1.FFInt.Type' be equivalent
| `- note: requirement specified as 'Self.Magnitude' == 'Self.Type' [with Self = Secp192k1.FFInt]
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
/Users/admin/builder/spi-builder-workspace/Sources/EllipticCurve/EllipticCurveOverFiniteField+Default.swift:7:22: warning: typealias overriding associated type 'Element' from protocol 'FiniteField' is better expressed as same-type constraint on the protocol
5 | extension EllipticCurveOverFiniteField {
6 |
7 | public typealias Element = Self.Coordinate.Element
| `- warning: typealias overriding associated type 'Element' from protocol 'FiniteField' is better expressed as same-type constraint on the protocol
8 |
9 | public static var Zero: Self {
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteField.swift:7:20: note: 'Element' declared here
5 |
6 | public protocol FiniteField: CustomStringConvertible {
7 | associatedtype Element: UnsignedInteger, FixedWidthInteger
| `- note: 'Element' declared here
8 |
9 | static var Characteristic: Element { get }
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp192r1.swift:25:19: error: type 'Secp192r1.FFInt' does not conform to protocol 'FiniteFieldInteger'
23 | public struct Secp192r1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| `- error: type 'Secp192r1.FFInt' does not conform to protocol 'FiniteFieldInteger'
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp192r1.swift:25:19: error: 'FiniteFieldInteger' requires the types 'Secp192r1.FFInt' and 'Secp192r1.FFInt.Type' be equivalent
23 | public struct Secp192r1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| |- error: 'FiniteFieldInteger' requires the types 'Secp192r1.FFInt' and 'Secp192r1.FFInt.Type' be equivalent
| `- note: requirement specified as 'Self.Magnitude' == 'Self.Type' [with Self = Secp192r1.FFInt]
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
[32/35] Compiling EllipticCurve Secp192r1.swift
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger+Default.swift:11:22: warning: typealias overriding associated type 'Magnitude' from protocol 'Numeric' is better expressed as same-type constraint on the protocol
9 | extension FiniteFieldInteger {
10 | public typealias IntegerLiteralType = Int
11 | public typealias Magnitude = Self.Type
| `- warning: typealias overriding associated type 'Magnitude' from protocol 'Numeric' is better expressed as same-type constraint on the protocol
12 |
13 | public static var Order: Element {
Swift.Numeric.Magnitude:2:16: note: 'Magnitude' declared here
1 | protocol Numeric {
2 | associatedtype Magnitude : Comparable, Numeric}
| `- note: 'Magnitude' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger+Default.swift:10:22: warning: typealias overriding associated type 'IntegerLiteralType' from protocol 'ExpressibleByIntegerLiteral' is better expressed as same-type constraint on the protocol
8 | /// and do not apply to points or other element types
9 | extension FiniteFieldInteger {
10 | public typealias IntegerLiteralType = Int
| `- warning: typealias overriding associated type 'IntegerLiteralType' from protocol 'ExpressibleByIntegerLiteral' is better expressed as same-type constraint on the protocol
11 | public typealias Magnitude = Self.Type
12 |
Swift.ExpressibleByIntegerLiteral.IntegerLiteralType:2:16: note: 'IntegerLiteralType' declared here
1 | protocol ExpressibleByIntegerLiteral {
2 | associatedtype IntegerLiteralType : _ExpressibleByBuiltinIntegerLiteral}
| `- note: 'IntegerLiteralType' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Comparable'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Comparable'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Numeric'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Numeric'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Equatable'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Equatable'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : AdditiveArithmetic'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : AdditiveArithmetic'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : ExpressibleByIntegerLiteral'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : ExpressibleByIntegerLiteral'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp192k1.swift:25:19: error: type 'Secp192k1.FFInt' does not conform to protocol 'FiniteFieldInteger'
23 | public struct Secp192k1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| `- error: type 'Secp192k1.FFInt' does not conform to protocol 'FiniteFieldInteger'
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp192k1.swift:25:19: error: 'FiniteFieldInteger' requires the types 'Secp192k1.FFInt' and 'Secp192k1.FFInt.Type' be equivalent
23 | public struct Secp192k1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| |- error: 'FiniteFieldInteger' requires the types 'Secp192k1.FFInt' and 'Secp192k1.FFInt.Type' be equivalent
| `- note: requirement specified as 'Self.Magnitude' == 'Self.Type' [with Self = Secp192k1.FFInt]
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
/Users/admin/builder/spi-builder-workspace/Sources/EllipticCurve/EllipticCurveOverFiniteField+Default.swift:7:22: warning: typealias overriding associated type 'Element' from protocol 'FiniteField' is better expressed as same-type constraint on the protocol
5 | extension EllipticCurveOverFiniteField {
6 |
7 | public typealias Element = Self.Coordinate.Element
| `- warning: typealias overriding associated type 'Element' from protocol 'FiniteField' is better expressed as same-type constraint on the protocol
8 |
9 | public static var Zero: Self {
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteField.swift:7:20: note: 'Element' declared here
5 |
6 | public protocol FiniteField: CustomStringConvertible {
7 | associatedtype Element: UnsignedInteger, FixedWidthInteger
| `- note: 'Element' declared here
8 |
9 | static var Characteristic: Element { get }
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp192r1.swift:25:19: error: type 'Secp192r1.FFInt' does not conform to protocol 'FiniteFieldInteger'
23 | public struct Secp192r1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| `- error: type 'Secp192r1.FFInt' does not conform to protocol 'FiniteFieldInteger'
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp192r1.swift:25:19: error: 'FiniteFieldInteger' requires the types 'Secp192r1.FFInt' and 'Secp192r1.FFInt.Type' be equivalent
23 | public struct Secp192r1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| |- error: 'FiniteFieldInteger' requires the types 'Secp192r1.FFInt' and 'Secp192r1.FFInt.Type' be equivalent
| `- note: requirement specified as 'Self.Magnitude' == 'Self.Type' [with Self = Secp192r1.FFInt]
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
[33/35] Compiling EllipticCurve EllipticCurve+Default.swift
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger+Default.swift:11:22: warning: typealias overriding associated type 'Magnitude' from protocol 'Numeric' is better expressed as same-type constraint on the protocol
9 | extension FiniteFieldInteger {
10 | public typealias IntegerLiteralType = Int
11 | public typealias Magnitude = Self.Type
| `- warning: typealias overriding associated type 'Magnitude' from protocol 'Numeric' is better expressed as same-type constraint on the protocol
12 |
13 | public static var Order: Element {
Swift.Numeric.Magnitude:2:16: note: 'Magnitude' declared here
1 | protocol Numeric {
2 | associatedtype Magnitude : Comparable, Numeric}
| `- note: 'Magnitude' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger+Default.swift:10:22: warning: typealias overriding associated type 'IntegerLiteralType' from protocol 'ExpressibleByIntegerLiteral' is better expressed as same-type constraint on the protocol
8 | /// and do not apply to points or other element types
9 | extension FiniteFieldInteger {
10 | public typealias IntegerLiteralType = Int
| `- warning: typealias overriding associated type 'IntegerLiteralType' from protocol 'ExpressibleByIntegerLiteral' is better expressed as same-type constraint on the protocol
11 | public typealias Magnitude = Self.Type
12 |
Swift.ExpressibleByIntegerLiteral.IntegerLiteralType:2:16: note: 'IntegerLiteralType' declared here
1 | protocol ExpressibleByIntegerLiteral {
2 | associatedtype IntegerLiteralType : _ExpressibleByBuiltinIntegerLiteral}
| `- note: 'IntegerLiteralType' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Comparable'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Comparable'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Numeric'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Numeric'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Equatable'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Equatable'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : AdditiveArithmetic'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : AdditiveArithmetic'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : ExpressibleByIntegerLiteral'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : ExpressibleByIntegerLiteral'
10 |
11 | var value: Element { get set }
[34/35] Compiling EllipticCurve EllipticCurve.swift
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger+Default.swift:11:22: warning: typealias overriding associated type 'Magnitude' from protocol 'Numeric' is better expressed as same-type constraint on the protocol
9 | extension FiniteFieldInteger {
10 | public typealias IntegerLiteralType = Int
11 | public typealias Magnitude = Self.Type
| `- warning: typealias overriding associated type 'Magnitude' from protocol 'Numeric' is better expressed as same-type constraint on the protocol
12 |
13 | public static var Order: Element {
Swift.Numeric.Magnitude:2:16: note: 'Magnitude' declared here
1 | protocol Numeric {
2 | associatedtype Magnitude : Comparable, Numeric}
| `- note: 'Magnitude' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger+Default.swift:10:22: warning: typealias overriding associated type 'IntegerLiteralType' from protocol 'ExpressibleByIntegerLiteral' is better expressed as same-type constraint on the protocol
8 | /// and do not apply to points or other element types
9 | extension FiniteFieldInteger {
10 | public typealias IntegerLiteralType = Int
| `- warning: typealias overriding associated type 'IntegerLiteralType' from protocol 'ExpressibleByIntegerLiteral' is better expressed as same-type constraint on the protocol
11 | public typealias Magnitude = Self.Type
12 |
Swift.ExpressibleByIntegerLiteral.IntegerLiteralType:2:16: note: 'IntegerLiteralType' declared here
1 | protocol ExpressibleByIntegerLiteral {
2 | associatedtype IntegerLiteralType : _ExpressibleByBuiltinIntegerLiteral}
| `- note: 'IntegerLiteralType' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Comparable'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Comparable'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Numeric'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Numeric'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Equatable'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Equatable'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : AdditiveArithmetic'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : AdditiveArithmetic'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : ExpressibleByIntegerLiteral'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : ExpressibleByIntegerLiteral'
10 |
11 | var value: Element { get set }
[35/35] Compiling EllipticCurve ECDSA.swift
/Users/admin/builder/spi-builder-workspace/Sources/EllipticCurve/EllipticCurveOverFiniteField+Default.swift:7:22: warning: typealias overriding associated type 'Element' from protocol 'FiniteField' is better expressed as same-type constraint on the protocol
5 | extension EllipticCurveOverFiniteField {
6 |
7 | public typealias Element = Self.Coordinate.Element
| `- warning: typealias overriding associated type 'Element' from protocol 'FiniteField' is better expressed as same-type constraint on the protocol
8 |
9 | public static var Zero: Self {
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteField.swift:7:20: note: 'Element' declared here
5 |
6 | public protocol FiniteField: CustomStringConvertible {
7 | associatedtype Element: UnsignedInteger, FixedWidthInteger
| `- note: 'Element' declared here
8 |
9 | static var Characteristic: Element { get }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger+Default.swift:11:22: warning: typealias overriding associated type 'Magnitude' from protocol 'Numeric' is better expressed as same-type constraint on the protocol
9 | extension FiniteFieldInteger {
10 | public typealias IntegerLiteralType = Int
11 | public typealias Magnitude = Self.Type
| `- warning: typealias overriding associated type 'Magnitude' from protocol 'Numeric' is better expressed as same-type constraint on the protocol
12 |
13 | public static var Order: Element {
Swift.Numeric.Magnitude:2:16: note: 'Magnitude' declared here
1 | protocol Numeric {
2 | associatedtype Magnitude : Comparable, Numeric}
| `- note: 'Magnitude' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger+Default.swift:10:22: warning: typealias overriding associated type 'IntegerLiteralType' from protocol 'ExpressibleByIntegerLiteral' is better expressed as same-type constraint on the protocol
8 | /// and do not apply to points or other element types
9 | extension FiniteFieldInteger {
10 | public typealias IntegerLiteralType = Int
| `- warning: typealias overriding associated type 'IntegerLiteralType' from protocol 'ExpressibleByIntegerLiteral' is better expressed as same-type constraint on the protocol
11 | public typealias Magnitude = Self.Type
12 |
Swift.ExpressibleByIntegerLiteral.IntegerLiteralType:2:16: note: 'IntegerLiteralType' declared here
1 | protocol ExpressibleByIntegerLiteral {
2 | associatedtype IntegerLiteralType : _ExpressibleByBuiltinIntegerLiteral}
| `- note: 'IntegerLiteralType' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Comparable'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Comparable'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Numeric'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Numeric'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Equatable'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Equatable'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : AdditiveArithmetic'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : AdditiveArithmetic'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : ExpressibleByIntegerLiteral'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : ExpressibleByIntegerLiteral'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SignatureAlgorithms/ECDSA.swift:11:20: error: type 'ECDSA<Point>.IsomorphicField' does not conform to protocol 'FiniteFieldInteger'
9 | public typealias Hashing = (_ msg: Data) -> Element
10 |
11 | private struct IsomorphicField: FiniteFieldInteger {
| `- error: type 'ECDSA<Point>.IsomorphicField' does not conform to protocol 'FiniteFieldInteger'
12 | public static var Characteristic: Element {
13 | return Point.Order
/Users/admin/builder/spi-builder-workspace/Sources/SignatureAlgorithms/ECDSA.swift:11:20: error: 'FiniteFieldInteger' requires the types 'ECDSA<Point>.IsomorphicField' and 'ECDSA<Point>.IsomorphicField.Type' be equivalent
9 | public typealias Hashing = (_ msg: Data) -> Element
10 |
11 | private struct IsomorphicField: FiniteFieldInteger {
| |- error: 'FiniteFieldInteger' requires the types 'ECDSA<Point>.IsomorphicField' and 'ECDSA<Point>.IsomorphicField.Type' be equivalent
| `- note: requirement specified as 'Self.Magnitude' == 'Self.Type' [with Self = ECDSA<Point>.IsomorphicField]
12 | public static var Characteristic: Element {
13 | return Point.Order
Fetching https://github.com/mryu87/UInt256.git
[1/582] Fetching uint256
Fetched https://github.com/mryu87/UInt256.git from cache (0.79s)
Computing version for https://github.com/mryu87/UInt256.git
Computed https://github.com/mryu87/UInt256.git at 0.2.2 (1.31s)
Creating working copy for https://github.com/mryu87/UInt256.git
Working copy of https://github.com/mryu87/UInt256.git resolved at 0.2.2
BUILD FAILURE 6.2 macosSpm