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 SwiftSPHINCS, reference main (13fce8), with Swift 6.0 for macOS (SPM) on 5 Apr 2025 22:43:35 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.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.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/leif-ibsen/SwiftSPHINCS.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/leif-ibsen/SwiftSPHINCS
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 13fce85 Release 3.4.0
Cloned https://github.com/leif-ibsen/SwiftSPHINCS.git
Revision (git rev-parse @):
13fce8588e97924ea65ca3867fcd84253d6b67f6
SUCCESS checkout https://github.com/leif-ibsen/SwiftSPHINCS.git at main
Fetching https://github.com/leif-ibsen/Digest
Fetching https://github.com/leif-ibsen/BigInt
Fetching https://github.com/leif-ibsen/ASN1
[1/2593] Fetching digest
[416/5020] Fetching digest, asn1
[623/10536] Fetching digest, asn1, bigint
Fetched https://github.com/leif-ibsen/Digest from cache (1.53s)
Fetched https://github.com/leif-ibsen/ASN1 from cache (1.53s)
Fetched https://github.com/leif-ibsen/BigInt from cache (1.53s)
Computing version for https://github.com/leif-ibsen/Digest
Computed https://github.com/leif-ibsen/Digest at 1.13.0 (0.42s)
Computing version for https://github.com/leif-ibsen/BigInt
Computed https://github.com/leif-ibsen/BigInt at 1.21.0 (0.42s)
Computing version for https://github.com/leif-ibsen/ASN1
Computed https://github.com/leif-ibsen/ASN1 at 2.7.0 (3.08s)
Creating working copy for https://github.com/leif-ibsen/BigInt
Working copy of https://github.com/leif-ibsen/BigInt resolved at 1.21.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/Digest
Working copy of https://github.com/leif-ibsen/Digest resolved at 1.13.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": "swiftsphincs",
      "name": "SwiftSPHINCS",
      "url": "https://github.com/leif-ibsen/SwiftSPHINCS.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftSPHINCS",
      "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/SwiftSPHINCS.git
[1/1984] Fetching swiftsphincs
Fetched https://github.com/leif-ibsen/SwiftSPHINCS.git from cache (5.30s)
Fetching https://github.com/leif-ibsen/ASN1 from cache
Fetching https://github.com/leif-ibsen/Digest from cache
Fetching https://github.com/leif-ibsen/BigInt from cache
Fetched https://github.com/leif-ibsen/BigInt from cache (0.44s)
Fetched https://github.com/leif-ibsen/Digest from cache (0.45s)
Fetched https://github.com/leif-ibsen/ASN1 from cache (0.45s)
Computing version for https://github.com/leif-ibsen/Digest
Computed https://github.com/leif-ibsen/Digest at 1.13.0 (0.02s)
Computing version for https://github.com/leif-ibsen/BigInt
Computed https://github.com/leif-ibsen/BigInt at 1.21.0 (0.02s)
Computing version for https://github.com/leif-ibsen/ASN1
Computed https://github.com/leif-ibsen/ASN1 at 2.7.0 (0.02s)
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/SwiftSPHINCS.git
Working copy of https://github.com/leif-ibsen/SwiftSPHINCS.git resolved at main (13fce85)
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 'swiftsphincs' is not used by any target
Found 3 product dependencies
  - ASN1
  - BigInt
  - Digest
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/leif-ibsen/SwiftSPHINCS.git
https://github.com/leif-ibsen/SwiftSPHINCS.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.13.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/leif-ibsen/Digest"
    }
  ],
  "manifest_display_name" : "SwiftSPHINCS",
  "name" : "SwiftSPHINCS",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftSPHINCS",
      "targets" : [
        "SwiftSPHINCS"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftSPHINCSTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftSPHINCSTests",
      "path" : "Tests/SwiftSPHINCSTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftSPHINCSTests/Resources/katTestKeyGen.rsp",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftSPHINCSTests/Resources/katTestSign.rsp",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftSPHINCSTests/Resources/katTestVerify.rsp",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "ContextTest.swift",
        "ExceptionTest.swift",
        "KATTestKeyGen.swift",
        "KATTestSign.swift",
        "KATTestVerify.swift",
        "PEMTest.swift",
        "SignVerifyTest.swift",
        "Util.swift"
      ],
      "target_dependencies" : [
        "SwiftSPHINCS"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftSPHINCS",
      "module_type" : "SwiftTarget",
      "name" : "SwiftSPHINCS",
      "path" : "Sources/SwiftSPHINCS",
      "product_dependencies" : [
        "BigInt",
        "ASN1",
        "Digest"
      ],
      "product_memberships" : [
        "SwiftSPHINCS"
      ],
      "sources" : [
        "ADRS.swift",
        "ByteSlice.swift",
        "Exception.swift",
        "Kind.swift",
        "Parameters.swift",
        "PreHash.swift",
        "PublicKey.swift",
        "SPHINCS.swift",
        "SecretKey.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.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-5BDAB9E9C0126B9D.txt
[6/27] Compiling Digest SHA3.swift
[7/27] Compiling Digest SHA1.swift
[8/27] Compiling Digest SHAKE.swift
[9/27] Compiling Digest MD.swift
[10/27] Compiling Digest KDF.swift
[11/27] Compiling Digest SHA2.swift
[12/27] Compiling Digest HMAC.swift
[13/28] Compiling BigInt GCD.swift
[14/28] Compiling BigInt Karatsuba.swift
[15/28] Compiling BigInt Factorial.swift
[16/28] Compiling BigInt FFT.swift
[17/28] Compiling BigInt BitSieve.swift
[18/28] Compiling BigInt BurnikelZiegler.swift
[19/28] Compiling BigInt Limbs.swift
[20/28] Compiling BigInt CRT.swift
[21/28] Compiling BigInt ExpMod.swift
[22/29] Compiling Digest XOF.swift
[23/29] Compiling BigInt ToomCook.swift
[24/29] Emitting module Digest
[25/29] Compiling Digest BLAKE.swift
[26/29] Compiling Digest Base64.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 ASN1Exception.swift
[32/52] Compiling ASN1 ASN1GeneralizedTime.swift
[33/52] Compiling ASN1 ASN1SimpleType.swift
[34/52] Compiling ASN1 ASN1T61String.swift
[35/52] Compiling ASN1 ASN1Sequence.swift
[36/52] Compiling ASN1 ASN1Set.swift
[37/52] Compiling ASN1 ASN1Null.swift
[38/52] Compiling ASN1 ASN1ObjectIdentifier.swift
[39/52] Compiling ASN1 ASN1IA5String.swift
[40/52] Compiling ASN1 ASN1Integer.swift
[41/52] Compiling ASN1 ASN1Boolean.swift
[42/52] Compiling ASN1 ASN1Collection.swift
[43/52] Compiling ASN1 ASN1Ctx.swift
[44/52] Compiling ASN1 ASN1Time.swift
[45/52] Compiling ASN1 ASN1UTCTime.swift
[46/52] Compiling ASN1 ASN1UTF8String.swift
[47/52] Compiling ASN1 InputStream.swift
[48/52] Compiling ASN1 ASN1OctetString.swift
[49/52] Compiling ASN1 ASN1PrintableString.swift
[50/52] Compiling ASN1 ASN1.swift
[51/52] Compiling ASN1 ASN1BMPString.swift
[52/52] Compiling ASN1 ASN1BitString.swift
[53/62] Compiling SwiftSPHINCS PublicKey.swift
[54/62] Compiling SwiftSPHINCS ByteSlice.swift
[55/62] Compiling SwiftSPHINCS SecretKey.swift
[56/62] Compiling SwiftSPHINCS PreHash.swift
[57/62] Compiling SwiftSPHINCS Exception.swift
[58/62] Compiling SwiftSPHINCS Kind.swift
[59/62] Compiling SwiftSPHINCS ADRS.swift
[60/62] Emitting module SwiftSPHINCS
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSPHINCS/Parameters.swift:35: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 twelve kinds
 11 | struct Parameters {
    |        `- note: consider making struct 'Parameters' conform to the 'Sendable' protocol
 12 |
 13 |     let n: Int
    :
 33 |     // Figures from [FIPS205] section 11
 34 |
 35 |     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: annotate 'params' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 36 |         // SHA2_128f
 37 |         Parameters(
[61/62] Compiling SwiftSPHINCS SPHINCS.swift
[62/62] Compiling SwiftSPHINCS Parameters.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSPHINCS/Parameters.swift:35: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 twelve kinds
 11 | struct Parameters {
    |        `- note: consider making struct 'Parameters' conform to the 'Sendable' protocol
 12 |
 13 |     let n: Int
    :
 33 |     // Figures from [FIPS205] section 11
 34 |
 35 |     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: annotate 'params' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 36 |         // SHA2_128f
 37 |         Parameters(
Build complete! (27.67s)
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.13.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/leif-ibsen/Digest"
    }
  ],
  "manifest_display_name" : "SwiftSPHINCS",
  "name" : "SwiftSPHINCS",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftSPHINCS",
      "targets" : [
        "SwiftSPHINCS"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftSPHINCSTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftSPHINCSTests",
      "path" : "Tests/SwiftSPHINCSTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftSPHINCSTests/Resources/katTestKeyGen.rsp",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftSPHINCSTests/Resources/katTestSign.rsp",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftSPHINCSTests/Resources/katTestVerify.rsp",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "ContextTest.swift",
        "ExceptionTest.swift",
        "KATTestKeyGen.swift",
        "KATTestSign.swift",
        "KATTestVerify.swift",
        "PEMTest.swift",
        "SignVerifyTest.swift",
        "Util.swift"
      ],
      "target_dependencies" : [
        "SwiftSPHINCS"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftSPHINCS",
      "module_type" : "SwiftTarget",
      "name" : "SwiftSPHINCS",
      "path" : "Sources/SwiftSPHINCS",
      "product_dependencies" : [
        "BigInt",
        "ASN1",
        "Digest"
      ],
      "product_memberships" : [
        "SwiftSPHINCS"
      ],
      "sources" : [
        "ADRS.swift",
        "ByteSlice.swift",
        "Exception.swift",
        "Kind.swift",
        "Parameters.swift",
        "PreHash.swift",
        "PublicKey.swift",
        "SPHINCS.swift",
        "SecretKey.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.