Build Information
Successful build of SwiftEdDSA, reference master (3995ea
), with Swift 6.1 for macOS (SPM) on 1 May 2025 11:49:53 UTC.
Swift 6 data race errors: 16
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.61.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/leif-ibsen/SwiftEdDSA.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/leif-ibsen/SwiftEdDSA
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 3995eae Release 4.0.0
Cloned https://github.com/leif-ibsen/SwiftEdDSA.git
Revision (git rev-parse @):
3995eaebbcbed48aceb9d044af9971d436e7ce5a
SUCCESS checkout https://github.com/leif-ibsen/SwiftEdDSA.git at master
Fetching https://github.com/leif-ibsen/ASN1
Fetching https://github.com/leif-ibsen/BigInt
Fetching https://github.com/leif-ibsen/Digest
[1/2427] Fetching asn1
[50/5020] Fetching asn1, digest
[489/10536] Fetching asn1, digest, bigint
Fetched https://github.com/leif-ibsen/BigInt from cache (1.36s)
Fetched https://github.com/leif-ibsen/ASN1 from cache (1.36s)
Fetched https://github.com/leif-ibsen/Digest from cache (1.36s)
Computing version for https://github.com/leif-ibsen/Digest
Computed https://github.com/leif-ibsen/Digest at 1.13.0 (1.81s)
Computing version for https://github.com/leif-ibsen/BigInt
Computed https://github.com/leif-ibsen/BigInt at 1.21.0 (0.42s)
Computing version for https://github.com/leif-ibsen/ASN1
Computed https://github.com/leif-ibsen/ASN1 at 2.7.0 (0.89s)
Creating working copy for https://github.com/leif-ibsen/BigInt
Working copy of https://github.com/leif-ibsen/BigInt resolved at 1.21.0
Creating working copy for https://github.com/leif-ibsen/ASN1
Working copy of https://github.com/leif-ibsen/ASN1 resolved at 2.7.0
Creating working copy for https://github.com/leif-ibsen/Digest
Working copy of https://github.com/leif-ibsen/Digest resolved at 1.13.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "swifteddsa",
"name": "SwiftEdDSA",
"url": "https://github.com/leif-ibsen/SwiftEdDSA.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftEdDSA",
"dependencies": [
{
"identity": "asn1",
"name": "ASN1",
"url": "https://github.com/leif-ibsen/ASN1",
"version": "2.7.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ASN1",
"dependencies": [
{
"identity": "bigint",
"name": "BigInt",
"url": "https://github.com/leif-ibsen/BigInt",
"version": "1.21.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BigInt",
"dependencies": [
]
}
]
},
{
"identity": "bigint",
"name": "BigInt",
"url": "https://github.com/leif-ibsen/BigInt",
"version": "1.21.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BigInt",
"dependencies": [
]
},
{
"identity": "digest",
"name": "Digest",
"url": "https://github.com/leif-ibsen/Digest",
"version": "1.13.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Digest",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/leif-ibsen/SwiftEdDSA.git
[1/1397] Fetching swifteddsa
Fetched https://github.com/leif-ibsen/SwiftEdDSA.git from cache (1.10s)
Fetching https://github.com/leif-ibsen/BigInt from cache
Fetching https://github.com/leif-ibsen/ASN1 from cache
Fetching https://github.com/leif-ibsen/Digest from cache
Fetched https://github.com/leif-ibsen/ASN1 from cache (0.46s)
Fetched https://github.com/leif-ibsen/Digest from cache (0.46s)
Fetched https://github.com/leif-ibsen/BigInt from cache (0.46s)
Computing version for https://github.com/leif-ibsen/Digest
Computed https://github.com/leif-ibsen/Digest at 1.13.0 (0.52s)
Computing version for https://github.com/leif-ibsen/BigInt
Computed https://github.com/leif-ibsen/BigInt at 1.21.0 (0.02s)
Computing version for https://github.com/leif-ibsen/ASN1
Computed https://github.com/leif-ibsen/ASN1 at 2.7.0 (0.03s)
Creating working copy for https://github.com/leif-ibsen/BigInt
Working copy of https://github.com/leif-ibsen/BigInt resolved at 1.21.0
Creating working copy for https://github.com/leif-ibsen/SwiftEdDSA.git
Working copy of https://github.com/leif-ibsen/SwiftEdDSA.git resolved at master (3995eae)
Creating working copy for https://github.com/leif-ibsen/Digest
Working copy of https://github.com/leif-ibsen/Digest resolved at 1.13.0
Creating working copy for https://github.com/leif-ibsen/ASN1
Working copy of https://github.com/leif-ibsen/ASN1 resolved at 2.7.0
warning: '.resolve-product-dependencies': dependency 'swifteddsa' is not used by any target
Found 3 product dependencies
- ASN1
- BigInt
- Digest
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/leif-ibsen/SwiftEdDSA.git
https://github.com/leif-ibsen/SwiftEdDSA.git
{
"dependencies" : [
{
"identity" : "asn1",
"requirement" : {
"range" : [
{
"lower_bound" : "2.7.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/leif-ibsen/ASN1"
},
{
"identity" : "bigint",
"requirement" : {
"range" : [
{
"lower_bound" : "1.21.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/leif-ibsen/BigInt"
},
{
"identity" : "digest",
"requirement" : {
"range" : [
{
"lower_bound" : "1.13.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/leif-ibsen/Digest"
}
],
"manifest_display_name" : "SwiftEdDSA",
"name" : "SwiftEdDSA",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SwiftEdDSA",
"targets" : [
"SwiftEdDSA"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftEdDSATests",
"module_type" : "SwiftTarget",
"name" : "SwiftEdDSATests",
"path" : "Tests/SwiftEdDSATests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftEdDSATests/Resources/katTestKeyGen.rsp",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftEdDSATests/Resources/katTestKeyVer.rsp",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftEdDSATests/Resources/katTestSigGen.rsp",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftEdDSATests/Resources/katTestSigVer.rsp",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"KATTestKeyGen.swift",
"KATTestKeyVer.swift",
"KATTestSigGen.swift",
"KATTestSigVer.swift",
"TestCryptoKit.swift",
"TestDER.swift",
"TestPEM.swift",
"TestSignature25519.swift",
"TestSignature448.swift",
"TestSignatureCT.swift",
"TestSignaturePH.swift"
],
"target_dependencies" : [
"SwiftEdDSA"
],
"type" : "test"
},
{
"c99name" : "SwiftEdDSA",
"module_type" : "SwiftTarget",
"name" : "SwiftEdDSA",
"path" : "Sources/SwiftEdDSA",
"product_dependencies" : [
"BigInt",
"ASN1",
"Digest"
],
"product_memberships" : [
"SwiftEdDSA"
],
"sources" : [
"Ed.swift",
"Ed25519.swift",
"Ed448.swift",
"Point25519.swift",
"Point448.swift",
"PrivateKey.swift",
"PublicKey.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-2F0A5646E1D333AE.txt
[6/27] Compiling BigInt Limbs.swift
[7/28] Compiling BigInt Karatsuba.swift
[8/28] Compiling Digest SHA2.swift
[9/28] Compiling Digest MD.swift
[10/29] Compiling Digest HMAC.swift
[11/29] Compiling BigInt ExpMod.swift
[12/29] Compiling BigInt Factorial.swift
[13/29] Compiling BigInt CRT.swift
[14/29] Compiling BigInt GCD.swift
[15/29] Compiling Digest SHA3.swift
[16/29] Compiling Digest SHAKE.swift
[17/29] Compiling Digest SHA1.swift
[18/29] Compiling BigInt BitSieve.swift
[19/29] Compiling BigInt BurnikelZiegler.swift
[20/29] Compiling BigInt FFT.swift
[21/29] Compiling Digest XOF.swift
[22/29] Compiling BigInt ToomCook.swift
[23/29] Compiling Digest KDF.swift
[24/29] Emitting module Digest
[25/29] Compiling Digest BLAKE.swift
[26/29] Compiling Digest Base64.swift
[27/29] Compiling BigInt BigFrac.swift
[28/29] Compiling BigInt BigInt.swift
[29/29] Emitting module BigInt
[30/50] Emitting module ASN1
[31/52] Compiling ASN1 ASN1SimpleType.swift
[32/52] Compiling ASN1 ASN1T61String.swift
[33/52] Compiling ASN1 ASN1OctetString.swift
[34/52] Compiling ASN1 ASN1PrintableString.swift
[35/52] Compiling ASN1 ASN1IA5String.swift
[36/52] Compiling ASN1 ASN1Integer.swift
[37/52] Compiling ASN1 ASN1Time.swift
[38/52] Compiling ASN1 ASN1UTCTime.swift
[39/52] Compiling ASN1 ASN1UTF8String.swift
[40/52] Compiling ASN1 InputStream.swift
[41/52] Compiling ASN1 ASN1Boolean.swift
[42/52] Compiling ASN1 ASN1Collection.swift
[43/52] Compiling ASN1 ASN1Ctx.swift
[44/52] Compiling ASN1 ASN1Null.swift
[45/52] Compiling ASN1 ASN1ObjectIdentifier.swift
[46/52] Compiling ASN1 ASN1Sequence.swift
[47/52] Compiling ASN1 ASN1Set.swift
[48/52] Compiling ASN1 ASN1Exception.swift
[49/52] Compiling ASN1 ASN1GeneralizedTime.swift
[50/52] Compiling ASN1 ASN1.swift
[51/52] Compiling ASN1 ASN1BMPString.swift
[52/52] Compiling ASN1 ASN1BitString.swift
[53/60] Compiling SwiftEdDSA PrivateKey.swift
[54/60] Compiling SwiftEdDSA Point25519.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftEdDSA/Point25519.swift:12:16: warning: static property 'INFINITY' is not concurrency-safe because non-'Sendable' type 'Point25519' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import BigInt
9 |
10 | struct Point25519 {
| `- note: consider making struct 'Point25519' conform to the 'Sendable' protocol
11 |
12 | static let INFINITY = Point25519()
| |- warning: static property 'INFINITY' is not concurrency-safe because non-'Sendable' type 'Point25519' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INFINITY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | let X: BInt
/Users/admin/builder/spi-builder-workspace/Sources/SwiftEdDSA/Point25519.swift:121:16: warning: static property 'gPoints' is not concurrency-safe because non-'Sendable' type '[Point25519]' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import BigInt
9 |
10 | struct Point25519 {
| `- note: consider making struct 'Point25519' conform to the 'Sendable' protocol
11 |
12 | static let INFINITY = Point25519()
:
119 | // Precomputed multiples of the generator point
120 |
121 | static let gPoints: [Point25519] = [
| |- warning: static property 'gPoints' is not concurrency-safe because non-'Sendable' type '[Point25519]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gPoints' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 | Point25519(
123 | BInt("15112221349535400772501151409588531511454012693041857206046113283949847762202")!,
[55/60] Compiling SwiftEdDSA Ed25519.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftEdDSA/Ed25519.swift:16:16: warning: static property 'P' is not concurrency-safe because non-'Sendable' type 'BInt' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | static let P = BInt.ONE << 255 - 19
| `- warning: static property 'P' is not concurrency-safe because non-'Sendable' type 'BInt' may have shared mutable state; this is an error in the Swift 6 language mode
17 | static let L = BInt.ONE << 252 + BInt("27742317777372353535851937790883648493")!
18 | static let D = BInt("37095705934669439343138083508754565189542113879843219016388785533085940283555")!
/Users/admin/builder/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:31:15: note: struct 'BInt' does not conform to the 'Sendable' protocol
29 | infix operator ** : ExponentiationPrecedence
30 |
31 | public struct BInt: CustomStringConvertible, Comparable, Equatable, Hashable {
| `- note: struct 'BInt' does not conform to the 'Sendable' protocol
32 |
33 | // MARK: - Constants
/Users/admin/builder/spi-builder-workspace/Sources/SwiftEdDSA/Ed25519.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'BigInt'
6 | //
7 |
8 | import BigInt
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'BigInt'
9 |
10 | class Ed25519 {
:
14 | }
15 |
16 | static let P = BInt.ONE << 255 - 19
| |- note: add '@MainActor' to make static property 'P' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | static let L = BInt.ONE << 252 + BInt("27742317777372353535851937790883648493")!
18 | static let D = BInt("37095705934669439343138083508754565189542113879843219016388785533085940283555")!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftEdDSA/Ed25519.swift:17:16: warning: static property 'L' is not concurrency-safe because non-'Sendable' type 'BInt' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | static let P = BInt.ONE << 255 - 19
17 | static let L = BInt.ONE << 252 + BInt("27742317777372353535851937790883648493")!
| |- warning: static property 'L' is not concurrency-safe because non-'Sendable' type 'BInt' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'L' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | static let D = BInt("37095705934669439343138083508754565189542113879843219016388785533085940283555")!
19 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:31:15: note: struct 'BInt' does not conform to the 'Sendable' protocol
29 | infix operator ** : ExponentiationPrecedence
30 |
31 | public struct BInt: CustomStringConvertible, Comparable, Equatable, Hashable {
| `- note: struct 'BInt' does not conform to the 'Sendable' protocol
32 |
33 | // MARK: - Constants
/Users/admin/builder/spi-builder-workspace/Sources/SwiftEdDSA/Ed25519.swift:18:16: warning: static property 'D' is not concurrency-safe because non-'Sendable' type 'BInt' may have shared mutable state; this is an error in the Swift 6 language mode
16 | static let P = BInt.ONE << 255 - 19
17 | static let L = BInt.ONE << 252 + BInt("27742317777372353535851937790883648493")!
18 | static let D = BInt("37095705934669439343138083508754565189542113879843219016388785533085940283555")!
| |- warning: static property 'D' is not concurrency-safe because non-'Sendable' type 'BInt' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'D' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | // [RFC-8032] - section 5.1.3
/Users/admin/builder/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:31:15: note: struct 'BInt' does not conform to the 'Sendable' protocol
29 | infix operator ** : ExponentiationPrecedence
30 |
31 | public struct BInt: CustomStringConvertible, Comparable, Equatable, Hashable {
| `- note: struct 'BInt' does not conform to the 'Sendable' protocol
32 |
33 | // MARK: - Constants
/Users/admin/builder/spi-builder-workspace/Sources/SwiftEdDSA/Ed25519.swift:57:16: warning: static property 'uL' is not concurrency-safe because non-'Sendable' type 'BInt' may have shared mutable state; this is an error in the Swift 6 language mode
55 | // Barrett reduction
56 |
57 | static let uL = (BInt.ONE << 512) / Ed25519.L
| |- warning: static property 'uL' is not concurrency-safe because non-'Sendable' type 'BInt' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uL' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 |
59 | static func reduceModL(_ x: BInt) -> BInt {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:31:15: note: struct 'BInt' does not conform to the 'Sendable' protocol
29 | infix operator ** : ExponentiationPrecedence
30 |
31 | public struct BInt: CustomStringConvertible, Comparable, Equatable, Hashable {
| `- note: struct 'BInt' does not conform to the 'Sendable' protocol
32 |
33 | // MARK: - Constants
/Users/admin/builder/spi-builder-workspace/Sources/SwiftEdDSA/Ed25519.swift:64:16: warning: static property 'uP' is not concurrency-safe because non-'Sendable' type 'BInt' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | static let uP = (BInt.ONE << 512) / Ed25519.P
| |- warning: static property 'uP' is not concurrency-safe because non-'Sendable' type 'BInt' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uP' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | static func reduceModP(_ x: BInt) -> BInt {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:31:15: note: struct 'BInt' does not conform to the 'Sendable' protocol
29 | infix operator ** : ExponentiationPrecedence
30 |
31 | public struct BInt: CustomStringConvertible, Comparable, Equatable, Hashable {
| `- note: struct 'BInt' does not conform to the 'Sendable' protocol
32 |
33 | // MARK: - Constants
[56/60] Compiling SwiftEdDSA Ed448.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftEdDSA/Ed448.swift:16:16: warning: static property 'P' is not concurrency-safe because non-'Sendable' type 'BInt' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | static let P = (BInt.ONE << 448) - (BInt.ONE << 224) - 1
| `- warning: static property 'P' is not concurrency-safe because non-'Sendable' type 'BInt' may have shared mutable state; this is an error in the Swift 6 language mode
17 | static let L = BInt.ONE << 446 - BInt("13818066809895115352007386748515426880336692474882178609894547503885")!
18 | static let D = BInt("726838724295606890549323807888004534353641360687318060281490199180612328166730772686396383698676545930088884461843637361053498018326358")!
/Users/admin/builder/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:31:15: note: struct 'BInt' does not conform to the 'Sendable' protocol
29 | infix operator ** : ExponentiationPrecedence
30 |
31 | public struct BInt: CustomStringConvertible, Comparable, Equatable, Hashable {
| `- note: struct 'BInt' does not conform to the 'Sendable' protocol
32 |
33 | // MARK: - Constants
/Users/admin/builder/spi-builder-workspace/Sources/SwiftEdDSA/Ed448.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'BigInt'
6 | //
7 |
8 | import BigInt
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'BigInt'
9 |
10 | class Ed448 {
:
14 | }
15 |
16 | static let P = (BInt.ONE << 448) - (BInt.ONE << 224) - 1
| |- note: add '@MainActor' to make static property 'P' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | static let L = BInt.ONE << 446 - BInt("13818066809895115352007386748515426880336692474882178609894547503885")!
18 | static let D = BInt("726838724295606890549323807888004534353641360687318060281490199180612328166730772686396383698676545930088884461843637361053498018326358")!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftEdDSA/Ed448.swift:17:16: warning: static property 'L' is not concurrency-safe because non-'Sendable' type 'BInt' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | static let P = (BInt.ONE << 448) - (BInt.ONE << 224) - 1
17 | static let L = BInt.ONE << 446 - BInt("13818066809895115352007386748515426880336692474882178609894547503885")!
| |- warning: static property 'L' is not concurrency-safe because non-'Sendable' type 'BInt' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'L' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | static let D = BInt("726838724295606890549323807888004534353641360687318060281490199180612328166730772686396383698676545930088884461843637361053498018326358")!
19 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:31:15: note: struct 'BInt' does not conform to the 'Sendable' protocol
29 | infix operator ** : ExponentiationPrecedence
30 |
31 | public struct BInt: CustomStringConvertible, Comparable, Equatable, Hashable {
| `- note: struct 'BInt' does not conform to the 'Sendable' protocol
32 |
33 | // MARK: - Constants
/Users/admin/builder/spi-builder-workspace/Sources/SwiftEdDSA/Ed448.swift:18:16: warning: static property 'D' is not concurrency-safe because non-'Sendable' type 'BInt' may have shared mutable state; this is an error in the Swift 6 language mode
16 | static let P = (BInt.ONE << 448) - (BInt.ONE << 224) - 1
17 | static let L = BInt.ONE << 446 - BInt("13818066809895115352007386748515426880336692474882178609894547503885")!
18 | static let D = BInt("726838724295606890549323807888004534353641360687318060281490199180612328166730772686396383698676545930088884461843637361053498018326358")!
| |- warning: static property 'D' is not concurrency-safe because non-'Sendable' type 'BInt' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'D' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | // [RFC-8032] - section 5.2.3
/Users/admin/builder/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:31:15: note: struct 'BInt' does not conform to the 'Sendable' protocol
29 | infix operator ** : ExponentiationPrecedence
30 |
31 | public struct BInt: CustomStringConvertible, Comparable, Equatable, Hashable {
| `- note: struct 'BInt' does not conform to the 'Sendable' protocol
32 |
33 | // MARK: - Constants
/Users/admin/builder/spi-builder-workspace/Sources/SwiftEdDSA/Ed448.swift:57:16: warning: static property 'uL' is not concurrency-safe because non-'Sendable' type 'BInt' may have shared mutable state; this is an error in the Swift 6 language mode
55 | // Barrett reduction
56 |
57 | static let uL = (BInt.ONE << 1024) / Ed448.L
| |- warning: static property 'uL' is not concurrency-safe because non-'Sendable' type 'BInt' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uL' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 |
59 | static func reduceModL(_ x: BInt) -> BInt {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:31:15: note: struct 'BInt' does not conform to the 'Sendable' protocol
29 | infix operator ** : ExponentiationPrecedence
30 |
31 | public struct BInt: CustomStringConvertible, Comparable, Equatable, Hashable {
| `- note: struct 'BInt' does not conform to the 'Sendable' protocol
32 |
33 | // MARK: - Constants
/Users/admin/builder/spi-builder-workspace/Sources/SwiftEdDSA/Ed448.swift:64:16: warning: static property 'uP' is not concurrency-safe because non-'Sendable' type 'BInt' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | static let uP = (BInt.ONE << 1024) / Ed448.P
| |- warning: static property 'uP' is not concurrency-safe because non-'Sendable' type 'BInt' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uP' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | static func reduceModP(_ x: BInt) -> BInt {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:31:15: note: struct 'BInt' does not conform to the 'Sendable' protocol
29 | infix operator ** : ExponentiationPrecedence
30 |
31 | public struct BInt: CustomStringConvertible, Comparable, Equatable, Hashable {
| `- note: struct 'BInt' does not conform to the 'Sendable' protocol
32 |
33 | // MARK: - Constants
[57/60] Compiling SwiftEdDSA PublicKey.swift
[58/60] Compiling SwiftEdDSA Ed.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftEdDSA/Ed.swift:20:16: warning: static property 'OID25519' is not concurrency-safe because non-'Sendable' type 'ASN1ObjectIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
18 | public class Ed {
19 |
20 | static let OID25519 = ASN1ObjectIdentifier("1.3.101.112")!
| `- warning: static property 'OID25519' is not concurrency-safe because non-'Sendable' type 'ASN1ObjectIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
21 | static let OID448 = ASN1ObjectIdentifier("1.3.101.113")!
22 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ASN1/Sources/ASN1/ASN1ObjectIdentifier.swift:12:14: note: class 'ASN1ObjectIdentifier' does not conform to the 'Sendable' protocol
10 |
11 | /// The `ASN1` ObjectIdentifier class
12 | public class ASN1ObjectIdentifier: ASN1SimpleType, CustomStringConvertible, Hashable {
| `- note: class 'ASN1ObjectIdentifier' does not conform to the 'Sendable' protocol
13 |
14 | // MARK: - Initializers
/Users/admin/builder/spi-builder-workspace/Sources/SwiftEdDSA/Ed.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ASN1'
7 |
8 | import Foundation
9 | import ASN1
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ASN1'
10 | import BigInt
11 |
:
18 | public class Ed {
19 |
20 | static let OID25519 = ASN1ObjectIdentifier("1.3.101.112")!
| |- note: add '@MainActor' to make static property 'OID25519' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static let OID448 = ASN1ObjectIdentifier("1.3.101.113")!
22 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftEdDSA/Ed.swift:21:16: warning: static property 'OID448' is not concurrency-safe because non-'Sendable' type 'ASN1ObjectIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | static let OID25519 = ASN1ObjectIdentifier("1.3.101.112")!
21 | static let OID448 = ASN1ObjectIdentifier("1.3.101.113")!
| |- warning: static property 'OID448' is not concurrency-safe because non-'Sendable' type 'ASN1ObjectIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'OID448' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | // Not to be instantiated
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ASN1/Sources/ASN1/ASN1ObjectIdentifier.swift:12:14: note: class 'ASN1ObjectIdentifier' does not conform to the 'Sendable' protocol
10 |
11 | /// The `ASN1` ObjectIdentifier class
12 | public class ASN1ObjectIdentifier: ASN1SimpleType, CustomStringConvertible, Hashable {
| `- note: class 'ASN1ObjectIdentifier' does not conform to the 'Sendable' protocol
13 |
14 | // MARK: - Initializers
[59/60] Compiling SwiftEdDSA Point448.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftEdDSA/Point448.swift:12:16: warning: static property 'INFINITY' is not concurrency-safe because non-'Sendable' type 'Point448' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import BigInt
9 |
10 | struct Point448 {
| `- note: consider making struct 'Point448' conform to the 'Sendable' protocol
11 |
12 | static let INFINITY = Point448()
| |- warning: static property 'INFINITY' is not concurrency-safe because non-'Sendable' type 'Point448' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INFINITY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | let X: BInt
/Users/admin/builder/spi-builder-workspace/Sources/SwiftEdDSA/Point448.swift:116:16: warning: static property 'gPoints' is not concurrency-safe because non-'Sendable' type '[Point448]' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import BigInt
9 |
10 | struct Point448 {
| `- note: consider making struct 'Point448' conform to the 'Sendable' protocol
11 |
12 | static let INFINITY = Point448()
:
114 | // Precomputed multiples of the generator point
115 |
116 | static let gPoints: [Point448] = [
| |- warning: static property 'gPoints' is not concurrency-safe because non-'Sendable' type '[Point448]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gPoints' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 | Point448(
118 | BInt("224580040295924300187604334099896036246789641632564134246125461686950415467406032909029192869357953282578032075146446173674602635247710")!,
[60/60] Emitting module SwiftEdDSA
/Users/admin/builder/spi-builder-workspace/Sources/SwiftEdDSA/Ed.swift:20:16: warning: static property 'OID25519' is not concurrency-safe because non-'Sendable' type 'ASN1ObjectIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
18 | public class Ed {
19 |
20 | static let OID25519 = ASN1ObjectIdentifier("1.3.101.112")!
| `- warning: static property 'OID25519' is not concurrency-safe because non-'Sendable' type 'ASN1ObjectIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
21 | static let OID448 = ASN1ObjectIdentifier("1.3.101.113")!
22 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ASN1/Sources/ASN1/ASN1ObjectIdentifier.swift:12:14: note: class 'ASN1ObjectIdentifier' does not conform to the 'Sendable' protocol
10 |
11 | /// The `ASN1` ObjectIdentifier class
12 | public class ASN1ObjectIdentifier: ASN1SimpleType, CustomStringConvertible, Hashable {
| `- note: class 'ASN1ObjectIdentifier' does not conform to the 'Sendable' protocol
13 |
14 | // MARK: - Initializers
/Users/admin/builder/spi-builder-workspace/Sources/SwiftEdDSA/Ed.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ASN1'
7 |
8 | import Foundation
9 | import ASN1
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ASN1'
10 | import BigInt
11 |
:
18 | public class Ed {
19 |
20 | static let OID25519 = ASN1ObjectIdentifier("1.3.101.112")!
| |- note: add '@MainActor' to make static property 'OID25519' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static let OID448 = ASN1ObjectIdentifier("1.3.101.113")!
22 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftEdDSA/Ed.swift:21:16: warning: static property 'OID448' is not concurrency-safe because non-'Sendable' type 'ASN1ObjectIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | static let OID25519 = ASN1ObjectIdentifier("1.3.101.112")!
21 | static let OID448 = ASN1ObjectIdentifier("1.3.101.113")!
| |- warning: static property 'OID448' is not concurrency-safe because non-'Sendable' type 'ASN1ObjectIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'OID448' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | // Not to be instantiated
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ASN1/Sources/ASN1/ASN1ObjectIdentifier.swift:12:14: note: class 'ASN1ObjectIdentifier' does not conform to the 'Sendable' protocol
10 |
11 | /// The `ASN1` ObjectIdentifier class
12 | public class ASN1ObjectIdentifier: ASN1SimpleType, CustomStringConvertible, Hashable {
| `- note: class 'ASN1ObjectIdentifier' does not conform to the 'Sendable' protocol
13 |
14 | // MARK: - Initializers
/Users/admin/builder/spi-builder-workspace/Sources/SwiftEdDSA/Ed25519.swift:16:16: warning: static property 'P' is not concurrency-safe because non-'Sendable' type 'BInt' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | static let P = BInt.ONE << 255 - 19
| `- warning: static property 'P' is not concurrency-safe because non-'Sendable' type 'BInt' may have shared mutable state; this is an error in the Swift 6 language mode
17 | static let L = BInt.ONE << 252 + BInt("27742317777372353535851937790883648493")!
18 | static let D = BInt("37095705934669439343138083508754565189542113879843219016388785533085940283555")!
/Users/admin/builder/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:31:15: note: struct 'BInt' does not conform to the 'Sendable' protocol
29 | infix operator ** : ExponentiationPrecedence
30 |
31 | public struct BInt: CustomStringConvertible, Comparable, Equatable, Hashable {
| `- note: struct 'BInt' does not conform to the 'Sendable' protocol
32 |
33 | // MARK: - Constants
/Users/admin/builder/spi-builder-workspace/Sources/SwiftEdDSA/Ed25519.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'BigInt'
6 | //
7 |
8 | import BigInt
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'BigInt'
9 |
10 | class Ed25519 {
:
14 | }
15 |
16 | static let P = BInt.ONE << 255 - 19
| |- note: add '@MainActor' to make static property 'P' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | static let L = BInt.ONE << 252 + BInt("27742317777372353535851937790883648493")!
18 | static let D = BInt("37095705934669439343138083508754565189542113879843219016388785533085940283555")!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftEdDSA/Ed25519.swift:17:16: warning: static property 'L' is not concurrency-safe because non-'Sendable' type 'BInt' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | static let P = BInt.ONE << 255 - 19
17 | static let L = BInt.ONE << 252 + BInt("27742317777372353535851937790883648493")!
| |- warning: static property 'L' is not concurrency-safe because non-'Sendable' type 'BInt' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'L' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | static let D = BInt("37095705934669439343138083508754565189542113879843219016388785533085940283555")!
19 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:31:15: note: struct 'BInt' does not conform to the 'Sendable' protocol
29 | infix operator ** : ExponentiationPrecedence
30 |
31 | public struct BInt: CustomStringConvertible, Comparable, Equatable, Hashable {
| `- note: struct 'BInt' does not conform to the 'Sendable' protocol
32 |
33 | // MARK: - Constants
/Users/admin/builder/spi-builder-workspace/Sources/SwiftEdDSA/Ed25519.swift:18:16: warning: static property 'D' is not concurrency-safe because non-'Sendable' type 'BInt' may have shared mutable state; this is an error in the Swift 6 language mode
16 | static let P = BInt.ONE << 255 - 19
17 | static let L = BInt.ONE << 252 + BInt("27742317777372353535851937790883648493")!
18 | static let D = BInt("37095705934669439343138083508754565189542113879843219016388785533085940283555")!
| |- warning: static property 'D' is not concurrency-safe because non-'Sendable' type 'BInt' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'D' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | // [RFC-8032] - section 5.1.3
/Users/admin/builder/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:31:15: note: struct 'BInt' does not conform to the 'Sendable' protocol
29 | infix operator ** : ExponentiationPrecedence
30 |
31 | public struct BInt: CustomStringConvertible, Comparable, Equatable, Hashable {
| `- note: struct 'BInt' does not conform to the 'Sendable' protocol
32 |
33 | // MARK: - Constants
/Users/admin/builder/spi-builder-workspace/Sources/SwiftEdDSA/Ed25519.swift:57:16: warning: static property 'uL' is not concurrency-safe because non-'Sendable' type 'BInt' may have shared mutable state; this is an error in the Swift 6 language mode
55 | // Barrett reduction
56 |
57 | static let uL = (BInt.ONE << 512) / Ed25519.L
| |- warning: static property 'uL' is not concurrency-safe because non-'Sendable' type 'BInt' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uL' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 |
59 | static func reduceModL(_ x: BInt) -> BInt {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:31:15: note: struct 'BInt' does not conform to the 'Sendable' protocol
29 | infix operator ** : ExponentiationPrecedence
30 |
31 | public struct BInt: CustomStringConvertible, Comparable, Equatable, Hashable {
| `- note: struct 'BInt' does not conform to the 'Sendable' protocol
32 |
33 | // MARK: - Constants
/Users/admin/builder/spi-builder-workspace/Sources/SwiftEdDSA/Ed25519.swift:64:16: warning: static property 'uP' is not concurrency-safe because non-'Sendable' type 'BInt' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | static let uP = (BInt.ONE << 512) / Ed25519.P
| |- warning: static property 'uP' is not concurrency-safe because non-'Sendable' type 'BInt' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uP' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | static func reduceModP(_ x: BInt) -> BInt {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:31:15: note: struct 'BInt' does not conform to the 'Sendable' protocol
29 | infix operator ** : ExponentiationPrecedence
30 |
31 | public struct BInt: CustomStringConvertible, Comparable, Equatable, Hashable {
| `- note: struct 'BInt' does not conform to the 'Sendable' protocol
32 |
33 | // MARK: - Constants
/Users/admin/builder/spi-builder-workspace/Sources/SwiftEdDSA/Ed448.swift:16:16: warning: static property 'P' is not concurrency-safe because non-'Sendable' type 'BInt' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | static let P = (BInt.ONE << 448) - (BInt.ONE << 224) - 1
| `- warning: static property 'P' is not concurrency-safe because non-'Sendable' type 'BInt' may have shared mutable state; this is an error in the Swift 6 language mode
17 | static let L = BInt.ONE << 446 - BInt("13818066809895115352007386748515426880336692474882178609894547503885")!
18 | static let D = BInt("726838724295606890549323807888004534353641360687318060281490199180612328166730772686396383698676545930088884461843637361053498018326358")!
/Users/admin/builder/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:31:15: note: struct 'BInt' does not conform to the 'Sendable' protocol
29 | infix operator ** : ExponentiationPrecedence
30 |
31 | public struct BInt: CustomStringConvertible, Comparable, Equatable, Hashable {
| `- note: struct 'BInt' does not conform to the 'Sendable' protocol
32 |
33 | // MARK: - Constants
/Users/admin/builder/spi-builder-workspace/Sources/SwiftEdDSA/Ed448.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'BigInt'
6 | //
7 |
8 | import BigInt
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'BigInt'
9 |
10 | class Ed448 {
:
14 | }
15 |
16 | static let P = (BInt.ONE << 448) - (BInt.ONE << 224) - 1
| |- note: add '@MainActor' to make static property 'P' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | static let L = BInt.ONE << 446 - BInt("13818066809895115352007386748515426880336692474882178609894547503885")!
18 | static let D = BInt("726838724295606890549323807888004534353641360687318060281490199180612328166730772686396383698676545930088884461843637361053498018326358")!
/Users/admin/builder/spi-builder-workspace/Sources/SwiftEdDSA/Ed448.swift:17:16: warning: static property 'L' is not concurrency-safe because non-'Sendable' type 'BInt' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | static let P = (BInt.ONE << 448) - (BInt.ONE << 224) - 1
17 | static let L = BInt.ONE << 446 - BInt("13818066809895115352007386748515426880336692474882178609894547503885")!
| |- warning: static property 'L' is not concurrency-safe because non-'Sendable' type 'BInt' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'L' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | static let D = BInt("726838724295606890549323807888004534353641360687318060281490199180612328166730772686396383698676545930088884461843637361053498018326358")!
19 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:31:15: note: struct 'BInt' does not conform to the 'Sendable' protocol
29 | infix operator ** : ExponentiationPrecedence
30 |
31 | public struct BInt: CustomStringConvertible, Comparable, Equatable, Hashable {
| `- note: struct 'BInt' does not conform to the 'Sendable' protocol
32 |
33 | // MARK: - Constants
/Users/admin/builder/spi-builder-workspace/Sources/SwiftEdDSA/Ed448.swift:18:16: warning: static property 'D' is not concurrency-safe because non-'Sendable' type 'BInt' may have shared mutable state; this is an error in the Swift 6 language mode
16 | static let P = (BInt.ONE << 448) - (BInt.ONE << 224) - 1
17 | static let L = BInt.ONE << 446 - BInt("13818066809895115352007386748515426880336692474882178609894547503885")!
18 | static let D = BInt("726838724295606890549323807888004534353641360687318060281490199180612328166730772686396383698676545930088884461843637361053498018326358")!
| |- warning: static property 'D' is not concurrency-safe because non-'Sendable' type 'BInt' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'D' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | // [RFC-8032] - section 5.2.3
/Users/admin/builder/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:31:15: note: struct 'BInt' does not conform to the 'Sendable' protocol
29 | infix operator ** : ExponentiationPrecedence
30 |
31 | public struct BInt: CustomStringConvertible, Comparable, Equatable, Hashable {
| `- note: struct 'BInt' does not conform to the 'Sendable' protocol
32 |
33 | // MARK: - Constants
/Users/admin/builder/spi-builder-workspace/Sources/SwiftEdDSA/Ed448.swift:57:16: warning: static property 'uL' is not concurrency-safe because non-'Sendable' type 'BInt' may have shared mutable state; this is an error in the Swift 6 language mode
55 | // Barrett reduction
56 |
57 | static let uL = (BInt.ONE << 1024) / Ed448.L
| |- warning: static property 'uL' is not concurrency-safe because non-'Sendable' type 'BInt' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uL' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 |
59 | static func reduceModL(_ x: BInt) -> BInt {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:31:15: note: struct 'BInt' does not conform to the 'Sendable' protocol
29 | infix operator ** : ExponentiationPrecedence
30 |
31 | public struct BInt: CustomStringConvertible, Comparable, Equatable, Hashable {
| `- note: struct 'BInt' does not conform to the 'Sendable' protocol
32 |
33 | // MARK: - Constants
/Users/admin/builder/spi-builder-workspace/Sources/SwiftEdDSA/Ed448.swift:64:16: warning: static property 'uP' is not concurrency-safe because non-'Sendable' type 'BInt' may have shared mutable state; this is an error in the Swift 6 language mode
62 | }
63 |
64 | static let uP = (BInt.ONE << 1024) / Ed448.P
| |- warning: static property 'uP' is not concurrency-safe because non-'Sendable' type 'BInt' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uP' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | static func reduceModP(_ x: BInt) -> BInt {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:31:15: note: struct 'BInt' does not conform to the 'Sendable' protocol
29 | infix operator ** : ExponentiationPrecedence
30 |
31 | public struct BInt: CustomStringConvertible, Comparable, Equatable, Hashable {
| `- note: struct 'BInt' does not conform to the 'Sendable' protocol
32 |
33 | // MARK: - Constants
/Users/admin/builder/spi-builder-workspace/Sources/SwiftEdDSA/Point25519.swift:12:16: warning: static property 'INFINITY' is not concurrency-safe because non-'Sendable' type 'Point25519' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import BigInt
9 |
10 | struct Point25519 {
| `- note: consider making struct 'Point25519' conform to the 'Sendable' protocol
11 |
12 | static let INFINITY = Point25519()
| |- warning: static property 'INFINITY' is not concurrency-safe because non-'Sendable' type 'Point25519' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INFINITY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | let X: BInt
/Users/admin/builder/spi-builder-workspace/Sources/SwiftEdDSA/Point25519.swift:121:16: warning: static property 'gPoints' is not concurrency-safe because non-'Sendable' type '[Point25519]' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import BigInt
9 |
10 | struct Point25519 {
| `- note: consider making struct 'Point25519' conform to the 'Sendable' protocol
11 |
12 | static let INFINITY = Point25519()
:
119 | // Precomputed multiples of the generator point
120 |
121 | static let gPoints: [Point25519] = [
| |- warning: static property 'gPoints' is not concurrency-safe because non-'Sendable' type '[Point25519]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gPoints' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 | Point25519(
123 | BInt("15112221349535400772501151409588531511454012693041857206046113283949847762202")!,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftEdDSA/Point448.swift:12:16: warning: static property 'INFINITY' is not concurrency-safe because non-'Sendable' type 'Point448' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import BigInt
9 |
10 | struct Point448 {
| `- note: consider making struct 'Point448' conform to the 'Sendable' protocol
11 |
12 | static let INFINITY = Point448()
| |- warning: static property 'INFINITY' is not concurrency-safe because non-'Sendable' type 'Point448' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'INFINITY' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | let X: BInt
/Users/admin/builder/spi-builder-workspace/Sources/SwiftEdDSA/Point448.swift:116:16: warning: static property 'gPoints' is not concurrency-safe because non-'Sendable' type '[Point448]' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import BigInt
9 |
10 | struct Point448 {
| `- note: consider making struct 'Point448' conform to the 'Sendable' protocol
11 |
12 | static let INFINITY = Point448()
:
114 | // Precomputed multiples of the generator point
115 |
116 | static let gPoints: [Point448] = [
| |- warning: static property 'gPoints' is not concurrency-safe because non-'Sendable' type '[Point448]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'gPoints' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 | Point448(
118 | BInt("224580040295924300187604334099896036246789641632564134246125461686950415467406032909029192869357953282578032075146446173674602635247710")!,
Build complete! (9.11s)
Build complete.
{
"dependencies" : [
{
"identity" : "asn1",
"requirement" : {
"range" : [
{
"lower_bound" : "2.7.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/leif-ibsen/ASN1"
},
{
"identity" : "bigint",
"requirement" : {
"range" : [
{
"lower_bound" : "1.21.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/leif-ibsen/BigInt"
},
{
"identity" : "digest",
"requirement" : {
"range" : [
{
"lower_bound" : "1.13.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/leif-ibsen/Digest"
}
],
"manifest_display_name" : "SwiftEdDSA",
"name" : "SwiftEdDSA",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SwiftEdDSA",
"targets" : [
"SwiftEdDSA"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftEdDSATests",
"module_type" : "SwiftTarget",
"name" : "SwiftEdDSATests",
"path" : "Tests/SwiftEdDSATests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftEdDSATests/Resources/katTestKeyGen.rsp",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftEdDSATests/Resources/katTestKeyVer.rsp",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftEdDSATests/Resources/katTestSigGen.rsp",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftEdDSATests/Resources/katTestSigVer.rsp",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"KATTestKeyGen.swift",
"KATTestKeyVer.swift",
"KATTestSigGen.swift",
"KATTestSigVer.swift",
"TestCryptoKit.swift",
"TestDER.swift",
"TestPEM.swift",
"TestSignature25519.swift",
"TestSignature448.swift",
"TestSignatureCT.swift",
"TestSignaturePH.swift"
],
"target_dependencies" : [
"SwiftEdDSA"
],
"type" : "test"
},
{
"c99name" : "SwiftEdDSA",
"module_type" : "SwiftTarget",
"name" : "SwiftEdDSA",
"path" : "Sources/SwiftEdDSA",
"product_dependencies" : [
"BigInt",
"ASN1",
"Digest"
],
"product_memberships" : [
"SwiftEdDSA"
],
"sources" : [
"Ed.swift",
"Ed25519.swift",
"Ed448.swift",
"Point25519.swift",
"Point448.swift",
"PrivateKey.swift",
"PublicKey.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.