Build Information
Successful build of Paseto, reference main (811e25
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 00:40:59 UTC.
Swift 6 data race errors: 9
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/aidantwoods/swift-paseto.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/aidantwoods/swift-paseto
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 811e258 Merge pull request #18 from frederikbosch/patch-2
Cloned https://github.com/aidantwoods/swift-paseto.git
Revision (git rev-parse @):
811e2589a7eb65c16a39e64841034e11daa803a2
SUCCESS checkout https://github.com/aidantwoods/swift-paseto.git at main
Fetching https://github.com/aidantwoods/swift-sodium.git
[1/3508] Fetching swift-sodium
Fetched https://github.com/aidantwoods/swift-sodium.git from cache (3.03s)
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/aidantwoods/TypedJSON.git
[1/84] Fetching typedjson
[85/12787] Fetching typedjson, cryptoswift
Fetched https://github.com/aidantwoods/TypedJSON.git from cache (2.06s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (2.06s)
Computing version for https://github.com/aidantwoods/TypedJSON.git
Computed https://github.com/aidantwoods/TypedJSON.git at 0.1.2 (0.61s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.8.3 (0.66s)
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.8.3
Creating working copy for https://github.com/aidantwoods/TypedJSON.git
Working copy of https://github.com/aidantwoods/TypedJSON.git resolved at 0.1.2
Creating working copy for https://github.com/aidantwoods/swift-sodium.git
Working copy of https://github.com/aidantwoods/swift-sodium.git resolved at full-clibsodium-build (eeb18f6)
========================================
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": "swift-paseto",
"name": "Paseto",
"url": "https://github.com/aidantwoods/swift-paseto.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-paseto",
"dependencies": [
{
"identity": "swift-sodium",
"name": "Sodium",
"url": "https://github.com/aidantwoods/swift-sodium.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-sodium",
"dependencies": [
]
},
{
"identity": "cryptoswift",
"name": "CryptoSwift",
"url": "https://github.com/krzyzanowskim/CryptoSwift.git",
"version": "1.8.3",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CryptoSwift",
"dependencies": [
]
},
{
"identity": "typedjson",
"name": "TypedJSON",
"url": "https://github.com/aidantwoods/TypedJSON.git",
"version": "0.1.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/TypedJSON",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/aidantwoods/swift-paseto.git
[1/1800] Fetching swift-paseto
Fetched https://github.com/aidantwoods/swift-paseto.git from cache (0.96s)
Fetching https://github.com/aidantwoods/swift-sodium.git from cache
Fetched https://github.com/aidantwoods/swift-sodium.git from cache (0.47s)
Fetching https://github.com/aidantwoods/TypedJSON.git from cache
Fetching https://github.com/krzyzanowskim/CryptoSwift.git from cache
Fetched https://github.com/aidantwoods/TypedJSON.git from cache (0.58s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (0.58s)
Computing version for https://github.com/aidantwoods/TypedJSON.git
Computed https://github.com/aidantwoods/TypedJSON.git at 0.1.2 (0.03s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.8.3 (0.03s)
Creating working copy for https://github.com/aidantwoods/TypedJSON.git
Working copy of https://github.com/aidantwoods/TypedJSON.git resolved at 0.1.2
Creating working copy for https://github.com/aidantwoods/swift-paseto.git
Working copy of https://github.com/aidantwoods/swift-paseto.git resolved at main (811e258)
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.8.3
Creating working copy for https://github.com/aidantwoods/swift-sodium.git
Working copy of https://github.com/aidantwoods/swift-sodium.git resolved at full-clibsodium-build (eeb18f6)
warning: '.resolve-product-dependencies': dependency 'swift-paseto' is not used by any target
Found 3 product dependencies
- Sodium
- CryptoSwift
- TypedJSON
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/aidantwoods/swift-paseto.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/7] Write sources
[1/7] Copying libsodium.a
[4/7] Write sources
[5/7] Copying PrivacyInfo.xcprivacy
[6/7] Write swift-version--7754E27361AE5C74.txt
[8/136] Emitting module Sodium
[9/138] Compiling CryptoSwift GCM.swift
[10/138] Compiling CryptoSwift OCB.swift
[11/138] Compiling CryptoSwift OFB.swift
[12/138] Compiling CryptoSwift PCBC.swift
[13/138] Compiling CryptoSwift Blowfish.swift
[14/138] Compiling CryptoSwift CBCMAC.swift
[15/138] Compiling CryptoSwift CMAC.swift
[16/138] Compiling CryptoSwift Addition.swift
[17/138] Compiling CryptoSwift BigInt.swift
[18/138] Compiling CryptoSwift BigUInt.swift
[19/138] Compiling CryptoSwift BitwiseOps.swift
[20/138] Compiling CryptoSwift CS.swift
[21/149] Compiling CryptoSwift Bit.swift
[22/149] Compiling CryptoSwift BlockCipher.swift
[23/149] Compiling CryptoSwift BlockDecryptor.swift
[24/149] Compiling CryptoSwift BlockEncryptor.swift
[25/149] Compiling CryptoSwift BlockMode.swift
[26/149] Compiling CryptoSwift BlockModeOptions.swift
[27/149] Compiling CryptoSwift CBC.swift
[28/149] Compiling CryptoSwift CCM.swift
[29/149] Compiling Sodium Utils.swift
[30/149] Compiling Sodium Version.swift
[31/149] Compiling CryptoSwift CipherModeWorker.swift
[32/149] Compiling CryptoSwift ECB.swift
[33/149] Emitting module CryptoSwift
[34/149] Compiling TypedJSON Value.swift
[43/149] Compiling TypedJSON JSON.swift
[44/149] Compiling TypedJSON Container.swift
[45/149] Emitting module TypedJSON
[46/149] Compiling CryptoSwift Authenticator.swift
[47/149] Compiling CryptoSwift BatchedCollection.swift
[48/149] Compiling CryptoSwift ASN1Encoder.swift
[49/149] Compiling CryptoSwift ASN1Scanner.swift
[50/149] Compiling CryptoSwift Array+Extension.swift
[51/149] Compiling CryptoSwift AEADXChaCha20Poly1305.swift
[52/149] Compiling CryptoSwift AES.Cryptors.swift
[53/149] Compiling CryptoSwift AES.swift
[54/149] Compiling CryptoSwift AEAD.swift
[55/149] Compiling CryptoSwift AEADChaCha20Poly1305.swift
[56/149] Compiling CryptoSwift ASN1.swift
[57/149] Compiling CryptoSwift ASN1Decoder.swift
[60/149] Compiling CryptoSwift String+FoundationExtension.swift
[61/149] Compiling CryptoSwift Utils+Foundation.swift
[62/149] Compiling CryptoSwift XChaCha20+Foundation.swift
[63/149] Compiling CryptoSwift Generics.swift
[64/149] Compiling CryptoSwift HKDF.swift
[65/149] Compiling CryptoSwift HMAC.swift
[66/149] Compiling CryptoSwift ISO10126Padding.swift
[67/149] Compiling CryptoSwift ISO78164Padding.swift
[68/149] Compiling CryptoSwift Int+Extension.swift
[69/149] Compiling CryptoSwift MD5.swift
[70/149] Compiling CryptoSwift NoPadding.swift
[83/149] Compiling CryptoSwift Shifts.swift
[84/149] Compiling CryptoSwift SquareRoot.swift
[85/149] Compiling CryptoSwift Strideable.swift
[86/149] Compiling CryptoSwift StringConversion.swift
[87/149] Compiling CryptoSwift Subtraction.swift
[88/149] Compiling CryptoSwift WordsAndBits.swift
[89/149] Compiling CryptoSwift ChaCha20.swift
[90/149] Compiling CryptoSwift Checksum.swift
[91/149] Compiling CryptoSwift Cipher.swift
[92/149] Compiling CryptoSwift Collection+Extension.swift
[93/149] Compiling CryptoSwift CompactMap.swift
[94/149] Compiling CryptoSwift RSA+Signature.swift
[95/149] Compiling CryptoSwift RSA.swift
[96/149] Compiling CryptoSwift Rabbit.swift
[97/149] Compiling CryptoSwift SHA1.swift
[98/149] Compiling CryptoSwift SHA2.swift
[99/149] Compiling CryptoSwift SHA3.swift
[100/149] Compiling CryptoSwift Scrypt.swift
[101/149] Compiling CryptoSwift SecureBytes.swift
[102/149] Compiling CryptoSwift Signature.swift
[103/149] Compiling CryptoSwift StreamDecryptor.swift
[104/149] Compiling CryptoSwift StreamEncryptor.swift
[105/149] Compiling CryptoSwift Cryptor.swift
[106/149] Compiling CryptoSwift Cryptors.swift
[107/149] Compiling CryptoSwift Digest.swift
[108/149] Compiling CryptoSwift DigestType.swift
[109/149] Compiling CryptoSwift AES+Foundation.swift
[110/149] Compiling CryptoSwift Array+Foundation.swift
[111/149] Compiling CryptoSwift Blowfish+Foundation.swift
[112/149] Compiling CryptoSwift ChaCha20+Foundation.swift
[113/149] Compiling CryptoSwift Data+Extension.swift
[114/149] Compiling CryptoSwift HMAC+Foundation.swift
[115/149] Compiling CryptoSwift Rabbit+Foundation.swift
[116/149] Compiling CryptoSwift Operators.swift
[117/149] Compiling CryptoSwift DER.swift
[118/149] Compiling CryptoSwift PBKDF1.swift
[119/149] Compiling CryptoSwift PBKDF2.swift
[120/149] Compiling CryptoSwift PKCS1v15.swift
[121/149] Compiling CryptoSwift PKCS5.swift
[122/149] Compiling CryptoSwift PKCS7.swift
[123/149] Compiling CryptoSwift PKCS7Padding.swift
[124/149] Compiling CryptoSwift Padding.swift
[125/149] Compiling CryptoSwift Poly1305.swift
[126/149] Compiling CryptoSwift RSA+Cipher.swift
[127/149] Compiling CryptoSwift String+Extension.swift
[128/149] Compiling CryptoSwift UInt128.swift
[129/149] Compiling CryptoSwift UInt16+Extension.swift
[130/149] Compiling CryptoSwift UInt32+Extension.swift
[131/149] Compiling CryptoSwift UInt64+Extension.swift
[132/149] Compiling CryptoSwift UInt8+Extension.swift
[133/149] Compiling CryptoSwift Updatable.swift
[134/149] Compiling CryptoSwift Utils.swift
[135/149] Compiling CryptoSwift XChaCha20.swift
[136/149] Compiling CryptoSwift ZeroPadding.swift
[137/149] Compiling CryptoSwift resource_bundle_accessor.swift
[138/149] Compiling CryptoSwift Codable.swift
[139/149] Compiling CryptoSwift Comparable.swift
[140/149] Compiling CryptoSwift DataConversion.swift
[141/149] Compiling CryptoSwift Division.swift
[142/149] Compiling CryptoSwift Exponentiation.swift
[143/149] Compiling CryptoSwift FloatingPointConversion.swift
[144/149] Compiling CryptoSwift GCD.swift
[145/149] Compiling CryptoSwift Hashable.swift
[146/149] Compiling CryptoSwift IntegerConversion.swift
[147/149] Compiling CryptoSwift Multiplication.swift
[148/149] Compiling CryptoSwift PrimeTest.swift
[149/149] Compiling CryptoSwift Random.swift
[150/204] Compiling Paseto BytesRepresentable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:3:5: warning: let 'sodium' is not concurrency-safe because non-'Sendable' type 'Sodium' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Sodium
2 |
3 | let sodium = Sodium()
| `- warning: let 'sodium' is not concurrency-safe because non-'Sendable' type 'Sodium' may have shared mutable state; this is an error in the Swift 6 language mode
4 | let Sign = sodium.sign
5 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Sodium.swift:4:15: note: struct 'Sodium' does not conform to the 'Sendable' protocol
2 | import Clibsodium
3 |
4 | public struct Sodium {
| `- note: struct 'Sodium' does not conform to the 'Sendable' protocol
5 | public let box = Box()
6 | public let secretBox = SecretBox()
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
1 | import Sodium
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
2 |
3 | let sodium = Sodium()
| |- note: annotate 'sodium' 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
4 | let Sign = sodium.sign
5 |
[151/204] Compiling Paseto ArraySlice.swift
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:3:5: warning: let 'sodium' is not concurrency-safe because non-'Sendable' type 'Sodium' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Sodium
2 |
3 | let sodium = Sodium()
| `- warning: let 'sodium' is not concurrency-safe because non-'Sendable' type 'Sodium' may have shared mutable state; this is an error in the Swift 6 language mode
4 | let Sign = sodium.sign
5 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Sodium.swift:4:15: note: struct 'Sodium' does not conform to the 'Sendable' protocol
2 | import Clibsodium
3 |
4 | public struct Sodium {
| `- note: struct 'Sodium' does not conform to the 'Sendable' protocol
5 | public let box = Box()
6 | public let secretBox = SecretBox()
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
1 | import Sodium
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
2 |
3 | let sodium = Sodium()
| |- note: annotate 'sodium' 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
4 | let Sign = sodium.sign
5 |
[152/204] Compiling Paseto Bytes.swift
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:3:5: warning: let 'sodium' is not concurrency-safe because non-'Sendable' type 'Sodium' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Sodium
2 |
3 | let sodium = Sodium()
| `- warning: let 'sodium' is not concurrency-safe because non-'Sendable' type 'Sodium' may have shared mutable state; this is an error in the Swift 6 language mode
4 | let Sign = sodium.sign
5 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Sodium.swift:4:15: note: struct 'Sodium' does not conform to the 'Sendable' protocol
2 | import Clibsodium
3 |
4 | public struct Sodium {
| `- note: struct 'Sodium' does not conform to the 'Sendable' protocol
5 | public let box = Box()
6 | public let secretBox = SecretBox()
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
1 | import Sodium
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
2 |
3 | let sodium = Sodium()
| |- note: annotate 'sodium' 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
4 | let Sign = sodium.sign
5 |
[153/204] Compiling Paseto Data+Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:3:5: warning: let 'sodium' is not concurrency-safe because non-'Sendable' type 'Sodium' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Sodium
2 |
3 | let sodium = Sodium()
| `- warning: let 'sodium' is not concurrency-safe because non-'Sendable' type 'Sodium' may have shared mutable state; this is an error in the Swift 6 language mode
4 | let Sign = sodium.sign
5 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Sodium.swift:4:15: note: struct 'Sodium' does not conform to the 'Sendable' protocol
2 | import Clibsodium
3 |
4 | public struct Sodium {
| `- note: struct 'Sodium' does not conform to the 'Sendable' protocol
5 | public let box = Box()
6 | public let secretBox = SecretBox()
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
1 | import Sodium
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
2 |
3 | let sodium = Sodium()
| |- note: annotate 'sodium' 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
4 | let Sign = sodium.sign
5 |
[154/204] Compiling Paseto String+Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:3:5: warning: let 'sodium' is not concurrency-safe because non-'Sendable' type 'Sodium' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Sodium
2 |
3 | let sodium = Sodium()
| `- warning: let 'sodium' is not concurrency-safe because non-'Sendable' type 'Sodium' may have shared mutable state; this is an error in the Swift 6 language mode
4 | let Sign = sodium.sign
5 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Sodium.swift:4:15: note: struct 'Sodium' does not conform to the 'Sendable' protocol
2 | import Clibsodium
3 |
4 | public struct Sodium {
| `- note: struct 'Sodium' does not conform to the 'Sendable' protocol
5 | public let box = Box()
6 | public let secretBox = SecretBox()
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
1 | import Sodium
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
2 |
3 | let sodium = Sodium()
| |- note: annotate 'sodium' 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
4 | let Sign = sodium.sign
5 |
[155/204] Compiling Paseto Header.swift
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:3:5: warning: let 'sodium' is not concurrency-safe because non-'Sendable' type 'Sodium' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Sodium
2 |
3 | let sodium = Sodium()
| `- warning: let 'sodium' is not concurrency-safe because non-'Sendable' type 'Sodium' may have shared mutable state; this is an error in the Swift 6 language mode
4 | let Sign = sodium.sign
5 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Sodium.swift:4:15: note: struct 'Sodium' does not conform to the 'Sendable' protocol
2 | import Clibsodium
3 |
4 | public struct Sodium {
| `- note: struct 'Sodium' does not conform to the 'Sendable' protocol
5 | public let box = Box()
6 | public let secretBox = SecretBox()
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
1 | import Sodium
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
2 |
3 | let sodium = Sodium()
| |- note: annotate 'sodium' 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
4 | let Sign = sodium.sign
5 |
[156/210] Compiling Paseto Version2.swift
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:4:5: warning: let 'Sign' is not concurrency-safe because non-'Sendable' type 'Sign' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | let sodium = Sodium()
4 | let Sign = sodium.sign
| `- warning: let 'Sign' is not concurrency-safe because non-'Sendable' type 'Sign' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Sign.swift:4:15: note: struct 'Sign' does not conform to the 'Sendable' protocol
2 | import Clibsodium
3 |
4 | public struct Sign {
| `- note: struct 'Sign' does not conform to the 'Sendable' protocol
5 | public let Bytes = Int(crypto_sign_bytes())
6 | public let Primitive = String(validatingUTF8: crypto_sign_primitive())
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
1 | import Sodium
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
2 |
3 | let sodium = Sodium()
4 | let Sign = sodium.sign
| |- note: annotate 'Sign' 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
5 |
[157/210] Compiling Paseto V2LocalPayload.swift
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:4:5: warning: let 'Sign' is not concurrency-safe because non-'Sendable' type 'Sign' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | let sodium = Sodium()
4 | let Sign = sodium.sign
| `- warning: let 'Sign' is not concurrency-safe because non-'Sendable' type 'Sign' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Sign.swift:4:15: note: struct 'Sign' does not conform to the 'Sendable' protocol
2 | import Clibsodium
3 |
4 | public struct Sign {
| `- note: struct 'Sign' does not conform to the 'Sendable' protocol
5 | public let Bytes = Int(crypto_sign_bytes())
6 | public let Primitive = String(validatingUTF8: crypto_sign_primitive())
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
1 | import Sodium
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
2 |
3 | let sodium = Sodium()
4 | let Sign = sodium.sign
| |- note: annotate 'Sign' 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
5 |
[158/210] Compiling Paseto V2LocalSymmetricKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:4:5: warning: let 'Sign' is not concurrency-safe because non-'Sendable' type 'Sign' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | let sodium = Sodium()
4 | let Sign = sodium.sign
| `- warning: let 'Sign' is not concurrency-safe because non-'Sendable' type 'Sign' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Sign.swift:4:15: note: struct 'Sign' does not conform to the 'Sendable' protocol
2 | import Clibsodium
3 |
4 | public struct Sign {
| `- note: struct 'Sign' does not conform to the 'Sendable' protocol
5 | public let Bytes = Int(crypto_sign_bytes())
6 | public let Primitive = String(validatingUTF8: crypto_sign_primitive())
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
1 | import Sodium
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
2 |
3 | let sodium = Sodium()
4 | let Sign = sodium.sign
| |- note: annotate 'Sign' 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
5 |
[159/210] Compiling Paseto V2PublicAsymmetricPublicKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:4:5: warning: let 'Sign' is not concurrency-safe because non-'Sendable' type 'Sign' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | let sodium = Sodium()
4 | let Sign = sodium.sign
| `- warning: let 'Sign' is not concurrency-safe because non-'Sendable' type 'Sign' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Sign.swift:4:15: note: struct 'Sign' does not conform to the 'Sendable' protocol
2 | import Clibsodium
3 |
4 | public struct Sign {
| `- note: struct 'Sign' does not conform to the 'Sendable' protocol
5 | public let Bytes = Int(crypto_sign_bytes())
6 | public let Primitive = String(validatingUTF8: crypto_sign_primitive())
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
1 | import Sodium
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
2 |
3 | let sodium = Sodium()
4 | let Sign = sodium.sign
| |- note: annotate 'Sign' 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
5 |
[160/210] Compiling Paseto V2PublicAsymmetricSecretKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:4:5: warning: let 'Sign' is not concurrency-safe because non-'Sendable' type 'Sign' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | let sodium = Sodium()
4 | let Sign = sodium.sign
| `- warning: let 'Sign' is not concurrency-safe because non-'Sendable' type 'Sign' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Sign.swift:4:15: note: struct 'Sign' does not conform to the 'Sendable' protocol
2 | import Clibsodium
3 |
4 | public struct Sign {
| `- note: struct 'Sign' does not conform to the 'Sendable' protocol
5 | public let Bytes = Int(crypto_sign_bytes())
6 | public let Primitive = String(validatingUTF8: crypto_sign_primitive())
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
1 | import Sodium
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
2 |
3 | let sodium = Sodium()
4 | let Sign = sodium.sign
| |- note: annotate 'Sign' 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
5 |
[161/210] Compiling Paseto V2PublicPayload.swift
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:4:5: warning: let 'Sign' is not concurrency-safe because non-'Sendable' type 'Sign' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | let sodium = Sodium()
4 | let Sign = sodium.sign
| `- warning: let 'Sign' is not concurrency-safe because non-'Sendable' type 'Sign' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Sign.swift:4:15: note: struct 'Sign' does not conform to the 'Sendable' protocol
2 | import Clibsodium
3 |
4 | public struct Sign {
| `- note: struct 'Sign' does not conform to the 'Sendable' protocol
5 | public let Bytes = Int(crypto_sign_bytes())
6 | public let Primitive = String(validatingUTF8: crypto_sign_primitive())
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
1 | import Sodium
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
2 |
3 | let sodium = Sodium()
4 | let Sign = sodium.sign
| |- note: annotate 'Sign' 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
5 |
[162/210] Compiling Paseto AsymmetricPublicKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:3:5: warning: let 'sodium' is not concurrency-safe because non-'Sendable' type 'Sodium' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Sodium
2 |
3 | let sodium = Sodium()
| `- warning: let 'sodium' is not concurrency-safe because non-'Sendable' type 'Sodium' may have shared mutable state; this is an error in the Swift 6 language mode
4 | let Sign = sodium.sign
5 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Sodium.swift:4:15: note: struct 'Sodium' does not conform to the 'Sendable' protocol
2 | import Clibsodium
3 |
4 | public struct Sodium {
| `- note: struct 'Sodium' does not conform to the 'Sendable' protocol
5 | public let box = Box()
6 | public let secretBox = SecretBox()
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
1 | import Sodium
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
2 |
3 | let sodium = Sodium()
| |- note: annotate 'sodium' 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
4 | let Sign = sodium.sign
5 |
[163/210] Compiling Paseto AsymmetricSecretKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:3:5: warning: let 'sodium' is not concurrency-safe because non-'Sendable' type 'Sodium' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Sodium
2 |
3 | let sodium = Sodium()
| `- warning: let 'sodium' is not concurrency-safe because non-'Sendable' type 'Sodium' may have shared mutable state; this is an error in the Swift 6 language mode
4 | let Sign = sodium.sign
5 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Sodium.swift:4:15: note: struct 'Sodium' does not conform to the 'Sendable' protocol
2 | import Clibsodium
3 |
4 | public struct Sodium {
| `- note: struct 'Sodium' does not conform to the 'Sendable' protocol
5 | public let box = Box()
6 | public let secretBox = SecretBox()
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
1 | import Sodium
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
2 |
3 | let sodium = Sodium()
| |- note: annotate 'sodium' 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
4 | let Sign = sodium.sign
5 |
[164/210] Compiling Paseto Key.swift
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:3:5: warning: let 'sodium' is not concurrency-safe because non-'Sendable' type 'Sodium' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Sodium
2 |
3 | let sodium = Sodium()
| `- warning: let 'sodium' is not concurrency-safe because non-'Sendable' type 'Sodium' may have shared mutable state; this is an error in the Swift 6 language mode
4 | let Sign = sodium.sign
5 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Sodium.swift:4:15: note: struct 'Sodium' does not conform to the 'Sendable' protocol
2 | import Clibsodium
3 |
4 | public struct Sodium {
| `- note: struct 'Sodium' does not conform to the 'Sendable' protocol
5 | public let box = Box()
6 | public let secretBox = SecretBox()
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
1 | import Sodium
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
2 |
3 | let sodium = Sodium()
| |- note: annotate 'sodium' 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
4 | let Sign = sodium.sign
5 |
[165/210] Compiling Paseto SymmetricKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:3:5: warning: let 'sodium' is not concurrency-safe because non-'Sendable' type 'Sodium' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Sodium
2 |
3 | let sodium = Sodium()
| `- warning: let 'sodium' is not concurrency-safe because non-'Sendable' type 'Sodium' may have shared mutable state; this is an error in the Swift 6 language mode
4 | let Sign = sodium.sign
5 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Sodium.swift:4:15: note: struct 'Sodium' does not conform to the 'Sendable' protocol
2 | import Clibsodium
3 |
4 | public struct Sodium {
| `- note: struct 'Sodium' does not conform to the 'Sendable' protocol
5 | public let box = Box()
6 | public let secretBox = SecretBox()
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
1 | import Sodium
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
2 |
3 | let sodium = Sodium()
| |- note: annotate 'sodium' 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
4 | let Sign = sodium.sign
5 |
[166/210] Compiling Paseto Message.swift
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:3:5: warning: let 'sodium' is not concurrency-safe because non-'Sendable' type 'Sodium' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Sodium
2 |
3 | let sodium = Sodium()
| `- warning: let 'sodium' is not concurrency-safe because non-'Sendable' type 'Sodium' may have shared mutable state; this is an error in the Swift 6 language mode
4 | let Sign = sodium.sign
5 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Sodium.swift:4:15: note: struct 'Sodium' does not conform to the 'Sendable' protocol
2 | import Clibsodium
3 |
4 | public struct Sodium {
| `- note: struct 'Sodium' does not conform to the 'Sendable' protocol
5 | public let box = Box()
6 | public let secretBox = SecretBox()
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
1 | import Sodium
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
2 |
3 | let sodium = Sodium()
| |- note: annotate 'sodium' 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
4 | let Sign = sodium.sign
5 |
[167/210] Compiling Paseto Package.swift
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:3:5: warning: let 'sodium' is not concurrency-safe because non-'Sendable' type 'Sodium' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Sodium
2 |
3 | let sodium = Sodium()
| `- warning: let 'sodium' is not concurrency-safe because non-'Sendable' type 'Sodium' may have shared mutable state; this is an error in the Swift 6 language mode
4 | let Sign = sodium.sign
5 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Sodium.swift:4:15: note: struct 'Sodium' does not conform to the 'Sendable' protocol
2 | import Clibsodium
3 |
4 | public struct Sodium {
| `- note: struct 'Sodium' does not conform to the 'Sendable' protocol
5 | public let box = Box()
6 | public let secretBox = SecretBox()
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
1 | import Sodium
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
2 |
3 | let sodium = Sodium()
| |- note: annotate 'sodium' 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
4 | let Sign = sodium.sign
5 |
[168/210] Compiling Paseto V4LocalSymmetricKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:3:5: warning: let 'sodium' is not concurrency-safe because non-'Sendable' type 'Sodium' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Sodium
2 |
3 | let sodium = Sodium()
| `- warning: let 'sodium' is not concurrency-safe because non-'Sendable' type 'Sodium' may have shared mutable state; this is an error in the Swift 6 language mode
4 | let Sign = sodium.sign
5 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Sodium.swift:4:15: note: struct 'Sodium' does not conform to the 'Sendable' protocol
2 | import Clibsodium
3 |
4 | public struct Sodium {
| `- note: struct 'Sodium' does not conform to the 'Sendable' protocol
5 | public let box = Box()
6 | public let secretBox = SecretBox()
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
1 | import Sodium
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
2 |
3 | let sodium = Sodium()
| |- note: annotate 'sodium' 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
4 | let Sign = sodium.sign
5 |
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:4:5: warning: let 'Sign' is not concurrency-safe because non-'Sendable' type 'Sign' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | let sodium = Sodium()
4 | let Sign = sodium.sign
| |- warning: let 'Sign' is not concurrency-safe because non-'Sendable' type 'Sign' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Sign' 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
5 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Sign.swift:4:15: note: struct 'Sign' does not conform to the 'Sendable' protocol
2 | import Clibsodium
3 |
4 | public struct Sign {
| `- note: struct 'Sign' does not conform to the 'Sendable' protocol
5 | public let Bytes = Int(crypto_sign_bytes())
6 | public let Primitive = String(validatingUTF8: crypto_sign_primitive())
[169/210] Compiling Paseto V4PublicAsymmetricPublicKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:3:5: warning: let 'sodium' is not concurrency-safe because non-'Sendable' type 'Sodium' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Sodium
2 |
3 | let sodium = Sodium()
| `- warning: let 'sodium' is not concurrency-safe because non-'Sendable' type 'Sodium' may have shared mutable state; this is an error in the Swift 6 language mode
4 | let Sign = sodium.sign
5 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Sodium.swift:4:15: note: struct 'Sodium' does not conform to the 'Sendable' protocol
2 | import Clibsodium
3 |
4 | public struct Sodium {
| `- note: struct 'Sodium' does not conform to the 'Sendable' protocol
5 | public let box = Box()
6 | public let secretBox = SecretBox()
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
1 | import Sodium
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
2 |
3 | let sodium = Sodium()
| |- note: annotate 'sodium' 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
4 | let Sign = sodium.sign
5 |
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:4:5: warning: let 'Sign' is not concurrency-safe because non-'Sendable' type 'Sign' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | let sodium = Sodium()
4 | let Sign = sodium.sign
| |- warning: let 'Sign' is not concurrency-safe because non-'Sendable' type 'Sign' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Sign' 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
5 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Sign.swift:4:15: note: struct 'Sign' does not conform to the 'Sendable' protocol
2 | import Clibsodium
3 |
4 | public struct Sign {
| `- note: struct 'Sign' does not conform to the 'Sendable' protocol
5 | public let Bytes = Int(crypto_sign_bytes())
6 | public let Primitive = String(validatingUTF8: crypto_sign_primitive())
[170/210] Compiling Paseto V4PublicAsymmetricSecretKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:3:5: warning: let 'sodium' is not concurrency-safe because non-'Sendable' type 'Sodium' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Sodium
2 |
3 | let sodium = Sodium()
| `- warning: let 'sodium' is not concurrency-safe because non-'Sendable' type 'Sodium' may have shared mutable state; this is an error in the Swift 6 language mode
4 | let Sign = sodium.sign
5 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Sodium.swift:4:15: note: struct 'Sodium' does not conform to the 'Sendable' protocol
2 | import Clibsodium
3 |
4 | public struct Sodium {
| `- note: struct 'Sodium' does not conform to the 'Sendable' protocol
5 | public let box = Box()
6 | public let secretBox = SecretBox()
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
1 | import Sodium
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
2 |
3 | let sodium = Sodium()
| |- note: annotate 'sodium' 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
4 | let Sign = sodium.sign
5 |
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:4:5: warning: let 'Sign' is not concurrency-safe because non-'Sendable' type 'Sign' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | let sodium = Sodium()
4 | let Sign = sodium.sign
| |- warning: let 'Sign' is not concurrency-safe because non-'Sendable' type 'Sign' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Sign' 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
5 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Sign.swift:4:15: note: struct 'Sign' does not conform to the 'Sendable' protocol
2 | import Clibsodium
3 |
4 | public struct Sign {
| `- note: struct 'Sign' does not conform to the 'Sendable' protocol
5 | public let Bytes = Int(crypto_sign_bytes())
6 | public let Primitive = String(validatingUTF8: crypto_sign_primitive())
[171/210] Compiling Paseto V4PublicPayload.swift
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:3:5: warning: let 'sodium' is not concurrency-safe because non-'Sendable' type 'Sodium' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Sodium
2 |
3 | let sodium = Sodium()
| `- warning: let 'sodium' is not concurrency-safe because non-'Sendable' type 'Sodium' may have shared mutable state; this is an error in the Swift 6 language mode
4 | let Sign = sodium.sign
5 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Sodium.swift:4:15: note: struct 'Sodium' does not conform to the 'Sendable' protocol
2 | import Clibsodium
3 |
4 | public struct Sodium {
| `- note: struct 'Sodium' does not conform to the 'Sendable' protocol
5 | public let box = Box()
6 | public let secretBox = SecretBox()
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
1 | import Sodium
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
2 |
3 | let sodium = Sodium()
| |- note: annotate 'sodium' 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
4 | let Sign = sodium.sign
5 |
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:4:5: warning: let 'Sign' is not concurrency-safe because non-'Sendable' type 'Sign' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | let sodium = Sodium()
4 | let Sign = sodium.sign
| |- warning: let 'Sign' is not concurrency-safe because non-'Sendable' type 'Sign' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Sign' 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
5 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Sign.swift:4:15: note: struct 'Sign' does not conform to the 'Sendable' protocol
2 | import Clibsodium
3 |
4 | public struct Sign {
| `- note: struct 'Sign' does not conform to the 'Sendable' protocol
5 | public let Bytes = Int(crypto_sign_bytes())
6 | public let Primitive = String(validatingUTF8: crypto_sign_primitive())
[172/210] Compiling Paseto V4Local.swift
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:3:5: warning: let 'sodium' is not concurrency-safe because non-'Sendable' type 'Sodium' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Sodium
2 |
3 | let sodium = Sodium()
| `- warning: let 'sodium' is not concurrency-safe because non-'Sendable' type 'Sodium' may have shared mutable state; this is an error in the Swift 6 language mode
4 | let Sign = sodium.sign
5 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Sodium.swift:4:15: note: struct 'Sodium' does not conform to the 'Sendable' protocol
2 | import Clibsodium
3 |
4 | public struct Sodium {
| `- note: struct 'Sodium' does not conform to the 'Sendable' protocol
5 | public let box = Box()
6 | public let secretBox = SecretBox()
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
1 | import Sodium
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
2 |
3 | let sodium = Sodium()
| |- note: annotate 'sodium' 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
4 | let Sign = sodium.sign
5 |
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:4:5: warning: let 'Sign' is not concurrency-safe because non-'Sendable' type 'Sign' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | let sodium = Sodium()
4 | let Sign = sodium.sign
| |- warning: let 'Sign' is not concurrency-safe because non-'Sendable' type 'Sign' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Sign' 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
5 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Sign.swift:4:15: note: struct 'Sign' does not conform to the 'Sendable' protocol
2 | import Clibsodium
3 |
4 | public struct Sign {
| `- note: struct 'Sign' does not conform to the 'Sendable' protocol
5 | public let Bytes = Int(crypto_sign_bytes())
6 | public let Primitive = String(validatingUTF8: crypto_sign_primitive())
[173/210] Compiling Paseto V4Public.swift
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:3:5: warning: let 'sodium' is not concurrency-safe because non-'Sendable' type 'Sodium' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Sodium
2 |
3 | let sodium = Sodium()
| `- warning: let 'sodium' is not concurrency-safe because non-'Sendable' type 'Sodium' may have shared mutable state; this is an error in the Swift 6 language mode
4 | let Sign = sodium.sign
5 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Sodium.swift:4:15: note: struct 'Sodium' does not conform to the 'Sendable' protocol
2 | import Clibsodium
3 |
4 | public struct Sodium {
| `- note: struct 'Sodium' does not conform to the 'Sendable' protocol
5 | public let box = Box()
6 | public let secretBox = SecretBox()
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
1 | import Sodium
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
2 |
3 | let sodium = Sodium()
| |- note: annotate 'sodium' 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
4 | let Sign = sodium.sign
5 |
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:4:5: warning: let 'Sign' is not concurrency-safe because non-'Sendable' type 'Sign' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | let sodium = Sodium()
4 | let Sign = sodium.sign
| |- warning: let 'Sign' is not concurrency-safe because non-'Sendable' type 'Sign' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Sign' 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
5 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Sign.swift:4:15: note: struct 'Sign' does not conform to the 'Sendable' protocol
2 | import Clibsodium
3 |
4 | public struct Sign {
| `- note: struct 'Sign' does not conform to the 'Sendable' protocol
5 | public let Bytes = Int(crypto_sign_bytes())
6 | public let Primitive = String(validatingUTF8: crypto_sign_primitive())
[174/210] Emitting module Paseto
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:4:5: warning: let 'Sign' is not concurrency-safe because non-'Sendable' type 'Sign' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | let sodium = Sodium()
4 | let Sign = sodium.sign
| `- warning: let 'Sign' is not concurrency-safe because non-'Sendable' type 'Sign' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Sign.swift:4:15: note: struct 'Sign' does not conform to the 'Sendable' protocol
2 | import Clibsodium
3 |
4 | public struct Sign {
| `- note: struct 'Sign' does not conform to the 'Sendable' protocol
5 | public let Bytes = Int(crypto_sign_bytes())
6 | public let Primitive = String(validatingUTF8: crypto_sign_primitive())
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
1 | import Sodium
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
2 |
3 | let sodium = Sodium()
4 | let Sign = sodium.sign
| |- note: annotate 'Sign' 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
5 |
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Implementations/Version3/Public/V3PublicAsymmetricPublicKey.swift:5:17: warning: let 'zeroBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
3 | import CryptoSwift
4 |
5 | fileprivate let zeroBn = BigUInteger(0)
| `- warning: let 'zeroBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
6 | fileprivate let oneBn = BigUInteger(1)
7 | fileprivate let twoBn = BigUInteger(2)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/CS_BigInt/BigUInt.swift:18:17: note: struct 'BigUInt' does not conform to the 'Sendable' protocol
16 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
17 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
18 | public struct BigUInt: UnsignedInteger {
| `- note: struct 'BigUInt' does not conform to the 'Sendable' protocol
19 | /// The type representing a digit in `BigUInt`'s underlying number system.
20 | public typealias Word = UInt
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Implementations/Version3/Public/V3PublicAsymmetricPublicKey.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CryptoSwift'
1 | import Foundation
2 | import CryptoKit
3 | import CryptoSwift
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CryptoSwift'
4 |
5 | fileprivate let zeroBn = BigUInteger(0)
| |- note: annotate 'zeroBn' 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
6 | fileprivate let oneBn = BigUInteger(1)
7 | fileprivate let twoBn = BigUInteger(2)
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Implementations/Version3/Public/V3PublicAsymmetricPublicKey.swift:6:17: warning: let 'oneBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | fileprivate let zeroBn = BigUInteger(0)
6 | fileprivate let oneBn = BigUInteger(1)
| |- warning: let 'oneBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'oneBn' 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
7 | fileprivate let twoBn = BigUInteger(2)
8 | fileprivate let fourBn = BigUInteger(4)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/CS_BigInt/BigUInt.swift:18:17: note: struct 'BigUInt' does not conform to the 'Sendable' protocol
16 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
17 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
18 | public struct BigUInt: UnsignedInteger {
| `- note: struct 'BigUInt' does not conform to the 'Sendable' protocol
19 | /// The type representing a digit in `BigUInt`'s underlying number system.
20 | public typealias Word = UInt
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Implementations/Version3/Public/V3PublicAsymmetricPublicKey.swift:7:17: warning: let 'twoBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
5 | fileprivate let zeroBn = BigUInteger(0)
6 | fileprivate let oneBn = BigUInteger(1)
7 | fileprivate let twoBn = BigUInteger(2)
| |- warning: let 'twoBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'twoBn' 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
8 | fileprivate let fourBn = BigUInteger(4)
9 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/CS_BigInt/BigUInt.swift:18:17: note: struct 'BigUInt' does not conform to the 'Sendable' protocol
16 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
17 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
18 | public struct BigUInt: UnsignedInteger {
| `- note: struct 'BigUInt' does not conform to the 'Sendable' protocol
19 | /// The type representing a digit in `BigUInt`'s underlying number system.
20 | public typealias Word = UInt
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Implementations/Version3/Public/V3PublicAsymmetricPublicKey.swift:8:17: warning: let 'fourBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
6 | fileprivate let oneBn = BigUInteger(1)
7 | fileprivate let twoBn = BigUInteger(2)
8 | fileprivate let fourBn = BigUInteger(4)
| |- warning: let 'fourBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fourBn' 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 |
10 | // The following consts are extracted from the NIST spec.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/CS_BigInt/BigUInt.swift:18:17: note: struct 'BigUInt' does not conform to the 'Sendable' protocol
16 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
17 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
18 | public struct BigUInt: UnsignedInteger {
| `- note: struct 'BigUInt' does not conform to the 'Sendable' protocol
19 | /// The type representing a digit in `BigUInt`'s underlying number system.
20 | public typealias Word = UInt
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Implementations/Version3/Public/V3PublicAsymmetricPublicKey.swift:14:17: warning: let 'pBn' is not concurrency-safe because non-'Sendable' type 'CS.BigUInt' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | // p = 2^384 − 2^128 − 2^96 + 2^32 − 1
14 | fileprivate let pBn = twoBn.power(384) - twoBn.power(128) - twoBn.power(96) + twoBn.power(32) - 1
| |- warning: let 'pBn' is not concurrency-safe because non-'Sendable' type 'CS.BigUInt' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pBn' 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
15 |
16 | // a = -3 mod p
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/CS_BigInt/BigUInt.swift:18:17: note: struct 'BigUInt' does not conform to the 'Sendable' protocol
16 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
17 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
18 | public struct BigUInt: UnsignedInteger {
| `- note: struct 'BigUInt' does not conform to the 'Sendable' protocol
19 | /// The type representing a digit in `BigUInt`'s underlying number system.
20 | public typealias Word = UInt
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Implementations/Version3/Public/V3PublicAsymmetricPublicKey.swift:19:17: warning: let 'aBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
17 | // = 3940200619639447921227904010014361380507973927046544666794\
18 | // 8293404245721771496870329047266088258938001861606973112316
19 | fileprivate let aBn = BigUInteger("39402006196394479212279040100143613805079739270465446667948293404245721771496870329047266088258938001861606973112316", radix: 10)!
| |- warning: let 'aBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'aBn' 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
20 |
21 | // b = 2758019355995970587784901184038904809305690585636156852142\
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/CS_BigInt/BigUInt.swift:18:17: note: struct 'BigUInt' does not conform to the 'Sendable' protocol
16 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
17 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
18 | public struct BigUInt: UnsignedInteger {
| `- note: struct 'BigUInt' does not conform to the 'Sendable' protocol
19 | /// The type representing a digit in `BigUInt`'s underlying number system.
20 | public typealias Word = UInt
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Implementations/Version3/Public/V3PublicAsymmetricPublicKey.swift:23:17: warning: let 'bBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
21 | // b = 2758019355995970587784901184038904809305690585636156852142\
22 | // 8707301988689241309860865136260764883745107765439761230575
23 | fileprivate let bBn = BigUInteger("27580193559959705877849011840389048093056905856361568521428707301988689241309860865136260764883745107765439761230575", radix: 10)!
| |- warning: let 'bBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bBn' 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
24 |
25 | @available(macOS 11, iOS 14, watchOS 7, tvOS 14, macCatalyst 14, *)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/CS_BigInt/BigUInt.swift:18:17: note: struct 'BigUInt' does not conform to the 'Sendable' protocol
16 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
17 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
18 | public struct BigUInt: UnsignedInteger {
| `- note: struct 'BigUInt' does not conform to the 'Sendable' protocol
19 | /// The type representing a digit in `BigUInt`'s underlying number system.
20 | public typealias Word = UInt
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Purposes/Base/BaseLocal.swift:1:17: warning: protocol 'BaseLocal' should be declared to refine 'Module' due to a same-type constraint on 'Self'
1 | public protocol BaseLocal: Paseto.Local where Local == Self {}
| `- warning: protocol 'BaseLocal' should be declared to refine 'Module' due to a same-type constraint on 'Self'
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Purposes/Base/BasePublic.swift:1:17: warning: protocol 'BasePublic' should be declared to refine 'Module' due to a same-type constraint on 'Self'
1 | public protocol BasePublic: Paseto.Public where Public == Self {}
| `- warning: protocol 'BasePublic' should be declared to refine 'Module' due to a same-type constraint on 'Self'
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:3:5: warning: let 'sodium' is not concurrency-safe because non-'Sendable' type 'Sodium' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Sodium
2 |
3 | let sodium = Sodium()
| |- warning: let 'sodium' is not concurrency-safe because non-'Sendable' type 'Sodium' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sodium' 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
4 | let Sign = sodium.sign
5 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Sodium.swift:4:15: note: struct 'Sodium' does not conform to the 'Sendable' protocol
2 | import Clibsodium
3 |
4 | public struct Sodium {
| `- note: struct 'Sodium' does not conform to the 'Sendable' protocol
5 | public let box = Box()
6 | public let secretBox = SecretBox()
[175/210] Compiling Paseto Parser.swift
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Purposes/Base/BaseLocal.swift:1:17: warning: protocol 'BaseLocal' should be declared to refine 'Module' due to a same-type constraint on 'Self'
1 | public protocol BaseLocal: Paseto.Local where Local == Self {}
| `- warning: protocol 'BaseLocal' should be declared to refine 'Module' due to a same-type constraint on 'Self'
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Purposes/Base/BasePublic.swift:1:17: warning: protocol 'BasePublic' should be declared to refine 'Module' due to a same-type constraint on 'Self'
1 | public protocol BasePublic: Paseto.Public where Public == Self {}
| `- warning: protocol 'BasePublic' should be declared to refine 'Module' due to a same-type constraint on 'Self'
2 |
[176/210] Compiling Paseto Payload.swift
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Purposes/Base/BaseLocal.swift:1:17: warning: protocol 'BaseLocal' should be declared to refine 'Module' due to a same-type constraint on 'Self'
1 | public protocol BaseLocal: Paseto.Local where Local == Self {}
| `- warning: protocol 'BaseLocal' should be declared to refine 'Module' due to a same-type constraint on 'Self'
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Purposes/Base/BasePublic.swift:1:17: warning: protocol 'BasePublic' should be declared to refine 'Module' due to a same-type constraint on 'Self'
1 | public protocol BasePublic: Paseto.Public where Public == Self {}
| `- warning: protocol 'BasePublic' should be declared to refine 'Module' due to a same-type constraint on 'Self'
2 |
[177/210] Compiling Paseto Purpose.swift
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Purposes/Base/BaseLocal.swift:1:17: warning: protocol 'BaseLocal' should be declared to refine 'Module' due to a same-type constraint on 'Self'
1 | public protocol BaseLocal: Paseto.Local where Local == Self {}
| `- warning: protocol 'BaseLocal' should be declared to refine 'Module' due to a same-type constraint on 'Self'
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Purposes/Base/BasePublic.swift:1:17: warning: protocol 'BasePublic' should be declared to refine 'Module' due to a same-type constraint on 'Self'
1 | public protocol BasePublic: Paseto.Public where Public == Self {}
| `- warning: protocol 'BasePublic' should be declared to refine 'Module' due to a same-type constraint on 'Self'
2 |
[178/210] Compiling Paseto BaseLocal.swift
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Purposes/Base/BaseLocal.swift:1:17: warning: protocol 'BaseLocal' should be declared to refine 'Module' due to a same-type constraint on 'Self'
1 | public protocol BaseLocal: Paseto.Local where Local == Self {}
| `- warning: protocol 'BaseLocal' should be declared to refine 'Module' due to a same-type constraint on 'Self'
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Purposes/Base/BasePublic.swift:1:17: warning: protocol 'BasePublic' should be declared to refine 'Module' due to a same-type constraint on 'Self'
1 | public protocol BasePublic: Paseto.Public where Public == Self {}
| `- warning: protocol 'BasePublic' should be declared to refine 'Module' due to a same-type constraint on 'Self'
2 |
[179/210] Compiling Paseto BasePublic.swift
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Purposes/Base/BaseLocal.swift:1:17: warning: protocol 'BaseLocal' should be declared to refine 'Module' due to a same-type constraint on 'Self'
1 | public protocol BaseLocal: Paseto.Local where Local == Self {}
| `- warning: protocol 'BaseLocal' should be declared to refine 'Module' due to a same-type constraint on 'Self'
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Purposes/Base/BasePublic.swift:1:17: warning: protocol 'BasePublic' should be declared to refine 'Module' due to a same-type constraint on 'Self'
1 | public protocol BasePublic: Paseto.Public where Public == Self {}
| `- warning: protocol 'BasePublic' should be declared to refine 'Module' due to a same-type constraint on 'Self'
2 |
[180/210] Compiling Paseto DeferredLocal.swift
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Purposes/Base/BaseLocal.swift:1:17: warning: protocol 'BaseLocal' should be declared to refine 'Module' due to a same-type constraint on 'Self'
1 | public protocol BaseLocal: Paseto.Local where Local == Self {}
| `- warning: protocol 'BaseLocal' should be declared to refine 'Module' due to a same-type constraint on 'Self'
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Purposes/Base/BasePublic.swift:1:17: warning: protocol 'BasePublic' should be declared to refine 'Module' due to a same-type constraint on 'Self'
1 | public protocol BasePublic: Paseto.Public where Public == Self {}
| `- warning: protocol 'BasePublic' should be declared to refine 'Module' due to a same-type constraint on 'Self'
2 |
[181/210] Compiling Paseto DeferredPublic.swift
[182/210] Compiling Paseto Local.swift
[183/210] Compiling Paseto NonThrowingLocalEncrypt.swift
[184/210] Compiling Paseto NonThrowingPublicSign.swift
[185/210] Compiling Paseto Public.swift
[186/210] Compiling Paseto Rules.swift
[187/210] Compiling Paseto V2Local.swift
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:3:5: warning: let 'sodium' is not concurrency-safe because non-'Sendable' type 'Sodium' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Sodium
2 |
3 | let sodium = Sodium()
| `- warning: let 'sodium' is not concurrency-safe because non-'Sendable' type 'Sodium' may have shared mutable state; this is an error in the Swift 6 language mode
4 | let Sign = sodium.sign
5 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Sodium.swift:4:15: note: struct 'Sodium' does not conform to the 'Sendable' protocol
2 | import Clibsodium
3 |
4 | public struct Sodium {
| `- note: struct 'Sodium' does not conform to the 'Sendable' protocol
5 | public let box = Box()
6 | public let secretBox = SecretBox()
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
1 | import Sodium
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
2 |
3 | let sodium = Sodium()
| |- note: annotate 'sodium' 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
4 | let Sign = sodium.sign
5 |
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:4:5: warning: let 'Sign' is not concurrency-safe because non-'Sendable' type 'Sign' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | let sodium = Sodium()
4 | let Sign = sodium.sign
| |- warning: let 'Sign' is not concurrency-safe because non-'Sendable' type 'Sign' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Sign' 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
5 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Sign.swift:4:15: note: struct 'Sign' does not conform to the 'Sendable' protocol
2 | import Clibsodium
3 |
4 | public struct Sign {
| `- note: struct 'Sign' does not conform to the 'Sendable' protocol
5 | public let Bytes = Int(crypto_sign_bytes())
6 | public let Primitive = String(validatingUTF8: crypto_sign_primitive())
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Implementations/Version3/Public/V3PublicAsymmetricPublicKey.swift:5:17: warning: let 'zeroBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
3 | import CryptoSwift
4 |
5 | fileprivate let zeroBn = BigUInteger(0)
| `- warning: let 'zeroBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
6 | fileprivate let oneBn = BigUInteger(1)
7 | fileprivate let twoBn = BigUInteger(2)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/CS_BigInt/BigUInt.swift:18:17: note: struct 'BigUInt' does not conform to the 'Sendable' protocol
16 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
17 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
18 | public struct BigUInt: UnsignedInteger {
| `- note: struct 'BigUInt' does not conform to the 'Sendable' protocol
19 | /// The type representing a digit in `BigUInt`'s underlying number system.
20 | public typealias Word = UInt
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Implementations/Version3/Public/V3PublicAsymmetricPublicKey.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CryptoSwift'
1 | import Foundation
2 | import CryptoKit
3 | import CryptoSwift
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CryptoSwift'
4 |
5 | fileprivate let zeroBn = BigUInteger(0)
| |- note: annotate 'zeroBn' 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
6 | fileprivate let oneBn = BigUInteger(1)
7 | fileprivate let twoBn = BigUInteger(2)
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Implementations/Version3/Public/V3PublicAsymmetricPublicKey.swift:6:17: warning: let 'oneBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | fileprivate let zeroBn = BigUInteger(0)
6 | fileprivate let oneBn = BigUInteger(1)
| |- warning: let 'oneBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'oneBn' 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
7 | fileprivate let twoBn = BigUInteger(2)
8 | fileprivate let fourBn = BigUInteger(4)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/CS_BigInt/BigUInt.swift:18:17: note: struct 'BigUInt' does not conform to the 'Sendable' protocol
16 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
17 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
18 | public struct BigUInt: UnsignedInteger {
| `- note: struct 'BigUInt' does not conform to the 'Sendable' protocol
19 | /// The type representing a digit in `BigUInt`'s underlying number system.
20 | public typealias Word = UInt
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Implementations/Version3/Public/V3PublicAsymmetricPublicKey.swift:7:17: warning: let 'twoBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
5 | fileprivate let zeroBn = BigUInteger(0)
6 | fileprivate let oneBn = BigUInteger(1)
7 | fileprivate let twoBn = BigUInteger(2)
| |- warning: let 'twoBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'twoBn' 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
8 | fileprivate let fourBn = BigUInteger(4)
9 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/CS_BigInt/BigUInt.swift:18:17: note: struct 'BigUInt' does not conform to the 'Sendable' protocol
16 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
17 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
18 | public struct BigUInt: UnsignedInteger {
| `- note: struct 'BigUInt' does not conform to the 'Sendable' protocol
19 | /// The type representing a digit in `BigUInt`'s underlying number system.
20 | public typealias Word = UInt
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Implementations/Version3/Public/V3PublicAsymmetricPublicKey.swift:8:17: warning: let 'fourBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
6 | fileprivate let oneBn = BigUInteger(1)
7 | fileprivate let twoBn = BigUInteger(2)
8 | fileprivate let fourBn = BigUInteger(4)
| |- warning: let 'fourBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fourBn' 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 |
10 | // The following consts are extracted from the NIST spec.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/CS_BigInt/BigUInt.swift:18:17: note: struct 'BigUInt' does not conform to the 'Sendable' protocol
16 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
17 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
18 | public struct BigUInt: UnsignedInteger {
| `- note: struct 'BigUInt' does not conform to the 'Sendable' protocol
19 | /// The type representing a digit in `BigUInt`'s underlying number system.
20 | public typealias Word = UInt
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Implementations/Version3/Public/V3PublicAsymmetricPublicKey.swift:14:17: warning: let 'pBn' is not concurrency-safe because non-'Sendable' type 'CS.BigUInt' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | // p = 2^384 − 2^128 − 2^96 + 2^32 − 1
14 | fileprivate let pBn = twoBn.power(384) - twoBn.power(128) - twoBn.power(96) + twoBn.power(32) - 1
| |- warning: let 'pBn' is not concurrency-safe because non-'Sendable' type 'CS.BigUInt' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pBn' 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
15 |
16 | // a = -3 mod p
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/CS_BigInt/BigUInt.swift:18:17: note: struct 'BigUInt' does not conform to the 'Sendable' protocol
16 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
17 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
18 | public struct BigUInt: UnsignedInteger {
| `- note: struct 'BigUInt' does not conform to the 'Sendable' protocol
19 | /// The type representing a digit in `BigUInt`'s underlying number system.
20 | public typealias Word = UInt
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Implementations/Version3/Public/V3PublicAsymmetricPublicKey.swift:19:17: warning: let 'aBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
17 | // = 3940200619639447921227904010014361380507973927046544666794\
18 | // 8293404245721771496870329047266088258938001861606973112316
19 | fileprivate let aBn = BigUInteger("39402006196394479212279040100143613805079739270465446667948293404245721771496870329047266088258938001861606973112316", radix: 10)!
| |- warning: let 'aBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'aBn' 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
20 |
21 | // b = 2758019355995970587784901184038904809305690585636156852142\
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/CS_BigInt/BigUInt.swift:18:17: note: struct 'BigUInt' does not conform to the 'Sendable' protocol
16 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
17 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
18 | public struct BigUInt: UnsignedInteger {
| `- note: struct 'BigUInt' does not conform to the 'Sendable' protocol
19 | /// The type representing a digit in `BigUInt`'s underlying number system.
20 | public typealias Word = UInt
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Implementations/Version3/Public/V3PublicAsymmetricPublicKey.swift:23:17: warning: let 'bBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
21 | // b = 2758019355995970587784901184038904809305690585636156852142\
22 | // 8707301988689241309860865136260764883745107765439761230575
23 | fileprivate let bBn = BigUInteger("27580193559959705877849011840389048093056905856361568521428707301988689241309860865136260764883745107765439761230575", radix: 10)!
| |- warning: let 'bBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bBn' 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
24 |
25 | @available(macOS 11, iOS 14, watchOS 7, tvOS 14, macCatalyst 14, *)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/CS_BigInt/BigUInt.swift:18:17: note: struct 'BigUInt' does not conform to the 'Sendable' protocol
16 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
17 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
18 | public struct BigUInt: UnsignedInteger {
| `- note: struct 'BigUInt' does not conform to the 'Sendable' protocol
19 | /// The type representing a digit in `BigUInt`'s underlying number system.
20 | public typealias Word = UInt
[188/210] Compiling Paseto V2Public.swift
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:3:5: warning: let 'sodium' is not concurrency-safe because non-'Sendable' type 'Sodium' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Sodium
2 |
3 | let sodium = Sodium()
| `- warning: let 'sodium' is not concurrency-safe because non-'Sendable' type 'Sodium' may have shared mutable state; this is an error in the Swift 6 language mode
4 | let Sign = sodium.sign
5 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Sodium.swift:4:15: note: struct 'Sodium' does not conform to the 'Sendable' protocol
2 | import Clibsodium
3 |
4 | public struct Sodium {
| `- note: struct 'Sodium' does not conform to the 'Sendable' protocol
5 | public let box = Box()
6 | public let secretBox = SecretBox()
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
1 | import Sodium
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
2 |
3 | let sodium = Sodium()
| |- note: annotate 'sodium' 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
4 | let Sign = sodium.sign
5 |
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:4:5: warning: let 'Sign' is not concurrency-safe because non-'Sendable' type 'Sign' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | let sodium = Sodium()
4 | let Sign = sodium.sign
| |- warning: let 'Sign' is not concurrency-safe because non-'Sendable' type 'Sign' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Sign' 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
5 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Sign.swift:4:15: note: struct 'Sign' does not conform to the 'Sendable' protocol
2 | import Clibsodium
3 |
4 | public struct Sign {
| `- note: struct 'Sign' does not conform to the 'Sendable' protocol
5 | public let Bytes = Int(crypto_sign_bytes())
6 | public let Primitive = String(validatingUTF8: crypto_sign_primitive())
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Implementations/Version3/Public/V3PublicAsymmetricPublicKey.swift:5:17: warning: let 'zeroBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
3 | import CryptoSwift
4 |
5 | fileprivate let zeroBn = BigUInteger(0)
| `- warning: let 'zeroBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
6 | fileprivate let oneBn = BigUInteger(1)
7 | fileprivate let twoBn = BigUInteger(2)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/CS_BigInt/BigUInt.swift:18:17: note: struct 'BigUInt' does not conform to the 'Sendable' protocol
16 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
17 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
18 | public struct BigUInt: UnsignedInteger {
| `- note: struct 'BigUInt' does not conform to the 'Sendable' protocol
19 | /// The type representing a digit in `BigUInt`'s underlying number system.
20 | public typealias Word = UInt
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Implementations/Version3/Public/V3PublicAsymmetricPublicKey.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CryptoSwift'
1 | import Foundation
2 | import CryptoKit
3 | import CryptoSwift
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CryptoSwift'
4 |
5 | fileprivate let zeroBn = BigUInteger(0)
| |- note: annotate 'zeroBn' 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
6 | fileprivate let oneBn = BigUInteger(1)
7 | fileprivate let twoBn = BigUInteger(2)
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Implementations/Version3/Public/V3PublicAsymmetricPublicKey.swift:6:17: warning: let 'oneBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | fileprivate let zeroBn = BigUInteger(0)
6 | fileprivate let oneBn = BigUInteger(1)
| |- warning: let 'oneBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'oneBn' 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
7 | fileprivate let twoBn = BigUInteger(2)
8 | fileprivate let fourBn = BigUInteger(4)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/CS_BigInt/BigUInt.swift:18:17: note: struct 'BigUInt' does not conform to the 'Sendable' protocol
16 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
17 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
18 | public struct BigUInt: UnsignedInteger {
| `- note: struct 'BigUInt' does not conform to the 'Sendable' protocol
19 | /// The type representing a digit in `BigUInt`'s underlying number system.
20 | public typealias Word = UInt
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Implementations/Version3/Public/V3PublicAsymmetricPublicKey.swift:7:17: warning: let 'twoBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
5 | fileprivate let zeroBn = BigUInteger(0)
6 | fileprivate let oneBn = BigUInteger(1)
7 | fileprivate let twoBn = BigUInteger(2)
| |- warning: let 'twoBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'twoBn' 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
8 | fileprivate let fourBn = BigUInteger(4)
9 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/CS_BigInt/BigUInt.swift:18:17: note: struct 'BigUInt' does not conform to the 'Sendable' protocol
16 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
17 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
18 | public struct BigUInt: UnsignedInteger {
| `- note: struct 'BigUInt' does not conform to the 'Sendable' protocol
19 | /// The type representing a digit in `BigUInt`'s underlying number system.
20 | public typealias Word = UInt
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Implementations/Version3/Public/V3PublicAsymmetricPublicKey.swift:8:17: warning: let 'fourBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
6 | fileprivate let oneBn = BigUInteger(1)
7 | fileprivate let twoBn = BigUInteger(2)
8 | fileprivate let fourBn = BigUInteger(4)
| |- warning: let 'fourBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fourBn' 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 |
10 | // The following consts are extracted from the NIST spec.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/CS_BigInt/BigUInt.swift:18:17: note: struct 'BigUInt' does not conform to the 'Sendable' protocol
16 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
17 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
18 | public struct BigUInt: UnsignedInteger {
| `- note: struct 'BigUInt' does not conform to the 'Sendable' protocol
19 | /// The type representing a digit in `BigUInt`'s underlying number system.
20 | public typealias Word = UInt
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Implementations/Version3/Public/V3PublicAsymmetricPublicKey.swift:14:17: warning: let 'pBn' is not concurrency-safe because non-'Sendable' type 'CS.BigUInt' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | // p = 2^384 − 2^128 − 2^96 + 2^32 − 1
14 | fileprivate let pBn = twoBn.power(384) - twoBn.power(128) - twoBn.power(96) + twoBn.power(32) - 1
| |- warning: let 'pBn' is not concurrency-safe because non-'Sendable' type 'CS.BigUInt' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pBn' 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
15 |
16 | // a = -3 mod p
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/CS_BigInt/BigUInt.swift:18:17: note: struct 'BigUInt' does not conform to the 'Sendable' protocol
16 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
17 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
18 | public struct BigUInt: UnsignedInteger {
| `- note: struct 'BigUInt' does not conform to the 'Sendable' protocol
19 | /// The type representing a digit in `BigUInt`'s underlying number system.
20 | public typealias Word = UInt
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Implementations/Version3/Public/V3PublicAsymmetricPublicKey.swift:19:17: warning: let 'aBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
17 | // = 3940200619639447921227904010014361380507973927046544666794\
18 | // 8293404245721771496870329047266088258938001861606973112316
19 | fileprivate let aBn = BigUInteger("39402006196394479212279040100143613805079739270465446667948293404245721771496870329047266088258938001861606973112316", radix: 10)!
| |- warning: let 'aBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'aBn' 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
20 |
21 | // b = 2758019355995970587784901184038904809305690585636156852142\
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/CS_BigInt/BigUInt.swift:18:17: note: struct 'BigUInt' does not conform to the 'Sendable' protocol
16 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
17 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
18 | public struct BigUInt: UnsignedInteger {
| `- note: struct 'BigUInt' does not conform to the 'Sendable' protocol
19 | /// The type representing a digit in `BigUInt`'s underlying number system.
20 | public typealias Word = UInt
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Implementations/Version3/Public/V3PublicAsymmetricPublicKey.swift:23:17: warning: let 'bBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
21 | // b = 2758019355995970587784901184038904809305690585636156852142\
22 | // 8707301988689241309860865136260764883745107765439761230575
23 | fileprivate let bBn = BigUInteger("27580193559959705877849011840389048093056905856361568521428707301988689241309860865136260764883745107765439761230575", radix: 10)!
| |- warning: let 'bBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bBn' 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
24 |
25 | @available(macOS 11, iOS 14, watchOS 7, tvOS 14, macCatalyst 14, *)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/CS_BigInt/BigUInt.swift:18:17: note: struct 'BigUInt' does not conform to the 'Sendable' protocol
16 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
17 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
18 | public struct BigUInt: UnsignedInteger {
| `- note: struct 'BigUInt' does not conform to the 'Sendable' protocol
19 | /// The type representing a digit in `BigUInt`'s underlying number system.
20 | public typealias Word = UInt
[189/210] Compiling Paseto Version3.swift
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:3:5: warning: let 'sodium' is not concurrency-safe because non-'Sendable' type 'Sodium' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Sodium
2 |
3 | let sodium = Sodium()
| `- warning: let 'sodium' is not concurrency-safe because non-'Sendable' type 'Sodium' may have shared mutable state; this is an error in the Swift 6 language mode
4 | let Sign = sodium.sign
5 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Sodium.swift:4:15: note: struct 'Sodium' does not conform to the 'Sendable' protocol
2 | import Clibsodium
3 |
4 | public struct Sodium {
| `- note: struct 'Sodium' does not conform to the 'Sendable' protocol
5 | public let box = Box()
6 | public let secretBox = SecretBox()
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
1 | import Sodium
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
2 |
3 | let sodium = Sodium()
| |- note: annotate 'sodium' 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
4 | let Sign = sodium.sign
5 |
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:4:5: warning: let 'Sign' is not concurrency-safe because non-'Sendable' type 'Sign' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | let sodium = Sodium()
4 | let Sign = sodium.sign
| |- warning: let 'Sign' is not concurrency-safe because non-'Sendable' type 'Sign' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Sign' 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
5 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Sign.swift:4:15: note: struct 'Sign' does not conform to the 'Sendable' protocol
2 | import Clibsodium
3 |
4 | public struct Sign {
| `- note: struct 'Sign' does not conform to the 'Sendable' protocol
5 | public let Bytes = Int(crypto_sign_bytes())
6 | public let Primitive = String(validatingUTF8: crypto_sign_primitive())
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Implementations/Version3/Public/V3PublicAsymmetricPublicKey.swift:5:17: warning: let 'zeroBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
3 | import CryptoSwift
4 |
5 | fileprivate let zeroBn = BigUInteger(0)
| `- warning: let 'zeroBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
6 | fileprivate let oneBn = BigUInteger(1)
7 | fileprivate let twoBn = BigUInteger(2)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/CS_BigInt/BigUInt.swift:18:17: note: struct 'BigUInt' does not conform to the 'Sendable' protocol
16 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
17 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
18 | public struct BigUInt: UnsignedInteger {
| `- note: struct 'BigUInt' does not conform to the 'Sendable' protocol
19 | /// The type representing a digit in `BigUInt`'s underlying number system.
20 | public typealias Word = UInt
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Implementations/Version3/Public/V3PublicAsymmetricPublicKey.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CryptoSwift'
1 | import Foundation
2 | import CryptoKit
3 | import CryptoSwift
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CryptoSwift'
4 |
5 | fileprivate let zeroBn = BigUInteger(0)
| |- note: annotate 'zeroBn' 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
6 | fileprivate let oneBn = BigUInteger(1)
7 | fileprivate let twoBn = BigUInteger(2)
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Implementations/Version3/Public/V3PublicAsymmetricPublicKey.swift:6:17: warning: let 'oneBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | fileprivate let zeroBn = BigUInteger(0)
6 | fileprivate let oneBn = BigUInteger(1)
| |- warning: let 'oneBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'oneBn' 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
7 | fileprivate let twoBn = BigUInteger(2)
8 | fileprivate let fourBn = BigUInteger(4)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/CS_BigInt/BigUInt.swift:18:17: note: struct 'BigUInt' does not conform to the 'Sendable' protocol
16 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
17 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
18 | public struct BigUInt: UnsignedInteger {
| `- note: struct 'BigUInt' does not conform to the 'Sendable' protocol
19 | /// The type representing a digit in `BigUInt`'s underlying number system.
20 | public typealias Word = UInt
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Implementations/Version3/Public/V3PublicAsymmetricPublicKey.swift:7:17: warning: let 'twoBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
5 | fileprivate let zeroBn = BigUInteger(0)
6 | fileprivate let oneBn = BigUInteger(1)
7 | fileprivate let twoBn = BigUInteger(2)
| |- warning: let 'twoBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'twoBn' 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
8 | fileprivate let fourBn = BigUInteger(4)
9 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/CS_BigInt/BigUInt.swift:18:17: note: struct 'BigUInt' does not conform to the 'Sendable' protocol
16 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
17 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
18 | public struct BigUInt: UnsignedInteger {
| `- note: struct 'BigUInt' does not conform to the 'Sendable' protocol
19 | /// The type representing a digit in `BigUInt`'s underlying number system.
20 | public typealias Word = UInt
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Implementations/Version3/Public/V3PublicAsymmetricPublicKey.swift:8:17: warning: let 'fourBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
6 | fileprivate let oneBn = BigUInteger(1)
7 | fileprivate let twoBn = BigUInteger(2)
8 | fileprivate let fourBn = BigUInteger(4)
| |- warning: let 'fourBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fourBn' 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 |
10 | // The following consts are extracted from the NIST spec.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/CS_BigInt/BigUInt.swift:18:17: note: struct 'BigUInt' does not conform to the 'Sendable' protocol
16 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
17 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
18 | public struct BigUInt: UnsignedInteger {
| `- note: struct 'BigUInt' does not conform to the 'Sendable' protocol
19 | /// The type representing a digit in `BigUInt`'s underlying number system.
20 | public typealias Word = UInt
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Implementations/Version3/Public/V3PublicAsymmetricPublicKey.swift:14:17: warning: let 'pBn' is not concurrency-safe because non-'Sendable' type 'CS.BigUInt' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | // p = 2^384 − 2^128 − 2^96 + 2^32 − 1
14 | fileprivate let pBn = twoBn.power(384) - twoBn.power(128) - twoBn.power(96) + twoBn.power(32) - 1
| |- warning: let 'pBn' is not concurrency-safe because non-'Sendable' type 'CS.BigUInt' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pBn' 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
15 |
16 | // a = -3 mod p
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/CS_BigInt/BigUInt.swift:18:17: note: struct 'BigUInt' does not conform to the 'Sendable' protocol
16 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
17 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
18 | public struct BigUInt: UnsignedInteger {
| `- note: struct 'BigUInt' does not conform to the 'Sendable' protocol
19 | /// The type representing a digit in `BigUInt`'s underlying number system.
20 | public typealias Word = UInt
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Implementations/Version3/Public/V3PublicAsymmetricPublicKey.swift:19:17: warning: let 'aBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
17 | // = 3940200619639447921227904010014361380507973927046544666794\
18 | // 8293404245721771496870329047266088258938001861606973112316
19 | fileprivate let aBn = BigUInteger("39402006196394479212279040100143613805079739270465446667948293404245721771496870329047266088258938001861606973112316", radix: 10)!
| |- warning: let 'aBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'aBn' 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
20 |
21 | // b = 2758019355995970587784901184038904809305690585636156852142\
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/CS_BigInt/BigUInt.swift:18:17: note: struct 'BigUInt' does not conform to the 'Sendable' protocol
16 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
17 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
18 | public struct BigUInt: UnsignedInteger {
| `- note: struct 'BigUInt' does not conform to the 'Sendable' protocol
19 | /// The type representing a digit in `BigUInt`'s underlying number system.
20 | public typealias Word = UInt
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Implementations/Version3/Public/V3PublicAsymmetricPublicKey.swift:23:17: warning: let 'bBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
21 | // b = 2758019355995970587784901184038904809305690585636156852142\
22 | // 8707301988689241309860865136260764883745107765439761230575
23 | fileprivate let bBn = BigUInteger("27580193559959705877849011840389048093056905856361568521428707301988689241309860865136260764883745107765439761230575", radix: 10)!
| |- warning: let 'bBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bBn' 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
24 |
25 | @available(macOS 11, iOS 14, watchOS 7, tvOS 14, macCatalyst 14, *)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/CS_BigInt/BigUInt.swift:18:17: note: struct 'BigUInt' does not conform to the 'Sendable' protocol
16 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
17 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
18 | public struct BigUInt: UnsignedInteger {
| `- note: struct 'BigUInt' does not conform to the 'Sendable' protocol
19 | /// The type representing a digit in `BigUInt`'s underlying number system.
20 | public typealias Word = UInt
[190/210] Compiling Paseto V3LocalPayload.swift
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:3:5: warning: let 'sodium' is not concurrency-safe because non-'Sendable' type 'Sodium' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Sodium
2 |
3 | let sodium = Sodium()
| `- warning: let 'sodium' is not concurrency-safe because non-'Sendable' type 'Sodium' may have shared mutable state; this is an error in the Swift 6 language mode
4 | let Sign = sodium.sign
5 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Sodium.swift:4:15: note: struct 'Sodium' does not conform to the 'Sendable' protocol
2 | import Clibsodium
3 |
4 | public struct Sodium {
| `- note: struct 'Sodium' does not conform to the 'Sendable' protocol
5 | public let box = Box()
6 | public let secretBox = SecretBox()
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
1 | import Sodium
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
2 |
3 | let sodium = Sodium()
| |- note: annotate 'sodium' 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
4 | let Sign = sodium.sign
5 |
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:4:5: warning: let 'Sign' is not concurrency-safe because non-'Sendable' type 'Sign' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | let sodium = Sodium()
4 | let Sign = sodium.sign
| |- warning: let 'Sign' is not concurrency-safe because non-'Sendable' type 'Sign' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Sign' 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
5 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Sign.swift:4:15: note: struct 'Sign' does not conform to the 'Sendable' protocol
2 | import Clibsodium
3 |
4 | public struct Sign {
| `- note: struct 'Sign' does not conform to the 'Sendable' protocol
5 | public let Bytes = Int(crypto_sign_bytes())
6 | public let Primitive = String(validatingUTF8: crypto_sign_primitive())
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Implementations/Version3/Public/V3PublicAsymmetricPublicKey.swift:5:17: warning: let 'zeroBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
3 | import CryptoSwift
4 |
5 | fileprivate let zeroBn = BigUInteger(0)
| `- warning: let 'zeroBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
6 | fileprivate let oneBn = BigUInteger(1)
7 | fileprivate let twoBn = BigUInteger(2)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/CS_BigInt/BigUInt.swift:18:17: note: struct 'BigUInt' does not conform to the 'Sendable' protocol
16 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
17 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
18 | public struct BigUInt: UnsignedInteger {
| `- note: struct 'BigUInt' does not conform to the 'Sendable' protocol
19 | /// The type representing a digit in `BigUInt`'s underlying number system.
20 | public typealias Word = UInt
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Implementations/Version3/Public/V3PublicAsymmetricPublicKey.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CryptoSwift'
1 | import Foundation
2 | import CryptoKit
3 | import CryptoSwift
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CryptoSwift'
4 |
5 | fileprivate let zeroBn = BigUInteger(0)
| |- note: annotate 'zeroBn' 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
6 | fileprivate let oneBn = BigUInteger(1)
7 | fileprivate let twoBn = BigUInteger(2)
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Implementations/Version3/Public/V3PublicAsymmetricPublicKey.swift:6:17: warning: let 'oneBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | fileprivate let zeroBn = BigUInteger(0)
6 | fileprivate let oneBn = BigUInteger(1)
| |- warning: let 'oneBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'oneBn' 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
7 | fileprivate let twoBn = BigUInteger(2)
8 | fileprivate let fourBn = BigUInteger(4)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/CS_BigInt/BigUInt.swift:18:17: note: struct 'BigUInt' does not conform to the 'Sendable' protocol
16 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
17 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
18 | public struct BigUInt: UnsignedInteger {
| `- note: struct 'BigUInt' does not conform to the 'Sendable' protocol
19 | /// The type representing a digit in `BigUInt`'s underlying number system.
20 | public typealias Word = UInt
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Implementations/Version3/Public/V3PublicAsymmetricPublicKey.swift:7:17: warning: let 'twoBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
5 | fileprivate let zeroBn = BigUInteger(0)
6 | fileprivate let oneBn = BigUInteger(1)
7 | fileprivate let twoBn = BigUInteger(2)
| |- warning: let 'twoBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'twoBn' 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
8 | fileprivate let fourBn = BigUInteger(4)
9 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/CS_BigInt/BigUInt.swift:18:17: note: struct 'BigUInt' does not conform to the 'Sendable' protocol
16 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
17 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
18 | public struct BigUInt: UnsignedInteger {
| `- note: struct 'BigUInt' does not conform to the 'Sendable' protocol
19 | /// The type representing a digit in `BigUInt`'s underlying number system.
20 | public typealias Word = UInt
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Implementations/Version3/Public/V3PublicAsymmetricPublicKey.swift:8:17: warning: let 'fourBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
6 | fileprivate let oneBn = BigUInteger(1)
7 | fileprivate let twoBn = BigUInteger(2)
8 | fileprivate let fourBn = BigUInteger(4)
| |- warning: let 'fourBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fourBn' 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 |
10 | // The following consts are extracted from the NIST spec.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/CS_BigInt/BigUInt.swift:18:17: note: struct 'BigUInt' does not conform to the 'Sendable' protocol
16 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
17 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
18 | public struct BigUInt: UnsignedInteger {
| `- note: struct 'BigUInt' does not conform to the 'Sendable' protocol
19 | /// The type representing a digit in `BigUInt`'s underlying number system.
20 | public typealias Word = UInt
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Implementations/Version3/Public/V3PublicAsymmetricPublicKey.swift:14:17: warning: let 'pBn' is not concurrency-safe because non-'Sendable' type 'CS.BigUInt' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | // p = 2^384 − 2^128 − 2^96 + 2^32 − 1
14 | fileprivate let pBn = twoBn.power(384) - twoBn.power(128) - twoBn.power(96) + twoBn.power(32) - 1
| |- warning: let 'pBn' is not concurrency-safe because non-'Sendable' type 'CS.BigUInt' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pBn' 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
15 |
16 | // a = -3 mod p
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/CS_BigInt/BigUInt.swift:18:17: note: struct 'BigUInt' does not conform to the 'Sendable' protocol
16 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
17 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
18 | public struct BigUInt: UnsignedInteger {
| `- note: struct 'BigUInt' does not conform to the 'Sendable' protocol
19 | /// The type representing a digit in `BigUInt`'s underlying number system.
20 | public typealias Word = UInt
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Implementations/Version3/Public/V3PublicAsymmetricPublicKey.swift:19:17: warning: let 'aBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
17 | // = 3940200619639447921227904010014361380507973927046544666794\
18 | // 8293404245721771496870329047266088258938001861606973112316
19 | fileprivate let aBn = BigUInteger("39402006196394479212279040100143613805079739270465446667948293404245721771496870329047266088258938001861606973112316", radix: 10)!
| |- warning: let 'aBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'aBn' 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
20 |
21 | // b = 2758019355995970587784901184038904809305690585636156852142\
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/CS_BigInt/BigUInt.swift:18:17: note: struct 'BigUInt' does not conform to the 'Sendable' protocol
16 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
17 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
18 | public struct BigUInt: UnsignedInteger {
| `- note: struct 'BigUInt' does not conform to the 'Sendable' protocol
19 | /// The type representing a digit in `BigUInt`'s underlying number system.
20 | public typealias Word = UInt
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Implementations/Version3/Public/V3PublicAsymmetricPublicKey.swift:23:17: warning: let 'bBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
21 | // b = 2758019355995970587784901184038904809305690585636156852142\
22 | // 8707301988689241309860865136260764883745107765439761230575
23 | fileprivate let bBn = BigUInteger("27580193559959705877849011840389048093056905856361568521428707301988689241309860865136260764883745107765439761230575", radix: 10)!
| |- warning: let 'bBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bBn' 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
24 |
25 | @available(macOS 11, iOS 14, watchOS 7, tvOS 14, macCatalyst 14, *)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/CS_BigInt/BigUInt.swift:18:17: note: struct 'BigUInt' does not conform to the 'Sendable' protocol
16 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
17 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
18 | public struct BigUInt: UnsignedInteger {
| `- note: struct 'BigUInt' does not conform to the 'Sendable' protocol
19 | /// The type representing a digit in `BigUInt`'s underlying number system.
20 | public typealias Word = UInt
[191/210] Compiling Paseto V3LocalSymmetricKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:3:5: warning: let 'sodium' is not concurrency-safe because non-'Sendable' type 'Sodium' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Sodium
2 |
3 | let sodium = Sodium()
| `- warning: let 'sodium' is not concurrency-safe because non-'Sendable' type 'Sodium' may have shared mutable state; this is an error in the Swift 6 language mode
4 | let Sign = sodium.sign
5 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Sodium.swift:4:15: note: struct 'Sodium' does not conform to the 'Sendable' protocol
2 | import Clibsodium
3 |
4 | public struct Sodium {
| `- note: struct 'Sodium' does not conform to the 'Sendable' protocol
5 | public let box = Box()
6 | public let secretBox = SecretBox()
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
1 | import Sodium
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
2 |
3 | let sodium = Sodium()
| |- note: annotate 'sodium' 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
4 | let Sign = sodium.sign
5 |
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:4:5: warning: let 'Sign' is not concurrency-safe because non-'Sendable' type 'Sign' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | let sodium = Sodium()
4 | let Sign = sodium.sign
| |- warning: let 'Sign' is not concurrency-safe because non-'Sendable' type 'Sign' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Sign' 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
5 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Sign.swift:4:15: note: struct 'Sign' does not conform to the 'Sendable' protocol
2 | import Clibsodium
3 |
4 | public struct Sign {
| `- note: struct 'Sign' does not conform to the 'Sendable' protocol
5 | public let Bytes = Int(crypto_sign_bytes())
6 | public let Primitive = String(validatingUTF8: crypto_sign_primitive())
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Implementations/Version3/Public/V3PublicAsymmetricPublicKey.swift:5:17: warning: let 'zeroBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
3 | import CryptoSwift
4 |
5 | fileprivate let zeroBn = BigUInteger(0)
| `- warning: let 'zeroBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
6 | fileprivate let oneBn = BigUInteger(1)
7 | fileprivate let twoBn = BigUInteger(2)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/CS_BigInt/BigUInt.swift:18:17: note: struct 'BigUInt' does not conform to the 'Sendable' protocol
16 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
17 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
18 | public struct BigUInt: UnsignedInteger {
| `- note: struct 'BigUInt' does not conform to the 'Sendable' protocol
19 | /// The type representing a digit in `BigUInt`'s underlying number system.
20 | public typealias Word = UInt
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Implementations/Version3/Public/V3PublicAsymmetricPublicKey.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CryptoSwift'
1 | import Foundation
2 | import CryptoKit
3 | import CryptoSwift
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CryptoSwift'
4 |
5 | fileprivate let zeroBn = BigUInteger(0)
| |- note: annotate 'zeroBn' 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
6 | fileprivate let oneBn = BigUInteger(1)
7 | fileprivate let twoBn = BigUInteger(2)
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Implementations/Version3/Public/V3PublicAsymmetricPublicKey.swift:6:17: warning: let 'oneBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | fileprivate let zeroBn = BigUInteger(0)
6 | fileprivate let oneBn = BigUInteger(1)
| |- warning: let 'oneBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'oneBn' 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
7 | fileprivate let twoBn = BigUInteger(2)
8 | fileprivate let fourBn = BigUInteger(4)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/CS_BigInt/BigUInt.swift:18:17: note: struct 'BigUInt' does not conform to the 'Sendable' protocol
16 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
17 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
18 | public struct BigUInt: UnsignedInteger {
| `- note: struct 'BigUInt' does not conform to the 'Sendable' protocol
19 | /// The type representing a digit in `BigUInt`'s underlying number system.
20 | public typealias Word = UInt
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Implementations/Version3/Public/V3PublicAsymmetricPublicKey.swift:7:17: warning: let 'twoBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
5 | fileprivate let zeroBn = BigUInteger(0)
6 | fileprivate let oneBn = BigUInteger(1)
7 | fileprivate let twoBn = BigUInteger(2)
| |- warning: let 'twoBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'twoBn' 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
8 | fileprivate let fourBn = BigUInteger(4)
9 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/CS_BigInt/BigUInt.swift:18:17: note: struct 'BigUInt' does not conform to the 'Sendable' protocol
16 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
17 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
18 | public struct BigUInt: UnsignedInteger {
| `- note: struct 'BigUInt' does not conform to the 'Sendable' protocol
19 | /// The type representing a digit in `BigUInt`'s underlying number system.
20 | public typealias Word = UInt
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Implementations/Version3/Public/V3PublicAsymmetricPublicKey.swift:8:17: warning: let 'fourBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
6 | fileprivate let oneBn = BigUInteger(1)
7 | fileprivate let twoBn = BigUInteger(2)
8 | fileprivate let fourBn = BigUInteger(4)
| |- warning: let 'fourBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fourBn' 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 |
10 | // The following consts are extracted from the NIST spec.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/CS_BigInt/BigUInt.swift:18:17: note: struct 'BigUInt' does not conform to the 'Sendable' protocol
16 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
17 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
18 | public struct BigUInt: UnsignedInteger {
| `- note: struct 'BigUInt' does not conform to the 'Sendable' protocol
19 | /// The type representing a digit in `BigUInt`'s underlying number system.
20 | public typealias Word = UInt
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Implementations/Version3/Public/V3PublicAsymmetricPublicKey.swift:14:17: warning: let 'pBn' is not concurrency-safe because non-'Sendable' type 'CS.BigUInt' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | // p = 2^384 − 2^128 − 2^96 + 2^32 − 1
14 | fileprivate let pBn = twoBn.power(384) - twoBn.power(128) - twoBn.power(96) + twoBn.power(32) - 1
| |- warning: let 'pBn' is not concurrency-safe because non-'Sendable' type 'CS.BigUInt' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pBn' 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
15 |
16 | // a = -3 mod p
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/CS_BigInt/BigUInt.swift:18:17: note: struct 'BigUInt' does not conform to the 'Sendable' protocol
16 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
17 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
18 | public struct BigUInt: UnsignedInteger {
| `- note: struct 'BigUInt' does not conform to the 'Sendable' protocol
19 | /// The type representing a digit in `BigUInt`'s underlying number system.
20 | public typealias Word = UInt
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Implementations/Version3/Public/V3PublicAsymmetricPublicKey.swift:19:17: warning: let 'aBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
17 | // = 3940200619639447921227904010014361380507973927046544666794\
18 | // 8293404245721771496870329047266088258938001861606973112316
19 | fileprivate let aBn = BigUInteger("39402006196394479212279040100143613805079739270465446667948293404245721771496870329047266088258938001861606973112316", radix: 10)!
| |- warning: let 'aBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'aBn' 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
20 |
21 | // b = 2758019355995970587784901184038904809305690585636156852142\
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/CS_BigInt/BigUInt.swift:18:17: note: struct 'BigUInt' does not conform to the 'Sendable' protocol
16 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
17 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
18 | public struct BigUInt: UnsignedInteger {
| `- note: struct 'BigUInt' does not conform to the 'Sendable' protocol
19 | /// The type representing a digit in `BigUInt`'s underlying number system.
20 | public typealias Word = UInt
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Implementations/Version3/Public/V3PublicAsymmetricPublicKey.swift:23:17: warning: let 'bBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
21 | // b = 2758019355995970587784901184038904809305690585636156852142\
22 | // 8707301988689241309860865136260764883745107765439761230575
23 | fileprivate let bBn = BigUInteger("27580193559959705877849011840389048093056905856361568521428707301988689241309860865136260764883745107765439761230575", radix: 10)!
| |- warning: let 'bBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bBn' 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
24 |
25 | @available(macOS 11, iOS 14, watchOS 7, tvOS 14, macCatalyst 14, *)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/CS_BigInt/BigUInt.swift:18:17: note: struct 'BigUInt' does not conform to the 'Sendable' protocol
16 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
17 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
18 | public struct BigUInt: UnsignedInteger {
| `- note: struct 'BigUInt' does not conform to the 'Sendable' protocol
19 | /// The type representing a digit in `BigUInt`'s underlying number system.
20 | public typealias Word = UInt
[192/210] Compiling Paseto V3PublicAsymmetricPublicKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:3:5: warning: let 'sodium' is not concurrency-safe because non-'Sendable' type 'Sodium' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Sodium
2 |
3 | let sodium = Sodium()
| `- warning: let 'sodium' is not concurrency-safe because non-'Sendable' type 'Sodium' may have shared mutable state; this is an error in the Swift 6 language mode
4 | let Sign = sodium.sign
5 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Sodium.swift:4:15: note: struct 'Sodium' does not conform to the 'Sendable' protocol
2 | import Clibsodium
3 |
4 | public struct Sodium {
| `- note: struct 'Sodium' does not conform to the 'Sendable' protocol
5 | public let box = Box()
6 | public let secretBox = SecretBox()
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
1 | import Sodium
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
2 |
3 | let sodium = Sodium()
| |- note: annotate 'sodium' 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
4 | let Sign = sodium.sign
5 |
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:4:5: warning: let 'Sign' is not concurrency-safe because non-'Sendable' type 'Sign' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | let sodium = Sodium()
4 | let Sign = sodium.sign
| |- warning: let 'Sign' is not concurrency-safe because non-'Sendable' type 'Sign' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Sign' 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
5 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Sign.swift:4:15: note: struct 'Sign' does not conform to the 'Sendable' protocol
2 | import Clibsodium
3 |
4 | public struct Sign {
| `- note: struct 'Sign' does not conform to the 'Sendable' protocol
5 | public let Bytes = Int(crypto_sign_bytes())
6 | public let Primitive = String(validatingUTF8: crypto_sign_primitive())
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Implementations/Version3/Public/V3PublicAsymmetricPublicKey.swift:5:17: warning: let 'zeroBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
3 | import CryptoSwift
4 |
5 | fileprivate let zeroBn = BigUInteger(0)
| `- warning: let 'zeroBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
6 | fileprivate let oneBn = BigUInteger(1)
7 | fileprivate let twoBn = BigUInteger(2)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/CS_BigInt/BigUInt.swift:18:17: note: struct 'BigUInt' does not conform to the 'Sendable' protocol
16 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
17 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
18 | public struct BigUInt: UnsignedInteger {
| `- note: struct 'BigUInt' does not conform to the 'Sendable' protocol
19 | /// The type representing a digit in `BigUInt`'s underlying number system.
20 | public typealias Word = UInt
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Implementations/Version3/Public/V3PublicAsymmetricPublicKey.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CryptoSwift'
1 | import Foundation
2 | import CryptoKit
3 | import CryptoSwift
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CryptoSwift'
4 |
5 | fileprivate let zeroBn = BigUInteger(0)
| |- note: annotate 'zeroBn' 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
6 | fileprivate let oneBn = BigUInteger(1)
7 | fileprivate let twoBn = BigUInteger(2)
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Implementations/Version3/Public/V3PublicAsymmetricPublicKey.swift:6:17: warning: let 'oneBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | fileprivate let zeroBn = BigUInteger(0)
6 | fileprivate let oneBn = BigUInteger(1)
| |- warning: let 'oneBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'oneBn' 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
7 | fileprivate let twoBn = BigUInteger(2)
8 | fileprivate let fourBn = BigUInteger(4)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/CS_BigInt/BigUInt.swift:18:17: note: struct 'BigUInt' does not conform to the 'Sendable' protocol
16 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
17 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
18 | public struct BigUInt: UnsignedInteger {
| `- note: struct 'BigUInt' does not conform to the 'Sendable' protocol
19 | /// The type representing a digit in `BigUInt`'s underlying number system.
20 | public typealias Word = UInt
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Implementations/Version3/Public/V3PublicAsymmetricPublicKey.swift:7:17: warning: let 'twoBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
5 | fileprivate let zeroBn = BigUInteger(0)
6 | fileprivate let oneBn = BigUInteger(1)
7 | fileprivate let twoBn = BigUInteger(2)
| |- warning: let 'twoBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'twoBn' 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
8 | fileprivate let fourBn = BigUInteger(4)
9 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/CS_BigInt/BigUInt.swift:18:17: note: struct 'BigUInt' does not conform to the 'Sendable' protocol
16 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
17 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
18 | public struct BigUInt: UnsignedInteger {
| `- note: struct 'BigUInt' does not conform to the 'Sendable' protocol
19 | /// The type representing a digit in `BigUInt`'s underlying number system.
20 | public typealias Word = UInt
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Implementations/Version3/Public/V3PublicAsymmetricPublicKey.swift:8:17: warning: let 'fourBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
6 | fileprivate let oneBn = BigUInteger(1)
7 | fileprivate let twoBn = BigUInteger(2)
8 | fileprivate let fourBn = BigUInteger(4)
| |- warning: let 'fourBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fourBn' 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 |
10 | // The following consts are extracted from the NIST spec.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/CS_BigInt/BigUInt.swift:18:17: note: struct 'BigUInt' does not conform to the 'Sendable' protocol
16 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
17 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
18 | public struct BigUInt: UnsignedInteger {
| `- note: struct 'BigUInt' does not conform to the 'Sendable' protocol
19 | /// The type representing a digit in `BigUInt`'s underlying number system.
20 | public typealias Word = UInt
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Implementations/Version3/Public/V3PublicAsymmetricPublicKey.swift:14:17: warning: let 'pBn' is not concurrency-safe because non-'Sendable' type 'CS.BigUInt' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | // p = 2^384 − 2^128 − 2^96 + 2^32 − 1
14 | fileprivate let pBn = twoBn.power(384) - twoBn.power(128) - twoBn.power(96) + twoBn.power(32) - 1
| |- warning: let 'pBn' is not concurrency-safe because non-'Sendable' type 'CS.BigUInt' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pBn' 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
15 |
16 | // a = -3 mod p
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/CS_BigInt/BigUInt.swift:18:17: note: struct 'BigUInt' does not conform to the 'Sendable' protocol
16 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
17 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
18 | public struct BigUInt: UnsignedInteger {
| `- note: struct 'BigUInt' does not conform to the 'Sendable' protocol
19 | /// The type representing a digit in `BigUInt`'s underlying number system.
20 | public typealias Word = UInt
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Implementations/Version3/Public/V3PublicAsymmetricPublicKey.swift:19:17: warning: let 'aBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
17 | // = 3940200619639447921227904010014361380507973927046544666794\
18 | // 8293404245721771496870329047266088258938001861606973112316
19 | fileprivate let aBn = BigUInteger("39402006196394479212279040100143613805079739270465446667948293404245721771496870329047266088258938001861606973112316", radix: 10)!
| |- warning: let 'aBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'aBn' 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
20 |
21 | // b = 2758019355995970587784901184038904809305690585636156852142\
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/CS_BigInt/BigUInt.swift:18:17: note: struct 'BigUInt' does not conform to the 'Sendable' protocol
16 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
17 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
18 | public struct BigUInt: UnsignedInteger {
| `- note: struct 'BigUInt' does not conform to the 'Sendable' protocol
19 | /// The type representing a digit in `BigUInt`'s underlying number system.
20 | public typealias Word = UInt
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Implementations/Version3/Public/V3PublicAsymmetricPublicKey.swift:23:17: warning: let 'bBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
21 | // b = 2758019355995970587784901184038904809305690585636156852142\
22 | // 8707301988689241309860865136260764883745107765439761230575
23 | fileprivate let bBn = BigUInteger("27580193559959705877849011840389048093056905856361568521428707301988689241309860865136260764883745107765439761230575", radix: 10)!
| |- warning: let 'bBn' is not concurrency-safe because non-'Sendable' type 'BigUInteger' (aka 'CS.BigUInt') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bBn' 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
24 |
25 | @available(macOS 11, iOS 14, watchOS 7, tvOS 14, macCatalyst 14, *)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/CS_BigInt/BigUInt.swift:18:17: note: struct 'BigUInt' does not conform to the 'Sendable' protocol
16 | /// This particular big integer type uses base-2^64 digits to represent integers; you can think of it as a wrapper
17 | /// around `Array<UInt64>`. (In fact, `BigUInt` only uses an array if there are more than two digits.)
18 | public struct BigUInt: UnsignedInteger {
| `- note: struct 'BigUInt' does not conform to the 'Sendable' protocol
19 | /// The type representing a digit in `BigUInt`'s underlying number system.
20 | public typealias Word = UInt
[193/210] Compiling Paseto Module.swift
[194/210] Compiling Paseto Version.swift
[195/210] Compiling Paseto Version1.swift
[196/210] Compiling Paseto V1LocalPayload.swift
[197/210] Compiling Paseto V1LocalSymmetricKey.swift
[198/210] Compiling Paseto V1Local.swift
[199/210] Compiling Paseto V3PublicAsymmetricSecretKey.swift
[200/210] Compiling Paseto V3PublicPayload.swift
[201/210] Compiling Paseto V3Local.swift
[202/210] Compiling Paseto V3Public.swift
[203/210] Compiling Paseto Version4.swift
[204/210] Compiling Paseto V4LocalPayload.swift
[205/210] Compiling Paseto Sodium.swift
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:3:5: warning: let 'sodium' is not concurrency-safe because non-'Sendable' type 'Sodium' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Sodium
2 |
3 | let sodium = Sodium()
| `- warning: let 'sodium' is not concurrency-safe because non-'Sendable' type 'Sodium' may have shared mutable state; this is an error in the Swift 6 language mode
4 | let Sign = sodium.sign
5 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Sodium.swift:4:15: note: struct 'Sodium' does not conform to the 'Sendable' protocol
2 | import Clibsodium
3 |
4 | public struct Sodium {
| `- note: struct 'Sodium' does not conform to the 'Sendable' protocol
5 | public let box = Box()
6 | public let secretBox = SecretBox()
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
1 | import Sodium
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
2 |
3 | let sodium = Sodium()
| |- note: annotate 'sodium' 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
4 | let Sign = sodium.sign
5 |
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:4:5: warning: let 'Sign' is not concurrency-safe because non-'Sendable' type 'Sign' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | let sodium = Sodium()
4 | let Sign = sodium.sign
| |- warning: let 'Sign' is not concurrency-safe because non-'Sendable' type 'Sign' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Sign' 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
5 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Sign.swift:4:15: note: struct 'Sign' does not conform to the 'Sendable' protocol
2 | import Clibsodium
3 |
4 | public struct Sign {
| `- note: struct 'Sign' does not conform to the 'Sendable' protocol
5 | public let Bytes = Int(crypto_sign_bytes())
6 | public let Primitive = String(validatingUTF8: crypto_sign_primitive())
[206/210] Compiling Paseto Aead.swift
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:3:5: warning: let 'sodium' is not concurrency-safe because non-'Sendable' type 'Sodium' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Sodium
2 |
3 | let sodium = Sodium()
| `- warning: let 'sodium' is not concurrency-safe because non-'Sendable' type 'Sodium' may have shared mutable state; this is an error in the Swift 6 language mode
4 | let Sign = sodium.sign
5 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Sodium.swift:4:15: note: struct 'Sodium' does not conform to the 'Sendable' protocol
2 | import Clibsodium
3 |
4 | public struct Sodium {
| `- note: struct 'Sodium' does not conform to the 'Sendable' protocol
5 | public let box = Box()
6 | public let secretBox = SecretBox()
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
1 | import Sodium
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
2 |
3 | let sodium = Sodium()
| |- note: annotate 'sodium' 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
4 | let Sign = sodium.sign
5 |
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:4:5: warning: let 'Sign' is not concurrency-safe because non-'Sendable' type 'Sign' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | let sodium = Sodium()
4 | let Sign = sodium.sign
| |- warning: let 'Sign' is not concurrency-safe because non-'Sendable' type 'Sign' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Sign' 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
5 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Sign.swift:4:15: note: struct 'Sign' does not conform to the 'Sendable' protocol
2 | import Clibsodium
3 |
4 | public struct Sign {
| `- note: struct 'Sign' does not conform to the 'Sendable' protocol
5 | public let Bytes = Int(crypto_sign_bytes())
6 | public let Primitive = String(validatingUTF8: crypto_sign_primitive())
[207/210] Compiling Paseto XChaCha20.swift
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:3:5: warning: let 'sodium' is not concurrency-safe because non-'Sendable' type 'Sodium' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Sodium
2 |
3 | let sodium = Sodium()
| `- warning: let 'sodium' is not concurrency-safe because non-'Sendable' type 'Sodium' may have shared mutable state; this is an error in the Swift 6 language mode
4 | let Sign = sodium.sign
5 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Sodium.swift:4:15: note: struct 'Sodium' does not conform to the 'Sendable' protocol
2 | import Clibsodium
3 |
4 | public struct Sodium {
| `- note: struct 'Sodium' does not conform to the 'Sendable' protocol
5 | public let box = Box()
6 | public let secretBox = SecretBox()
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
1 | import Sodium
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
2 |
3 | let sodium = Sodium()
| |- note: annotate 'sodium' 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
4 | let Sign = sodium.sign
5 |
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:4:5: warning: let 'Sign' is not concurrency-safe because non-'Sendable' type 'Sign' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | let sodium = Sodium()
4 | let Sign = sodium.sign
| |- warning: let 'Sign' is not concurrency-safe because non-'Sendable' type 'Sign' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Sign' 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
5 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Sign.swift:4:15: note: struct 'Sign' does not conform to the 'Sendable' protocol
2 | import Clibsodium
3 |
4 | public struct Sign {
| `- note: struct 'Sign' does not conform to the 'Sendable' protocol
5 | public let Bytes = Int(crypto_sign_bytes())
6 | public let Primitive = String(validatingUTF8: crypto_sign_primitive())
[208/210] Compiling Paseto String.swift
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:3:5: warning: let 'sodium' is not concurrency-safe because non-'Sendable' type 'Sodium' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Sodium
2 |
3 | let sodium = Sodium()
| `- warning: let 'sodium' is not concurrency-safe because non-'Sendable' type 'Sodium' may have shared mutable state; this is an error in the Swift 6 language mode
4 | let Sign = sodium.sign
5 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Sodium.swift:4:15: note: struct 'Sodium' does not conform to the 'Sendable' protocol
2 | import Clibsodium
3 |
4 | public struct Sodium {
| `- note: struct 'Sodium' does not conform to the 'Sendable' protocol
5 | public let box = Box()
6 | public let secretBox = SecretBox()
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
1 | import Sodium
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
2 |
3 | let sodium = Sodium()
| |- note: annotate 'sodium' 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
4 | let Sign = sodium.sign
5 |
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:4:5: warning: let 'Sign' is not concurrency-safe because non-'Sendable' type 'Sign' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | let sodium = Sodium()
4 | let Sign = sodium.sign
| |- warning: let 'Sign' is not concurrency-safe because non-'Sendable' type 'Sign' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Sign' 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
5 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Sign.swift:4:15: note: struct 'Sign' does not conform to the 'Sendable' protocol
2 | import Clibsodium
3 |
4 | public struct Sign {
| `- note: struct 'Sign' does not conform to the 'Sendable' protocol
5 | public let Bytes = Int(crypto_sign_bytes())
6 | public let Primitive = String(validatingUTF8: crypto_sign_primitive())
[209/210] Compiling Paseto Token.swift
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:3:5: warning: let 'sodium' is not concurrency-safe because non-'Sendable' type 'Sodium' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Sodium
2 |
3 | let sodium = Sodium()
| `- warning: let 'sodium' is not concurrency-safe because non-'Sendable' type 'Sodium' may have shared mutable state; this is an error in the Swift 6 language mode
4 | let Sign = sodium.sign
5 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Sodium.swift:4:15: note: struct 'Sodium' does not conform to the 'Sendable' protocol
2 | import Clibsodium
3 |
4 | public struct Sodium {
| `- note: struct 'Sodium' does not conform to the 'Sendable' protocol
5 | public let box = Box()
6 | public let secretBox = SecretBox()
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
1 | import Sodium
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
2 |
3 | let sodium = Sodium()
| |- note: annotate 'sodium' 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
4 | let Sign = sodium.sign
5 |
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:4:5: warning: let 'Sign' is not concurrency-safe because non-'Sendable' type 'Sign' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | let sodium = Sodium()
4 | let Sign = sodium.sign
| |- warning: let 'Sign' is not concurrency-safe because non-'Sendable' type 'Sign' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Sign' 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
5 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Sign.swift:4:15: note: struct 'Sign' does not conform to the 'Sendable' protocol
2 | import Clibsodium
3 |
4 | public struct Sign {
| `- note: struct 'Sign' does not conform to the 'Sendable' protocol
5 | public let Bytes = Int(crypto_sign_bytes())
6 | public let Primitive = String(validatingUTF8: crypto_sign_primitive())
[210/210] Compiling Paseto Util.swift
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:3:5: warning: let 'sodium' is not concurrency-safe because non-'Sendable' type 'Sodium' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Sodium
2 |
3 | let sodium = Sodium()
| `- warning: let 'sodium' is not concurrency-safe because non-'Sendable' type 'Sodium' may have shared mutable state; this is an error in the Swift 6 language mode
4 | let Sign = sodium.sign
5 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Sodium.swift:4:15: note: struct 'Sodium' does not conform to the 'Sendable' protocol
2 | import Clibsodium
3 |
4 | public struct Sodium {
| `- note: struct 'Sodium' does not conform to the 'Sendable' protocol
5 | public let box = Box()
6 | public let secretBox = SecretBox()
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
1 | import Sodium
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Sodium'
2 |
3 | let sodium = Sodium()
| |- note: annotate 'sodium' 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
4 | let Sign = sodium.sign
5 |
/Users/admin/builder/spi-builder-workspace/Sources/Paseto/Sodium.swift:4:5: warning: let 'Sign' is not concurrency-safe because non-'Sendable' type 'Sign' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | let sodium = Sodium()
4 | let Sign = sodium.sign
| |- warning: let 'Sign' is not concurrency-safe because non-'Sendable' type 'Sign' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Sign' 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
5 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-sodium/Sodium/Sign.swift:4:15: note: struct 'Sign' does not conform to the 'Sendable' protocol
2 | import Clibsodium
3 |
4 | public struct Sign {
| `- note: struct 'Sign' does not conform to the 'Sendable' protocol
5 | public let Bytes = Int(crypto_sign_bytes())
6 | public let Primitive = String(validatingUTF8: crypto_sign_primitive())
Build complete! (35.81s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-sodium",
"requirement" : {
"branch" : [
"full-clibsodium-build"
]
},
"type" : "sourceControl",
"url" : "https://github.com/aidantwoods/swift-sodium.git"
},
{
"identity" : "cryptoswift",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/krzyzanowskim/CryptoSwift.git"
},
{
"identity" : "typedjson",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.2",
"upper_bound" : "0.2.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/aidantwoods/TypedJSON.git"
}
],
"manifest_display_name" : "Paseto",
"name" : "Paseto",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.12"
},
{
"name" : "ios",
"version" : "10.0"
},
{
"name" : "tvos",
"version" : "10.0"
},
{
"name" : "watchos",
"version" : "3.0"
}
],
"products" : [
{
"name" : "Paseto",
"targets" : [
"Paseto"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "PasetoTests",
"module_type" : "SwiftTarget",
"name" : "PasetoTests",
"path" : "Tests/PasetoTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/PasetoTests/TestVectors",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"ClaimsTest.swift",
"KeyTest.swift",
"TokenTest.swift",
"VectorTests.swift",
"Version1Test.swift",
"Version2Test.swift",
"Version3Test.swift",
"Version4Test.swift"
],
"target_dependencies" : [
"Paseto"
],
"type" : "test"
},
{
"c99name" : "Paseto",
"module_type" : "SwiftTarget",
"name" : "Paseto",
"path" : "Sources/Paseto",
"product_dependencies" : [
"Clibsodium",
"Sodium",
"CryptoSwift",
"TypedJSON"
],
"product_memberships" : [
"Paseto"
],
"sources" : [
"BytesRepresentable.swift",
"BytesRepresentables/ArraySlice.swift",
"BytesRepresentables/Bytes.swift",
"BytesRepresentables/Data+Extension.swift",
"BytesRepresentables/String+Extension.swift",
"Header.swift",
"Implementations/Module.swift",
"Implementations/Version.swift",
"Implementations/Version1.swift",
"Implementations/Version1/Local/V1LocalPayload.swift",
"Implementations/Version1/Local/V1LocalSymmetricKey.swift",
"Implementations/Version1/V1Local.swift",
"Implementations/Version2.swift",
"Implementations/Version2/Local/V2LocalPayload.swift",
"Implementations/Version2/Local/V2LocalSymmetricKey.swift",
"Implementations/Version2/Public/V2PublicAsymmetricPublicKey.swift",
"Implementations/Version2/Public/V2PublicAsymmetricSecretKey.swift",
"Implementations/Version2/Public/V2PublicPayload.swift",
"Implementations/Version2/V2Local.swift",
"Implementations/Version2/V2Public.swift",
"Implementations/Version3.swift",
"Implementations/Version3/Local/V3LocalPayload.swift",
"Implementations/Version3/Local/V3LocalSymmetricKey.swift",
"Implementations/Version3/Public/V3PublicAsymmetricPublicKey.swift",
"Implementations/Version3/Public/V3PublicAsymmetricSecretKey.swift",
"Implementations/Version3/Public/V3PublicPayload.swift",
"Implementations/Version3/V3Local.swift",
"Implementations/Version3/V3Public.swift",
"Implementations/Version4.swift",
"Implementations/Version4/Local/V4LocalPayload.swift",
"Implementations/Version4/Local/V4LocalSymmetricKey.swift",
"Implementations/Version4/Public/V4PublicAsymmetricPublicKey.swift",
"Implementations/Version4/Public/V4PublicAsymmetricSecretKey.swift",
"Implementations/Version4/Public/V4PublicPayload.swift",
"Implementations/Version4/V4Local.swift",
"Implementations/Version4/V4Public.swift",
"Keys/AsymmetricPublicKey.swift",
"Keys/AsymmetricSecretKey.swift",
"Keys/Key.swift",
"Keys/SymmetricKey.swift",
"Message.swift",
"Package.swift",
"Parser.swift",
"Payload.swift",
"Purpose.swift",
"Purposes/Base/BaseLocal.swift",
"Purposes/Base/BasePublic.swift",
"Purposes/Deferred/DeferredLocal.swift",
"Purposes/Deferred/DeferredPublic.swift",
"Purposes/Local.swift",
"Purposes/NonThrowing/NonThrowingLocalEncrypt.swift",
"Purposes/NonThrowing/NonThrowingPublicSign.swift",
"Purposes/Public.swift",
"Rules.swift",
"Sodium.swift",
"Sodium/Aead.swift",
"Sodium/XChaCha20.swift",
"StdLibExtensions/String.swift",
"Token.swift",
"Util.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.