Build Information
Failed to build EllipticCurve, reference 0.3.2 (4ef14c
), with Swift 6.2 (beta) for Android on 17 Jun 2025 13:48:40 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
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: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/hyugit/EllipticCurve.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/mryu87/UInt256.git
[1/582] Fetching uint256
Fetched https://github.com/mryu87/UInt256.git from cache (0.29s)
Computing version for https://github.com/mryu87/UInt256.git
Computed https://github.com/mryu87/UInt256.git at 0.2.2 (0.78s)
Creating working copy for https://github.com/mryu87/UInt256.git
Working copy of https://github.com/mryu87/UInt256.git resolved at 0.2.2
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-8C5A4AE7A8CE2BA.txt
[4/18] Compiling UInt256 UInt256+Equatable.swift
[5/18] Compiling UInt256 UInt256+ExpressibleByIntegerLiteral.swift
[6/19] Compiling UInt256 UInt256+Karatsuba.swift
[7/19] Compiling UInt256 UInt256+Numeric.swift
[8/19] Compiling UInt256 UInt256+UnsignedInteger.swift
[9/19] Compiling UInt256 UInt256+arc4random.swift
[10/19] Compiling UInt256 UInt256+CustomStringConvertible.swift
[11/19] Compiling UInt256 UInt256+Divide&Conquer.swift
[12/19] Compiling UInt256 UInt256.swift
[13/19] Compiling UInt256 UInt256+BinaryInteger.swift
[14/19] Compiling UInt256 UInt256+Comparable.swift
[15/19] Compiling UInt256 UInt256+FixedWidthInteger.swift
[16/19] Compiling UInt256 UInt256+Hashable.swift
[17/19] Compiling UInt256 FixedWidthInteger+LongDivision.swift
[18/19] Compiling UInt256 UInt256+BarrettDivision.swift
[19/19] Emitting module UInt256
[21/35] Compiling EllipticCurve EllipticCurveOverFiniteField+Default.swift
/host/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 {
/host/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 }
/host/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 |
/host/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 |
/host/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 }
/host/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 }
/host/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 }
/host/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 }
/host/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 }
[22/35] Compiling EllipticCurve EllipticCurveOverFiniteField.swift
/host/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 {
/host/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 }
/host/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 |
/host/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 |
/host/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 }
/host/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 }
/host/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 }
/host/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 }
/host/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+Default.swift
/host/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 |
/host/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 |
/host/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 }
/host/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 }
/host/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 }
/host/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 }
/host/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 }
[24/35] Compiling EllipticCurve FiniteFieldInteger.swift
/host/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 |
/host/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 |
/host/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 }
/host/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 }
/host/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 }
/host/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 }
/host/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 }
[25/36] Compiling EllipticCurve Secp256k1.swift
/host/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 |
/host/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 |
/host/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 }
/host/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 }
/host/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 }
/host/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 }
/host/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 }
/host/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
/host/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
/host/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 {
/host/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 }
/host/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
/host/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
[26/36] Compiling EllipticCurve Secp256r1.swift
/host/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 |
/host/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 |
/host/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 }
/host/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 }
/host/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 }
/host/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 }
/host/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 }
/host/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
/host/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
/host/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 {
/host/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 }
/host/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
/host/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
[27/36] Compiling EllipticCurve Secp224k1.swift
/host/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 |
/host/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 |
/host/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 }
/host/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 }
/host/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 }
/host/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 }
/host/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 }
/host/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
/host/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
/host/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 {
/host/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 }
/host/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
/host/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
[28/36] Compiling EllipticCurve Secp224r1.swift
/host/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 |
/host/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 |
/host/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 }
/host/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 }
/host/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 }
/host/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 }
/host/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 }
/host/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
/host/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
/host/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 {
/host/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 }
/host/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
/host/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
[29/36] Compiling EllipticCurve Secp192k1.swift
/host/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 |
/host/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 |
/host/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 }
/host/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 }
/host/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 }
/host/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 }
/host/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 }
/host/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
/host/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
/host/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 {
/host/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 }
/host/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
/host/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
[30/36] Compiling EllipticCurve Secp192r1.swift
/host/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 |
/host/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 |
/host/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 }
/host/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 }
/host/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 }
/host/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 }
/host/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 }
/host/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
/host/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
/host/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 {
/host/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 }
/host/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
/host/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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[31/36] Emitting module EllipticCurve
/host/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 |
/host/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 |
/host/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 }
/host/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 }
/host/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 }
/host/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 }
/host/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 }
/host/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
/host/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
/host/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 {
/host/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 }
/host/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
/host/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
/host/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
/host/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
/host/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
/host/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
/host/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
/host/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
/host/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
/host/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
/host/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
/host/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
[32/36] Compiling EllipticCurve BasicArithmeticOperations.swift
[33/36] Compiling EllipticCurve FiniteField.swift
[34/36] Compiling EllipticCurve EllipticCurve+Default.swift
/host/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 |
/host/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 |
/host/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 }
/host/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 }
/host/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 }
/host/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 }
/host/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/36] Compiling EllipticCurve EllipticCurve.swift
/host/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 |
/host/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 |
/host/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 }
/host/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 }
/host/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 }
/host/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 }
/host/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 }
[36/36] Compiling EllipticCurve ECDSA.swift
/host/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 {
/host/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 }
/host/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 |
/host/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 |
/host/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 }
/host/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 }
/host/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 }
/host/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 }
/host/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 }
/host/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
/host/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
BUILD FAILURE 6.2 android