Build Information
Successful build of EllipticCurve with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 38
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hyugit/EllipticCurve.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/hyugit/EllipticCurve
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at ed61466 Update README.md
Cloned https://github.com/hyugit/EllipticCurve.git
Revision (git rev-parse @):
ed614663535eb487fe0c18e999edec92577e5820
SUCCESS checkout https://github.com/hyugit/EllipticCurve.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/hyugit/EllipticCurve.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-6F35C1178C84523A.txt
[4/17] Compiling UInt256 UInt256+Divide&Conquer.swift
[5/17] Compiling UInt256 UInt256+Equatable.swift
[6/17] Compiling UInt256 UInt256+UnsignedInteger.swift
[7/17] Compiling UInt256 UInt256+Numeric.swift
[8/17] Compiling UInt256 UInt256+Hashable.swift
[9/17] Compiling UInt256 UInt256+arc4random.swift
[10/17] Compiling UInt256 UInt256+Karatsuba.swift
[11/18] Compiling UInt256 UInt256+BarrettDivision.swift
[12/18] Compiling UInt256 UInt256+BinaryInteger.swift
[13/18] Emitting module UInt256
[14/18] Compiling UInt256 UInt256+ExpressibleByIntegerLiteral.swift
[15/18] Compiling UInt256 UInt256+FixedWidthInteger.swift
[16/18] Compiling UInt256 UInt256+Comparable.swift
[17/18] Compiling UInt256 UInt256+CustomStringConvertible.swift
[18/18] Compiling UInt256 UInt256.swift
[19/33] Compiling EllipticCurve FiniteFieldInteger+Default.swift
[20/33] Compiling EllipticCurve FiniteFieldInteger.swift
[21/33] Compiling EllipticCurve FiniteField.swift
[22/34] Compiling EllipticCurve EllipticCurve+Default.swift
[23/34] Compiling EllipticCurve EllipticCurve.swift
[24/34] Compiling EllipticCurve BasicArithmeticOperations.swift
[25/34] Compiling EllipticCurve EllipticCurveOverFiniteField+Default.swift
[26/34] Compiling EllipticCurve EllipticCurveOverFiniteField.swift
[27/34] Compiling EllipticCurve Secp192k1.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: annotate 'Parameters' with '@MainActor' if property should only be accessed from the main actor
| `- 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 non-isolated 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 non-isolated 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: annotate 'Characteristic' with '@MainActor' if property should only be accessed from the main actor
| `- 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/Secp192k1.swift:34:23: warning: static property 'Generator' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'Generator' with '@MainActor' if property should only be accessed from the main actor
| `- 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 non-isolated 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 non-isolated 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: annotate 'Order' with '@MainActor' if property should only be accessed from the main actor
| `- 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 non-isolated 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 non-isolated 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: annotate 'a' with '@MainActor' if property should only be accessed from the main actor
| `- 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 non-isolated 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 non-isolated 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: annotate 'b' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'Parameters' with '@MainActor' if property should only be accessed from the main actor
| `- 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 non-isolated 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 non-isolated 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: annotate 'Characteristic' with '@MainActor' if property should only be accessed from the main actor
| `- 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:34:23: warning: static property 'Generator' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'Generator' with '@MainActor' if property should only be accessed from the main actor
| `- 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 non-isolated 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 non-isolated 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: annotate 'Order' with '@MainActor' if property should only be accessed from the main actor
| `- 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 non-isolated 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 non-isolated 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: annotate 'a' with '@MainActor' if property should only be accessed from the main actor
| `- 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 non-isolated 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 non-isolated 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: annotate 'b' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | public var x: FFInt
[28/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: annotate 'Parameters' with '@MainActor' if property should only be accessed from the main actor
| `- 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 non-isolated 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 non-isolated 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: annotate 'Characteristic' with '@MainActor' if property should only be accessed from the main actor
| `- 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/Secp192k1.swift:34:23: warning: static property 'Generator' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'Generator' with '@MainActor' if property should only be accessed from the main actor
| `- 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 non-isolated 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 non-isolated 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: annotate 'Order' with '@MainActor' if property should only be accessed from the main actor
| `- 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 non-isolated 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 non-isolated 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: annotate 'a' with '@MainActor' if property should only be accessed from the main actor
| `- 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 non-isolated 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 non-isolated 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: annotate 'b' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'Parameters' with '@MainActor' if property should only be accessed from the main actor
| `- 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 non-isolated 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 non-isolated 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: annotate 'Characteristic' with '@MainActor' if property should only be accessed from the main actor
| `- 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:34:23: warning: static property 'Generator' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'Generator' with '@MainActor' if property should only be accessed from the main actor
| `- 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 non-isolated 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 non-isolated 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: annotate 'Order' with '@MainActor' if property should only be accessed from the main actor
| `- 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 non-isolated 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 non-isolated 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: annotate 'a' with '@MainActor' if property should only be accessed from the main actor
| `- 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 non-isolated 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 non-isolated 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: annotate 'b' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | public var x: FFInt
[29/34] Compiling EllipticCurve Secp256k1.swift
/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: annotate 'Parameters' with '@MainActor' if property should only be accessed from the main actor
| `- 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 non-isolated 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 non-isolated 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: annotate 'Characteristic' with '@MainActor' if property should only be accessed from the main actor
| `- 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 non-isolated 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 non-isolated 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: annotate 'InverseCharacteristic' with '@MainActor' if property should only be accessed from the main actor
| `- 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:41:23: warning: static property 'Generator' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'Generator' with '@MainActor' if property should only be accessed from the main actor
| `- 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 non-isolated 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 non-isolated 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: annotate 'Order' with '@MainActor' if property should only be accessed from the main actor
| `- 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 non-isolated 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 non-isolated 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: annotate 'InverseOrder' with '@MainActor' if property should only be accessed from the main actor
| `- 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 non-isolated 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 non-isolated 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: annotate 'a' with '@MainActor' if property should only be accessed from the main actor
| `- 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 non-isolated 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 non-isolated 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: annotate 'b' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'Parameters' with '@MainActor' if property should only be accessed from the main actor
| `- 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 non-isolated 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 non-isolated 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: annotate 'Characteristic' with '@MainActor' if property should only be accessed from the main actor
| `- 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:34:23: warning: static property 'Generator' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'Generator' with '@MainActor' if property should only be accessed from the main actor
| `- 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 non-isolated 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 non-isolated 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: annotate 'Order' with '@MainActor' if property should only be accessed from the main actor
| `- 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 non-isolated 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 non-isolated 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: annotate 'a' with '@MainActor' if property should only be accessed from the main actor
| `- 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 non-isolated 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 non-isolated 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: annotate 'b' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | public var x: FFInt
[30/34] Compiling EllipticCurve Secp256r1.swift
/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: annotate 'Parameters' with '@MainActor' if property should only be accessed from the main actor
| `- 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 non-isolated 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 non-isolated 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: annotate 'Characteristic' with '@MainActor' if property should only be accessed from the main actor
| `- 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 non-isolated 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 non-isolated 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: annotate 'InverseCharacteristic' with '@MainActor' if property should only be accessed from the main actor
| `- 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:41:23: warning: static property 'Generator' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'Generator' with '@MainActor' if property should only be accessed from the main actor
| `- 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 non-isolated 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 non-isolated 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: annotate 'Order' with '@MainActor' if property should only be accessed from the main actor
| `- 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 non-isolated 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 non-isolated 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: annotate 'InverseOrder' with '@MainActor' if property should only be accessed from the main actor
| `- 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 non-isolated 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 non-isolated 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: annotate 'a' with '@MainActor' if property should only be accessed from the main actor
| `- 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 non-isolated 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 non-isolated 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: annotate 'b' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'Parameters' with '@MainActor' if property should only be accessed from the main actor
| `- 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 non-isolated 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 non-isolated 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: annotate 'Characteristic' with '@MainActor' if property should only be accessed from the main actor
| `- 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:34:23: warning: static property 'Generator' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'Generator' with '@MainActor' if property should only be accessed from the main actor
| `- 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 non-isolated 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 non-isolated 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: annotate 'Order' with '@MainActor' if property should only be accessed from the main actor
| `- 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 non-isolated 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 non-isolated 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: annotate 'a' with '@MainActor' if property should only be accessed from the main actor
| `- 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 non-isolated 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 non-isolated 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: annotate 'b' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | public var x: FFInt
[31/34] Compiling EllipticCurve Secp224k1.swift
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp224k1.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([0xFFFFFFFF, UInt64.max, UInt64.max, 0xFFFFFFFEFFFFE56D]),
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/Secp224k1.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: annotate 'Parameters' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | P: UInt256([0xFFFFFFFF, UInt64.max, UInt64.max, 0xFFFFFFFEFFFFE56D]),
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/Secp224k1.swift:26:27: warning: static property 'Characteristic' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'Characteristic' with '@MainActor' if property should only be accessed from the main actor
| `- 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/Secp224k1.swift:34:23: warning: static property 'Generator' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
32 | }
33 |
34 | public static var Generator = Secp224k1(withCoordinates: Parameters.G)
| |- warning: static property 'Generator' is not concurrency-safe because it is non-isolated 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: annotate 'Generator' with '@MainActor' if property should only be accessed from the main actor
| `- 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/Secp224k1.swift:35:23: warning: static property 'Order' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | public static var Generator = Secp224k1(withCoordinates: Parameters.G)
35 | public static var Order: UInt256 = Parameters.n
| |- warning: static property 'Order' is not concurrency-safe because it is non-isolated 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: annotate 'Order' with '@MainActor' if property should only be accessed from the main actor
| `- 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/Secp224k1.swift:37:23: warning: static property 'a' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'a' with '@MainActor' if property should only be accessed from the main actor
| `- 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/Secp224k1.swift:38:23: warning: static property 'b' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'b' with '@MainActor' if property should only be accessed from the main actor
| `- 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/Secp224r1.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([0xFFFFFFFF, UInt64.max, 0xFFFFFFFF00000000, 1]),
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/Secp224r1.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: annotate 'Parameters' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | P: UInt256([0xFFFFFFFF, UInt64.max, 0xFFFFFFFF00000000, 1]),
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/Secp224r1.swift:26:27: warning: static property 'Characteristic' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'Characteristic' with '@MainActor' if property should only be accessed from the main actor
| `- 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/Secp224r1.swift:34:23: warning: static property 'Generator' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
32 | }
33 |
34 | public static var Generator = Secp224r1(withCoordinates: Parameters.G)
| |- warning: static property 'Generator' is not concurrency-safe because it is non-isolated 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: annotate 'Generator' with '@MainActor' if property should only be accessed from the main actor
| `- 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/Secp224r1.swift:35:23: warning: static property 'Order' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | public static var Generator = Secp224r1(withCoordinates: Parameters.G)
35 | public static var Order: UInt256 = Parameters.n
| |- warning: static property 'Order' is not concurrency-safe because it is non-isolated 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: annotate 'Order' with '@MainActor' if property should only be accessed from the main actor
| `- 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/Secp224r1.swift:37:23: warning: static property 'a' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'a' with '@MainActor' if property should only be accessed from the main actor
| `- 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/Secp224r1.swift:38:23: warning: static property 'b' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'b' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | public var x: FFInt
[32/34] Compiling EllipticCurve Secp224r1.swift
/Users/admin/builder/spi-builder-workspace/Sources/CommonCurves/Secp224k1.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([0xFFFFFFFF, UInt64.max, UInt64.max, 0xFFFFFFFEFFFFE56D]),
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/Secp224k1.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: annotate 'Parameters' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | P: UInt256([0xFFFFFFFF, UInt64.max, UInt64.max, 0xFFFFFFFEFFFFE56D]),
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/Secp224k1.swift:26:27: warning: static property 'Characteristic' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'Characteristic' with '@MainActor' if property should only be accessed from the main actor
| `- 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/Secp224k1.swift:34:23: warning: static property 'Generator' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
32 | }
33 |
34 | public static var Generator = Secp224k1(withCoordinates: Parameters.G)
| |- warning: static property 'Generator' is not concurrency-safe because it is non-isolated 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: annotate 'Generator' with '@MainActor' if property should only be accessed from the main actor
| `- 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/Secp224k1.swift:35:23: warning: static property 'Order' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | public static var Generator = Secp224k1(withCoordinates: Parameters.G)
35 | public static var Order: UInt256 = Parameters.n
| |- warning: static property 'Order' is not concurrency-safe because it is non-isolated 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: annotate 'Order' with '@MainActor' if property should only be accessed from the main actor
| `- 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/Secp224k1.swift:37:23: warning: static property 'a' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'a' with '@MainActor' if property should only be accessed from the main actor
| `- 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/Secp224k1.swift:38:23: warning: static property 'b' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'b' with '@MainActor' if property should only be accessed from the main actor
| `- 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/Secp224r1.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([0xFFFFFFFF, UInt64.max, 0xFFFFFFFF00000000, 1]),
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/Secp224r1.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: annotate 'Parameters' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | P: UInt256([0xFFFFFFFF, UInt64.max, 0xFFFFFFFF00000000, 1]),
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/Secp224r1.swift:26:27: warning: static property 'Characteristic' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'Characteristic' with '@MainActor' if property should only be accessed from the main actor
| `- 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/Secp224r1.swift:34:23: warning: static property 'Generator' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
32 | }
33 |
34 | public static var Generator = Secp224r1(withCoordinates: Parameters.G)
| |- warning: static property 'Generator' is not concurrency-safe because it is non-isolated 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: annotate 'Generator' with '@MainActor' if property should only be accessed from the main actor
| `- 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/Secp224r1.swift:35:23: warning: static property 'Order' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | public static var Generator = Secp224r1(withCoordinates: Parameters.G)
35 | public static var Order: UInt256 = Parameters.n
| |- warning: static property 'Order' is not concurrency-safe because it is non-isolated 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: annotate 'Order' with '@MainActor' if property should only be accessed from the main actor
| `- 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/Secp224r1.swift:37:23: warning: static property 'a' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'a' with '@MainActor' if property should only be accessed from the main actor
| `- 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/Secp224r1.swift:38:23: warning: static property 'b' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'b' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | public var x: FFInt
[33/34] Emitting module EllipticCurve
/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: annotate 'Parameters' with '@MainActor' if property should only be accessed from the main actor
| `- 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 non-isolated 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 non-isolated 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: annotate 'Characteristic' with '@MainActor' if property should only be accessed from the main actor
| `- 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/Secp192k1.swift:34:23: warning: static property 'Generator' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'Generator' with '@MainActor' if property should only be accessed from the main actor
| `- 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 non-isolated 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 non-isolated 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: annotate 'Order' with '@MainActor' if property should only be accessed from the main actor
| `- 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 non-isolated 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 non-isolated 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: annotate 'a' with '@MainActor' if property should only be accessed from the main actor
| `- 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 non-isolated 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 non-isolated 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: annotate 'b' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'Parameters' with '@MainActor' if property should only be accessed from the main actor
| `- 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 non-isolated 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 non-isolated 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: annotate 'Characteristic' with '@MainActor' if property should only be accessed from the main actor
| `- 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:34:23: warning: static property 'Generator' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'Generator' with '@MainActor' if property should only be accessed from the main actor
| `- 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 non-isolated 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 non-isolated 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: annotate 'Order' with '@MainActor' if property should only be accessed from the main actor
| `- 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 non-isolated 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 non-isolated 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: annotate 'a' with '@MainActor' if property should only be accessed from the main actor
| `- 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 non-isolated 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 non-isolated 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: annotate 'b' with '@MainActor' if property should only be accessed from the main actor
| `- 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/Secp224k1.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([0xFFFFFFFF, UInt64.max, UInt64.max, 0xFFFFFFFEFFFFE56D]),
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/Secp224k1.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: annotate 'Parameters' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | P: UInt256([0xFFFFFFFF, UInt64.max, UInt64.max, 0xFFFFFFFEFFFFE56D]),
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/Secp224k1.swift:26:27: warning: static property 'Characteristic' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'Characteristic' with '@MainActor' if property should only be accessed from the main actor
| `- 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/Secp224k1.swift:34:23: warning: static property 'Generator' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
32 | }
33 |
34 | public static var Generator = Secp224k1(withCoordinates: Parameters.G)
| |- warning: static property 'Generator' is not concurrency-safe because it is non-isolated 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: annotate 'Generator' with '@MainActor' if property should only be accessed from the main actor
| `- 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/Secp224k1.swift:35:23: warning: static property 'Order' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | public static var Generator = Secp224k1(withCoordinates: Parameters.G)
35 | public static var Order: UInt256 = Parameters.n
| |- warning: static property 'Order' is not concurrency-safe because it is non-isolated 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: annotate 'Order' with '@MainActor' if property should only be accessed from the main actor
| `- 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/Secp224k1.swift:37:23: warning: static property 'a' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'a' with '@MainActor' if property should only be accessed from the main actor
| `- 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/Secp224k1.swift:38:23: warning: static property 'b' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'b' with '@MainActor' if property should only be accessed from the main actor
| `- 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/Secp224r1.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([0xFFFFFFFF, UInt64.max, 0xFFFFFFFF00000000, 1]),
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/Secp224r1.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: annotate 'Parameters' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | P: UInt256([0xFFFFFFFF, UInt64.max, 0xFFFFFFFF00000000, 1]),
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/Secp224r1.swift:26:27: warning: static property 'Characteristic' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'Characteristic' with '@MainActor' if property should only be accessed from the main actor
| `- 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/Secp224r1.swift:34:23: warning: static property 'Generator' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
32 | }
33 |
34 | public static var Generator = Secp224r1(withCoordinates: Parameters.G)
| |- warning: static property 'Generator' is not concurrency-safe because it is non-isolated 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: annotate 'Generator' with '@MainActor' if property should only be accessed from the main actor
| `- 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/Secp224r1.swift:35:23: warning: static property 'Order' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | public static var Generator = Secp224r1(withCoordinates: Parameters.G)
35 | public static var Order: UInt256 = Parameters.n
| |- warning: static property 'Order' is not concurrency-safe because it is non-isolated 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: annotate 'Order' with '@MainActor' if property should only be accessed from the main actor
| `- 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/Secp224r1.swift:37:23: warning: static property 'a' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'a' with '@MainActor' if property should only be accessed from the main actor
| `- 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/Secp224r1.swift:38:23: warning: static property 'b' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'b' with '@MainActor' if property should only be accessed from the main actor
| `- 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/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: annotate 'Parameters' with '@MainActor' if property should only be accessed from the main actor
| `- 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 non-isolated 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 non-isolated 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: annotate 'Characteristic' with '@MainActor' if property should only be accessed from the main actor
| `- 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 non-isolated 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 non-isolated 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: annotate 'InverseCharacteristic' with '@MainActor' if property should only be accessed from the main actor
| `- 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:41:23: warning: static property 'Generator' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'Generator' with '@MainActor' if property should only be accessed from the main actor
| `- 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 non-isolated 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 non-isolated 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: annotate 'Order' with '@MainActor' if property should only be accessed from the main actor
| `- 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 non-isolated 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 non-isolated 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: annotate 'InverseOrder' with '@MainActor' if property should only be accessed from the main actor
| `- 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 non-isolated 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 non-isolated 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: annotate 'a' with '@MainActor' if property should only be accessed from the main actor
| `- 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 non-isolated 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 non-isolated 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: annotate 'b' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'Parameters' with '@MainActor' if property should only be accessed from the main actor
| `- 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 non-isolated 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 non-isolated 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: annotate 'Characteristic' with '@MainActor' if property should only be accessed from the main actor
| `- 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:34:23: warning: static property 'Generator' is not concurrency-safe because it is non-isolated 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 non-isolated 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: annotate 'Generator' with '@MainActor' if property should only be accessed from the main actor
| `- 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 non-isolated 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 non-isolated 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: annotate 'Order' with '@MainActor' if property should only be accessed from the main actor
| `- 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 non-isolated 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 non-isolated 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: annotate 'a' with '@MainActor' if property should only be accessed from the main actor
| `- 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 non-isolated 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 non-isolated 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: annotate 'b' with '@MainActor' if property should only be accessed from the main actor
| `- 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
Build complete! (25.09s)
Fetching https://github.com/mryu87/UInt256.git
[1/561] Fetching uint256
Fetched https://github.com/mryu87/UInt256.git from cache (0.85s)
Computing version for https://github.com/mryu87/UInt256.git
Computed https://github.com/mryu87/UInt256.git at 0.2.0 (0.68s)
Creating working copy for https://github.com/mryu87/UInt256.git
Working copy of https://github.com/mryu87/UInt256.git resolved at 0.2.0
Build complete.
{
"dependencies" : [
{
"identity" : "uint256",
"requirement" : {
"range" : [
{
"lower_bound" : "0.2.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/mryu87/UInt256.git"
}
],
"manifest_display_name" : "EllipticCurve",
"name" : "EllipticCurve",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "EllipticCurve",
"targets" : [
"EllipticCurve"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "EllipticCurve",
"module_type" : "SwiftTarget",
"name" : "EllipticCurve",
"path" : "Sources",
"product_dependencies" : [
"UInt256"
],
"product_memberships" : [
"EllipticCurve"
],
"sources" : [
"CommonCurves/Secp192k1.swift",
"CommonCurves/Secp192r1.swift",
"CommonCurves/Secp224k1.swift",
"CommonCurves/Secp224r1.swift",
"CommonCurves/Secp256k1.swift",
"CommonCurves/Secp256r1.swift",
"EllipticCurve/EllipticCurve+Default.swift",
"EllipticCurve/EllipticCurve.swift",
"EllipticCurve/EllipticCurveOverFiniteField+Default.swift",
"EllipticCurve/EllipticCurveOverFiniteField.swift",
"FiniteField/BasicArithmeticOperations.swift",
"FiniteField/FiniteField.swift",
"FiniteField/FiniteFieldInteger+Default.swift",
"FiniteField/FiniteFieldInteger.swift",
"SignatureAlgorithms/ECDSA.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Done.