This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of SwCrypt with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 10

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/soyersoyer/SwCrypt.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/soyersoyer/SwCrypt
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 50e5267 fix Swift 5 deprecations and update dummy project (#51)
Cloned https://github.com/soyersoyer/SwCrypt.git
Revision (git rev-parse @):
50e5267524f6e379318e6df4cdd1617ae379dc47
SUCCESS checkout https://github.com/soyersoyer/SwCrypt.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/soyersoyer/SwCrypt.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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)
/Users/admin/builder/spi-builder-workspace/SwCrypt/SwCrypt.swift:2082:45: warning: initialization of 'UnsafePointer<UInt8>' results in a dangling pointer
2080 |
2081 | 		fileprivate static let rfc3394IVData: [UInt8] = [0xA6, 0xA6, 0xA6, 0xA6, 0xA6, 0xA6, 0xA6, 0xA6]
2082 | 		public static let rfc3394IV = Data(bytes: UnsafePointer<UInt8>(rfc3394IVData), count:rfc3394IVData.count)
     |                                             |                    |- note: implicit argument conversion from '[UInt8]' to 'UnsafePointer<UInt8>' produces a pointer valid only for the duration of the call to 'init(_:)'
     |                                             |                    `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
     |                                             `- warning: initialization of 'UnsafePointer<UInt8>' results in a dangling pointer
2083 |
2084 | 		public static func SymmetricKeyWrap(_ iv: Data,
[4/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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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)
/Users/admin/builder/spi-builder-workspace/SwCrypt/SwCrypt.swift:2082:45: warning: initialization of 'UnsafePointer<UInt8>' results in a dangling pointer
2080 |
2081 | 		fileprivate static let rfc3394IVData: [UInt8] = [0xA6, 0xA6, 0xA6, 0xA6, 0xA6, 0xA6, 0xA6, 0xA6]
2082 | 		public static let rfc3394IV = Data(bytes: UnsafePointer<UInt8>(rfc3394IVData), count:rfc3394IVData.count)
     |                                             |                    |- note: implicit argument conversion from '[UInt8]' to 'UnsafePointer<UInt8>' produces a pointer valid only for the duration of the call to 'init(_:)'
     |                                             |                    `- note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
     |                                             `- warning: initialization of 'UnsafePointer<UInt8>' results in a dangling pointer
2083 |
2084 | 		public static func SymmetricKeyWrap(_ iv: Data,
Build complete! (18.18s)
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" : "4.1"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.