Build Information
Successful build of Sodium, reference 0.9.1 (4f9164
), with Swift 6.0 for macOS (SPM) on 27 Nov 2024 21:04:25 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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jedisct1/swift-sodium.git
Reference: 0.9.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jedisct1/swift-sodium
* tag 0.9.1 -> FETCH_HEAD
HEAD is now at 4f9164a Rebuild with Xcode 12.3
Cloned https://github.com/jedisct1/swift-sodium.git
Revision (git rev-parse @):
4f9164a0a2c9a6a7ff53a2833d54a5c79c957342
SUCCESS checkout https://github.com/jedisct1/swift-sodium.git at 0.9.1
========================================
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/jedisct1/swift-sodium.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-sodium",
"dependencies": [
]
}
]
}
Fetching https://github.com/jedisct1/swift-sodium.git
[1/4426] Fetching swift-sodium
Fetched https://github.com/jedisct1/swift-sodium.git from cache (4.50s)
Creating working copy for https://github.com/jedisct1/swift-sodium.git
Working copy of https://github.com/jedisct1/swift-sodium.git resolved at 0.9.1 (4f9164a)
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/jedisct1/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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/3] Write sources
[1/3] Copying libsodium.a
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/23] 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/25] 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 |
[6/25] Compiling Sodium Utils.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 |
[7/25] Compiling Sodium RandomBytes.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 |
[8/25] 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 |
[9/25] Compiling Sodium KeyPairGenerator.swift
[10/25] Compiling Sodium KeyPairProtocol.swift
[11/25] Compiling Sodium KeyExchange.swift
<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/25] Compiling Sodium PWHash.swift
<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>,
[13/25] 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>,
[14/25] 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>,
[15/25] 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>,
[16/25] Compiling Sodium Sign.swift
<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/25] 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/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/25] 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 | }
/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 |
[19/25] Compiling Sodium KeyDerivation.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 | }
/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 |
[20/25] Compiling Sodium SecretStream.swift
/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 |
[21/25] Compiling Sodium ShortHash.swift
/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 |
[22/25] Compiling Sodium Bytes.swift
[23/25] Compiling Sodium ExitCode.swift
[24/25] Compiling Sodium NonceGenerator.swift
[25/25] Compiling Sodium SecretKeyGenerator.swift
Build complete! (20.27s)
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"
],
"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.