The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Sodium, reference master (cfd195), with Swift 6.1 for macOS (SPM) on 12 Apr 2026 22:27:19 UTC.

Swift 6 data race errors: 23

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 InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jedisct1/swift-sodium.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jedisct1/swift-sodium
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at cfd195c Move KeyPairGenerator after the functional methods for consistency
Cloned https://github.com/jedisct1/swift-sodium.git
Revision (git rev-parse @):
cfd195c76882aa9b997560ca7cb95d72fbf5db00
SUCCESS checkout https://github.com/jedisct1/swift-sodium.git at master
========================================
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" : "_Clibsodium",
      "module_type" : "SwiftTarget",
      "name" : "_Clibsodium",
      "path" : "Sources/_Clibsodium",
      "product_memberships" : [
        "Clibsodium",
        "Sodium"
      ],
      "sources" : [
        "Clibsodium.swift"
      ],
      "target_dependencies" : [
        "ClibsodiumBinary",
        "ClibsodiumSystem"
      ],
      "type" : "library"
    },
    {
      "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" : "Sources/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",
        "KEM.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" : "ClibsodiumSystem",
      "module_type" : "SystemLibraryTarget",
      "name" : "ClibsodiumSystem",
      "path" : "Sources/ClibsodiumSystem",
      "product_memberships" : [
        "Clibsodium",
        "Sodium"
      ],
      "sources" : [
      ],
      "type" : "system-target"
    },
    {
      "c99name" : "ClibsodiumBinary",
      "module_type" : "BinaryTarget",
      "name" : "ClibsodiumBinary",
      "path" : "Clibsodium.xcframework",
      "product_memberships" : [
        "Clibsodium",
        "Sodium"
      ],
      "sources" : [
      ],
      "type" : "binary"
    }
  ],
  "tools_version" : "5.8"
}
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/4] Copying libsodium.a
[1/4] Write sources
[3/4] Write swift-version-2F0A5646E1D333AE.txt
[5/6] Emitting module _Clibsodium
[6/6] Compiling _Clibsodium Clibsodium.swift
[7/29] Emitting module Sodium
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/Aead.swift:127: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
125 |     public typealias Key = Bytes
126 |
127 |     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
128 | }
129 |
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/Aead.swift:246: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
244 |     public typealias Key = Bytes
245 |
246 |     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
247 | }
248 |
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/Aead.swift:365: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
363 |     public typealias Key = Bytes
364 |
365 |     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
366 | }
367 |
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/Aead.swift:484: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
482 |     public typealias Key = Bytes
483 |
484 |     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
485 | }
486 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/Auth.swift:59: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
57 |     public typealias Key = Bytes
58 |
59 |     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
60 | }
61 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/Box.swift:430: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
428 |     }
429 |
430 |     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
431 |         _ pk: UnsafeMutablePointer<UInt8>,
432 |         _ sk: UnsafeMutablePointer<UInt8>
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/Box.swift:435: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
433 |     ) -> Int32 = crypto_box_keypair
434 |
435 |     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
436 |         _ pk: UnsafeMutablePointer<UInt8>,
437 |         _ sk: UnsafeMutablePointer<UInt8>,
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/GenericHash.swift:170: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
168 |     public typealias Key = Bytes
169 |
170 |     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
171 | }
172 |
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/IpCrypt.swift:23: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
 21 |     }
 22 |
 23 |     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
 24 | }
 25 |
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/IpCrypt.swift:71: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
 69 |     }
 70 |
 71 |     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
 72 | }
 73 |
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/IpCrypt.swift:119: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
117 |     }
118 |
119 |     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
120 | }
121 |
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/IpCrypt.swift:164: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
162 |     }
163 |
164 |     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
165 | }
166 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/KEM.swift:64: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
62 |     }
63 |
64 |     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
65 |         _ pk: UnsafeMutablePointer<UInt8>,
66 |         _ sk: UnsafeMutablePointer<UInt8>
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/KEM.swift:69: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
67 |     ) -> Int32 = crypto_kem_keypair
68 |
69 |     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
70 |         _ pk: UnsafeMutablePointer<UInt8>,
71 |         _ sk: UnsafeMutablePointer<UInt8>,
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/KeyDerivation.swift:59: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
57 |     public typealias Key = Bytes
58 |
59 |     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
60 | }
61 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/KeyExchange.swift:91: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
 89 |     }
 90 |
 91 |     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
 92 |         _ pk: UnsafeMutablePointer<UInt8>,
 93 |         _ sk: UnsafeMutablePointer<UInt8>
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/KeyExchange.swift:96: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
 94 |     ) -> Int32 = crypto_kx_keypair
 95 |
 96 |     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
 97 |         _ pk: UnsafeMutablePointer<UInt8>,
 98 |         _ sk: UnsafeMutablePointer<UInt8>,
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/SecretBox.swift:239: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
237 |     }
238 |
239 |     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
240 | }
241 |
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/SecretStream.swift:189: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
187 |     public typealias Key = Bytes
188 |
189 |     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
190 | }
191 |
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/ShortHash.swift:38: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
36 |     public typealias Key = Bytes
37 |
38 |     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
39 | }
40 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/Sign.swift:136: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
134 |     }
135 |
136 |     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
137 |         _ pk: UnsafeMutablePointer<UInt8>,
138 |         _ sk: UnsafeMutablePointer<UInt8>
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/Sign.swift:141: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
139 |     ) -> Int32 = crypto_sign_keypair
140 |
141 |     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
142 |         _ pk: UnsafeMutablePointer<UInt8>,
143 |         _ sk: UnsafeMutablePointer<UInt8>,
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/Stream.swift:75: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
73 |     }
74 |
75 |     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
76 | }
77 |
[8/31] Compiling Sodium Utils.swift
[9/31] Compiling Sodium Version.swift
[10/31] Compiling Sodium Aead.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/Aead.swift:127: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
125 |     public typealias Key = Bytes
126 |
127 |     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
128 | }
129 |
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/Aead.swift:246: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
244 |     public typealias Key = Bytes
245 |
246 |     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
247 | }
248 |
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/Aead.swift:365: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
363 |     public typealias Key = Bytes
364 |
365 |     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
366 | }
367 |
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/Aead.swift:484: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
482 |     public typealias Key = Bytes
483 |
484 |     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
485 | }
486 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/Auth.swift:59: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
57 |     public typealias Key = Bytes
58 |
59 |     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
60 | }
61 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/Box.swift:430: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
428 |     }
429 |
430 |     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
431 |         _ pk: UnsafeMutablePointer<UInt8>,
432 |         _ sk: UnsafeMutablePointer<UInt8>
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/Box.swift:435: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
433 |     ) -> Int32 = crypto_box_keypair
434 |
435 |     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
436 |         _ pk: UnsafeMutablePointer<UInt8>,
437 |         _ sk: UnsafeMutablePointer<UInt8>,
[11/31] Compiling Sodium Auth.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/Aead.swift:127: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
125 |     public typealias Key = Bytes
126 |
127 |     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
128 | }
129 |
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/Aead.swift:246: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
244 |     public typealias Key = Bytes
245 |
246 |     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
247 | }
248 |
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/Aead.swift:365: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
363 |     public typealias Key = Bytes
364 |
365 |     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
366 | }
367 |
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/Aead.swift:484: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
482 |     public typealias Key = Bytes
483 |
484 |     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
485 | }
486 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/Auth.swift:59: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
57 |     public typealias Key = Bytes
58 |
59 |     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
60 | }
61 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/Box.swift:430: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
428 |     }
429 |
430 |     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
431 |         _ pk: UnsafeMutablePointer<UInt8>,
432 |         _ sk: UnsafeMutablePointer<UInt8>
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/Box.swift:435: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
433 |     ) -> Int32 = crypto_box_keypair
434 |
435 |     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
436 |         _ pk: UnsafeMutablePointer<UInt8>,
437 |         _ sk: UnsafeMutablePointer<UInt8>,
[12/31] Compiling Sodium Box.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/Aead.swift:127: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
125 |     public typealias Key = Bytes
126 |
127 |     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
128 | }
129 |
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/Aead.swift:246: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
244 |     public typealias Key = Bytes
245 |
246 |     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
247 | }
248 |
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/Aead.swift:365: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
363 |     public typealias Key = Bytes
364 |
365 |     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
366 | }
367 |
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/Aead.swift:484: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
482 |     public typealias Key = Bytes
483 |
484 |     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
485 | }
486 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/Auth.swift:59: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
57 |     public typealias Key = Bytes
58 |
59 |     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
60 | }
61 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/Box.swift:430: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
428 |     }
429 |
430 |     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
431 |         _ pk: UnsafeMutablePointer<UInt8>,
432 |         _ sk: UnsafeMutablePointer<UInt8>
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/Box.swift:435: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
433 |     ) -> Int32 = crypto_box_keypair
434 |
435 |     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
436 |         _ pk: UnsafeMutablePointer<UInt8>,
437 |         _ sk: UnsafeMutablePointer<UInt8>,
[13/31] Compiling Sodium PWHash.swift
[14/31] Compiling Sodium RandomBytes.swift
[15/31] Compiling Sodium KeyDerivation.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/KeyDerivation.swift:59: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
57 |     public typealias Key = Bytes
58 |
59 |     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
60 | }
61 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/KeyExchange.swift:91: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
 89 |     }
 90 |
 91 |     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
 92 |         _ pk: UnsafeMutablePointer<UInt8>,
 93 |         _ sk: UnsafeMutablePointer<UInt8>
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/KeyExchange.swift:96: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
 94 |     ) -> Int32 = crypto_kx_keypair
 95 |
 96 |     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
 97 |         _ pk: UnsafeMutablePointer<UInt8>,
 98 |         _ sk: UnsafeMutablePointer<UInt8>,
[16/31] Compiling Sodium KeyExchange.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/KeyDerivation.swift:59: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
57 |     public typealias Key = Bytes
58 |
59 |     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
60 | }
61 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/KeyExchange.swift:91: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
 89 |     }
 90 |
 91 |     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
 92 |         _ pk: UnsafeMutablePointer<UInt8>,
 93 |         _ sk: UnsafeMutablePointer<UInt8>
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/KeyExchange.swift:96: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
 94 |     ) -> Int32 = crypto_kx_keypair
 95 |
 96 |     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
 97 |         _ pk: UnsafeMutablePointer<UInt8>,
 98 |         _ sk: UnsafeMutablePointer<UInt8>,
[17/31] Compiling Sodium GenericHash.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/GenericHash.swift:170: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
168 |     public typealias Key = Bytes
169 |
170 |     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
171 | }
172 |
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/IpCrypt.swift:23: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
 21 |     }
 22 |
 23 |     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
 24 | }
 25 |
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/IpCrypt.swift:71: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
 69 |     }
 70 |
 71 |     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
 72 | }
 73 |
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/IpCrypt.swift:119: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
117 |     }
118 |
119 |     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
120 | }
121 |
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/IpCrypt.swift:164: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
162 |     }
163 |
164 |     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
165 | }
166 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/KEM.swift:64: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
62 |     }
63 |
64 |     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
65 |         _ pk: UnsafeMutablePointer<UInt8>,
66 |         _ sk: UnsafeMutablePointer<UInt8>
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/KEM.swift:69: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
67 |     ) -> Int32 = crypto_kem_keypair
68 |
69 |     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
70 |         _ pk: UnsafeMutablePointer<UInt8>,
71 |         _ sk: UnsafeMutablePointer<UInt8>,
[18/31] Compiling Sodium IpCrypt.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/GenericHash.swift:170: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
168 |     public typealias Key = Bytes
169 |
170 |     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
171 | }
172 |
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/IpCrypt.swift:23: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
 21 |     }
 22 |
 23 |     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
 24 | }
 25 |
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/IpCrypt.swift:71: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
 69 |     }
 70 |
 71 |     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
 72 | }
 73 |
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/IpCrypt.swift:119: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
117 |     }
118 |
119 |     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
120 | }
121 |
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/IpCrypt.swift:164: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
162 |     }
163 |
164 |     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
165 | }
166 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/KEM.swift:64: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
62 |     }
63 |
64 |     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
65 |         _ pk: UnsafeMutablePointer<UInt8>,
66 |         _ sk: UnsafeMutablePointer<UInt8>
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/KEM.swift:69: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
67 |     ) -> Int32 = crypto_kem_keypair
68 |
69 |     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
70 |         _ pk: UnsafeMutablePointer<UInt8>,
71 |         _ sk: UnsafeMutablePointer<UInt8>,
[19/31] Compiling Sodium KEM.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/GenericHash.swift:170: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
168 |     public typealias Key = Bytes
169 |
170 |     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
171 | }
172 |
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/IpCrypt.swift:23: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
 21 |     }
 22 |
 23 |     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
 24 | }
 25 |
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/IpCrypt.swift:71: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
 69 |     }
 70 |
 71 |     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
 72 | }
 73 |
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/IpCrypt.swift:119: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
117 |     }
118 |
119 |     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
120 | }
121 |
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/IpCrypt.swift:164: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
162 |     }
163 |
164 |     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
165 | }
166 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/KEM.swift:64: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
62 |     }
63 |
64 |     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
65 |         _ pk: UnsafeMutablePointer<UInt8>,
66 |         _ sk: UnsafeMutablePointer<UInt8>
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/KEM.swift:69: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
67 |     ) -> Int32 = crypto_kem_keypair
68 |
69 |     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
70 |         _ pk: UnsafeMutablePointer<UInt8>,
71 |         _ sk: UnsafeMutablePointer<UInt8>,
[20/31] Compiling Sodium Bytes.swift
[21/31] Compiling Sodium ExitCode.swift
[22/31] Compiling Sodium KeyPairGenerator.swift
[23/31] Compiling Sodium ShortHash.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/ShortHash.swift:38: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
36 |     public typealias Key = Bytes
37 |
38 |     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
39 | }
40 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/Sign.swift:136: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
134 |     }
135 |
136 |     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
137 |         _ pk: UnsafeMutablePointer<UInt8>,
138 |         _ sk: UnsafeMutablePointer<UInt8>
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/Sign.swift:141: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
139 |     ) -> Int32 = crypto_sign_keypair
140 |
141 |     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
142 |         _ pk: UnsafeMutablePointer<UInt8>,
143 |         _ sk: UnsafeMutablePointer<UInt8>,
[24/31] Compiling Sodium Sign.swift
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/ShortHash.swift:38: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
36 |     public typealias Key = Bytes
37 |
38 |     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
39 | }
40 |
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/Sign.swift:136: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
134 |     }
135 |
136 |     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
137 |         _ pk: UnsafeMutablePointer<UInt8>,
138 |         _ sk: UnsafeMutablePointer<UInt8>
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/Sign.swift:141: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
139 |     ) -> Int32 = crypto_sign_keypair
140 |
141 |     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
142 |         _ pk: UnsafeMutablePointer<UInt8>,
143 |         _ sk: UnsafeMutablePointer<UInt8>,
[25/31] Compiling Sodium SecretBox.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/SecretBox.swift:239: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
237 |     }
238 |
239 |     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
240 | }
241 |
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/SecretStream.swift:189: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
187 |     public typealias Key = Bytes
188 |
189 |     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
190 | }
191 |
[26/31] Compiling Sodium SecretStream.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/SecretBox.swift:239: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
237 |     }
238 |
239 |     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
240 | }
241 |
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/SecretStream.swift:189: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
187 |     public typealias Key = Bytes
188 |
189 |     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
190 | }
191 |
[27/31] Compiling Sodium KeyPairProtocol.swift
[28/31] Compiling Sodium NonceGenerator.swift
[29/31] Compiling Sodium SecretKeyGenerator.swift
[30/31] Compiling Sodium Sodium.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/Stream.swift:75: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
73 |     }
74 |
75 |     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
76 | }
77 |
[31/31] Compiling Sodium Stream.swift
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/Sodium/Stream.swift:75: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
73 |     }
74 |
75 |     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
76 | }
77 |
Build complete! (5.83s)
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/Sodium/Info.plist
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" : "_Clibsodium",
      "module_type" : "SwiftTarget",
      "name" : "_Clibsodium",
      "path" : "Sources/_Clibsodium",
      "product_memberships" : [
        "Clibsodium",
        "Sodium"
      ],
      "sources" : [
        "Clibsodium.swift"
      ],
      "target_dependencies" : [
        "ClibsodiumBinary",
        "ClibsodiumSystem"
      ],
      "type" : "library"
    },
    {
      "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" : "Sources/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",
        "KEM.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" : "ClibsodiumSystem",
      "module_type" : "SystemLibraryTarget",
      "name" : "ClibsodiumSystem",
      "path" : "Sources/ClibsodiumSystem",
      "product_memberships" : [
        "Clibsodium",
        "Sodium"
      ],
      "sources" : [
      ],
      "type" : "system-target"
    },
    {
      "c99name" : "ClibsodiumBinary",
      "module_type" : "BinaryTarget",
      "name" : "ClibsodiumBinary",
      "path" : "Clibsodium.xcframework",
      "product_memberships" : [
        "Clibsodium",
        "Sodium"
      ],
      "sources" : [
      ],
      "type" : "binary"
    }
  ],
  "tools_version" : "5.8"
}
Done.