Build Information
Failed to build EllipticCurve, reference 0.3.2 (4ef14c
), with Swift 6.1 for macOS (SPM) on 24 Apr 2025 10:37:24 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Build Log
| |- note: add '@MainActor' to make static property 'b' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | public var x: FFInt
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp192r1.swift:9:17: warning: let 'Parameters' is not concurrency-safe because non-'Sendable' type '(P: UInt256, a: UInt256, b: UInt256, G: (x: UInt256, y: UInt256), n: UInt256)' may have shared mutable state; this is an error in the Swift 6 language mode
7 | import UInt256
8 |
9 | fileprivate let Parameters = (
| `- warning: let 'Parameters' is not concurrency-safe because non-'Sendable' type '(P: UInt256, a: UInt256, b: UInt256, G: (x: UInt256, y: UInt256), n: UInt256)' may have shared mutable state; this is an error in the Swift 6 language mode
10 | P: UInt256([0, UInt64.max, UInt64.max - 1, UInt64.max]),
11 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UInt256/Sources/UInt256.swift:4:15: note: struct 'UInt256' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct UInt256 {
| `- note: struct 'UInt256' does not conform to the 'Sendable' protocol
5 | var parts: [UInt64]
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp192r1.swift:7:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'UInt256'
5 |
6 | import Foundation
7 | import UInt256
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'UInt256'
8 |
9 | fileprivate let Parameters = (
| |- note: add '@MainActor' to make let 'Parameters' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | P: UInt256([0, UInt64.max, UInt64.max - 1, UInt64.max]),
11 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UInt256/Sources/UInt256.swift:4:15: note: struct 'UInt256' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct UInt256 {
| |- note: struct 'UInt256' does not conform to the 'Sendable' protocol
| |- note: struct 'UInt256' does not conform to the 'Sendable' protocol
| |- note: struct 'UInt256' does not conform to the 'Sendable' protocol
| |- note: struct 'UInt256' does not conform to the 'Sendable' protocol
| `- note: struct 'UInt256' does not conform to the 'Sendable' protocol
5 | var parts: [UInt64]
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp192r1.swift:26:27: warning: static property 'Characteristic' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | public struct FFInt: FiniteFieldInteger {
26 | public static var Characteristic: UInt256 = Parameters.P
| |- warning: static property 'Characteristic' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'Characteristic' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'Characteristic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | public var value: UInt256
28 |
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp192r1.swift:25:19: error: type 'Secp192r1.FFInt' does not conform to protocol 'FiniteFieldInteger'
23 | public struct Secp192r1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| `- error: type 'Secp192r1.FFInt' does not conform to protocol 'FiniteFieldInteger'
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp192r1.swift:25:19: error: 'FiniteFieldInteger' requires the types 'Secp192r1.FFInt' and 'Secp192r1.FFInt.Type' be equivalent
23 | public struct Secp192r1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| |- error: 'FiniteFieldInteger' requires the types 'Secp192r1.FFInt' and 'Secp192r1.FFInt.Type' be equivalent
| `- note: requirement specified as 'Self.Magnitude' == 'Self.Type' [with Self = Secp192r1.FFInt]
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp192r1.swift:34:23: warning: static property 'Generator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 | }
33 |
34 | public static var Generator = Secp192r1(withCoordinates: Parameters.G)
| |- warning: static property 'Generator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'Generator' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'Generator' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | public static var Order: UInt256 = Parameters.n
36 |
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp192r1.swift:35:23: warning: static property 'Order' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | public static var Generator = Secp192r1(withCoordinates: Parameters.G)
35 | public static var Order: UInt256 = Parameters.n
| |- warning: static property 'Order' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'Order' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'Order' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | public static var a = FFInt(Parameters.a)
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp192r1.swift:37:23: warning: static property 'a' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | public static var Order: UInt256 = Parameters.n
36 |
37 | public static var a = FFInt(Parameters.a)
| |- warning: static property 'a' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'a' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'a' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | public static var b = FFInt(Parameters.b)
39 |
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp192r1.swift:38:23: warning: static property 'b' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | public static var a = FFInt(Parameters.a)
38 | public static var b = FFInt(Parameters.b)
| |- warning: static property 'b' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'b' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'b' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | public var x: FFInt
[31/34] Compiling EllipticCurve Secp192r1.swift
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp192k1.swift:9:17: warning: let 'Parameters' is not concurrency-safe because non-'Sendable' type '(P: UInt256, a: UInt256, b: UInt256, G: (x: UInt256, y: UInt256), n: UInt256)' may have shared mutable state; this is an error in the Swift 6 language mode
7 | import UInt256
8 |
9 | fileprivate let Parameters = (
| `- warning: let 'Parameters' is not concurrency-safe because non-'Sendable' type '(P: UInt256, a: UInt256, b: UInt256, G: (x: UInt256, y: UInt256), n: UInt256)' may have shared mutable state; this is an error in the Swift 6 language mode
10 | P: UInt256([0, UInt64.max, UInt64.max, 0xFFFFFFFEFFFFEE37]),
11 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UInt256/Sources/UInt256.swift:4:15: note: struct 'UInt256' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct UInt256 {
| `- note: struct 'UInt256' does not conform to the 'Sendable' protocol
5 | var parts: [UInt64]
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp192k1.swift:7:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'UInt256'
5 |
6 | import Foundation
7 | import UInt256
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'UInt256'
8 |
9 | fileprivate let Parameters = (
| |- note: add '@MainActor' to make let 'Parameters' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | P: UInt256([0, UInt64.max, UInt64.max, 0xFFFFFFFEFFFFEE37]),
11 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UInt256/Sources/UInt256.swift:4:15: note: struct 'UInt256' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct UInt256 {
| |- note: struct 'UInt256' does not conform to the 'Sendable' protocol
| |- note: struct 'UInt256' does not conform to the 'Sendable' protocol
| |- note: struct 'UInt256' does not conform to the 'Sendable' protocol
| |- note: struct 'UInt256' does not conform to the 'Sendable' protocol
| `- note: struct 'UInt256' does not conform to the 'Sendable' protocol
5 | var parts: [UInt64]
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp192k1.swift:26:27: warning: static property 'Characteristic' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | public struct FFInt: FiniteFieldInteger {
26 | public static var Characteristic: UInt256 = Parameters.P
| |- warning: static property 'Characteristic' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'Characteristic' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'Characteristic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | public var value: UInt256
28 |
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger+Default.swift:11:22: warning: typealias overriding associated type 'Magnitude' from protocol 'Numeric' is better expressed as same-type constraint on the protocol
9 | extension FiniteFieldInteger {
10 | public typealias IntegerLiteralType = Int
11 | public typealias Magnitude = Self.Type
| `- warning: typealias overriding associated type 'Magnitude' from protocol 'Numeric' is better expressed as same-type constraint on the protocol
12 |
13 | public static var Order: Element {
Swift.Numeric.Magnitude:2:16: note: 'Magnitude' declared here
1 | protocol Numeric {
2 | associatedtype Magnitude : Comparable, Numeric}
| `- note: 'Magnitude' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger+Default.swift:10:22: warning: typealias overriding associated type 'IntegerLiteralType' from protocol 'ExpressibleByIntegerLiteral' is better expressed as same-type constraint on the protocol
8 | /// and do not apply to points or other element types
9 | extension FiniteFieldInteger {
10 | public typealias IntegerLiteralType = Int
| `- warning: typealias overriding associated type 'IntegerLiteralType' from protocol 'ExpressibleByIntegerLiteral' is better expressed as same-type constraint on the protocol
11 | public typealias Magnitude = Self.Type
12 |
Swift.ExpressibleByIntegerLiteral.IntegerLiteralType:2:16: note: 'IntegerLiteralType' declared here
1 | protocol ExpressibleByIntegerLiteral {
2 | associatedtype IntegerLiteralType : _ExpressibleByBuiltinIntegerLiteral}
| `- note: 'IntegerLiteralType' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Comparable'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Comparable'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Numeric'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Numeric'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Equatable'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Equatable'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : AdditiveArithmetic'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : AdditiveArithmetic'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : ExpressibleByIntegerLiteral'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : ExpressibleByIntegerLiteral'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp192k1.swift:25:19: error: type 'Secp192k1.FFInt' does not conform to protocol 'FiniteFieldInteger'
23 | public struct Secp192k1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| `- error: type 'Secp192k1.FFInt' does not conform to protocol 'FiniteFieldInteger'
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp192k1.swift:25:19: error: 'FiniteFieldInteger' requires the types 'Secp192k1.FFInt' and 'Secp192k1.FFInt.Type' be equivalent
23 | public struct Secp192k1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| |- error: 'FiniteFieldInteger' requires the types 'Secp192k1.FFInt' and 'Secp192k1.FFInt.Type' be equivalent
| `- note: requirement specified as 'Self.Magnitude' == 'Self.Type' [with Self = Secp192k1.FFInt]
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
/Users/admin/builder/spi-builder-workspace/Sources/EllipticCurve/EllipticCurveOverFiniteField+Default.swift:7:22: warning: typealias overriding associated type 'Element' from protocol 'FiniteField' is better expressed as same-type constraint on the protocol
5 | extension EllipticCurveOverFiniteField {
6 |
7 | public typealias Element = Self.Coordinate.Element
| `- warning: typealias overriding associated type 'Element' from protocol 'FiniteField' is better expressed as same-type constraint on the protocol
8 |
9 | public static var Zero: Self {
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteField.swift:7:20: note: 'Element' declared here
5 |
6 | public protocol FiniteField: CustomStringConvertible {
7 | associatedtype Element: UnsignedInteger, FixedWidthInteger
| `- note: 'Element' declared here
8 |
9 | static var Characteristic: Element { get }
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp192k1.swift:34:23: warning: static property 'Generator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 | }
33 |
34 | public static var Generator = Secp192k1(withCoordinates: Parameters.G)
| |- warning: static property 'Generator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'Generator' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'Generator' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | public static var Order: UInt256 = Parameters.n
36 |
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp192k1.swift:35:23: warning: static property 'Order' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | public static var Generator = Secp192k1(withCoordinates: Parameters.G)
35 | public static var Order: UInt256 = Parameters.n
| |- warning: static property 'Order' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'Order' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'Order' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | public static var a = FFInt(Parameters.a)
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp192k1.swift:37:23: warning: static property 'a' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | public static var Order: UInt256 = Parameters.n
36 |
37 | public static var a = FFInt(Parameters.a)
| |- warning: static property 'a' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'a' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'a' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | public static var b = FFInt(Parameters.b)
39 |
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp192k1.swift:38:23: warning: static property 'b' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | public static var a = FFInt(Parameters.a)
38 | public static var b = FFInt(Parameters.b)
| |- warning: static property 'b' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'b' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'b' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | public var x: FFInt
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp192r1.swift:9:17: warning: let 'Parameters' is not concurrency-safe because non-'Sendable' type '(P: UInt256, a: UInt256, b: UInt256, G: (x: UInt256, y: UInt256), n: UInt256)' may have shared mutable state; this is an error in the Swift 6 language mode
7 | import UInt256
8 |
9 | fileprivate let Parameters = (
| `- warning: let 'Parameters' is not concurrency-safe because non-'Sendable' type '(P: UInt256, a: UInt256, b: UInt256, G: (x: UInt256, y: UInt256), n: UInt256)' may have shared mutable state; this is an error in the Swift 6 language mode
10 | P: UInt256([0, UInt64.max, UInt64.max - 1, UInt64.max]),
11 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UInt256/Sources/UInt256.swift:4:15: note: struct 'UInt256' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct UInt256 {
| `- note: struct 'UInt256' does not conform to the 'Sendable' protocol
5 | var parts: [UInt64]
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp192r1.swift:7:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'UInt256'
5 |
6 | import Foundation
7 | import UInt256
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'UInt256'
8 |
9 | fileprivate let Parameters = (
| |- note: add '@MainActor' to make let 'Parameters' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | P: UInt256([0, UInt64.max, UInt64.max - 1, UInt64.max]),
11 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UInt256/Sources/UInt256.swift:4:15: note: struct 'UInt256' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct UInt256 {
| |- note: struct 'UInt256' does not conform to the 'Sendable' protocol
| |- note: struct 'UInt256' does not conform to the 'Sendable' protocol
| |- note: struct 'UInt256' does not conform to the 'Sendable' protocol
| |- note: struct 'UInt256' does not conform to the 'Sendable' protocol
| `- note: struct 'UInt256' does not conform to the 'Sendable' protocol
5 | var parts: [UInt64]
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp192r1.swift:26:27: warning: static property 'Characteristic' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | public struct FFInt: FiniteFieldInteger {
26 | public static var Characteristic: UInt256 = Parameters.P
| |- warning: static property 'Characteristic' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'Characteristic' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'Characteristic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | public var value: UInt256
28 |
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp192r1.swift:25:19: error: type 'Secp192r1.FFInt' does not conform to protocol 'FiniteFieldInteger'
23 | public struct Secp192r1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| `- error: type 'Secp192r1.FFInt' does not conform to protocol 'FiniteFieldInteger'
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp192r1.swift:25:19: error: 'FiniteFieldInteger' requires the types 'Secp192r1.FFInt' and 'Secp192r1.FFInt.Type' be equivalent
23 | public struct Secp192r1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| |- error: 'FiniteFieldInteger' requires the types 'Secp192r1.FFInt' and 'Secp192r1.FFInt.Type' be equivalent
| `- note: requirement specified as 'Self.Magnitude' == 'Self.Type' [with Self = Secp192r1.FFInt]
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp192r1.swift:34:23: warning: static property 'Generator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 | }
33 |
34 | public static var Generator = Secp192r1(withCoordinates: Parameters.G)
| |- warning: static property 'Generator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'Generator' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'Generator' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | public static var Order: UInt256 = Parameters.n
36 |
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp192r1.swift:35:23: warning: static property 'Order' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | public static var Generator = Secp192r1(withCoordinates: Parameters.G)
35 | public static var Order: UInt256 = Parameters.n
| |- warning: static property 'Order' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'Order' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'Order' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | public static var a = FFInt(Parameters.a)
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp192r1.swift:37:23: warning: static property 'a' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | public static var Order: UInt256 = Parameters.n
36 |
37 | public static var a = FFInt(Parameters.a)
| |- warning: static property 'a' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'a' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'a' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | public static var b = FFInt(Parameters.b)
39 |
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp192r1.swift:38:23: warning: static property 'b' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | public static var a = FFInt(Parameters.a)
38 | public static var b = FFInt(Parameters.b)
| |- warning: static property 'b' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'b' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'b' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | public var x: FFInt
[32/34] Compiling EllipticCurve Secp256k1.swift
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger+Default.swift:11:22: warning: typealias overriding associated type 'Magnitude' from protocol 'Numeric' is better expressed as same-type constraint on the protocol
9 | extension FiniteFieldInteger {
10 | public typealias IntegerLiteralType = Int
11 | public typealias Magnitude = Self.Type
| `- warning: typealias overriding associated type 'Magnitude' from protocol 'Numeric' is better expressed as same-type constraint on the protocol
12 |
13 | public static var Order: Element {
Swift.Numeric.Magnitude:2:16: note: 'Magnitude' declared here
1 | protocol Numeric {
2 | associatedtype Magnitude : Comparable, Numeric}
| `- note: 'Magnitude' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger+Default.swift:10:22: warning: typealias overriding associated type 'IntegerLiteralType' from protocol 'ExpressibleByIntegerLiteral' is better expressed as same-type constraint on the protocol
8 | /// and do not apply to points or other element types
9 | extension FiniteFieldInteger {
10 | public typealias IntegerLiteralType = Int
| `- warning: typealias overriding associated type 'IntegerLiteralType' from protocol 'ExpressibleByIntegerLiteral' is better expressed as same-type constraint on the protocol
11 | public typealias Magnitude = Self.Type
12 |
Swift.ExpressibleByIntegerLiteral.IntegerLiteralType:2:16: note: 'IntegerLiteralType' declared here
1 | protocol ExpressibleByIntegerLiteral {
2 | associatedtype IntegerLiteralType : _ExpressibleByBuiltinIntegerLiteral}
| `- note: 'IntegerLiteralType' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Comparable'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Comparable'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Numeric'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Numeric'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Equatable'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Equatable'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : AdditiveArithmetic'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : AdditiveArithmetic'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : ExpressibleByIntegerLiteral'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : ExpressibleByIntegerLiteral'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp256k1.swift:8:17: warning: let 'Parameters' is not concurrency-safe because non-'Sendable' type '(P: UInt256, InverseP: (high: UInt256, low: UInt256), a: UInt256, b: UInt256, G: (x: UInt256, y: UInt256), N: UInt256, InverseN: (high: UInt256, low: UInt256))' may have shared mutable state; this is an error in the Swift 6 language mode
6 | extension UInt256: BasicArithmeticOperations {}
7 |
8 | fileprivate let Parameters = (
| `- warning: let 'Parameters' is not concurrency-safe because non-'Sendable' type '(P: UInt256, InverseP: (high: UInt256, low: UInt256), a: UInt256, b: UInt256, G: (x: UInt256, y: UInt256), N: UInt256, InverseN: (high: UInt256, low: UInt256))' may have shared mutable state; this is an error in the Swift 6 language mode
9 | P: UInt256([UInt64.max, UInt64.max, UInt64.max, 0xFFFFFFFEFFFFFC2F]),
10 | InverseP: (
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UInt256/Sources/UInt256.swift:4:15: note: struct 'UInt256' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct UInt256 {
| `- note: struct 'UInt256' does not conform to the 'Sendable' protocol
5 | var parts: [UInt64]
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp256k1.swift:4:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'UInt256'
2 |
3 | import Foundation
4 | import UInt256
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'UInt256'
5 |
6 | extension UInt256: BasicArithmeticOperations {}
7 |
8 | fileprivate let Parameters = (
| |- note: add '@MainActor' to make let 'Parameters' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | P: UInt256([UInt64.max, UInt64.max, UInt64.max, 0xFFFFFFFEFFFFFC2F]),
10 | InverseP: (
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UInt256/Sources/UInt256.swift:4:15: note: struct 'UInt256' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct UInt256 {
| |- note: struct 'UInt256' does not conform to the 'Sendable' protocol
| |- note: struct 'UInt256' does not conform to the 'Sendable' protocol
| |- note: struct 'UInt256' does not conform to the 'Sendable' protocol
| |- note: struct 'UInt256' does not conform to the 'Sendable' protocol
| |- note: struct 'UInt256' does not conform to the 'Sendable' protocol
| |- note: struct 'UInt256' does not conform to the 'Sendable' protocol
| |- note: struct 'UInt256' does not conform to the 'Sendable' protocol
| |- note: struct 'UInt256' does not conform to the 'Sendable' protocol
| `- note: struct 'UInt256' does not conform to the 'Sendable' protocol
5 | var parts: [UInt64]
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp256k1.swift:32:27: warning: static property 'Characteristic' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | public struct Secp256k1: EllipticCurveOverFiniteField {
31 | public struct FFInt: FiniteFieldInteger {
32 | public static var Characteristic: UInt256 = Parameters.P
| |- warning: static property 'Characteristic' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'Characteristic' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'Characteristic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public static var InverseCharacteristic: (high: UInt256, low: UInt256)? = Parameters.InverseP
34 | public var value: UInt256
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp256k1.swift:33:27: warning: static property 'InverseCharacteristic' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | public struct FFInt: FiniteFieldInteger {
32 | public static var Characteristic: UInt256 = Parameters.P
33 | public static var InverseCharacteristic: (high: UInt256, low: UInt256)? = Parameters.InverseP
| |- warning: static property 'InverseCharacteristic' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'InverseCharacteristic' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'InverseCharacteristic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | public var value: UInt256
35 |
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp256k1.swift:31:19: error: type 'Secp256k1.FFInt' does not conform to protocol 'FiniteFieldInteger'
29 |
30 | public struct Secp256k1: EllipticCurveOverFiniteField {
31 | public struct FFInt: FiniteFieldInteger {
| `- error: type 'Secp256k1.FFInt' does not conform to protocol 'FiniteFieldInteger'
32 | public static var Characteristic: UInt256 = Parameters.P
33 | public static var InverseCharacteristic: (high: UInt256, low: UInt256)? = Parameters.InverseP
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp256k1.swift:31:19: error: 'FiniteFieldInteger' requires the types 'Secp256k1.FFInt' and 'Secp256k1.FFInt.Type' be equivalent
29 |
30 | public struct Secp256k1: EllipticCurveOverFiniteField {
31 | public struct FFInt: FiniteFieldInteger {
| |- error: 'FiniteFieldInteger' requires the types 'Secp256k1.FFInt' and 'Secp256k1.FFInt.Type' be equivalent
| `- note: requirement specified as 'Self.Magnitude' == 'Self.Type' [with Self = Secp256k1.FFInt]
32 | public static var Characteristic: UInt256 = Parameters.P
33 | public static var InverseCharacteristic: (high: UInt256, low: UInt256)? = Parameters.InverseP
/Users/admin/builder/spi-builder-workspace/Sources/EllipticCurve/EllipticCurveOverFiniteField+Default.swift:7:22: warning: typealias overriding associated type 'Element' from protocol 'FiniteField' is better expressed as same-type constraint on the protocol
5 | extension EllipticCurveOverFiniteField {
6 |
7 | public typealias Element = Self.Coordinate.Element
| `- warning: typealias overriding associated type 'Element' from protocol 'FiniteField' is better expressed as same-type constraint on the protocol
8 |
9 | public static var Zero: Self {
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteField.swift:7:20: note: 'Element' declared here
5 |
6 | public protocol FiniteField: CustomStringConvertible {
7 | associatedtype Element: UnsignedInteger, FixedWidthInteger
| `- note: 'Element' declared here
8 |
9 | static var Characteristic: Element { get }
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp256k1.swift:41:23: warning: static property 'Generator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
39 | }
40 |
41 | public static var Generator = Secp256k1(withCoordinates: Parameters.G)
| |- warning: static property 'Generator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'Generator' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'Generator' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | public static var Order: UInt256 = Parameters.N
43 | public static var InverseOrder: (high: UInt256, low: UInt256)? = Parameters.InverseN
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp256k1.swift:42:23: warning: static property 'Order' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
40 |
41 | public static var Generator = Secp256k1(withCoordinates: Parameters.G)
42 | public static var Order: UInt256 = Parameters.N
| |- warning: static property 'Order' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'Order' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'Order' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | public static var InverseOrder: (high: UInt256, low: UInt256)? = Parameters.InverseN
44 |
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp256k1.swift:43:23: warning: static property 'InverseOrder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
41 | public static var Generator = Secp256k1(withCoordinates: Parameters.G)
42 | public static var Order: UInt256 = Parameters.N
43 | public static var InverseOrder: (high: UInt256, low: UInt256)? = Parameters.InverseN
| |- warning: static property 'InverseOrder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'InverseOrder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'InverseOrder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | public static var a = FFInt(Parameters.a)
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp256k1.swift:45:23: warning: static property 'a' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
43 | public static var InverseOrder: (high: UInt256, low: UInt256)? = Parameters.InverseN
44 |
45 | public static var a = FFInt(Parameters.a)
| |- warning: static property 'a' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'a' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'a' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | public static var b = FFInt(Parameters.b)
47 |
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp256k1.swift:46:23: warning: static property 'b' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
44 |
45 | public static var a = FFInt(Parameters.a)
46 | public static var b = FFInt(Parameters.b)
| |- warning: static property 'b' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'b' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'b' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | public var x: FFInt
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp256r1.swift:9:17: warning: let 'Parameters' is not concurrency-safe because non-'Sendable' type '(P: UInt256, a: UInt256, b: UInt256, G: (x: UInt256, y: UInt256), n: UInt256)' may have shared mutable state; this is an error in the Swift 6 language mode
7 | import UInt256
8 |
9 | fileprivate let Parameters = (
| `- warning: let 'Parameters' is not concurrency-safe because non-'Sendable' type '(P: UInt256, a: UInt256, b: UInt256, G: (x: UInt256, y: UInt256), n: UInt256)' may have shared mutable state; this is an error in the Swift 6 language mode
10 | P: UInt256([0xFFFFFFFF00000001, UInt64.min, 0xFFFFFFFF, UInt64.max]),
11 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UInt256/Sources/UInt256.swift:4:15: note: struct 'UInt256' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct UInt256 {
| `- note: struct 'UInt256' does not conform to the 'Sendable' protocol
5 | var parts: [UInt64]
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp256r1.swift:7:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'UInt256'
5 |
6 | import Foundation
7 | import UInt256
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'UInt256'
8 |
9 | fileprivate let Parameters = (
| |- note: add '@MainActor' to make let 'Parameters' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | P: UInt256([0xFFFFFFFF00000001, UInt64.min, 0xFFFFFFFF, UInt64.max]),
11 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UInt256/Sources/UInt256.swift:4:15: note: struct 'UInt256' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct UInt256 {
| |- note: struct 'UInt256' does not conform to the 'Sendable' protocol
| |- note: struct 'UInt256' does not conform to the 'Sendable' protocol
| |- note: struct 'UInt256' does not conform to the 'Sendable' protocol
| |- note: struct 'UInt256' does not conform to the 'Sendable' protocol
| `- note: struct 'UInt256' does not conform to the 'Sendable' protocol
5 | var parts: [UInt64]
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp256r1.swift:26:27: warning: static property 'Characteristic' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | public struct FFInt: FiniteFieldInteger {
26 | public static var Characteristic: UInt256 = Parameters.P
| |- warning: static property 'Characteristic' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'Characteristic' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'Characteristic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | public var value: UInt256
28 |
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp256r1.swift:25:19: error: type 'Secp256r1.FFInt' does not conform to protocol 'FiniteFieldInteger'
23 | public struct Secp256r1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| `- error: type 'Secp256r1.FFInt' does not conform to protocol 'FiniteFieldInteger'
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp256r1.swift:25:19: error: 'FiniteFieldInteger' requires the types 'Secp256r1.FFInt' and 'Secp256r1.FFInt.Type' be equivalent
23 | public struct Secp256r1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| |- error: 'FiniteFieldInteger' requires the types 'Secp256r1.FFInt' and 'Secp256r1.FFInt.Type' be equivalent
| `- note: requirement specified as 'Self.Magnitude' == 'Self.Type' [with Self = Secp256r1.FFInt]
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp256r1.swift:34:23: warning: static property 'Generator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 | }
33 |
34 | public static var Generator = Secp256r1(withCoordinates: Parameters.G)
| |- warning: static property 'Generator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'Generator' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'Generator' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | public static var Order: UInt256 = Parameters.n
36 |
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp256r1.swift:35:23: warning: static property 'Order' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | public static var Generator = Secp256r1(withCoordinates: Parameters.G)
35 | public static var Order: UInt256 = Parameters.n
| |- warning: static property 'Order' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'Order' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'Order' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | public static var a = FFInt(Parameters.a)
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp256r1.swift:37:23: warning: static property 'a' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | public static var Order: UInt256 = Parameters.n
36 |
37 | public static var a = FFInt(Parameters.a)
| |- warning: static property 'a' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'a' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'a' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | public static var b = FFInt(Parameters.b)
39 |
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp256r1.swift:38:23: warning: static property 'b' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | public static var a = FFInt(Parameters.a)
38 | public static var b = FFInt(Parameters.b)
| |- warning: static property 'b' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'b' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'b' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | public var x: FFInt
[33/34] Compiling EllipticCurve Secp256r1.swift
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger+Default.swift:11:22: warning: typealias overriding associated type 'Magnitude' from protocol 'Numeric' is better expressed as same-type constraint on the protocol
9 | extension FiniteFieldInteger {
10 | public typealias IntegerLiteralType = Int
11 | public typealias Magnitude = Self.Type
| `- warning: typealias overriding associated type 'Magnitude' from protocol 'Numeric' is better expressed as same-type constraint on the protocol
12 |
13 | public static var Order: Element {
Swift.Numeric.Magnitude:2:16: note: 'Magnitude' declared here
1 | protocol Numeric {
2 | associatedtype Magnitude : Comparable, Numeric}
| `- note: 'Magnitude' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger+Default.swift:10:22: warning: typealias overriding associated type 'IntegerLiteralType' from protocol 'ExpressibleByIntegerLiteral' is better expressed as same-type constraint on the protocol
8 | /// and do not apply to points or other element types
9 | extension FiniteFieldInteger {
10 | public typealias IntegerLiteralType = Int
| `- warning: typealias overriding associated type 'IntegerLiteralType' from protocol 'ExpressibleByIntegerLiteral' is better expressed as same-type constraint on the protocol
11 | public typealias Magnitude = Self.Type
12 |
Swift.ExpressibleByIntegerLiteral.IntegerLiteralType:2:16: note: 'IntegerLiteralType' declared here
1 | protocol ExpressibleByIntegerLiteral {
2 | associatedtype IntegerLiteralType : _ExpressibleByBuiltinIntegerLiteral}
| `- note: 'IntegerLiteralType' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Comparable'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Comparable'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Numeric'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Numeric'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Equatable'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Equatable'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : AdditiveArithmetic'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : AdditiveArithmetic'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : ExpressibleByIntegerLiteral'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : ExpressibleByIntegerLiteral'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp256k1.swift:8:17: warning: let 'Parameters' is not concurrency-safe because non-'Sendable' type '(P: UInt256, InverseP: (high: UInt256, low: UInt256), a: UInt256, b: UInt256, G: (x: UInt256, y: UInt256), N: UInt256, InverseN: (high: UInt256, low: UInt256))' may have shared mutable state; this is an error in the Swift 6 language mode
6 | extension UInt256: BasicArithmeticOperations {}
7 |
8 | fileprivate let Parameters = (
| `- warning: let 'Parameters' is not concurrency-safe because non-'Sendable' type '(P: UInt256, InverseP: (high: UInt256, low: UInt256), a: UInt256, b: UInt256, G: (x: UInt256, y: UInt256), N: UInt256, InverseN: (high: UInt256, low: UInt256))' may have shared mutable state; this is an error in the Swift 6 language mode
9 | P: UInt256([UInt64.max, UInt64.max, UInt64.max, 0xFFFFFFFEFFFFFC2F]),
10 | InverseP: (
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UInt256/Sources/UInt256.swift:4:15: note: struct 'UInt256' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct UInt256 {
| `- note: struct 'UInt256' does not conform to the 'Sendable' protocol
5 | var parts: [UInt64]
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp256k1.swift:4:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'UInt256'
2 |
3 | import Foundation
4 | import UInt256
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'UInt256'
5 |
6 | extension UInt256: BasicArithmeticOperations {}
7 |
8 | fileprivate let Parameters = (
| |- note: add '@MainActor' to make let 'Parameters' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | P: UInt256([UInt64.max, UInt64.max, UInt64.max, 0xFFFFFFFEFFFFFC2F]),
10 | InverseP: (
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UInt256/Sources/UInt256.swift:4:15: note: struct 'UInt256' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct UInt256 {
| |- note: struct 'UInt256' does not conform to the 'Sendable' protocol
| |- note: struct 'UInt256' does not conform to the 'Sendable' protocol
| |- note: struct 'UInt256' does not conform to the 'Sendable' protocol
| |- note: struct 'UInt256' does not conform to the 'Sendable' protocol
| |- note: struct 'UInt256' does not conform to the 'Sendable' protocol
| |- note: struct 'UInt256' does not conform to the 'Sendable' protocol
| |- note: struct 'UInt256' does not conform to the 'Sendable' protocol
| |- note: struct 'UInt256' does not conform to the 'Sendable' protocol
| `- note: struct 'UInt256' does not conform to the 'Sendable' protocol
5 | var parts: [UInt64]
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp256k1.swift:32:27: warning: static property 'Characteristic' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | public struct Secp256k1: EllipticCurveOverFiniteField {
31 | public struct FFInt: FiniteFieldInteger {
32 | public static var Characteristic: UInt256 = Parameters.P
| |- warning: static property 'Characteristic' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'Characteristic' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'Characteristic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public static var InverseCharacteristic: (high: UInt256, low: UInt256)? = Parameters.InverseP
34 | public var value: UInt256
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp256k1.swift:33:27: warning: static property 'InverseCharacteristic' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | public struct FFInt: FiniteFieldInteger {
32 | public static var Characteristic: UInt256 = Parameters.P
33 | public static var InverseCharacteristic: (high: UInt256, low: UInt256)? = Parameters.InverseP
| |- warning: static property 'InverseCharacteristic' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'InverseCharacteristic' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'InverseCharacteristic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | public var value: UInt256
35 |
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp256k1.swift:31:19: error: type 'Secp256k1.FFInt' does not conform to protocol 'FiniteFieldInteger'
29 |
30 | public struct Secp256k1: EllipticCurveOverFiniteField {
31 | public struct FFInt: FiniteFieldInteger {
| `- error: type 'Secp256k1.FFInt' does not conform to protocol 'FiniteFieldInteger'
32 | public static var Characteristic: UInt256 = Parameters.P
33 | public static var InverseCharacteristic: (high: UInt256, low: UInt256)? = Parameters.InverseP
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp256k1.swift:31:19: error: 'FiniteFieldInteger' requires the types 'Secp256k1.FFInt' and 'Secp256k1.FFInt.Type' be equivalent
29 |
30 | public struct Secp256k1: EllipticCurveOverFiniteField {
31 | public struct FFInt: FiniteFieldInteger {
| |- error: 'FiniteFieldInteger' requires the types 'Secp256k1.FFInt' and 'Secp256k1.FFInt.Type' be equivalent
| `- note: requirement specified as 'Self.Magnitude' == 'Self.Type' [with Self = Secp256k1.FFInt]
32 | public static var Characteristic: UInt256 = Parameters.P
33 | public static var InverseCharacteristic: (high: UInt256, low: UInt256)? = Parameters.InverseP
/Users/admin/builder/spi-builder-workspace/Sources/EllipticCurve/EllipticCurveOverFiniteField+Default.swift:7:22: warning: typealias overriding associated type 'Element' from protocol 'FiniteField' is better expressed as same-type constraint on the protocol
5 | extension EllipticCurveOverFiniteField {
6 |
7 | public typealias Element = Self.Coordinate.Element
| `- warning: typealias overriding associated type 'Element' from protocol 'FiniteField' is better expressed as same-type constraint on the protocol
8 |
9 | public static var Zero: Self {
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteField.swift:7:20: note: 'Element' declared here
5 |
6 | public protocol FiniteField: CustomStringConvertible {
7 | associatedtype Element: UnsignedInteger, FixedWidthInteger
| `- note: 'Element' declared here
8 |
9 | static var Characteristic: Element { get }
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp256k1.swift:41:23: warning: static property 'Generator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
39 | }
40 |
41 | public static var Generator = Secp256k1(withCoordinates: Parameters.G)
| |- warning: static property 'Generator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'Generator' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'Generator' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | public static var Order: UInt256 = Parameters.N
43 | public static var InverseOrder: (high: UInt256, low: UInt256)? = Parameters.InverseN
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp256k1.swift:42:23: warning: static property 'Order' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
40 |
41 | public static var Generator = Secp256k1(withCoordinates: Parameters.G)
42 | public static var Order: UInt256 = Parameters.N
| |- warning: static property 'Order' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'Order' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'Order' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | public static var InverseOrder: (high: UInt256, low: UInt256)? = Parameters.InverseN
44 |
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp256k1.swift:43:23: warning: static property 'InverseOrder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
41 | public static var Generator = Secp256k1(withCoordinates: Parameters.G)
42 | public static var Order: UInt256 = Parameters.N
43 | public static var InverseOrder: (high: UInt256, low: UInt256)? = Parameters.InverseN
| |- warning: static property 'InverseOrder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'InverseOrder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'InverseOrder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 |
45 | public static var a = FFInt(Parameters.a)
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp256k1.swift:45:23: warning: static property 'a' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
43 | public static var InverseOrder: (high: UInt256, low: UInt256)? = Parameters.InverseN
44 |
45 | public static var a = FFInt(Parameters.a)
| |- warning: static property 'a' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'a' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'a' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | public static var b = FFInt(Parameters.b)
47 |
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp256k1.swift:46:23: warning: static property 'b' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
44 |
45 | public static var a = FFInt(Parameters.a)
46 | public static var b = FFInt(Parameters.b)
| |- warning: static property 'b' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'b' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'b' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | public var x: FFInt
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp256r1.swift:9:17: warning: let 'Parameters' is not concurrency-safe because non-'Sendable' type '(P: UInt256, a: UInt256, b: UInt256, G: (x: UInt256, y: UInt256), n: UInt256)' may have shared mutable state; this is an error in the Swift 6 language mode
7 | import UInt256
8 |
9 | fileprivate let Parameters = (
| `- warning: let 'Parameters' is not concurrency-safe because non-'Sendable' type '(P: UInt256, a: UInt256, b: UInt256, G: (x: UInt256, y: UInt256), n: UInt256)' may have shared mutable state; this is an error in the Swift 6 language mode
10 | P: UInt256([0xFFFFFFFF00000001, UInt64.min, 0xFFFFFFFF, UInt64.max]),
11 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UInt256/Sources/UInt256.swift:4:15: note: struct 'UInt256' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct UInt256 {
| `- note: struct 'UInt256' does not conform to the 'Sendable' protocol
5 | var parts: [UInt64]
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp256r1.swift:7:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'UInt256'
5 |
6 | import Foundation
7 | import UInt256
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'UInt256'
8 |
9 | fileprivate let Parameters = (
| |- note: add '@MainActor' to make let 'Parameters' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | P: UInt256([0xFFFFFFFF00000001, UInt64.min, 0xFFFFFFFF, UInt64.max]),
11 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UInt256/Sources/UInt256.swift:4:15: note: struct 'UInt256' does not conform to the 'Sendable' protocol
2 | import Foundation
3 |
4 | public struct UInt256 {
| |- note: struct 'UInt256' does not conform to the 'Sendable' protocol
| |- note: struct 'UInt256' does not conform to the 'Sendable' protocol
| |- note: struct 'UInt256' does not conform to the 'Sendable' protocol
| |- note: struct 'UInt256' does not conform to the 'Sendable' protocol
| `- note: struct 'UInt256' does not conform to the 'Sendable' protocol
5 | var parts: [UInt64]
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp256r1.swift:26:27: warning: static property 'Characteristic' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | public struct FFInt: FiniteFieldInteger {
26 | public static var Characteristic: UInt256 = Parameters.P
| |- warning: static property 'Characteristic' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'Characteristic' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'Characteristic' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | public var value: UInt256
28 |
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp256r1.swift:25:19: error: type 'Secp256r1.FFInt' does not conform to protocol 'FiniteFieldInteger'
23 | public struct Secp256r1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| `- error: type 'Secp256r1.FFInt' does not conform to protocol 'FiniteFieldInteger'
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp256r1.swift:25:19: error: 'FiniteFieldInteger' requires the types 'Secp256r1.FFInt' and 'Secp256r1.FFInt.Type' be equivalent
23 | public struct Secp256r1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| |- error: 'FiniteFieldInteger' requires the types 'Secp256r1.FFInt' and 'Secp256r1.FFInt.Type' be equivalent
| `- note: requirement specified as 'Self.Magnitude' == 'Self.Type' [with Self = Secp256r1.FFInt]
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp256r1.swift:34:23: warning: static property 'Generator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 | }
33 |
34 | public static var Generator = Secp256r1(withCoordinates: Parameters.G)
| |- warning: static property 'Generator' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'Generator' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'Generator' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | public static var Order: UInt256 = Parameters.n
36 |
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp256r1.swift:35:23: warning: static property 'Order' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | public static var Generator = Secp256r1(withCoordinates: Parameters.G)
35 | public static var Order: UInt256 = Parameters.n
| |- warning: static property 'Order' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'Order' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'Order' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | public static var a = FFInt(Parameters.a)
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp256r1.swift:37:23: warning: static property 'a' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | public static var Order: UInt256 = Parameters.n
36 |
37 | public static var a = FFInt(Parameters.a)
| |- warning: static property 'a' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'a' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'a' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | public static var b = FFInt(Parameters.b)
39 |
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp256r1.swift:38:23: warning: static property 'b' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | public static var a = FFInt(Parameters.a)
38 | public static var b = FFInt(Parameters.b)
| |- warning: static property 'b' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'b' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'b' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | public var x: FFInt
[34/34] Compiling EllipticCurve ECDSA.swift
/Users/admin/builder/spi-builder-workspace/Sources/EllipticCurve/EllipticCurveOverFiniteField+Default.swift:7:22: warning: typealias overriding associated type 'Element' from protocol 'FiniteField' is better expressed as same-type constraint on the protocol
5 | extension EllipticCurveOverFiniteField {
6 |
7 | public typealias Element = Self.Coordinate.Element
| `- warning: typealias overriding associated type 'Element' from protocol 'FiniteField' is better expressed as same-type constraint on the protocol
8 |
9 | public static var Zero: Self {
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteField.swift:7:20: note: 'Element' declared here
5 |
6 | public protocol FiniteField: CustomStringConvertible {
7 | associatedtype Element: UnsignedInteger, FixedWidthInteger
| `- note: 'Element' declared here
8 |
9 | static var Characteristic: Element { get }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger+Default.swift:11:22: warning: typealias overriding associated type 'Magnitude' from protocol 'Numeric' is better expressed as same-type constraint on the protocol
9 | extension FiniteFieldInteger {
10 | public typealias IntegerLiteralType = Int
11 | public typealias Magnitude = Self.Type
| `- warning: typealias overriding associated type 'Magnitude' from protocol 'Numeric' is better expressed as same-type constraint on the protocol
12 |
13 | public static var Order: Element {
Swift.Numeric.Magnitude:2:16: note: 'Magnitude' declared here
1 | protocol Numeric {
2 | associatedtype Magnitude : Comparable, Numeric}
| `- note: 'Magnitude' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger+Default.swift:10:22: warning: typealias overriding associated type 'IntegerLiteralType' from protocol 'ExpressibleByIntegerLiteral' is better expressed as same-type constraint on the protocol
8 | /// and do not apply to points or other element types
9 | extension FiniteFieldInteger {
10 | public typealias IntegerLiteralType = Int
| `- warning: typealias overriding associated type 'IntegerLiteralType' from protocol 'ExpressibleByIntegerLiteral' is better expressed as same-type constraint on the protocol
11 | public typealias Magnitude = Self.Type
12 |
Swift.ExpressibleByIntegerLiteral.IntegerLiteralType:2:16: note: 'IntegerLiteralType' declared here
1 | protocol ExpressibleByIntegerLiteral {
2 | associatedtype IntegerLiteralType : _ExpressibleByBuiltinIntegerLiteral}
| `- note: 'IntegerLiteralType' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Comparable'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Comparable'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Numeric'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Numeric'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Equatable'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Equatable'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : AdditiveArithmetic'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : AdditiveArithmetic'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : ExpressibleByIntegerLiteral'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : ExpressibleByIntegerLiteral'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SignatureAlgorithms/ECDSA.swift:11:20: error: type 'ECDSA<Point>.IsomorphicField' does not conform to protocol 'FiniteFieldInteger'
9 | public typealias Hashing = (_ msg: Data) -> Element
10 |
11 | private struct IsomorphicField: FiniteFieldInteger {
| `- error: type 'ECDSA<Point>.IsomorphicField' does not conform to protocol 'FiniteFieldInteger'
12 | public static var Characteristic: Element {
13 | return Point.Order
/Users/admin/builder/spi-builder-workspace/Sources/SignatureAlgorithms/ECDSA.swift:11:20: error: 'FiniteFieldInteger' requires the types 'ECDSA<Point>.IsomorphicField' and 'ECDSA<Point>.IsomorphicField.Type' be equivalent
9 | public typealias Hashing = (_ msg: Data) -> Element
10 |
11 | private struct IsomorphicField: FiniteFieldInteger {
| |- error: 'FiniteFieldInteger' requires the types 'ECDSA<Point>.IsomorphicField' and 'ECDSA<Point>.IsomorphicField.Type' be equivalent
| `- note: requirement specified as 'Self.Magnitude' == 'Self.Type' [with Self = ECDSA<Point>.IsomorphicField]
12 | public static var Characteristic: Element {
13 | return Point.Order
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/15] Compiling UInt256 UInt256+UnsignedInteger.swift
[3/16] Compiling UInt256 UInt256+arc4random.swift
[4/16] Compiling UInt256 UInt256+Hashable.swift
[5/16] Compiling UInt256 UInt256+Numeric.swift
[6/16] Compiling UInt256 UInt256+Karatsuba.swift
[7/16] Compiling UInt256 UInt256+Divide&Conquer.swift
[8/16] Compiling UInt256 UInt256+Equatable.swift
[9/16] Compiling UInt256 UInt256+Comparable.swift
[10/16] Compiling UInt256 UInt256+CustomStringConvertible.swift
[11/16] Compiling UInt256 UInt256+ExpressibleByIntegerLiteral.swift
[12/16] Compiling UInt256 UInt256+FixedWidthInteger.swift
[13/16] Emitting module UInt256
[14/16] Compiling UInt256 UInt256+BarrettDivision.swift
[15/16] Compiling UInt256 UInt256+BinaryInteger.swift
[16/16] Compiling UInt256 UInt256.swift
[17/31] Compiling EllipticCurve FiniteField.swift
[18/31] Compiling EllipticCurve FiniteFieldInteger.swift
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger+Default.swift:11:22: warning: typealias overriding associated type 'Magnitude' from protocol 'Numeric' is better expressed as same-type constraint on the protocol
9 | extension FiniteFieldInteger {
10 | public typealias IntegerLiteralType = Int
11 | public typealias Magnitude = Self.Type
| `- warning: typealias overriding associated type 'Magnitude' from protocol 'Numeric' is better expressed as same-type constraint on the protocol
12 |
13 | public static var Order: Element {
Swift.Numeric.Magnitude:2:16: note: 'Magnitude' declared here
1 | protocol Numeric {
2 | associatedtype Magnitude : Comparable, Numeric}
| `- note: 'Magnitude' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger+Default.swift:10:22: warning: typealias overriding associated type 'IntegerLiteralType' from protocol 'ExpressibleByIntegerLiteral' is better expressed as same-type constraint on the protocol
8 | /// and do not apply to points or other element types
9 | extension FiniteFieldInteger {
10 | public typealias IntegerLiteralType = Int
| `- warning: typealias overriding associated type 'IntegerLiteralType' from protocol 'ExpressibleByIntegerLiteral' is better expressed as same-type constraint on the protocol
11 | public typealias Magnitude = Self.Type
12 |
Swift.ExpressibleByIntegerLiteral.IntegerLiteralType:2:16: note: 'IntegerLiteralType' declared here
1 | protocol ExpressibleByIntegerLiteral {
2 | associatedtype IntegerLiteralType : _ExpressibleByBuiltinIntegerLiteral}
| `- note: 'IntegerLiteralType' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Comparable'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Comparable'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Numeric'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Numeric'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Equatable'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Equatable'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : AdditiveArithmetic'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : AdditiveArithmetic'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : ExpressibleByIntegerLiteral'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : ExpressibleByIntegerLiteral'
10 |
11 | var value: Element { get set }
[19/31] Compiling EllipticCurve FiniteFieldInteger+Default.swift
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger+Default.swift:11:22: warning: typealias overriding associated type 'Magnitude' from protocol 'Numeric' is better expressed as same-type constraint on the protocol
9 | extension FiniteFieldInteger {
10 | public typealias IntegerLiteralType = Int
11 | public typealias Magnitude = Self.Type
| `- warning: typealias overriding associated type 'Magnitude' from protocol 'Numeric' is better expressed as same-type constraint on the protocol
12 |
13 | public static var Order: Element {
Swift.Numeric.Magnitude:2:16: note: 'Magnitude' declared here
1 | protocol Numeric {
2 | associatedtype Magnitude : Comparable, Numeric}
| `- note: 'Magnitude' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger+Default.swift:10:22: warning: typealias overriding associated type 'IntegerLiteralType' from protocol 'ExpressibleByIntegerLiteral' is better expressed as same-type constraint on the protocol
8 | /// and do not apply to points or other element types
9 | extension FiniteFieldInteger {
10 | public typealias IntegerLiteralType = Int
| `- warning: typealias overriding associated type 'IntegerLiteralType' from protocol 'ExpressibleByIntegerLiteral' is better expressed as same-type constraint on the protocol
11 | public typealias Magnitude = Self.Type
12 |
Swift.ExpressibleByIntegerLiteral.IntegerLiteralType:2:16: note: 'IntegerLiteralType' declared here
1 | protocol ExpressibleByIntegerLiteral {
2 | associatedtype IntegerLiteralType : _ExpressibleByBuiltinIntegerLiteral}
| `- note: 'IntegerLiteralType' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Comparable'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Comparable'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Numeric'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Numeric'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Equatable'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Equatable'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : AdditiveArithmetic'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : AdditiveArithmetic'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : ExpressibleByIntegerLiteral'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : ExpressibleByIntegerLiteral'
10 |
11 | var value: Element { get set }
[20/32] Compiling EllipticCurve BasicArithmeticOperations.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/32] Emitting module EllipticCurve
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger+Default.swift:11:22: warning: typealias overriding associated type 'Magnitude' from protocol 'Numeric' is better expressed as same-type constraint on the protocol
9 | extension FiniteFieldInteger {
10 | public typealias IntegerLiteralType = Int
11 | public typealias Magnitude = Self.Type
| `- warning: typealias overriding associated type 'Magnitude' from protocol 'Numeric' is better expressed as same-type constraint on the protocol
12 |
13 | public static var Order: Element {
Swift.Numeric.Magnitude:2:16: note: 'Magnitude' declared here
1 | protocol Numeric {
2 | associatedtype Magnitude : Comparable, Numeric}
| `- note: 'Magnitude' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger+Default.swift:10:22: warning: typealias overriding associated type 'IntegerLiteralType' from protocol 'ExpressibleByIntegerLiteral' is better expressed as same-type constraint on the protocol
8 | /// and do not apply to points or other element types
9 | extension FiniteFieldInteger {
10 | public typealias IntegerLiteralType = Int
| `- warning: typealias overriding associated type 'IntegerLiteralType' from protocol 'ExpressibleByIntegerLiteral' is better expressed as same-type constraint on the protocol
11 | public typealias Magnitude = Self.Type
12 |
Swift.ExpressibleByIntegerLiteral.IntegerLiteralType:2:16: note: 'IntegerLiteralType' declared here
1 | protocol ExpressibleByIntegerLiteral {
2 | associatedtype IntegerLiteralType : _ExpressibleByBuiltinIntegerLiteral}
| `- note: 'IntegerLiteralType' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Comparable'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Comparable'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Numeric'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Numeric'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Equatable'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Equatable'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : AdditiveArithmetic'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : AdditiveArithmetic'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : ExpressibleByIntegerLiteral'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : ExpressibleByIntegerLiteral'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp192k1.swift:25:19: error: type 'Secp192k1.FFInt' does not conform to protocol 'FiniteFieldInteger'
23 | public struct Secp192k1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| `- error: type 'Secp192k1.FFInt' does not conform to protocol 'FiniteFieldInteger'
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp192k1.swift:25:19: error: 'FiniteFieldInteger' requires the types 'Secp192k1.FFInt' and 'Secp192k1.FFInt.Type' be equivalent
23 | public struct Secp192k1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| |- error: 'FiniteFieldInteger' requires the types 'Secp192k1.FFInt' and 'Secp192k1.FFInt.Type' be equivalent
| `- note: requirement specified as 'Self.Magnitude' == 'Self.Type' [with Self = Secp192k1.FFInt]
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
/Users/admin/builder/spi-builder-workspace/Sources/EllipticCurve/EllipticCurveOverFiniteField+Default.swift:7:22: warning: typealias overriding associated type 'Element' from protocol 'FiniteField' is better expressed as same-type constraint on the protocol
5 | extension EllipticCurveOverFiniteField {
6 |
7 | public typealias Element = Self.Coordinate.Element
| `- warning: typealias overriding associated type 'Element' from protocol 'FiniteField' is better expressed as same-type constraint on the protocol
8 |
9 | public static var Zero: Self {
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteField.swift:7:20: note: 'Element' declared here
5 |
6 | public protocol FiniteField: CustomStringConvertible {
7 | associatedtype Element: UnsignedInteger, FixedWidthInteger
| `- note: 'Element' declared here
8 |
9 | static var Characteristic: Element { get }
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp192r1.swift:25:19: error: type 'Secp192r1.FFInt' does not conform to protocol 'FiniteFieldInteger'
23 | public struct Secp192r1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| `- error: type 'Secp192r1.FFInt' does not conform to protocol 'FiniteFieldInteger'
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp192r1.swift:25:19: error: 'FiniteFieldInteger' requires the types 'Secp192r1.FFInt' and 'Secp192r1.FFInt.Type' be equivalent
23 | public struct Secp192r1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| |- error: 'FiniteFieldInteger' requires the types 'Secp192r1.FFInt' and 'Secp192r1.FFInt.Type' be equivalent
| `- note: requirement specified as 'Self.Magnitude' == 'Self.Type' [with Self = Secp192r1.FFInt]
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp224k1.swift:25:19: error: type 'Secp224k1.FFInt' does not conform to protocol 'FiniteFieldInteger'
23 | public struct Secp224k1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| `- error: type 'Secp224k1.FFInt' does not conform to protocol 'FiniteFieldInteger'
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp224k1.swift:25:19: error: 'FiniteFieldInteger' requires the types 'Secp224k1.FFInt' and 'Secp224k1.FFInt.Type' be equivalent
23 | public struct Secp224k1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| |- error: 'FiniteFieldInteger' requires the types 'Secp224k1.FFInt' and 'Secp224k1.FFInt.Type' be equivalent
| `- note: requirement specified as 'Self.Magnitude' == 'Self.Type' [with Self = Secp224k1.FFInt]
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp224r1.swift:25:19: error: type 'Secp224r1.FFInt' does not conform to protocol 'FiniteFieldInteger'
23 | public struct Secp224r1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| `- error: type 'Secp224r1.FFInt' does not conform to protocol 'FiniteFieldInteger'
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp224r1.swift:25:19: error: 'FiniteFieldInteger' requires the types 'Secp224r1.FFInt' and 'Secp224r1.FFInt.Type' be equivalent
23 | public struct Secp224r1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| |- error: 'FiniteFieldInteger' requires the types 'Secp224r1.FFInt' and 'Secp224r1.FFInt.Type' be equivalent
| `- note: requirement specified as 'Self.Magnitude' == 'Self.Type' [with Self = Secp224r1.FFInt]
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp256k1.swift:31:19: error: type 'Secp256k1.FFInt' does not conform to protocol 'FiniteFieldInteger'
29 |
30 | public struct Secp256k1: EllipticCurveOverFiniteField {
31 | public struct FFInt: FiniteFieldInteger {
| `- error: type 'Secp256k1.FFInt' does not conform to protocol 'FiniteFieldInteger'
32 | public static var Characteristic: UInt256 = Parameters.P
33 | public static var InverseCharacteristic: (high: UInt256, low: UInt256)? = Parameters.InverseP
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp256k1.swift:31:19: error: 'FiniteFieldInteger' requires the types 'Secp256k1.FFInt' and 'Secp256k1.FFInt.Type' be equivalent
29 |
30 | public struct Secp256k1: EllipticCurveOverFiniteField {
31 | public struct FFInt: FiniteFieldInteger {
| |- error: 'FiniteFieldInteger' requires the types 'Secp256k1.FFInt' and 'Secp256k1.FFInt.Type' be equivalent
| `- note: requirement specified as 'Self.Magnitude' == 'Self.Type' [with Self = Secp256k1.FFInt]
32 | public static var Characteristic: UInt256 = Parameters.P
33 | public static var InverseCharacteristic: (high: UInt256, low: UInt256)? = Parameters.InverseP
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp256r1.swift:25:19: error: type 'Secp256r1.FFInt' does not conform to protocol 'FiniteFieldInteger'
23 | public struct Secp256r1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| `- error: type 'Secp256r1.FFInt' does not conform to protocol 'FiniteFieldInteger'
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp256r1.swift:25:19: error: 'FiniteFieldInteger' requires the types 'Secp256r1.FFInt' and 'Secp256r1.FFInt.Type' be equivalent
23 | public struct Secp256r1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| |- error: 'FiniteFieldInteger' requires the types 'Secp256r1.FFInt' and 'Secp256r1.FFInt.Type' be equivalent
| `- note: requirement specified as 'Self.Magnitude' == 'Self.Type' [with Self = Secp256r1.FFInt]
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
/Users/admin/builder/spi-builder-workspace/Sources/SignatureAlgorithms/ECDSA.swift:11:20: error: type 'ECDSA<Point>.IsomorphicField' does not conform to protocol 'FiniteFieldInteger'
9 | public typealias Hashing = (_ msg: Data) -> Element
10 |
11 | private struct IsomorphicField: FiniteFieldInteger {
| `- error: type 'ECDSA<Point>.IsomorphicField' does not conform to protocol 'FiniteFieldInteger'
12 | public static var Characteristic: Element {
13 | return Point.Order
/Users/admin/builder/spi-builder-workspace/Sources/SignatureAlgorithms/ECDSA.swift:11:20: error: 'FiniteFieldInteger' requires the types 'ECDSA<Point>.IsomorphicField' and 'ECDSA<Point>.IsomorphicField.Type' be equivalent
9 | public typealias Hashing = (_ msg: Data) -> Element
10 |
11 | private struct IsomorphicField: FiniteFieldInteger {
| |- error: 'FiniteFieldInteger' requires the types 'ECDSA<Point>.IsomorphicField' and 'ECDSA<Point>.IsomorphicField.Type' be equivalent
| `- note: requirement specified as 'Self.Magnitude' == 'Self.Type' [with Self = ECDSA<Point>.IsomorphicField]
12 | public static var Characteristic: Element {
13 | return Point.Order
[22/32] Compiling EllipticCurve Secp224k1.swift
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger+Default.swift:11:22: warning: typealias overriding associated type 'Magnitude' from protocol 'Numeric' is better expressed as same-type constraint on the protocol
9 | extension FiniteFieldInteger {
10 | public typealias IntegerLiteralType = Int
11 | public typealias Magnitude = Self.Type
| `- warning: typealias overriding associated type 'Magnitude' from protocol 'Numeric' is better expressed as same-type constraint on the protocol
12 |
13 | public static var Order: Element {
Swift.Numeric.Magnitude:2:16: note: 'Magnitude' declared here
1 | protocol Numeric {
2 | associatedtype Magnitude : Comparable, Numeric}
| `- note: 'Magnitude' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger+Default.swift:10:22: warning: typealias overriding associated type 'IntegerLiteralType' from protocol 'ExpressibleByIntegerLiteral' is better expressed as same-type constraint on the protocol
8 | /// and do not apply to points or other element types
9 | extension FiniteFieldInteger {
10 | public typealias IntegerLiteralType = Int
| `- warning: typealias overriding associated type 'IntegerLiteralType' from protocol 'ExpressibleByIntegerLiteral' is better expressed as same-type constraint on the protocol
11 | public typealias Magnitude = Self.Type
12 |
Swift.ExpressibleByIntegerLiteral.IntegerLiteralType:2:16: note: 'IntegerLiteralType' declared here
1 | protocol ExpressibleByIntegerLiteral {
2 | associatedtype IntegerLiteralType : _ExpressibleByBuiltinIntegerLiteral}
| `- note: 'IntegerLiteralType' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Comparable'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Comparable'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Numeric'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Numeric'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Equatable'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Equatable'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : AdditiveArithmetic'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : AdditiveArithmetic'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : ExpressibleByIntegerLiteral'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : ExpressibleByIntegerLiteral'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp224k1.swift:25:19: error: type 'Secp224k1.FFInt' does not conform to protocol 'FiniteFieldInteger'
23 | public struct Secp224k1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| `- error: type 'Secp224k1.FFInt' does not conform to protocol 'FiniteFieldInteger'
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp224k1.swift:25:19: error: 'FiniteFieldInteger' requires the types 'Secp224k1.FFInt' and 'Secp224k1.FFInt.Type' be equivalent
23 | public struct Secp224k1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| |- error: 'FiniteFieldInteger' requires the types 'Secp224k1.FFInt' and 'Secp224k1.FFInt.Type' be equivalent
| `- note: requirement specified as 'Self.Magnitude' == 'Self.Type' [with Self = Secp224k1.FFInt]
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
/Users/admin/builder/spi-builder-workspace/Sources/EllipticCurve/EllipticCurveOverFiniteField+Default.swift:7:22: warning: typealias overriding associated type 'Element' from protocol 'FiniteField' is better expressed as same-type constraint on the protocol
5 | extension EllipticCurveOverFiniteField {
6 |
7 | public typealias Element = Self.Coordinate.Element
| `- warning: typealias overriding associated type 'Element' from protocol 'FiniteField' is better expressed as same-type constraint on the protocol
8 |
9 | public static var Zero: Self {
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteField.swift:7:20: note: 'Element' declared here
5 |
6 | public protocol FiniteField: CustomStringConvertible {
7 | associatedtype Element: UnsignedInteger, FixedWidthInteger
| `- note: 'Element' declared here
8 |
9 | static var Characteristic: Element { get }
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp224r1.swift:25:19: error: type 'Secp224r1.FFInt' does not conform to protocol 'FiniteFieldInteger'
23 | public struct Secp224r1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| `- error: type 'Secp224r1.FFInt' does not conform to protocol 'FiniteFieldInteger'
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp224r1.swift:25:19: error: 'FiniteFieldInteger' requires the types 'Secp224r1.FFInt' and 'Secp224r1.FFInt.Type' be equivalent
23 | public struct Secp224r1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| |- error: 'FiniteFieldInteger' requires the types 'Secp224r1.FFInt' and 'Secp224r1.FFInt.Type' be equivalent
| `- note: requirement specified as 'Self.Magnitude' == 'Self.Type' [with Self = Secp224r1.FFInt]
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
[23/32] Compiling EllipticCurve Secp224r1.swift
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger+Default.swift:11:22: warning: typealias overriding associated type 'Magnitude' from protocol 'Numeric' is better expressed as same-type constraint on the protocol
9 | extension FiniteFieldInteger {
10 | public typealias IntegerLiteralType = Int
11 | public typealias Magnitude = Self.Type
| `- warning: typealias overriding associated type 'Magnitude' from protocol 'Numeric' is better expressed as same-type constraint on the protocol
12 |
13 | public static var Order: Element {
Swift.Numeric.Magnitude:2:16: note: 'Magnitude' declared here
1 | protocol Numeric {
2 | associatedtype Magnitude : Comparable, Numeric}
| `- note: 'Magnitude' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger+Default.swift:10:22: warning: typealias overriding associated type 'IntegerLiteralType' from protocol 'ExpressibleByIntegerLiteral' is better expressed as same-type constraint on the protocol
8 | /// and do not apply to points or other element types
9 | extension FiniteFieldInteger {
10 | public typealias IntegerLiteralType = Int
| `- warning: typealias overriding associated type 'IntegerLiteralType' from protocol 'ExpressibleByIntegerLiteral' is better expressed as same-type constraint on the protocol
11 | public typealias Magnitude = Self.Type
12 |
Swift.ExpressibleByIntegerLiteral.IntegerLiteralType:2:16: note: 'IntegerLiteralType' declared here
1 | protocol ExpressibleByIntegerLiteral {
2 | associatedtype IntegerLiteralType : _ExpressibleByBuiltinIntegerLiteral}
| `- note: 'IntegerLiteralType' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Comparable'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Comparable'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Numeric'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Numeric'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Equatable'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Equatable'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : AdditiveArithmetic'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : AdditiveArithmetic'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : ExpressibleByIntegerLiteral'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : ExpressibleByIntegerLiteral'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp224k1.swift:25:19: error: type 'Secp224k1.FFInt' does not conform to protocol 'FiniteFieldInteger'
23 | public struct Secp224k1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| `- error: type 'Secp224k1.FFInt' does not conform to protocol 'FiniteFieldInteger'
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp224k1.swift:25:19: error: 'FiniteFieldInteger' requires the types 'Secp224k1.FFInt' and 'Secp224k1.FFInt.Type' be equivalent
23 | public struct Secp224k1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| |- error: 'FiniteFieldInteger' requires the types 'Secp224k1.FFInt' and 'Secp224k1.FFInt.Type' be equivalent
| `- note: requirement specified as 'Self.Magnitude' == 'Self.Type' [with Self = Secp224k1.FFInt]
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
/Users/admin/builder/spi-builder-workspace/Sources/EllipticCurve/EllipticCurveOverFiniteField+Default.swift:7:22: warning: typealias overriding associated type 'Element' from protocol 'FiniteField' is better expressed as same-type constraint on the protocol
5 | extension EllipticCurveOverFiniteField {
6 |
7 | public typealias Element = Self.Coordinate.Element
| `- warning: typealias overriding associated type 'Element' from protocol 'FiniteField' is better expressed as same-type constraint on the protocol
8 |
9 | public static var Zero: Self {
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteField.swift:7:20: note: 'Element' declared here
5 |
6 | public protocol FiniteField: CustomStringConvertible {
7 | associatedtype Element: UnsignedInteger, FixedWidthInteger
| `- note: 'Element' declared here
8 |
9 | static var Characteristic: Element { get }
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp224r1.swift:25:19: error: type 'Secp224r1.FFInt' does not conform to protocol 'FiniteFieldInteger'
23 | public struct Secp224r1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| `- error: type 'Secp224r1.FFInt' does not conform to protocol 'FiniteFieldInteger'
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp224r1.swift:25:19: error: 'FiniteFieldInteger' requires the types 'Secp224r1.FFInt' and 'Secp224r1.FFInt.Type' be equivalent
23 | public struct Secp224r1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| |- error: 'FiniteFieldInteger' requires the types 'Secp224r1.FFInt' and 'Secp224r1.FFInt.Type' be equivalent
| `- note: requirement specified as 'Self.Magnitude' == 'Self.Type' [with Self = Secp224r1.FFInt]
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
[24/32] Compiling EllipticCurve EllipticCurveOverFiniteField+Default.swift
/Users/admin/builder/spi-builder-workspace/Sources/EllipticCurve/EllipticCurveOverFiniteField+Default.swift:7:22: warning: typealias overriding associated type 'Element' from protocol 'FiniteField' is better expressed as same-type constraint on the protocol
5 | extension EllipticCurveOverFiniteField {
6 |
7 | public typealias Element = Self.Coordinate.Element
| `- warning: typealias overriding associated type 'Element' from protocol 'FiniteField' is better expressed as same-type constraint on the protocol
8 |
9 | public static var Zero: Self {
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteField.swift:7:20: note: 'Element' declared here
5 |
6 | public protocol FiniteField: CustomStringConvertible {
7 | associatedtype Element: UnsignedInteger, FixedWidthInteger
| `- note: 'Element' declared here
8 |
9 | static var Characteristic: Element { get }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger+Default.swift:11:22: warning: typealias overriding associated type 'Magnitude' from protocol 'Numeric' is better expressed as same-type constraint on the protocol
9 | extension FiniteFieldInteger {
10 | public typealias IntegerLiteralType = Int
11 | public typealias Magnitude = Self.Type
| `- warning: typealias overriding associated type 'Magnitude' from protocol 'Numeric' is better expressed as same-type constraint on the protocol
12 |
13 | public static var Order: Element {
Swift.Numeric.Magnitude:2:16: note: 'Magnitude' declared here
1 | protocol Numeric {
2 | associatedtype Magnitude : Comparable, Numeric}
| `- note: 'Magnitude' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger+Default.swift:10:22: warning: typealias overriding associated type 'IntegerLiteralType' from protocol 'ExpressibleByIntegerLiteral' is better expressed as same-type constraint on the protocol
8 | /// and do not apply to points or other element types
9 | extension FiniteFieldInteger {
10 | public typealias IntegerLiteralType = Int
| `- warning: typealias overriding associated type 'IntegerLiteralType' from protocol 'ExpressibleByIntegerLiteral' is better expressed as same-type constraint on the protocol
11 | public typealias Magnitude = Self.Type
12 |
Swift.ExpressibleByIntegerLiteral.IntegerLiteralType:2:16: note: 'IntegerLiteralType' declared here
1 | protocol ExpressibleByIntegerLiteral {
2 | associatedtype IntegerLiteralType : _ExpressibleByBuiltinIntegerLiteral}
| `- note: 'IntegerLiteralType' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Comparable'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Comparable'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Numeric'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Numeric'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Equatable'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Equatable'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : AdditiveArithmetic'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : AdditiveArithmetic'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : ExpressibleByIntegerLiteral'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : ExpressibleByIntegerLiteral'
10 |
11 | var value: Element { get set }
[25/32] Compiling EllipticCurve EllipticCurveOverFiniteField.swift
/Users/admin/builder/spi-builder-workspace/Sources/EllipticCurve/EllipticCurveOverFiniteField+Default.swift:7:22: warning: typealias overriding associated type 'Element' from protocol 'FiniteField' is better expressed as same-type constraint on the protocol
5 | extension EllipticCurveOverFiniteField {
6 |
7 | public typealias Element = Self.Coordinate.Element
| `- warning: typealias overriding associated type 'Element' from protocol 'FiniteField' is better expressed as same-type constraint on the protocol
8 |
9 | public static var Zero: Self {
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteField.swift:7:20: note: 'Element' declared here
5 |
6 | public protocol FiniteField: CustomStringConvertible {
7 | associatedtype Element: UnsignedInteger, FixedWidthInteger
| `- note: 'Element' declared here
8 |
9 | static var Characteristic: Element { get }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger+Default.swift:11:22: warning: typealias overriding associated type 'Magnitude' from protocol 'Numeric' is better expressed as same-type constraint on the protocol
9 | extension FiniteFieldInteger {
10 | public typealias IntegerLiteralType = Int
11 | public typealias Magnitude = Self.Type
| `- warning: typealias overriding associated type 'Magnitude' from protocol 'Numeric' is better expressed as same-type constraint on the protocol
12 |
13 | public static var Order: Element {
Swift.Numeric.Magnitude:2:16: note: 'Magnitude' declared here
1 | protocol Numeric {
2 | associatedtype Magnitude : Comparable, Numeric}
| `- note: 'Magnitude' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger+Default.swift:10:22: warning: typealias overriding associated type 'IntegerLiteralType' from protocol 'ExpressibleByIntegerLiteral' is better expressed as same-type constraint on the protocol
8 | /// and do not apply to points or other element types
9 | extension FiniteFieldInteger {
10 | public typealias IntegerLiteralType = Int
| `- warning: typealias overriding associated type 'IntegerLiteralType' from protocol 'ExpressibleByIntegerLiteral' is better expressed as same-type constraint on the protocol
11 | public typealias Magnitude = Self.Type
12 |
Swift.ExpressibleByIntegerLiteral.IntegerLiteralType:2:16: note: 'IntegerLiteralType' declared here
1 | protocol ExpressibleByIntegerLiteral {
2 | associatedtype IntegerLiteralType : _ExpressibleByBuiltinIntegerLiteral}
| `- note: 'IntegerLiteralType' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Comparable'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Comparable'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Numeric'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Numeric'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Equatable'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Equatable'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : AdditiveArithmetic'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : AdditiveArithmetic'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : ExpressibleByIntegerLiteral'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : ExpressibleByIntegerLiteral'
10 |
11 | var value: Element { get set }
[26/32] Compiling EllipticCurve Secp192k1.swift
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger+Default.swift:11:22: warning: typealias overriding associated type 'Magnitude' from protocol 'Numeric' is better expressed as same-type constraint on the protocol
9 | extension FiniteFieldInteger {
10 | public typealias IntegerLiteralType = Int
11 | public typealias Magnitude = Self.Type
| `- warning: typealias overriding associated type 'Magnitude' from protocol 'Numeric' is better expressed as same-type constraint on the protocol
12 |
13 | public static var Order: Element {
Swift.Numeric.Magnitude:2:16: note: 'Magnitude' declared here
1 | protocol Numeric {
2 | associatedtype Magnitude : Comparable, Numeric}
| `- note: 'Magnitude' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger+Default.swift:10:22: warning: typealias overriding associated type 'IntegerLiteralType' from protocol 'ExpressibleByIntegerLiteral' is better expressed as same-type constraint on the protocol
8 | /// and do not apply to points or other element types
9 | extension FiniteFieldInteger {
10 | public typealias IntegerLiteralType = Int
| `- warning: typealias overriding associated type 'IntegerLiteralType' from protocol 'ExpressibleByIntegerLiteral' is better expressed as same-type constraint on the protocol
11 | public typealias Magnitude = Self.Type
12 |
Swift.ExpressibleByIntegerLiteral.IntegerLiteralType:2:16: note: 'IntegerLiteralType' declared here
1 | protocol ExpressibleByIntegerLiteral {
2 | associatedtype IntegerLiteralType : _ExpressibleByBuiltinIntegerLiteral}
| `- note: 'IntegerLiteralType' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Comparable'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Comparable'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Numeric'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Numeric'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Equatable'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Equatable'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : AdditiveArithmetic'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : AdditiveArithmetic'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : ExpressibleByIntegerLiteral'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : ExpressibleByIntegerLiteral'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp192k1.swift:25:19: error: type 'Secp192k1.FFInt' does not conform to protocol 'FiniteFieldInteger'
23 | public struct Secp192k1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| `- error: type 'Secp192k1.FFInt' does not conform to protocol 'FiniteFieldInteger'
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp192k1.swift:25:19: error: 'FiniteFieldInteger' requires the types 'Secp192k1.FFInt' and 'Secp192k1.FFInt.Type' be equivalent
23 | public struct Secp192k1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| |- error: 'FiniteFieldInteger' requires the types 'Secp192k1.FFInt' and 'Secp192k1.FFInt.Type' be equivalent
| `- note: requirement specified as 'Self.Magnitude' == 'Self.Type' [with Self = Secp192k1.FFInt]
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
/Users/admin/builder/spi-builder-workspace/Sources/EllipticCurve/EllipticCurveOverFiniteField+Default.swift:7:22: warning: typealias overriding associated type 'Element' from protocol 'FiniteField' is better expressed as same-type constraint on the protocol
5 | extension EllipticCurveOverFiniteField {
6 |
7 | public typealias Element = Self.Coordinate.Element
| `- warning: typealias overriding associated type 'Element' from protocol 'FiniteField' is better expressed as same-type constraint on the protocol
8 |
9 | public static var Zero: Self {
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteField.swift:7:20: note: 'Element' declared here
5 |
6 | public protocol FiniteField: CustomStringConvertible {
7 | associatedtype Element: UnsignedInteger, FixedWidthInteger
| `- note: 'Element' declared here
8 |
9 | static var Characteristic: Element { get }
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp192r1.swift:25:19: error: type 'Secp192r1.FFInt' does not conform to protocol 'FiniteFieldInteger'
23 | public struct Secp192r1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| `- error: type 'Secp192r1.FFInt' does not conform to protocol 'FiniteFieldInteger'
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp192r1.swift:25:19: error: 'FiniteFieldInteger' requires the types 'Secp192r1.FFInt' and 'Secp192r1.FFInt.Type' be equivalent
23 | public struct Secp192r1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| |- error: 'FiniteFieldInteger' requires the types 'Secp192r1.FFInt' and 'Secp192r1.FFInt.Type' be equivalent
| `- note: requirement specified as 'Self.Magnitude' == 'Self.Type' [with Self = Secp192r1.FFInt]
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
[27/32] Compiling EllipticCurve Secp192r1.swift
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger+Default.swift:11:22: warning: typealias overriding associated type 'Magnitude' from protocol 'Numeric' is better expressed as same-type constraint on the protocol
9 | extension FiniteFieldInteger {
10 | public typealias IntegerLiteralType = Int
11 | public typealias Magnitude = Self.Type
| `- warning: typealias overriding associated type 'Magnitude' from protocol 'Numeric' is better expressed as same-type constraint on the protocol
12 |
13 | public static var Order: Element {
Swift.Numeric.Magnitude:2:16: note: 'Magnitude' declared here
1 | protocol Numeric {
2 | associatedtype Magnitude : Comparable, Numeric}
| `- note: 'Magnitude' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger+Default.swift:10:22: warning: typealias overriding associated type 'IntegerLiteralType' from protocol 'ExpressibleByIntegerLiteral' is better expressed as same-type constraint on the protocol
8 | /// and do not apply to points or other element types
9 | extension FiniteFieldInteger {
10 | public typealias IntegerLiteralType = Int
| `- warning: typealias overriding associated type 'IntegerLiteralType' from protocol 'ExpressibleByIntegerLiteral' is better expressed as same-type constraint on the protocol
11 | public typealias Magnitude = Self.Type
12 |
Swift.ExpressibleByIntegerLiteral.IntegerLiteralType:2:16: note: 'IntegerLiteralType' declared here
1 | protocol ExpressibleByIntegerLiteral {
2 | associatedtype IntegerLiteralType : _ExpressibleByBuiltinIntegerLiteral}
| `- note: 'IntegerLiteralType' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Comparable'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Comparable'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Numeric'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Numeric'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Equatable'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Equatable'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : AdditiveArithmetic'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : AdditiveArithmetic'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : ExpressibleByIntegerLiteral'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : ExpressibleByIntegerLiteral'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp192k1.swift:25:19: error: type 'Secp192k1.FFInt' does not conform to protocol 'FiniteFieldInteger'
23 | public struct Secp192k1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| `- error: type 'Secp192k1.FFInt' does not conform to protocol 'FiniteFieldInteger'
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp192k1.swift:25:19: error: 'FiniteFieldInteger' requires the types 'Secp192k1.FFInt' and 'Secp192k1.FFInt.Type' be equivalent
23 | public struct Secp192k1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| |- error: 'FiniteFieldInteger' requires the types 'Secp192k1.FFInt' and 'Secp192k1.FFInt.Type' be equivalent
| `- note: requirement specified as 'Self.Magnitude' == 'Self.Type' [with Self = Secp192k1.FFInt]
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
/Users/admin/builder/spi-builder-workspace/Sources/EllipticCurve/EllipticCurveOverFiniteField+Default.swift:7:22: warning: typealias overriding associated type 'Element' from protocol 'FiniteField' is better expressed as same-type constraint on the protocol
5 | extension EllipticCurveOverFiniteField {
6 |
7 | public typealias Element = Self.Coordinate.Element
| `- warning: typealias overriding associated type 'Element' from protocol 'FiniteField' is better expressed as same-type constraint on the protocol
8 |
9 | public static var Zero: Self {
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteField.swift:7:20: note: 'Element' declared here
5 |
6 | public protocol FiniteField: CustomStringConvertible {
7 | associatedtype Element: UnsignedInteger, FixedWidthInteger
| `- note: 'Element' declared here
8 |
9 | static var Characteristic: Element { get }
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp192r1.swift:25:19: error: type 'Secp192r1.FFInt' does not conform to protocol 'FiniteFieldInteger'
23 | public struct Secp192r1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| `- error: type 'Secp192r1.FFInt' does not conform to protocol 'FiniteFieldInteger'
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp192r1.swift:25:19: error: 'FiniteFieldInteger' requires the types 'Secp192r1.FFInt' and 'Secp192r1.FFInt.Type' be equivalent
23 | public struct Secp192r1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| |- error: 'FiniteFieldInteger' requires the types 'Secp192r1.FFInt' and 'Secp192r1.FFInt.Type' be equivalent
| `- note: requirement specified as 'Self.Magnitude' == 'Self.Type' [with Self = Secp192r1.FFInt]
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
[28/32] Compiling EllipticCurve Secp256k1.swift
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger+Default.swift:11:22: warning: typealias overriding associated type 'Magnitude' from protocol 'Numeric' is better expressed as same-type constraint on the protocol
9 | extension FiniteFieldInteger {
10 | public typealias IntegerLiteralType = Int
11 | public typealias Magnitude = Self.Type
| `- warning: typealias overriding associated type 'Magnitude' from protocol 'Numeric' is better expressed as same-type constraint on the protocol
12 |
13 | public static var Order: Element {
Swift.Numeric.Magnitude:2:16: note: 'Magnitude' declared here
1 | protocol Numeric {
2 | associatedtype Magnitude : Comparable, Numeric}
| `- note: 'Magnitude' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger+Default.swift:10:22: warning: typealias overriding associated type 'IntegerLiteralType' from protocol 'ExpressibleByIntegerLiteral' is better expressed as same-type constraint on the protocol
8 | /// and do not apply to points or other element types
9 | extension FiniteFieldInteger {
10 | public typealias IntegerLiteralType = Int
| `- warning: typealias overriding associated type 'IntegerLiteralType' from protocol 'ExpressibleByIntegerLiteral' is better expressed as same-type constraint on the protocol
11 | public typealias Magnitude = Self.Type
12 |
Swift.ExpressibleByIntegerLiteral.IntegerLiteralType:2:16: note: 'IntegerLiteralType' declared here
1 | protocol ExpressibleByIntegerLiteral {
2 | associatedtype IntegerLiteralType : _ExpressibleByBuiltinIntegerLiteral}
| `- note: 'IntegerLiteralType' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Comparable'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Comparable'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Numeric'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Numeric'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Equatable'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Equatable'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : AdditiveArithmetic'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : AdditiveArithmetic'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : ExpressibleByIntegerLiteral'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : ExpressibleByIntegerLiteral'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp256k1.swift:31:19: error: type 'Secp256k1.FFInt' does not conform to protocol 'FiniteFieldInteger'
29 |
30 | public struct Secp256k1: EllipticCurveOverFiniteField {
31 | public struct FFInt: FiniteFieldInteger {
| `- error: type 'Secp256k1.FFInt' does not conform to protocol 'FiniteFieldInteger'
32 | public static var Characteristic: UInt256 = Parameters.P
33 | public static var InverseCharacteristic: (high: UInt256, low: UInt256)? = Parameters.InverseP
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp256k1.swift:31:19: error: 'FiniteFieldInteger' requires the types 'Secp256k1.FFInt' and 'Secp256k1.FFInt.Type' be equivalent
29 |
30 | public struct Secp256k1: EllipticCurveOverFiniteField {
31 | public struct FFInt: FiniteFieldInteger {
| |- error: 'FiniteFieldInteger' requires the types 'Secp256k1.FFInt' and 'Secp256k1.FFInt.Type' be equivalent
| `- note: requirement specified as 'Self.Magnitude' == 'Self.Type' [with Self = Secp256k1.FFInt]
32 | public static var Characteristic: UInt256 = Parameters.P
33 | public static var InverseCharacteristic: (high: UInt256, low: UInt256)? = Parameters.InverseP
/Users/admin/builder/spi-builder-workspace/Sources/EllipticCurve/EllipticCurveOverFiniteField+Default.swift:7:22: warning: typealias overriding associated type 'Element' from protocol 'FiniteField' is better expressed as same-type constraint on the protocol
5 | extension EllipticCurveOverFiniteField {
6 |
7 | public typealias Element = Self.Coordinate.Element
| `- warning: typealias overriding associated type 'Element' from protocol 'FiniteField' is better expressed as same-type constraint on the protocol
8 |
9 | public static var Zero: Self {
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteField.swift:7:20: note: 'Element' declared here
5 |
6 | public protocol FiniteField: CustomStringConvertible {
7 | associatedtype Element: UnsignedInteger, FixedWidthInteger
| `- note: 'Element' declared here
8 |
9 | static var Characteristic: Element { get }
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp256r1.swift:25:19: error: type 'Secp256r1.FFInt' does not conform to protocol 'FiniteFieldInteger'
23 | public struct Secp256r1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| `- error: type 'Secp256r1.FFInt' does not conform to protocol 'FiniteFieldInteger'
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp256r1.swift:25:19: error: 'FiniteFieldInteger' requires the types 'Secp256r1.FFInt' and 'Secp256r1.FFInt.Type' be equivalent
23 | public struct Secp256r1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| |- error: 'FiniteFieldInteger' requires the types 'Secp256r1.FFInt' and 'Secp256r1.FFInt.Type' be equivalent
| `- note: requirement specified as 'Self.Magnitude' == 'Self.Type' [with Self = Secp256r1.FFInt]
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
[29/32] Compiling EllipticCurve Secp256r1.swift
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger+Default.swift:11:22: warning: typealias overriding associated type 'Magnitude' from protocol 'Numeric' is better expressed as same-type constraint on the protocol
9 | extension FiniteFieldInteger {
10 | public typealias IntegerLiteralType = Int
11 | public typealias Magnitude = Self.Type
| `- warning: typealias overriding associated type 'Magnitude' from protocol 'Numeric' is better expressed as same-type constraint on the protocol
12 |
13 | public static var Order: Element {
Swift.Numeric.Magnitude:2:16: note: 'Magnitude' declared here
1 | protocol Numeric {
2 | associatedtype Magnitude : Comparable, Numeric}
| `- note: 'Magnitude' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger+Default.swift:10:22: warning: typealias overriding associated type 'IntegerLiteralType' from protocol 'ExpressibleByIntegerLiteral' is better expressed as same-type constraint on the protocol
8 | /// and do not apply to points or other element types
9 | extension FiniteFieldInteger {
10 | public typealias IntegerLiteralType = Int
| `- warning: typealias overriding associated type 'IntegerLiteralType' from protocol 'ExpressibleByIntegerLiteral' is better expressed as same-type constraint on the protocol
11 | public typealias Magnitude = Self.Type
12 |
Swift.ExpressibleByIntegerLiteral.IntegerLiteralType:2:16: note: 'IntegerLiteralType' declared here
1 | protocol ExpressibleByIntegerLiteral {
2 | associatedtype IntegerLiteralType : _ExpressibleByBuiltinIntegerLiteral}
| `- note: 'IntegerLiteralType' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Comparable'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Comparable'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Numeric'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Numeric'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Equatable'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Equatable'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : AdditiveArithmetic'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : AdditiveArithmetic'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : ExpressibleByIntegerLiteral'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : ExpressibleByIntegerLiteral'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp256k1.swift:31:19: error: type 'Secp256k1.FFInt' does not conform to protocol 'FiniteFieldInteger'
29 |
30 | public struct Secp256k1: EllipticCurveOverFiniteField {
31 | public struct FFInt: FiniteFieldInteger {
| `- error: type 'Secp256k1.FFInt' does not conform to protocol 'FiniteFieldInteger'
32 | public static var Characteristic: UInt256 = Parameters.P
33 | public static var InverseCharacteristic: (high: UInt256, low: UInt256)? = Parameters.InverseP
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp256k1.swift:31:19: error: 'FiniteFieldInteger' requires the types 'Secp256k1.FFInt' and 'Secp256k1.FFInt.Type' be equivalent
29 |
30 | public struct Secp256k1: EllipticCurveOverFiniteField {
31 | public struct FFInt: FiniteFieldInteger {
| |- error: 'FiniteFieldInteger' requires the types 'Secp256k1.FFInt' and 'Secp256k1.FFInt.Type' be equivalent
| `- note: requirement specified as 'Self.Magnitude' == 'Self.Type' [with Self = Secp256k1.FFInt]
32 | public static var Characteristic: UInt256 = Parameters.P
33 | public static var InverseCharacteristic: (high: UInt256, low: UInt256)? = Parameters.InverseP
/Users/admin/builder/spi-builder-workspace/Sources/EllipticCurve/EllipticCurveOverFiniteField+Default.swift:7:22: warning: typealias overriding associated type 'Element' from protocol 'FiniteField' is better expressed as same-type constraint on the protocol
5 | extension EllipticCurveOverFiniteField {
6 |
7 | public typealias Element = Self.Coordinate.Element
| `- warning: typealias overriding associated type 'Element' from protocol 'FiniteField' is better expressed as same-type constraint on the protocol
8 |
9 | public static var Zero: Self {
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteField.swift:7:20: note: 'Element' declared here
5 |
6 | public protocol FiniteField: CustomStringConvertible {
7 | associatedtype Element: UnsignedInteger, FixedWidthInteger
| `- note: 'Element' declared here
8 |
9 | static var Characteristic: Element { get }
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp256r1.swift:25:19: error: type 'Secp256r1.FFInt' does not conform to protocol 'FiniteFieldInteger'
23 | public struct Secp256r1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| `- error: type 'Secp256r1.FFInt' does not conform to protocol 'FiniteFieldInteger'
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp256r1.swift:25:19: error: 'FiniteFieldInteger' requires the types 'Secp256r1.FFInt' and 'Secp256r1.FFInt.Type' be equivalent
23 | public struct Secp256r1: EllipticCurveOverFiniteField {
24 |
25 | public struct FFInt: FiniteFieldInteger {
| |- error: 'FiniteFieldInteger' requires the types 'Secp256r1.FFInt' and 'Secp256r1.FFInt.Type' be equivalent
| `- note: requirement specified as 'Self.Magnitude' == 'Self.Type' [with Self = Secp256r1.FFInt]
26 | public static var Characteristic: UInt256 = Parameters.P
27 | public var value: UInt256
[30/32] Compiling EllipticCurve EllipticCurve+Default.swift
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger+Default.swift:11:22: warning: typealias overriding associated type 'Magnitude' from protocol 'Numeric' is better expressed as same-type constraint on the protocol
9 | extension FiniteFieldInteger {
10 | public typealias IntegerLiteralType = Int
11 | public typealias Magnitude = Self.Type
| `- warning: typealias overriding associated type 'Magnitude' from protocol 'Numeric' is better expressed as same-type constraint on the protocol
12 |
13 | public static var Order: Element {
Swift.Numeric.Magnitude:2:16: note: 'Magnitude' declared here
1 | protocol Numeric {
2 | associatedtype Magnitude : Comparable, Numeric}
| `- note: 'Magnitude' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger+Default.swift:10:22: warning: typealias overriding associated type 'IntegerLiteralType' from protocol 'ExpressibleByIntegerLiteral' is better expressed as same-type constraint on the protocol
8 | /// and do not apply to points or other element types
9 | extension FiniteFieldInteger {
10 | public typealias IntegerLiteralType = Int
| `- warning: typealias overriding associated type 'IntegerLiteralType' from protocol 'ExpressibleByIntegerLiteral' is better expressed as same-type constraint on the protocol
11 | public typealias Magnitude = Self.Type
12 |
Swift.ExpressibleByIntegerLiteral.IntegerLiteralType:2:16: note: 'IntegerLiteralType' declared here
1 | protocol ExpressibleByIntegerLiteral {
2 | associatedtype IntegerLiteralType : _ExpressibleByBuiltinIntegerLiteral}
| `- note: 'IntegerLiteralType' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Comparable'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Comparable'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Numeric'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Numeric'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Equatable'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Equatable'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : AdditiveArithmetic'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : AdditiveArithmetic'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : ExpressibleByIntegerLiteral'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : ExpressibleByIntegerLiteral'
10 |
11 | var value: Element { get set }
[31/32] Compiling EllipticCurve EllipticCurve.swift
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger+Default.swift:11:22: warning: typealias overriding associated type 'Magnitude' from protocol 'Numeric' is better expressed as same-type constraint on the protocol
9 | extension FiniteFieldInteger {
10 | public typealias IntegerLiteralType = Int
11 | public typealias Magnitude = Self.Type
| `- warning: typealias overriding associated type 'Magnitude' from protocol 'Numeric' is better expressed as same-type constraint on the protocol
12 |
13 | public static var Order: Element {
Swift.Numeric.Magnitude:2:16: note: 'Magnitude' declared here
1 | protocol Numeric {
2 | associatedtype Magnitude : Comparable, Numeric}
| `- note: 'Magnitude' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger+Default.swift:10:22: warning: typealias overriding associated type 'IntegerLiteralType' from protocol 'ExpressibleByIntegerLiteral' is better expressed as same-type constraint on the protocol
8 | /// and do not apply to points or other element types
9 | extension FiniteFieldInteger {
10 | public typealias IntegerLiteralType = Int
| `- warning: typealias overriding associated type 'IntegerLiteralType' from protocol 'ExpressibleByIntegerLiteral' is better expressed as same-type constraint on the protocol
11 | public typealias Magnitude = Self.Type
12 |
Swift.ExpressibleByIntegerLiteral.IntegerLiteralType:2:16: note: 'IntegerLiteralType' declared here
1 | protocol ExpressibleByIntegerLiteral {
2 | associatedtype IntegerLiteralType : _ExpressibleByBuiltinIntegerLiteral}
| `- note: 'IntegerLiteralType' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Comparable'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Comparable'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Numeric'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Numeric'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Equatable'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Equatable'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : AdditiveArithmetic'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : AdditiveArithmetic'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : ExpressibleByIntegerLiteral'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : ExpressibleByIntegerLiteral'
10 |
11 | var value: Element { get set }
[32/32] Compiling EllipticCurve ECDSA.swift
/Users/admin/builder/spi-builder-workspace/Sources/EllipticCurve/EllipticCurveOverFiniteField+Default.swift:7:22: warning: typealias overriding associated type 'Element' from protocol 'FiniteField' is better expressed as same-type constraint on the protocol
5 | extension EllipticCurveOverFiniteField {
6 |
7 | public typealias Element = Self.Coordinate.Element
| `- warning: typealias overriding associated type 'Element' from protocol 'FiniteField' is better expressed as same-type constraint on the protocol
8 |
9 | public static var Zero: Self {
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteField.swift:7:20: note: 'Element' declared here
5 |
6 | public protocol FiniteField: CustomStringConvertible {
7 | associatedtype Element: UnsignedInteger, FixedWidthInteger
| `- note: 'Element' declared here
8 |
9 | static var Characteristic: Element { get }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger+Default.swift:11:22: warning: typealias overriding associated type 'Magnitude' from protocol 'Numeric' is better expressed as same-type constraint on the protocol
9 | extension FiniteFieldInteger {
10 | public typealias IntegerLiteralType = Int
11 | public typealias Magnitude = Self.Type
| `- warning: typealias overriding associated type 'Magnitude' from protocol 'Numeric' is better expressed as same-type constraint on the protocol
12 |
13 | public static var Order: Element {
Swift.Numeric.Magnitude:2:16: note: 'Magnitude' declared here
1 | protocol Numeric {
2 | associatedtype Magnitude : Comparable, Numeric}
| `- note: 'Magnitude' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger+Default.swift:10:22: warning: typealias overriding associated type 'IntegerLiteralType' from protocol 'ExpressibleByIntegerLiteral' is better expressed as same-type constraint on the protocol
8 | /// and do not apply to points or other element types
9 | extension FiniteFieldInteger {
10 | public typealias IntegerLiteralType = Int
| `- warning: typealias overriding associated type 'IntegerLiteralType' from protocol 'ExpressibleByIntegerLiteral' is better expressed as same-type constraint on the protocol
11 | public typealias Magnitude = Self.Type
12 |
Swift.ExpressibleByIntegerLiteral.IntegerLiteralType:2:16: note: 'IntegerLiteralType' declared here
1 | protocol ExpressibleByIntegerLiteral {
2 | associatedtype IntegerLiteralType : _ExpressibleByBuiltinIntegerLiteral}
| `- note: 'IntegerLiteralType' declared here
3 |
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Comparable'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Comparable'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Numeric'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Numeric'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Equatable'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : Equatable'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : AdditiveArithmetic'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : AdditiveArithmetic'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FiniteField/FiniteFieldInteger.swift:9:17: error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : ExpressibleByIntegerLiteral'
7 | /// Arithmetic are implemented by default for UInt family members that
8 | /// follow UnsignedInteger & FixedWidthInteger protocols
9 | public protocol FiniteFieldInteger: FiniteField, BasicArithmeticOperations where Element: FixedWidthIntegerWithBarrettDivision {
| `- error: no type for 'Self.Magnitude' can satisfy both 'Self.Magnitude == Self.Type' and 'Self.Magnitude : ExpressibleByIntegerLiteral'
10 |
11 | var value: Element { get set }
/Users/admin/builder/spi-builder-workspace/Sources/SignatureAlgorithms/ECDSA.swift:11:20: error: type 'ECDSA<Point>.IsomorphicField' does not conform to protocol 'FiniteFieldInteger'
9 | public typealias Hashing = (_ msg: Data) -> Element
10 |
11 | private struct IsomorphicField: FiniteFieldInteger {
| `- error: type 'ECDSA<Point>.IsomorphicField' does not conform to protocol 'FiniteFieldInteger'
12 | public static var Characteristic: Element {
13 | return Point.Order
/Users/admin/builder/spi-builder-workspace/Sources/SignatureAlgorithms/ECDSA.swift:11:20: error: 'FiniteFieldInteger' requires the types 'ECDSA<Point>.IsomorphicField' and 'ECDSA<Point>.IsomorphicField.Type' be equivalent
9 | public typealias Hashing = (_ msg: Data) -> Element
10 |
11 | private struct IsomorphicField: FiniteFieldInteger {
| |- error: 'FiniteFieldInteger' requires the types 'ECDSA<Point>.IsomorphicField' and 'ECDSA<Point>.IsomorphicField.Type' be equivalent
| `- note: requirement specified as 'Self.Magnitude' == 'Self.Type' [with Self = ECDSA<Point>.IsomorphicField]
12 | public static var Characteristic: Element {
13 | return Point.Order
BUILD FAILURE 6.1 macosSpm