The Swift Package Index logo.Swift Package Index

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

Build Information

Successful build of SwiftKyber, reference main (f8e419), with Swift 6.1 for macOS (SPM) on 1 May 2025 04:32:48 UTC.

Swift 6 data race errors: 4

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.61.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/leif-ibsen/SwiftKyber.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/leif-ibsen/SwiftKyber
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at f8e4193 Release 3.3.0
Cloned https://github.com/leif-ibsen/SwiftKyber.git
Revision (git rev-parse @):
f8e419304a49fa7bb6cff1d25492e2b5a1460342
SUCCESS checkout https://github.com/leif-ibsen/SwiftKyber.git at main
Fetching https://github.com/leif-ibsen/ASN1
Fetching https://github.com/leif-ibsen/BigInt
Fetching https://github.com/leif-ibsen/Digest
[1/2427] Fetching asn1
[26/5020] Fetching asn1, digest
[668/10536] Fetching asn1, digest, bigint
Fetched https://github.com/leif-ibsen/ASN1 from cache (1.13s)
[5296/8109] Fetching digest, bigint
Fetched https://github.com/leif-ibsen/BigInt from cache (1.34s)
Fetched https://github.com/leif-ibsen/Digest from cache (1.34s)
Computing version for https://github.com/leif-ibsen/BigInt
Computed https://github.com/leif-ibsen/BigInt at 1.21.0 (1.80s)
Computing version for https://github.com/leif-ibsen/ASN1
Computed https://github.com/leif-ibsen/ASN1 at 2.7.0 (0.88s)
Computing version for https://github.com/leif-ibsen/Digest
Computed https://github.com/leif-ibsen/Digest at 1.13.0 (0.42s)
Creating working copy for https://github.com/leif-ibsen/ASN1
Working copy of https://github.com/leif-ibsen/ASN1 resolved at 2.7.0
Creating working copy for https://github.com/leif-ibsen/Digest
Working copy of https://github.com/leif-ibsen/Digest resolved at 1.13.0
Creating working copy for https://github.com/leif-ibsen/BigInt
Working copy of https://github.com/leif-ibsen/BigInt resolved at 1.21.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "swiftkyber",
      "name": "SwiftKyber",
      "url": "https://github.com/leif-ibsen/SwiftKyber.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftKyber",
      "dependencies": [
        {
          "identity": "asn1",
          "name": "ASN1",
          "url": "https://github.com/leif-ibsen/ASN1",
          "version": "2.7.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ASN1",
          "dependencies": [
            {
              "identity": "bigint",
              "name": "BigInt",
              "url": "https://github.com/leif-ibsen/BigInt",
              "version": "1.21.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BigInt",
              "dependencies": [
              ]
            }
          ]
        },
        {
          "identity": "bigint",
          "name": "BigInt",
          "url": "https://github.com/leif-ibsen/BigInt",
          "version": "1.21.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BigInt",
          "dependencies": [
          ]
        },
        {
          "identity": "digest",
          "name": "Digest",
          "url": "https://github.com/leif-ibsen/Digest",
          "version": "1.13.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Digest",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/leif-ibsen/SwiftKyber.git
[1/1614] Fetching swiftkyber
Fetched https://github.com/leif-ibsen/SwiftKyber.git from cache (1.62s)
Fetching https://github.com/leif-ibsen/BigInt from cache
Fetching https://github.com/leif-ibsen/Digest from cache
Fetching https://github.com/leif-ibsen/ASN1 from cache
Fetched https://github.com/leif-ibsen/ASN1 from cache (0.46s)
Fetched https://github.com/leif-ibsen/Digest from cache (0.46s)
Fetched https://github.com/leif-ibsen/BigInt from cache (0.46s)
Computing version for https://github.com/leif-ibsen/BigInt
Computed https://github.com/leif-ibsen/BigInt at 1.21.0 (0.52s)
Computing version for https://github.com/leif-ibsen/ASN1
Computed https://github.com/leif-ibsen/ASN1 at 2.7.0 (0.03s)
Computing version for https://github.com/leif-ibsen/Digest
Computed https://github.com/leif-ibsen/Digest at 1.13.0 (0.03s)
Creating working copy for https://github.com/leif-ibsen/SwiftKyber.git
Working copy of https://github.com/leif-ibsen/SwiftKyber.git resolved at main (f8e4193)
Creating working copy for https://github.com/leif-ibsen/Digest
Working copy of https://github.com/leif-ibsen/Digest resolved at 1.13.0
Creating working copy for https://github.com/leif-ibsen/ASN1
Working copy of https://github.com/leif-ibsen/ASN1 resolved at 2.7.0
Creating working copy for https://github.com/leif-ibsen/BigInt
Working copy of https://github.com/leif-ibsen/BigInt resolved at 1.21.0
warning: '.resolve-product-dependencies': dependency 'swiftkyber' is not used by any target
Found 3 product dependencies
  - ASN1
  - BigInt
  - Digest
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/leif-ibsen/SwiftKyber.git
https://github.com/leif-ibsen/SwiftKyber.git
{
  "dependencies" : [
    {
      "identity" : "asn1",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.7.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/leif-ibsen/ASN1"
    },
    {
      "identity" : "bigint",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.21.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/leif-ibsen/BigInt"
    },
    {
      "identity" : "digest",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.12.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/leif-ibsen/Digest"
    }
  ],
  "manifest_display_name" : "SwiftKyber",
  "name" : "SwiftKyber",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftKyber",
      "targets" : [
        "SwiftKyber"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftKyberTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftKyberTests",
      "path" : "Tests/SwiftKyberTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftKyberTests/Resources/katTestDecap.rsp",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftKyberTests/Resources/katTestEncap.rsp",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftKyberTests/Resources/katTestKeyGen.rsp",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "CompressTest.swift",
        "EncapDecapTest.swift",
        "EncodeDecodeTest.swift",
        "ExceptionTest.swift",
        "KATTestDecap.swift",
        "KATTestEncap.swift",
        "KATTestKeyGen.swift",
        "K_PKETest.swift",
        "KeysTest.swift",
        "ML_KEMInternalTest.swift",
        "NTTTest.swift",
        "PEMTest.swift",
        "SampleNTTTest.swift",
        "SamplePolyCBDTest.swift",
        "Util.swift"
      ],
      "target_dependencies" : [
        "SwiftKyber"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftKyber",
      "module_type" : "SwiftTarget",
      "name" : "SwiftKyber",
      "path" : "Sources/SwiftKyber",
      "product_dependencies" : [
        "BigInt",
        "ASN1",
        "Digest"
      ],
      "product_memberships" : [
        "SwiftKyber"
      ],
      "sources" : [
        "DecapsulationKey.swift",
        "EncapsulationKey.swift",
        "Exception.swift",
        "Kind.swift",
        "Kyber.swift",
        "Matrix.swift",
        "Parameters.swift",
        "Polynomial.swift",
        "Vector.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
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/5] Write sources
[4/5] Write swift-version-2F0A5646E1D333AE.txt
[6/27] Compiling Digest SHA3.swift
[7/27] Compiling Digest SHAKE.swift
[8/27] Compiling Digest SHA2.swift
[9/28] Compiling Digest MD.swift
[10/28] Compiling Digest SHA1.swift
[11/28] Compiling BigInt GCD.swift
[12/28] Compiling BigInt Karatsuba.swift
[13/28] Compiling BigInt Limbs.swift
[14/29] Compiling BigInt Factorial.swift
[15/29] Compiling BigInt FFT.swift
[16/29] Compiling Digest XOF.swift
[17/29] Compiling BigInt ToomCook.swift
[18/29] Compiling Digest KDF.swift
[19/29] Compiling Digest BLAKE.swift
[20/29] Emitting module Digest
[21/29] Compiling Digest Base64.swift
[22/29] Compiling Digest HMAC.swift
[23/29] Compiling BigInt CRT.swift
[24/29] Compiling BigInt ExpMod.swift
[25/29] Compiling BigInt BitSieve.swift
[26/29] Compiling BigInt BurnikelZiegler.swift
[27/29] Emitting module BigInt
[28/29] Compiling BigInt BigFrac.swift
[29/29] Compiling BigInt BigInt.swift
[30/50] Emitting module ASN1
[31/52] Compiling ASN1 ASN1IA5String.swift
[32/52] Compiling ASN1 ASN1Integer.swift
[33/52] Compiling ASN1 ASN1Time.swift
[34/52] Compiling ASN1 ASN1UTCTime.swift
[35/52] Compiling ASN1 ASN1UTF8String.swift
[36/52] Compiling ASN1 InputStream.swift
[37/52] Compiling ASN1 ASN1SimpleType.swift
[38/52] Compiling ASN1 ASN1T61String.swift
[39/52] Compiling ASN1 ASN1Null.swift
[40/52] Compiling ASN1 ASN1ObjectIdentifier.swift
[41/52] Compiling ASN1 ASN1Sequence.swift
[42/52] Compiling ASN1 ASN1Set.swift
[43/52] Compiling ASN1 ASN1Exception.swift
[44/52] Compiling ASN1 ASN1GeneralizedTime.swift
[45/52] Compiling ASN1 ASN1.swift
[46/52] Compiling ASN1 ASN1BMPString.swift
[47/52] Compiling ASN1 ASN1BitString.swift
[48/52] Compiling ASN1 ASN1Boolean.swift
[49/52] Compiling ASN1 ASN1Collection.swift
[50/52] Compiling ASN1 ASN1Ctx.swift
[51/52] Compiling ASN1 ASN1OctetString.swift
[52/52] Compiling ASN1 ASN1PrintableString.swift
[53/62] Compiling SwiftKyber Parameters.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKyber/Parameters.swift:25:16: warning: static property 'params' is not concurrency-safe because non-'Sendable' type '[Parameters]' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | // Parameters for the three Kyber instances
11 | struct Parameters {
   |        `- note: consider making struct 'Parameters' conform to the 'Sendable' protocol
12 |
13 |     let k: Int
   :
23 |     // Figures from [FIPS203] section 8
24 |
25 |     static let params: [Parameters] = [
   |                |- warning: static property 'params' is not concurrency-safe because non-'Sendable' type '[Parameters]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'params' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |         // K512 parameters
27 |         Parameters(k: 2, eta1: 3, eta2: 2, du: 10, dv: 4, ekSize:  800, dkSize: 1632, ctSize: 768, oid: ASN1ObjectIdentifier("2.16.840.1.101.3.4.4.1")!),
[54/62] Compiling SwiftKyber Matrix.swift
[55/62] Compiling SwiftKyber Vector.swift
[56/62] Compiling SwiftKyber Polynomial.swift
[57/62] Compiling SwiftKyber Kind.swift
[58/62] Compiling SwiftKyber Exception.swift
[59/62] Compiling SwiftKyber EncapsulationKey.swift
[60/62] Compiling SwiftKyber DecapsulationKey.swift
[61/62] Emitting module SwiftKyber
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKyber/Kyber.swift:51:16: warning: static property 'sha256' is not concurrency-safe because non-'Sendable' type 'MessageDigest' may have shared mutable state; this is an error in the Swift 6 language mode
 49 |     static let hSize = 32
 50 |     static let zSize = 32
 51 |     static let sha256 = MessageDigest(.SHA3_256)
    |                `- warning: static property 'sha256' is not concurrency-safe because non-'Sendable' type 'MessageDigest' may have shared mutable state; this is an error in the Swift 6 language mode
 52 |     static let sha512 = MessageDigest(.SHA3_512)
 53 |     static let shake256 = SHAKE(.SHAKE256)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Digest/Sources/Digest/MD.swift:26:14: note: class 'MessageDigest' does not conform to the 'Sendable' protocol
 24 |
 25 | /// The MessageDigest class
 26 | public class MessageDigest {
    |              `- note: class 'MessageDigest' does not conform to the 'Sendable' protocol
 27 |
 28 |     /// The message digest algorithms
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKyber/Kyber.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Digest'
  8 | import Foundation
  9 | import ASN1
 10 | import Digest
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Digest'
 11 |
 12 | /// Unsigned 8 bit value
    :
 49 |     static let hSize = 32
 50 |     static let zSize = 32
 51 |     static let sha256 = MessageDigest(.SHA3_256)
    |                |- note: add '@MainActor' to make static property 'sha256' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 52 |     static let sha512 = MessageDigest(.SHA3_512)
 53 |     static let shake256 = SHAKE(.SHAKE256)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKyber/Kyber.swift:52:16: warning: static property 'sha512' is not concurrency-safe because non-'Sendable' type 'MessageDigest' may have shared mutable state; this is an error in the Swift 6 language mode
 50 |     static let zSize = 32
 51 |     static let sha256 = MessageDigest(.SHA3_256)
 52 |     static let sha512 = MessageDigest(.SHA3_512)
    |                |- warning: static property 'sha512' is not concurrency-safe because non-'Sendable' type 'MessageDigest' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'sha512' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 53 |     static let shake256 = SHAKE(.SHAKE256)
 54 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Digest/Sources/Digest/MD.swift:26:14: note: class 'MessageDigest' does not conform to the 'Sendable' protocol
 24 |
 25 | /// The MessageDigest class
 26 | public class MessageDigest {
    |              `- note: class 'MessageDigest' does not conform to the 'Sendable' protocol
 27 |
 28 |     /// The message digest algorithms
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKyber/Kyber.swift:53:16: warning: static property 'shake256' is not concurrency-safe because non-'Sendable' type 'SHAKE' may have shared mutable state; this is an error in the Swift 6 language mode
 51 |     static let sha256 = MessageDigest(.SHA3_256)
 52 |     static let sha512 = MessageDigest(.SHA3_512)
 53 |     static let shake256 = SHAKE(.SHAKE256)
    |                |- warning: static property 'shake256' is not concurrency-safe because non-'Sendable' type 'SHAKE' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'shake256' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 54 |
 55 |     let k: Int
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Digest/Sources/Digest/SHAKE.swift:42:15: note: struct 'SHAKE' does not conform to the 'Sendable' protocol
40 |
41 | /// The SHAKE structure
42 | public struct SHAKE {
   |               `- note: struct 'SHAKE' does not conform to the 'Sendable' protocol
43 |
44 |     /// The SHAKE kinds
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKyber/Parameters.swift:25:16: warning: static property 'params' is not concurrency-safe because non-'Sendable' type '[Parameters]' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |
10 | // Parameters for the three Kyber instances
11 | struct Parameters {
   |        `- note: consider making struct 'Parameters' conform to the 'Sendable' protocol
12 |
13 |     let k: Int
   :
23 |     // Figures from [FIPS203] section 8
24 |
25 |     static let params: [Parameters] = [
   |                |- warning: static property 'params' is not concurrency-safe because non-'Sendable' type '[Parameters]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: add '@MainActor' to make static property 'params' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |         // K512 parameters
27 |         Parameters(k: 2, eta1: 3, eta2: 2, du: 10, dv: 4, ekSize:  800, dkSize: 1632, ctSize: 768, oid: ASN1ObjectIdentifier("2.16.840.1.101.3.4.4.1")!),
[62/62] Compiling SwiftKyber Kyber.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKyber/Kyber.swift:51:16: warning: static property 'sha256' is not concurrency-safe because non-'Sendable' type 'MessageDigest' may have shared mutable state; this is an error in the Swift 6 language mode
 49 |     static let hSize = 32
 50 |     static let zSize = 32
 51 |     static let sha256 = MessageDigest(.SHA3_256)
    |                `- warning: static property 'sha256' is not concurrency-safe because non-'Sendable' type 'MessageDigest' may have shared mutable state; this is an error in the Swift 6 language mode
 52 |     static let sha512 = MessageDigest(.SHA3_512)
 53 |     static let shake256 = SHAKE(.SHAKE256)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Digest/Sources/Digest/MD.swift:26:14: note: class 'MessageDigest' does not conform to the 'Sendable' protocol
 24 |
 25 | /// The MessageDigest class
 26 | public class MessageDigest {
    |              `- note: class 'MessageDigest' does not conform to the 'Sendable' protocol
 27 |
 28 |     /// The message digest algorithms
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKyber/Kyber.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Digest'
  8 | import Foundation
  9 | import ASN1
 10 | import Digest
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Digest'
 11 |
 12 | /// Unsigned 8 bit value
    :
 49 |     static let hSize = 32
 50 |     static let zSize = 32
 51 |     static let sha256 = MessageDigest(.SHA3_256)
    |                |- note: add '@MainActor' to make static property 'sha256' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 52 |     static let sha512 = MessageDigest(.SHA3_512)
 53 |     static let shake256 = SHAKE(.SHAKE256)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKyber/Kyber.swift:52:16: warning: static property 'sha512' is not concurrency-safe because non-'Sendable' type 'MessageDigest' may have shared mutable state; this is an error in the Swift 6 language mode
 50 |     static let zSize = 32
 51 |     static let sha256 = MessageDigest(.SHA3_256)
 52 |     static let sha512 = MessageDigest(.SHA3_512)
    |                |- warning: static property 'sha512' is not concurrency-safe because non-'Sendable' type 'MessageDigest' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'sha512' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 53 |     static let shake256 = SHAKE(.SHAKE256)
 54 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Digest/Sources/Digest/MD.swift:26:14: note: class 'MessageDigest' does not conform to the 'Sendable' protocol
 24 |
 25 | /// The MessageDigest class
 26 | public class MessageDigest {
    |              `- note: class 'MessageDigest' does not conform to the 'Sendable' protocol
 27 |
 28 |     /// The message digest algorithms
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKyber/Kyber.swift:53:16: warning: static property 'shake256' is not concurrency-safe because non-'Sendable' type 'SHAKE' may have shared mutable state; this is an error in the Swift 6 language mode
 51 |     static let sha256 = MessageDigest(.SHA3_256)
 52 |     static let sha512 = MessageDigest(.SHA3_512)
 53 |     static let shake256 = SHAKE(.SHAKE256)
    |                |- warning: static property 'shake256' is not concurrency-safe because non-'Sendable' type 'SHAKE' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'shake256' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 54 |
 55 |     let k: Int
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Digest/Sources/Digest/SHAKE.swift:42:15: note: struct 'SHAKE' does not conform to the 'Sendable' protocol
40 |
41 | /// The SHAKE structure
42 | public struct SHAKE {
   |               `- note: struct 'SHAKE' does not conform to the 'Sendable' protocol
43 |
44 |     /// The SHAKE kinds
Build complete! (9.74s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "asn1",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.7.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/leif-ibsen/ASN1"
    },
    {
      "identity" : "bigint",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.21.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/leif-ibsen/BigInt"
    },
    {
      "identity" : "digest",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.12.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/leif-ibsen/Digest"
    }
  ],
  "manifest_display_name" : "SwiftKyber",
  "name" : "SwiftKyber",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftKyber",
      "targets" : [
        "SwiftKyber"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftKyberTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftKyberTests",
      "path" : "Tests/SwiftKyberTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftKyberTests/Resources/katTestDecap.rsp",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftKyberTests/Resources/katTestEncap.rsp",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftKyberTests/Resources/katTestKeyGen.rsp",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "CompressTest.swift",
        "EncapDecapTest.swift",
        "EncodeDecodeTest.swift",
        "ExceptionTest.swift",
        "KATTestDecap.swift",
        "KATTestEncap.swift",
        "KATTestKeyGen.swift",
        "K_PKETest.swift",
        "KeysTest.swift",
        "ML_KEMInternalTest.swift",
        "NTTTest.swift",
        "PEMTest.swift",
        "SampleNTTTest.swift",
        "SamplePolyCBDTest.swift",
        "Util.swift"
      ],
      "target_dependencies" : [
        "SwiftKyber"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftKyber",
      "module_type" : "SwiftTarget",
      "name" : "SwiftKyber",
      "path" : "Sources/SwiftKyber",
      "product_dependencies" : [
        "BigInt",
        "ASN1",
        "Digest"
      ],
      "product_memberships" : [
        "SwiftKyber"
      ],
      "sources" : [
        "DecapsulationKey.swift",
        "EncapsulationKey.swift",
        "Exception.swift",
        "Kind.swift",
        "Kyber.swift",
        "Matrix.swift",
        "Parameters.swift",
        "Polynomial.swift",
        "Vector.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.