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 Sodium, reference master (1d51e8), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 02:17:40 UTC.

Swift 6 data race errors: 14

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-sodium.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/aidantwoods/swift-sodium
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 1d51e8e Add sodium.version
Cloned https://github.com/aidantwoods/swift-sodium.git
Revision (git rev-parse @):
1d51e8eb8a99638166aea863e7a71d568b5a06e6
SUCCESS checkout https://github.com/aidantwoods/swift-sodium.git at master
========================================
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-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": [
      ]
    }
  ]
}
Fetching https://github.com/aidantwoods/swift-sodium.git
[1/3508] Fetching swift-sodium
Fetched https://github.com/aidantwoods/swift-sodium.git from cache (2.78s)
Creating working copy for https://github.com/aidantwoods/swift-sodium.git
Working copy of https://github.com/aidantwoods/swift-sodium.git resolved at master (1d51e8e)
warning: '.resolve-product-dependencies': dependency 'swift-sodium' 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/aidantwoods/swift-sodium.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/3] Write sources
[1/3] Copying libsodium.a
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/24] Emitting module Sodium
/Users/admin/builder/spi-builder-workspace/Sodium/Aead.swift:117:23: warning: static property 'keygen' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
115 |     public typealias Key = Bytes
116 |
117 |     public static var keygen: (UnsafeMutablePointer<UInt8>) -> Void = crypto_aead_xchacha20poly1305_ietf_keygen
    |                       |- warning: static property 'keygen' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'keygen' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'keygen' 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
118 | }
119 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sodium/Auth.swift:56:23: warning: static property 'keygen' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<UInt8>) -> Void' may have shared mutable state; this is an error in the Swift 6 language mode
54 |     public typealias Key = Bytes
55 |
56 |     public static let keygen: (_ k: UnsafeMutablePointer<UInt8>) -> Void = crypto_auth_keygen
   |                       |- warning: static property 'keygen' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<UInt8>) -> Void' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'keygen' 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
57 | }
58 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sodium/Box.swift:367:23: warning: static property 'newKeypair' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<UInt8>, UnsafeMutablePointer<UInt8>) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
365 |     public var SecretKeyBytes: Int { return Int(crypto_box_secretkeybytes()) }
366 |
367 |     public static let newKeypair: (
    |                       |- warning: static property 'newKeypair' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<UInt8>, UnsafeMutablePointer<UInt8>) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'newKeypair' 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
368 |         _ pk: UnsafeMutablePointer<UInt8>,
369 |         _ sk: UnsafeMutablePointer<UInt8>
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sodium/Box.swift:372:23: warning: static property 'keypairFromSeed' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<UInt8>, UnsafeMutablePointer<UInt8>, UnsafePointer<UInt8>) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
370 |     ) -> Int32 = crypto_box_keypair
371 |
372 |     public static let keypairFromSeed: (
    |                       |- warning: static property 'keypairFromSeed' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<UInt8>, UnsafeMutablePointer<UInt8>, UnsafePointer<UInt8>) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'keypairFromSeed' 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
373 |         _ pk: UnsafeMutablePointer<UInt8>,
374 |         _ sk: UnsafeMutablePointer<UInt8>,
/Users/admin/builder/spi-builder-workspace/Sodium/GenericHash.swift:159:23: warning: static property 'keygen' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
157 |     public typealias Key = Bytes
158 |
159 |     public static var keygen: (UnsafeMutablePointer<UInt8>) -> Void = crypto_generichash_keygen
    |                       |- warning: static property 'keygen' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'keygen' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'keygen' 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
160 |
161 | }
/Users/admin/builder/spi-builder-workspace/Sodium/KeyDerivation.swift:54:23: warning: static property 'keygen' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
52 |     public typealias Key = Bytes
53 |
54 |     public static var keygen: (UnsafeMutablePointer<UInt8>) -> Void = crypto_kdf_keygen
   |                       |- warning: static property 'keygen' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'keygen' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'keygen' 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
55 | }
56 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sodium/KeyExchange.swift:83:23: warning: static property 'newKeypair' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<UInt8>, UnsafeMutablePointer<UInt8>) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
 81 |     public var SecretKeyBytes: Int { return Int(crypto_kx_secretkeybytes()) }
 82 |
 83 |     public static let newKeypair: (
    |                       |- warning: static property 'newKeypair' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<UInt8>, UnsafeMutablePointer<UInt8>) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'newKeypair' 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
 84 |         _ pk: UnsafeMutablePointer<UInt8>,
 85 |         _ sk: UnsafeMutablePointer<UInt8>
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sodium/KeyExchange.swift:88:23: warning: static property 'keypairFromSeed' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<UInt8>, UnsafeMutablePointer<UInt8>, UnsafePointer<UInt8>) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
 86 |     ) -> Int32 = crypto_kx_keypair
 87 |
 88 |     public static let keypairFromSeed: (
    |                       |- warning: static property 'keypairFromSeed' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<UInt8>, UnsafeMutablePointer<UInt8>, UnsafePointer<UInt8>) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'keypairFromSeed' 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
 89 |         _ pk: UnsafeMutablePointer<UInt8>,
 90 |         _ sk: UnsafeMutablePointer<UInt8>,
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sodium/SecretBox.swift:173:23: warning: static property 'keygen' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<UInt8>) -> Void' may have shared mutable state; this is an error in the Swift 6 language mode
171 |     public var KeyBytes: Int { return Int(crypto_secretbox_keybytes()) }
172 |
173 |     public static let keygen: (_ k: UnsafeMutablePointer<UInt8>) -> Void = crypto_secretbox_keygen
    |                       |- warning: static property 'keygen' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<UInt8>) -> Void' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'keygen' 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
174 | }
175 |
/Users/admin/builder/spi-builder-workspace/Sodium/SecretStream.swift:190:23: warning: static property 'keygen' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
188 |     public typealias Key = Bytes
189 |
190 |     public static var keygen: (UnsafeMutablePointer<UInt8>) -> Void = crypto_secretstream_xchacha20poly1305_keygen
    |                       |- warning: static property 'keygen' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'keygen' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'keygen' 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
191 | }
192 |
/Users/admin/builder/spi-builder-workspace/Sodium/ShortHash.swift:35:23: warning: static property 'keygen' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 |     public typealias Key = Bytes
34 |
35 |     public static var keygen: (UnsafeMutablePointer<UInt8>) -> Void = crypto_shorthash_keygen
   |                       |- warning: static property 'keygen' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'keygen' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'keygen' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | }
37 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sodium/Sign.swift:128:23: warning: static property 'newKeypair' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<UInt8>, UnsafeMutablePointer<UInt8>) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
126 |     public var SecretKeyBytes: Int { return Int(crypto_sign_secretkeybytes()) }
127 |
128 |     public static let newKeypair: (
    |                       |- warning: static property 'newKeypair' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<UInt8>, UnsafeMutablePointer<UInt8>) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'newKeypair' 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
129 |         _ pk: UnsafeMutablePointer<UInt8>,
130 |         _ sk: UnsafeMutablePointer<UInt8>
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sodium/Sign.swift:133:23: warning: static property 'keypairFromSeed' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<UInt8>, UnsafeMutablePointer<UInt8>, UnsafePointer<UInt8>) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
131 |     ) -> Int32 = crypto_sign_keypair
132 |
133 |     public static let keypairFromSeed: (
    |                       |- warning: static property 'keypairFromSeed' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<UInt8>, UnsafeMutablePointer<UInt8>, UnsafePointer<UInt8>) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'keypairFromSeed' 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
134 |         _ pk: UnsafeMutablePointer<UInt8>,
135 |         _ sk: UnsafeMutablePointer<UInt8>,
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sodium/Stream.swift:71:23: warning: static property 'keygen' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<UInt8>) -> Void' may have shared mutable state; this is an error in the Swift 6 language mode
69 |     public var KeyBytes: Int { return Int(crypto_secretbox_keybytes()) }
70 |
71 |     public static let keygen: (_ k: UnsafeMutablePointer<UInt8>) -> Void = crypto_stream_keygen
   |                       |- warning: static property 'keygen' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<UInt8>) -> Void' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'keygen' 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
72 | }
73 |
[5/26] Compiling Sodium Bytes.swift
[6/26] Compiling Sodium ExitCode.swift
[7/26] Compiling Sodium KeyPairGenerator.swift
[8/26] Compiling Sodium Utils.swift
[9/26] Compiling Sodium Version.swift
[10/26] Compiling Sodium KeyDerivation.swift
/Users/admin/builder/spi-builder-workspace/Sodium/KeyDerivation.swift:54:23: warning: static property 'keygen' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
52 |     public typealias Key = Bytes
53 |
54 |     public static var keygen: (UnsafeMutablePointer<UInt8>) -> Void = crypto_kdf_keygen
   |                       |- warning: static property 'keygen' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'keygen' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'keygen' 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
55 | }
56 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sodium/KeyExchange.swift:83:23: warning: static property 'newKeypair' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<UInt8>, UnsafeMutablePointer<UInt8>) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
 81 |     public var SecretKeyBytes: Int { return Int(crypto_kx_secretkeybytes()) }
 82 |
 83 |     public static let newKeypair: (
    |                       |- warning: static property 'newKeypair' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<UInt8>, UnsafeMutablePointer<UInt8>) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'newKeypair' 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
 84 |         _ pk: UnsafeMutablePointer<UInt8>,
 85 |         _ sk: UnsafeMutablePointer<UInt8>
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sodium/KeyExchange.swift:88:23: warning: static property 'keypairFromSeed' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<UInt8>, UnsafeMutablePointer<UInt8>, UnsafePointer<UInt8>) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
 86 |     ) -> Int32 = crypto_kx_keypair
 87 |
 88 |     public static let keypairFromSeed: (
    |                       |- warning: static property 'keypairFromSeed' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<UInt8>, UnsafeMutablePointer<UInt8>, UnsafePointer<UInt8>) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'keypairFromSeed' 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
 89 |         _ pk: UnsafeMutablePointer<UInt8>,
 90 |         _ sk: UnsafeMutablePointer<UInt8>,
[11/26] Compiling Sodium KeyExchange.swift
/Users/admin/builder/spi-builder-workspace/Sodium/KeyDerivation.swift:54:23: warning: static property 'keygen' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
52 |     public typealias Key = Bytes
53 |
54 |     public static var keygen: (UnsafeMutablePointer<UInt8>) -> Void = crypto_kdf_keygen
   |                       |- warning: static property 'keygen' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'keygen' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'keygen' 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
55 | }
56 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sodium/KeyExchange.swift:83:23: warning: static property 'newKeypair' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<UInt8>, UnsafeMutablePointer<UInt8>) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
 81 |     public var SecretKeyBytes: Int { return Int(crypto_kx_secretkeybytes()) }
 82 |
 83 |     public static let newKeypair: (
    |                       |- warning: static property 'newKeypair' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<UInt8>, UnsafeMutablePointer<UInt8>) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'newKeypair' 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
 84 |         _ pk: UnsafeMutablePointer<UInt8>,
 85 |         _ sk: UnsafeMutablePointer<UInt8>
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sodium/KeyExchange.swift:88:23: warning: static property 'keypairFromSeed' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<UInt8>, UnsafeMutablePointer<UInt8>, UnsafePointer<UInt8>) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
 86 |     ) -> Int32 = crypto_kx_keypair
 87 |
 88 |     public static let keypairFromSeed: (
    |                       |- warning: static property 'keypairFromSeed' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<UInt8>, UnsafeMutablePointer<UInt8>, UnsafePointer<UInt8>) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'keypairFromSeed' 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
 89 |         _ pk: UnsafeMutablePointer<UInt8>,
 90 |         _ sk: UnsafeMutablePointer<UInt8>,
[12/26] Compiling Sodium Sodium.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sodium/Stream.swift:71:23: warning: static property 'keygen' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<UInt8>) -> Void' may have shared mutable state; this is an error in the Swift 6 language mode
69 |     public var KeyBytes: Int { return Int(crypto_secretbox_keybytes()) }
70 |
71 |     public static let keygen: (_ k: UnsafeMutablePointer<UInt8>) -> Void = crypto_stream_keygen
   |                       |- warning: static property 'keygen' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<UInt8>) -> Void' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'keygen' 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
72 | }
73 |
[13/26] Compiling Sodium Stream.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sodium/Stream.swift:71:23: warning: static property 'keygen' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<UInt8>) -> Void' may have shared mutable state; this is an error in the Swift 6 language mode
69 |     public var KeyBytes: Int { return Int(crypto_secretbox_keybytes()) }
70 |
71 |     public static let keygen: (_ k: UnsafeMutablePointer<UInt8>) -> Void = crypto_stream_keygen
   |                       |- warning: static property 'keygen' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<UInt8>) -> Void' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'keygen' 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
72 | }
73 |
[14/26] Compiling Sodium SecretBox.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sodium/SecretBox.swift:173:23: warning: static property 'keygen' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<UInt8>) -> Void' may have shared mutable state; this is an error in the Swift 6 language mode
171 |     public var KeyBytes: Int { return Int(crypto_secretbox_keybytes()) }
172 |
173 |     public static let keygen: (_ k: UnsafeMutablePointer<UInt8>) -> Void = crypto_secretbox_keygen
    |                       |- warning: static property 'keygen' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<UInt8>) -> Void' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'keygen' 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
174 | }
175 |
/Users/admin/builder/spi-builder-workspace/Sodium/SecretStream.swift:190:23: warning: static property 'keygen' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
188 |     public typealias Key = Bytes
189 |
190 |     public static var keygen: (UnsafeMutablePointer<UInt8>) -> Void = crypto_secretstream_xchacha20poly1305_keygen
    |                       |- warning: static property 'keygen' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'keygen' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'keygen' 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
191 | }
192 |
[15/26] Compiling Sodium SecretStream.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sodium/SecretBox.swift:173:23: warning: static property 'keygen' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<UInt8>) -> Void' may have shared mutable state; this is an error in the Swift 6 language mode
171 |     public var KeyBytes: Int { return Int(crypto_secretbox_keybytes()) }
172 |
173 |     public static let keygen: (_ k: UnsafeMutablePointer<UInt8>) -> Void = crypto_secretbox_keygen
    |                       |- warning: static property 'keygen' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<UInt8>) -> Void' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'keygen' 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
174 | }
175 |
/Users/admin/builder/spi-builder-workspace/Sodium/SecretStream.swift:190:23: warning: static property 'keygen' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
188 |     public typealias Key = Bytes
189 |
190 |     public static var keygen: (UnsafeMutablePointer<UInt8>) -> Void = crypto_secretstream_xchacha20poly1305_keygen
    |                       |- warning: static property 'keygen' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'keygen' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'keygen' 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
191 | }
192 |
[16/26] Compiling Sodium ShortHash.swift
/Users/admin/builder/spi-builder-workspace/Sodium/ShortHash.swift:35:23: warning: static property 'keygen' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 |     public typealias Key = Bytes
34 |
35 |     public static var keygen: (UnsafeMutablePointer<UInt8>) -> Void = crypto_shorthash_keygen
   |                       |- warning: static property 'keygen' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'keygen' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'keygen' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | }
37 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sodium/Sign.swift:128:23: warning: static property 'newKeypair' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<UInt8>, UnsafeMutablePointer<UInt8>) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
126 |     public var SecretKeyBytes: Int { return Int(crypto_sign_secretkeybytes()) }
127 |
128 |     public static let newKeypair: (
    |                       |- warning: static property 'newKeypair' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<UInt8>, UnsafeMutablePointer<UInt8>) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'newKeypair' 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
129 |         _ pk: UnsafeMutablePointer<UInt8>,
130 |         _ sk: UnsafeMutablePointer<UInt8>
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sodium/Sign.swift:133:23: warning: static property 'keypairFromSeed' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<UInt8>, UnsafeMutablePointer<UInt8>, UnsafePointer<UInt8>) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
131 |     ) -> Int32 = crypto_sign_keypair
132 |
133 |     public static let keypairFromSeed: (
    |                       |- warning: static property 'keypairFromSeed' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<UInt8>, UnsafeMutablePointer<UInt8>, UnsafePointer<UInt8>) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'keypairFromSeed' 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
134 |         _ pk: UnsafeMutablePointer<UInt8>,
135 |         _ sk: UnsafeMutablePointer<UInt8>,
[17/26] Compiling Sodium Sign.swift
/Users/admin/builder/spi-builder-workspace/Sodium/ShortHash.swift:35:23: warning: static property 'keygen' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 |     public typealias Key = Bytes
34 |
35 |     public static var keygen: (UnsafeMutablePointer<UInt8>) -> Void = crypto_shorthash_keygen
   |                       |- warning: static property 'keygen' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: convert 'keygen' to a 'let' constant to make 'Sendable' shared state immutable
   |                       |- note: annotate 'keygen' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | }
37 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sodium/Sign.swift:128:23: warning: static property 'newKeypair' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<UInt8>, UnsafeMutablePointer<UInt8>) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
126 |     public var SecretKeyBytes: Int { return Int(crypto_sign_secretkeybytes()) }
127 |
128 |     public static let newKeypair: (
    |                       |- warning: static property 'newKeypair' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<UInt8>, UnsafeMutablePointer<UInt8>) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'newKeypair' 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
129 |         _ pk: UnsafeMutablePointer<UInt8>,
130 |         _ sk: UnsafeMutablePointer<UInt8>
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sodium/Sign.swift:133:23: warning: static property 'keypairFromSeed' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<UInt8>, UnsafeMutablePointer<UInt8>, UnsafePointer<UInt8>) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
131 |     ) -> Int32 = crypto_sign_keypair
132 |
133 |     public static let keypairFromSeed: (
    |                       |- warning: static property 'keypairFromSeed' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<UInt8>, UnsafeMutablePointer<UInt8>, UnsafePointer<UInt8>) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'keypairFromSeed' 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
134 |         _ pk: UnsafeMutablePointer<UInt8>,
135 |         _ sk: UnsafeMutablePointer<UInt8>,
[18/26] Compiling Sodium KeyPairProtocol.swift
[19/26] Compiling Sodium NonceGenerator.swift
[20/26] Compiling Sodium Aead.swift
/Users/admin/builder/spi-builder-workspace/Sodium/Aead.swift:117:23: warning: static property 'keygen' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
115 |     public typealias Key = Bytes
116 |
117 |     public static var keygen: (UnsafeMutablePointer<UInt8>) -> Void = crypto_aead_xchacha20poly1305_ietf_keygen
    |                       |- warning: static property 'keygen' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'keygen' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'keygen' 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
118 | }
119 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sodium/Auth.swift:56:23: warning: static property 'keygen' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<UInt8>) -> Void' may have shared mutable state; this is an error in the Swift 6 language mode
54 |     public typealias Key = Bytes
55 |
56 |     public static let keygen: (_ k: UnsafeMutablePointer<UInt8>) -> Void = crypto_auth_keygen
   |                       |- warning: static property 'keygen' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<UInt8>) -> Void' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'keygen' 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
57 | }
58 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sodium/Box.swift:367:23: warning: static property 'newKeypair' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<UInt8>, UnsafeMutablePointer<UInt8>) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
365 |     public var SecretKeyBytes: Int { return Int(crypto_box_secretkeybytes()) }
366 |
367 |     public static let newKeypair: (
    |                       |- warning: static property 'newKeypair' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<UInt8>, UnsafeMutablePointer<UInt8>) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'newKeypair' 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
368 |         _ pk: UnsafeMutablePointer<UInt8>,
369 |         _ sk: UnsafeMutablePointer<UInt8>
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sodium/Box.swift:372:23: warning: static property 'keypairFromSeed' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<UInt8>, UnsafeMutablePointer<UInt8>, UnsafePointer<UInt8>) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
370 |     ) -> Int32 = crypto_box_keypair
371 |
372 |     public static let keypairFromSeed: (
    |                       |- warning: static property 'keypairFromSeed' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<UInt8>, UnsafeMutablePointer<UInt8>, UnsafePointer<UInt8>) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'keypairFromSeed' 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
373 |         _ pk: UnsafeMutablePointer<UInt8>,
374 |         _ sk: UnsafeMutablePointer<UInt8>,
[21/26] Compiling Sodium Auth.swift
/Users/admin/builder/spi-builder-workspace/Sodium/Aead.swift:117:23: warning: static property 'keygen' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
115 |     public typealias Key = Bytes
116 |
117 |     public static var keygen: (UnsafeMutablePointer<UInt8>) -> Void = crypto_aead_xchacha20poly1305_ietf_keygen
    |                       |- warning: static property 'keygen' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'keygen' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'keygen' 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
118 | }
119 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sodium/Auth.swift:56:23: warning: static property 'keygen' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<UInt8>) -> Void' may have shared mutable state; this is an error in the Swift 6 language mode
54 |     public typealias Key = Bytes
55 |
56 |     public static let keygen: (_ k: UnsafeMutablePointer<UInt8>) -> Void = crypto_auth_keygen
   |                       |- warning: static property 'keygen' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<UInt8>) -> Void' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'keygen' 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
57 | }
58 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sodium/Box.swift:367:23: warning: static property 'newKeypair' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<UInt8>, UnsafeMutablePointer<UInt8>) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
365 |     public var SecretKeyBytes: Int { return Int(crypto_box_secretkeybytes()) }
366 |
367 |     public static let newKeypair: (
    |                       |- warning: static property 'newKeypair' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<UInt8>, UnsafeMutablePointer<UInt8>) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'newKeypair' 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
368 |         _ pk: UnsafeMutablePointer<UInt8>,
369 |         _ sk: UnsafeMutablePointer<UInt8>
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sodium/Box.swift:372:23: warning: static property 'keypairFromSeed' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<UInt8>, UnsafeMutablePointer<UInt8>, UnsafePointer<UInt8>) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
370 |     ) -> Int32 = crypto_box_keypair
371 |
372 |     public static let keypairFromSeed: (
    |                       |- warning: static property 'keypairFromSeed' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<UInt8>, UnsafeMutablePointer<UInt8>, UnsafePointer<UInt8>) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'keypairFromSeed' 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
373 |         _ pk: UnsafeMutablePointer<UInt8>,
374 |         _ sk: UnsafeMutablePointer<UInt8>,
[22/26] Compiling Sodium Box.swift
/Users/admin/builder/spi-builder-workspace/Sodium/Aead.swift:117:23: warning: static property 'keygen' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
115 |     public typealias Key = Bytes
116 |
117 |     public static var keygen: (UnsafeMutablePointer<UInt8>) -> Void = crypto_aead_xchacha20poly1305_ietf_keygen
    |                       |- warning: static property 'keygen' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'keygen' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'keygen' 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
118 | }
119 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sodium/Auth.swift:56:23: warning: static property 'keygen' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<UInt8>) -> Void' may have shared mutable state; this is an error in the Swift 6 language mode
54 |     public typealias Key = Bytes
55 |
56 |     public static let keygen: (_ k: UnsafeMutablePointer<UInt8>) -> Void = crypto_auth_keygen
   |                       |- warning: static property 'keygen' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<UInt8>) -> Void' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'keygen' 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
57 | }
58 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sodium/Box.swift:367:23: warning: static property 'newKeypair' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<UInt8>, UnsafeMutablePointer<UInt8>) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
365 |     public var SecretKeyBytes: Int { return Int(crypto_box_secretkeybytes()) }
366 |
367 |     public static let newKeypair: (
    |                       |- warning: static property 'newKeypair' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<UInt8>, UnsafeMutablePointer<UInt8>) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'newKeypair' 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
368 |         _ pk: UnsafeMutablePointer<UInt8>,
369 |         _ sk: UnsafeMutablePointer<UInt8>
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sodium/Box.swift:372:23: warning: static property 'keypairFromSeed' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<UInt8>, UnsafeMutablePointer<UInt8>, UnsafePointer<UInt8>) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
370 |     ) -> Int32 = crypto_box_keypair
371 |
372 |     public static let keypairFromSeed: (
    |                       |- warning: static property 'keypairFromSeed' is not concurrency-safe because non-'Sendable' type '(UnsafeMutablePointer<UInt8>, UnsafeMutablePointer<UInt8>, UnsafePointer<UInt8>) -> Int32' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'keypairFromSeed' 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
373 |         _ pk: UnsafeMutablePointer<UInt8>,
374 |         _ sk: UnsafeMutablePointer<UInt8>,
[23/26] Compiling Sodium SecretKeyGenerator.swift
/Users/admin/builder/spi-builder-workspace/Sodium/GenericHash.swift:159:23: warning: static property 'keygen' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
157 |     public typealias Key = Bytes
158 |
159 |     public static var keygen: (UnsafeMutablePointer<UInt8>) -> Void = crypto_generichash_keygen
    |                       |- warning: static property 'keygen' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'keygen' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'keygen' 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
160 |
161 | }
[24/26] Compiling Sodium GenericHash.swift
/Users/admin/builder/spi-builder-workspace/Sodium/GenericHash.swift:159:23: warning: static property 'keygen' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
157 |     public typealias Key = Bytes
158 |
159 |     public static var keygen: (UnsafeMutablePointer<UInt8>) -> Void = crypto_generichash_keygen
    |                       |- warning: static property 'keygen' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'keygen' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'keygen' 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
160 |
161 | }
[25/26] Compiling Sodium PWHash.swift
[26/26] Compiling Sodium RandomBytes.swift
Build complete! (20.18s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Sodium",
  "name" : "Sodium",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Clibsodium",
      "targets" : [
        "Clibsodium"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Sodium",
      "targets" : [
        "Sodium"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SodiumTests",
      "module_type" : "SwiftTarget",
      "name" : "SodiumTests",
      "path" : "Tests/SodiumTests",
      "sources" : [
        "ReadmeTests.swift",
        "SodiumTests.swift"
      ],
      "target_dependencies" : [
        "Sodium"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Sodium",
      "module_type" : "SwiftTarget",
      "name" : "Sodium",
      "path" : "Sodium",
      "product_memberships" : [
        "Sodium"
      ],
      "sources" : [
        "Aead.swift",
        "Auth.swift",
        "Box.swift",
        "Bytes.swift",
        "ExitCode.swift",
        "Generators/KeyPairGenerator.swift",
        "Generators/KeyPairProtocol.swift",
        "Generators/NonceGenerator.swift",
        "Generators/SecretKeyGenerator.swift",
        "GenericHash.swift",
        "KeyDerivation.swift",
        "KeyExchange.swift",
        "PWHash.swift",
        "RandomBytes.swift",
        "SecretBox.swift",
        "SecretStream.swift",
        "ShortHash.swift",
        "Sign.swift",
        "Sodium.swift",
        "Stream.swift",
        "Utils.swift",
        "Version.swift"
      ],
      "target_dependencies" : [
        "Clibsodium"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Clibsodium",
      "module_type" : "BinaryTarget",
      "name" : "Clibsodium",
      "path" : "Clibsodium.xcframework",
      "product_memberships" : [
        "Clibsodium",
        "Sodium"
      ],
      "sources" : [
      ],
      "type" : "binary"
    }
  ],
  "tools_version" : "5.3"
}
Done.