Build Information
Successful build of Sodium, reference 0.10.0 (e7e799), with Swift 6.1 for macOS (SPM) on 6 Jan 2026 19:54:55 UTC.
Swift 6 data race errors: 21
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.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 InferSendableFromCapturesBuild Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jedisct1/swift-sodium.git
Reference: 0.10.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jedisct1/swift-sodium
* tag 0.10.0 -> FETCH_HEAD
HEAD is now at e7e799c Sync documentation
Cloned https://github.com/jedisct1/swift-sodium.git
Revision (git rev-parse @):
e7e799cd1eaa4d0f6d3eab56832e7f4b377f4a4f
SUCCESS checkout https://github.com/jedisct1/swift-sodium.git at 0.10.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/jedisct1/swift-sodium.git
https://github.com/jedisct1/swift-sodium.git
{
"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",
"IpCrypt.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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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
[0/3] Copying libsodium.a
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/25] Emitting module Sodium
/Users/admin/builder/spi-builder-workspace/Sodium/Aead.swift:122: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
120 | public typealias Key = Bytes
121 |
122 | public static var keygen: (UnsafeMutablePointer<UInt8>) -> Void = crypto_aead_aegis128l_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: add '@MainActor' to make static property 'keygen' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 | }
124 |
/Users/admin/builder/spi-builder-workspace/Sodium/Aead.swift:236: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
234 | public typealias Key = Bytes
235 |
236 | public static var keygen: (UnsafeMutablePointer<UInt8>) -> Void = crypto_aead_aegis256_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: add '@MainActor' to make static property 'keygen' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
237 | }
238 |
/Users/admin/builder/spi-builder-workspace/Sodium/Aead.swift:350: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
348 | public typealias Key = Bytes
349 |
350 | 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: add '@MainActor' to make static property 'keygen' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
351 | }
352 |
/Users/admin/builder/spi-builder-workspace/Sodium/Aead.swift:465: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
463 | public typealias Key = Bytes
464 |
465 | public static var keygen: (UnsafeMutablePointer<UInt8>) -> Void = crypto_aead_aes256gcm_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: add '@MainActor' to make static property 'keygen' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
466 | }
467 |
<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: add '@MainActor' to make static property 'keygen' part of global actor 'MainActor'
| `- 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:422: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
420 | public var SecretKeyBytes: Int { return Int(crypto_box_secretkeybytes()) }
421 |
422 | 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: add '@MainActor' to make static property 'newKeypair' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
423 | _ pk: UnsafeMutablePointer<UInt8>,
424 | _ 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:427: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
425 | ) -> Int32 = crypto_box_keypair
426 |
427 | 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: add '@MainActor' to make static property 'keypairFromSeed' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
428 | _ pk: UnsafeMutablePointer<UInt8>,
429 | _ 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: add '@MainActor' to make static property 'keygen' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
160 |
161 | }
/Users/admin/builder/spi-builder-workspace/Sodium/IpCrypt.swift:21: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
19 | public var KeyBytes: Int { return Int(crypto_ipcrypt_keybytes()) }
20 |
21 | public static var keygen: (UnsafeMutablePointer<UInt8>) -> Void = crypto_ipcrypt_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: add '@MainActor' to make static property 'keygen' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | }
23 |
/Users/admin/builder/spi-builder-workspace/Sodium/IpCrypt.swift:67: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
65 | public var KeyBytes: Int { return Int(crypto_ipcrypt_nd_keybytes()) }
66 |
67 | public static var keygen: (UnsafeMutablePointer<UInt8>) -> Void = crypto_ipcrypt_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: add '@MainActor' to make static property 'keygen' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 | }
69 |
/Users/admin/builder/spi-builder-workspace/Sodium/IpCrypt.swift:113: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
111 | public var KeyBytes: Int { return Int(crypto_ipcrypt_ndx_keybytes()) }
112 |
113 | public static var keygen: (UnsafeMutablePointer<UInt8>) -> Void = crypto_ipcrypt_ndx_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: add '@MainActor' to make static property 'keygen' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
114 | }
115 |
/Users/admin/builder/spi-builder-workspace/Sodium/IpCrypt.swift:156: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
154 | public var KeyBytes: Int { return Int(crypto_ipcrypt_pfx_keybytes()) }
155 |
156 | public static var keygen: (UnsafeMutablePointer<UInt8>) -> Void = crypto_ipcrypt_pfx_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: add '@MainActor' to make static property 'keygen' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 | }
158 |
/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: add '@MainActor' to make static property 'keygen' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'newKeypair' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'keypairFromSeed' part of global actor 'MainActor'
| `- 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:234: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
232 | public var KeyBytes: Int { return Int(crypto_secretbox_keybytes()) }
233 |
234 | 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: add '@MainActor' to make static property 'keygen' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
235 | }
236 |
/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: add '@MainActor' to make static property 'keygen' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'keygen' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'newKeypair' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'keypairFromSeed' part of global actor 'MainActor'
| `- 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_stream_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: add '@MainActor' to make static property 'keygen' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 | }
73 |
[5/27] Compiling Sodium Utils.swift
[6/27] Compiling Sodium Version.swift
[7/27] 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: add '@MainActor' to make static property 'keygen' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
160 |
161 | }
/Users/admin/builder/spi-builder-workspace/Sodium/IpCrypt.swift:21: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
19 | public var KeyBytes: Int { return Int(crypto_ipcrypt_keybytes()) }
20 |
21 | public static var keygen: (UnsafeMutablePointer<UInt8>) -> Void = crypto_ipcrypt_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: add '@MainActor' to make static property 'keygen' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | }
23 |
/Users/admin/builder/spi-builder-workspace/Sodium/IpCrypt.swift:67: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
65 | public var KeyBytes: Int { return Int(crypto_ipcrypt_nd_keybytes()) }
66 |
67 | public static var keygen: (UnsafeMutablePointer<UInt8>) -> Void = crypto_ipcrypt_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: add '@MainActor' to make static property 'keygen' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 | }
69 |
/Users/admin/builder/spi-builder-workspace/Sodium/IpCrypt.swift:113: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
111 | public var KeyBytes: Int { return Int(crypto_ipcrypt_ndx_keybytes()) }
112 |
113 | public static var keygen: (UnsafeMutablePointer<UInt8>) -> Void = crypto_ipcrypt_ndx_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: add '@MainActor' to make static property 'keygen' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
114 | }
115 |
/Users/admin/builder/spi-builder-workspace/Sodium/IpCrypt.swift:156: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
154 | public var KeyBytes: Int { return Int(crypto_ipcrypt_pfx_keybytes()) }
155 |
156 | public static var keygen: (UnsafeMutablePointer<UInt8>) -> Void = crypto_ipcrypt_pfx_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: add '@MainActor' to make static property 'keygen' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 | }
158 |
[8/27] Compiling Sodium IpCrypt.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: add '@MainActor' to make static property 'keygen' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
160 |
161 | }
/Users/admin/builder/spi-builder-workspace/Sodium/IpCrypt.swift:21: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
19 | public var KeyBytes: Int { return Int(crypto_ipcrypt_keybytes()) }
20 |
21 | public static var keygen: (UnsafeMutablePointer<UInt8>) -> Void = crypto_ipcrypt_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: add '@MainActor' to make static property 'keygen' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | }
23 |
/Users/admin/builder/spi-builder-workspace/Sodium/IpCrypt.swift:67: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
65 | public var KeyBytes: Int { return Int(crypto_ipcrypt_nd_keybytes()) }
66 |
67 | public static var keygen: (UnsafeMutablePointer<UInt8>) -> Void = crypto_ipcrypt_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: add '@MainActor' to make static property 'keygen' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 | }
69 |
/Users/admin/builder/spi-builder-workspace/Sodium/IpCrypt.swift:113: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
111 | public var KeyBytes: Int { return Int(crypto_ipcrypt_ndx_keybytes()) }
112 |
113 | public static var keygen: (UnsafeMutablePointer<UInt8>) -> Void = crypto_ipcrypt_ndx_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: add '@MainActor' to make static property 'keygen' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
114 | }
115 |
/Users/admin/builder/spi-builder-workspace/Sodium/IpCrypt.swift:156: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
154 | public var KeyBytes: Int { return Int(crypto_ipcrypt_pfx_keybytes()) }
155 |
156 | public static var keygen: (UnsafeMutablePointer<UInt8>) -> Void = crypto_ipcrypt_pfx_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: add '@MainActor' to make static property 'keygen' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 | }
158 |
[9/27] 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: add '@MainActor' to make static property 'keygen' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'newKeypair' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'keypairFromSeed' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | _ pk: UnsafeMutablePointer<UInt8>,
90 | _ sk: UnsafeMutablePointer<UInt8>,
[10/27] 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: add '@MainActor' to make static property 'keygen' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'newKeypair' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'keypairFromSeed' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | _ pk: UnsafeMutablePointer<UInt8>,
90 | _ sk: UnsafeMutablePointer<UInt8>,
[11/27] Compiling Sodium Bytes.swift
[12/27] Compiling Sodium ExitCode.swift
[13/27] Compiling Sodium KeyPairGenerator.swift
[14/27] Compiling Sodium PWHash.swift
[15/27] Compiling Sodium RandomBytes.swift
[16/27] Compiling Sodium KeyPairProtocol.swift
[17/27] Compiling Sodium NonceGenerator.swift
[18/27] Compiling Sodium SecretKeyGenerator.swift
[19/27] 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: add '@MainActor' to make static property 'keygen' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'newKeypair' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'keypairFromSeed' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
134 | _ pk: UnsafeMutablePointer<UInt8>,
135 | _ sk: UnsafeMutablePointer<UInt8>,
[20/27] 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: add '@MainActor' to make static property 'keygen' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'newKeypair' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'keypairFromSeed' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
134 | _ pk: UnsafeMutablePointer<UInt8>,
135 | _ sk: UnsafeMutablePointer<UInt8>,
[21/27] Compiling Sodium Aead.swift
/Users/admin/builder/spi-builder-workspace/Sodium/Aead.swift:122: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
120 | public typealias Key = Bytes
121 |
122 | public static var keygen: (UnsafeMutablePointer<UInt8>) -> Void = crypto_aead_aegis128l_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: add '@MainActor' to make static property 'keygen' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 | }
124 |
/Users/admin/builder/spi-builder-workspace/Sodium/Aead.swift:236: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
234 | public typealias Key = Bytes
235 |
236 | public static var keygen: (UnsafeMutablePointer<UInt8>) -> Void = crypto_aead_aegis256_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: add '@MainActor' to make static property 'keygen' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
237 | }
238 |
/Users/admin/builder/spi-builder-workspace/Sodium/Aead.swift:350: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
348 | public typealias Key = Bytes
349 |
350 | 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: add '@MainActor' to make static property 'keygen' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
351 | }
352 |
/Users/admin/builder/spi-builder-workspace/Sodium/Aead.swift:465: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
463 | public typealias Key = Bytes
464 |
465 | public static var keygen: (UnsafeMutablePointer<UInt8>) -> Void = crypto_aead_aes256gcm_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: add '@MainActor' to make static property 'keygen' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
466 | }
467 |
<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: add '@MainActor' to make static property 'keygen' part of global actor 'MainActor'
| `- 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:422: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
420 | public var SecretKeyBytes: Int { return Int(crypto_box_secretkeybytes()) }
421 |
422 | 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: add '@MainActor' to make static property 'newKeypair' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
423 | _ pk: UnsafeMutablePointer<UInt8>,
424 | _ 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:427: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
425 | ) -> Int32 = crypto_box_keypair
426 |
427 | 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: add '@MainActor' to make static property 'keypairFromSeed' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
428 | _ pk: UnsafeMutablePointer<UInt8>,
429 | _ sk: UnsafeMutablePointer<UInt8>,
[22/27] Compiling Sodium Auth.swift
/Users/admin/builder/spi-builder-workspace/Sodium/Aead.swift:122: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
120 | public typealias Key = Bytes
121 |
122 | public static var keygen: (UnsafeMutablePointer<UInt8>) -> Void = crypto_aead_aegis128l_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: add '@MainActor' to make static property 'keygen' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 | }
124 |
/Users/admin/builder/spi-builder-workspace/Sodium/Aead.swift:236: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
234 | public typealias Key = Bytes
235 |
236 | public static var keygen: (UnsafeMutablePointer<UInt8>) -> Void = crypto_aead_aegis256_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: add '@MainActor' to make static property 'keygen' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
237 | }
238 |
/Users/admin/builder/spi-builder-workspace/Sodium/Aead.swift:350: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
348 | public typealias Key = Bytes
349 |
350 | 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: add '@MainActor' to make static property 'keygen' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
351 | }
352 |
/Users/admin/builder/spi-builder-workspace/Sodium/Aead.swift:465: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
463 | public typealias Key = Bytes
464 |
465 | public static var keygen: (UnsafeMutablePointer<UInt8>) -> Void = crypto_aead_aes256gcm_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: add '@MainActor' to make static property 'keygen' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
466 | }
467 |
<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: add '@MainActor' to make static property 'keygen' part of global actor 'MainActor'
| `- 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:422: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
420 | public var SecretKeyBytes: Int { return Int(crypto_box_secretkeybytes()) }
421 |
422 | 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: add '@MainActor' to make static property 'newKeypair' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
423 | _ pk: UnsafeMutablePointer<UInt8>,
424 | _ 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:427: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
425 | ) -> Int32 = crypto_box_keypair
426 |
427 | 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: add '@MainActor' to make static property 'keypairFromSeed' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
428 | _ pk: UnsafeMutablePointer<UInt8>,
429 | _ sk: UnsafeMutablePointer<UInt8>,
[23/27] Compiling Sodium Box.swift
/Users/admin/builder/spi-builder-workspace/Sodium/Aead.swift:122: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
120 | public typealias Key = Bytes
121 |
122 | public static var keygen: (UnsafeMutablePointer<UInt8>) -> Void = crypto_aead_aegis128l_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: add '@MainActor' to make static property 'keygen' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
123 | }
124 |
/Users/admin/builder/spi-builder-workspace/Sodium/Aead.swift:236: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
234 | public typealias Key = Bytes
235 |
236 | public static var keygen: (UnsafeMutablePointer<UInt8>) -> Void = crypto_aead_aegis256_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: add '@MainActor' to make static property 'keygen' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
237 | }
238 |
/Users/admin/builder/spi-builder-workspace/Sodium/Aead.swift:350: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
348 | public typealias Key = Bytes
349 |
350 | 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: add '@MainActor' to make static property 'keygen' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
351 | }
352 |
/Users/admin/builder/spi-builder-workspace/Sodium/Aead.swift:465: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
463 | public typealias Key = Bytes
464 |
465 | public static var keygen: (UnsafeMutablePointer<UInt8>) -> Void = crypto_aead_aes256gcm_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: add '@MainActor' to make static property 'keygen' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
466 | }
467 |
<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: add '@MainActor' to make static property 'keygen' part of global actor 'MainActor'
| `- 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:422: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
420 | public var SecretKeyBytes: Int { return Int(crypto_box_secretkeybytes()) }
421 |
422 | 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: add '@MainActor' to make static property 'newKeypair' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
423 | _ pk: UnsafeMutablePointer<UInt8>,
424 | _ 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:427: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
425 | ) -> Int32 = crypto_box_keypair
426 |
427 | 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: add '@MainActor' to make static property 'keypairFromSeed' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
428 | _ pk: UnsafeMutablePointer<UInt8>,
429 | _ sk: UnsafeMutablePointer<UInt8>,
[24/27] 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_stream_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: add '@MainActor' to make static property 'keygen' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 | }
73 |
[25/27] 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_stream_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: add '@MainActor' to make static property 'keygen' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 | }
73 |
[26/27] 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:234: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
232 | public var KeyBytes: Int { return Int(crypto_secretbox_keybytes()) }
233 |
234 | 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: add '@MainActor' to make static property 'keygen' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
235 | }
236 |
/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: add '@MainActor' to make static property 'keygen' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
191 | }
192 |
[27/27] 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:234: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
232 | public var KeyBytes: Int { return Int(crypto_secretbox_keybytes()) }
233 |
234 | 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: add '@MainActor' to make static property 'keygen' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
235 | }
236 |
/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: add '@MainActor' to make static property 'keygen' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
191 | }
192 |
Build complete! (5.52s)
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",
"IpCrypt.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.