Build Information
Successful build of SwCrypt, reference 5.1.4 (e85028
), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 04:25:11 UTC.
Swift 6 data race errors: 10
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/sbertix/SwCrypt.git
Reference: 5.1.4
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/sbertix/SwCrypt
* tag 5.1.4 -> FETCH_HEAD
HEAD is now at e850285 Fix warning
Cloned https://github.com/sbertix/SwCrypt.git
Revision (git rev-parse @):
e850285c2dadd4343be9465adc67cd717a64792f
SUCCESS checkout https://github.com/sbertix/SwCrypt.git at 5.1.4
========================================
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": "swcrypt",
"name": "SwCrypt",
"url": "https://github.com/sbertix/SwCrypt.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwCrypt",
"dependencies": [
]
}
]
}
Fetching https://github.com/sbertix/SwCrypt.git
[1/495] Fetching swcrypt
Fetched https://github.com/sbertix/SwCrypt.git from cache (0.77s)
Creating working copy for https://github.com/sbertix/SwCrypt.git
Working copy of https://github.com/sbertix/SwCrypt.git resolved at 5.1.4 (e850285)
warning: '.resolve-product-dependencies': dependency 'swcrypt' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/sbertix/SwCrypt.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/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/4] Emitting module SwCrypt
/Users/admin/builder/spi-builder-workspace/SwCrypt/SwCrypt.swift:1477:49: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
1475 | getFunc(dl!, f: "CCRSACryptorEncrypt")
1476 |
1477 | fileprivate typealias CCRSACryptorDecryptT = @convention (c) (
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
1478 | _ privateKey: CCRSACryptorRef,
1479 | _ padding: CCAsymmetricPadding,
/Users/admin/builder/spi-builder-workspace/SwCrypt/SwCrypt.swift:17:21: warning: static property 'debugLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | case missingEntitlement = -34018
16 |
17 | public static var debugLevel = 1
| |- warning: static property 'debugLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'debugLevel' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'debugLevel' 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
18 |
19 | init(_ status: OSStatus, function: String = #function, file: String = #file, line: Int = #line) {
/Users/admin/builder/spi-builder-workspace/SwCrypt/SwCrypt.swift:93:21: warning: static property 'debugLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
91 | case keyNotEncrypted
92 |
93 | public static var debugLevel = 1
| |- warning: static property 'debugLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'debugLevel' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'debugLevel' 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
94 |
95 | init(_ type: SwError, function: String = #function, file: String = #file, line: Int = #line) {
/Users/admin/builder/spi-builder-workspace/SwCrypt/SwCrypt.swift:373:21: warning: static property 'debugLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
371 | case keyNotEncrypted
372 |
373 | public static var debugLevel = 1
| |- warning: static property 'debugLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'debugLevel' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'debugLevel' 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
374 |
375 | init(_ type: SwError, function: String = #function, file: String = #file, line: Int = #line) {
/Users/admin/builder/spi-builder-workspace/SwCrypt/SwCrypt.swift:607:21: warning: static property 'debugLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
605 | case invalidKey = -4311
606 |
607 | public static var debugLevel = 1
| |- warning: static property 'debugLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'debugLevel' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'debugLevel' 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
608 |
609 | init(_ status: CCCryptorStatus, function: String = #function,
/Users/admin/builder/spi-builder-workspace/SwCrypt/SwCrypt.swift:891:25: warning: static property 'dl' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
889 |
890 |
891 | fileprivate static let dl = dlopen("/usr/lib/system/libcommonCrypto.dylib", RTLD_NOW)
| |- warning: static property 'dl' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dl' 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
892 | fileprivate static let CCRandomGenerateBytes: CCRandomGenerateBytesT? =
893 | getFunc(dl!, f: "CCRandomGenerateBytes")
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/SwCrypt/SwCrypt.swift:1610:26: warning: static property 'kCCDHRFC3526Group5M' is not concurrency-safe because non-'Sendable' type 'CC.DH.kCCDHRFC3526Group5TM?' (aka 'Optional<UnsafePointer<UnsafeRawPointer>>') may have shared mutable state; this is an error in the Swift 6 language mode
1608 |
1609 | fileprivate typealias kCCDHRFC3526Group5TM = UnsafePointer<CCDHParameters>
1610 | fileprivate static let kCCDHRFC3526Group5M: kCCDHRFC3526Group5TM? =
| |- warning: static property 'kCCDHRFC3526Group5M' is not concurrency-safe because non-'Sendable' type 'CC.DH.kCCDHRFC3526Group5TM?' (aka 'Optional<UnsafePointer<UnsafeRawPointer>>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'kCCDHRFC3526Group5M' 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
1611 | getFunc(dl!, f: "kCCDHRFC3526Group5")
1612 | fileprivate static let kCCDHRFC3526Group5 = kCCDHRFC3526Group5M?.pointee
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/SwCrypt/SwCrypt.swift:1612:26: warning: static property 'kCCDHRFC3526Group5' is not concurrency-safe because non-'Sendable' type 'CC.DH.CCDHParameters?' (aka 'Optional<UnsafeRawPointer>') may have shared mutable state; this is an error in the Swift 6 language mode
1610 | fileprivate static let kCCDHRFC3526Group5M: kCCDHRFC3526Group5TM? =
1611 | getFunc(dl!, f: "kCCDHRFC3526Group5")
1612 | fileprivate static let kCCDHRFC3526Group5 = kCCDHRFC3526Group5M?.pointee
| |- warning: static property 'kCCDHRFC3526Group5' is not concurrency-safe because non-'Sendable' type 'CC.DH.CCDHParameters?' (aka 'Optional<UnsafeRawPointer>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'kCCDHRFC3526Group5' 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
1613 |
1614 | fileprivate typealias kCCDHRFC2409Group2TM = UnsafePointer<CCDHParameters>
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/SwCrypt/SwCrypt.swift:1615:26: warning: static property 'kCCDHRFC2409Group2M' is not concurrency-safe because non-'Sendable' type 'CC.DH.kCCDHRFC2409Group2TM?' (aka 'Optional<UnsafePointer<UnsafeRawPointer>>') may have shared mutable state; this is an error in the Swift 6 language mode
1613 |
1614 | fileprivate typealias kCCDHRFC2409Group2TM = UnsafePointer<CCDHParameters>
1615 | fileprivate static let kCCDHRFC2409Group2M: kCCDHRFC2409Group2TM? =
| |- warning: static property 'kCCDHRFC2409Group2M' is not concurrency-safe because non-'Sendable' type 'CC.DH.kCCDHRFC2409Group2TM?' (aka 'Optional<UnsafePointer<UnsafeRawPointer>>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'kCCDHRFC2409Group2M' 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
1616 | getFunc(dl!, f: "kCCDHRFC2409Group2")
1617 | fileprivate static let kCCDHRFC2409Group2 = kCCDHRFC2409Group2M?.pointee
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/SwCrypt/SwCrypt.swift:1617:26: warning: static property 'kCCDHRFC2409Group2' is not concurrency-safe because non-'Sendable' type 'CC.DH.CCDHParameters?' (aka 'Optional<UnsafeRawPointer>') may have shared mutable state; this is an error in the Swift 6 language mode
1615 | fileprivate static let kCCDHRFC2409Group2M: kCCDHRFC2409Group2TM? =
1616 | getFunc(dl!, f: "kCCDHRFC2409Group2")
1617 | fileprivate static let kCCDHRFC2409Group2 = kCCDHRFC2409Group2M?.pointee
| |- warning: static property 'kCCDHRFC2409Group2' is not concurrency-safe because non-'Sendable' type 'CC.DH.CCDHParameters?' (aka 'Optional<UnsafeRawPointer>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'kCCDHRFC2409Group2' 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
1618 |
1619 | fileprivate typealias CCDHCreateT = @convention(c) (
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
[4/4] Compiling SwCrypt SwCrypt.swift
/Users/admin/builder/spi-builder-workspace/SwCrypt/SwCrypt.swift:1477:49: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
1475 | getFunc(dl!, f: "CCRSACryptorEncrypt")
1476 |
1477 | fileprivate typealias CCRSACryptorDecryptT = @convention (c) (
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
1478 | _ privateKey: CCRSACryptorRef,
1479 | _ padding: CCAsymmetricPadding,
/Users/admin/builder/spi-builder-workspace/SwCrypt/SwCrypt.swift:17:21: warning: static property 'debugLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | case missingEntitlement = -34018
16 |
17 | public static var debugLevel = 1
| |- warning: static property 'debugLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'debugLevel' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'debugLevel' 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
18 |
19 | init(_ status: OSStatus, function: String = #function, file: String = #file, line: Int = #line) {
/Users/admin/builder/spi-builder-workspace/SwCrypt/SwCrypt.swift:93:21: warning: static property 'debugLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
91 | case keyNotEncrypted
92 |
93 | public static var debugLevel = 1
| |- warning: static property 'debugLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'debugLevel' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'debugLevel' 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
94 |
95 | init(_ type: SwError, function: String = #function, file: String = #file, line: Int = #line) {
/Users/admin/builder/spi-builder-workspace/SwCrypt/SwCrypt.swift:373:21: warning: static property 'debugLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
371 | case keyNotEncrypted
372 |
373 | public static var debugLevel = 1
| |- warning: static property 'debugLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'debugLevel' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'debugLevel' 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
374 |
375 | init(_ type: SwError, function: String = #function, file: String = #file, line: Int = #line) {
/Users/admin/builder/spi-builder-workspace/SwCrypt/SwCrypt.swift:607:21: warning: static property 'debugLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
605 | case invalidKey = -4311
606 |
607 | public static var debugLevel = 1
| |- warning: static property 'debugLevel' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'debugLevel' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'debugLevel' 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
608 |
609 | init(_ status: CCCryptorStatus, function: String = #function,
/Users/admin/builder/spi-builder-workspace/SwCrypt/SwCrypt.swift:891:25: warning: static property 'dl' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
889 |
890 |
891 | fileprivate static let dl = dlopen("/usr/lib/system/libcommonCrypto.dylib", RTLD_NOW)
| |- warning: static property 'dl' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer?' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dl' 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
892 | fileprivate static let CCRandomGenerateBytes: CCRandomGenerateBytesT? =
893 | getFunc(dl!, f: "CCRandomGenerateBytes")
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/SwCrypt/SwCrypt.swift:1610:26: warning: static property 'kCCDHRFC3526Group5M' is not concurrency-safe because non-'Sendable' type 'CC.DH.kCCDHRFC3526Group5TM?' (aka 'Optional<UnsafePointer<UnsafeRawPointer>>') may have shared mutable state; this is an error in the Swift 6 language mode
1608 |
1609 | fileprivate typealias kCCDHRFC3526Group5TM = UnsafePointer<CCDHParameters>
1610 | fileprivate static let kCCDHRFC3526Group5M: kCCDHRFC3526Group5TM? =
| |- warning: static property 'kCCDHRFC3526Group5M' is not concurrency-safe because non-'Sendable' type 'CC.DH.kCCDHRFC3526Group5TM?' (aka 'Optional<UnsafePointer<UnsafeRawPointer>>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'kCCDHRFC3526Group5M' 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
1611 | getFunc(dl!, f: "kCCDHRFC3526Group5")
1612 | fileprivate static let kCCDHRFC3526Group5 = kCCDHRFC3526Group5M?.pointee
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/SwCrypt/SwCrypt.swift:1612:26: warning: static property 'kCCDHRFC3526Group5' is not concurrency-safe because non-'Sendable' type 'CC.DH.CCDHParameters?' (aka 'Optional<UnsafeRawPointer>') may have shared mutable state; this is an error in the Swift 6 language mode
1610 | fileprivate static let kCCDHRFC3526Group5M: kCCDHRFC3526Group5TM? =
1611 | getFunc(dl!, f: "kCCDHRFC3526Group5")
1612 | fileprivate static let kCCDHRFC3526Group5 = kCCDHRFC3526Group5M?.pointee
| |- warning: static property 'kCCDHRFC3526Group5' is not concurrency-safe because non-'Sendable' type 'CC.DH.CCDHParameters?' (aka 'Optional<UnsafeRawPointer>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'kCCDHRFC3526Group5' 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
1613 |
1614 | fileprivate typealias kCCDHRFC2409Group2TM = UnsafePointer<CCDHParameters>
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/SwCrypt/SwCrypt.swift:1615:26: warning: static property 'kCCDHRFC2409Group2M' is not concurrency-safe because non-'Sendable' type 'CC.DH.kCCDHRFC2409Group2TM?' (aka 'Optional<UnsafePointer<UnsafeRawPointer>>') may have shared mutable state; this is an error in the Swift 6 language mode
1613 |
1614 | fileprivate typealias kCCDHRFC2409Group2TM = UnsafePointer<CCDHParameters>
1615 | fileprivate static let kCCDHRFC2409Group2M: kCCDHRFC2409Group2TM? =
| |- warning: static property 'kCCDHRFC2409Group2M' is not concurrency-safe because non-'Sendable' type 'CC.DH.kCCDHRFC2409Group2TM?' (aka 'Optional<UnsafePointer<UnsafeRawPointer>>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'kCCDHRFC2409Group2M' 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
1616 | getFunc(dl!, f: "kCCDHRFC2409Group2")
1617 | fileprivate static let kCCDHRFC2409Group2 = kCCDHRFC2409Group2M?.pointee
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/SwCrypt/SwCrypt.swift:1617:26: warning: static property 'kCCDHRFC2409Group2' is not concurrency-safe because non-'Sendable' type 'CC.DH.CCDHParameters?' (aka 'Optional<UnsafeRawPointer>') may have shared mutable state; this is an error in the Swift 6 language mode
1615 | fileprivate static let kCCDHRFC2409Group2M: kCCDHRFC2409Group2TM? =
1616 | getFunc(dl!, f: "kCCDHRFC2409Group2")
1617 | fileprivate static let kCCDHRFC2409Group2 = kCCDHRFC2409Group2M?.pointee
| |- warning: static property 'kCCDHRFC2409Group2' is not concurrency-safe because non-'Sendable' type 'CC.DH.CCDHParameters?' (aka 'Optional<UnsafeRawPointer>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'kCCDHRFC2409Group2' 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
1618 |
1619 | fileprivate typealias CCDHCreateT = @convention(c) (
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
Build complete! (7.56s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SwCrypt",
"name" : "SwCrypt",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SwCrypt",
"targets" : [
"SwCrypt"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwCryptTests",
"module_type" : "SwiftTarget",
"name" : "SwCryptTests",
"path" : "SwCryptTests",
"sources" : [
"SwCryptTests.swift"
],
"target_dependencies" : [
"SwCrypt"
],
"type" : "test"
},
{
"c99name" : "SwCrypt",
"module_type" : "SwiftTarget",
"name" : "SwCrypt",
"path" : "SwCrypt",
"product_memberships" : [
"SwCrypt"
],
"sources" : [
"SwCrypt.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Done.