The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SwiftSPHINCS, reference 3.5.0 (a58e1e), with Swift 6.1 for macOS (SPM) on 19 Feb 2026 17:18:25 UTC.

Swift 6 data race errors: 1

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.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/leif-ibsen/SwiftSPHINCS.git
Reference: 3.5.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/leif-ibsen/SwiftSPHINCS
 * tag               3.5.0      -> FETCH_HEAD
HEAD is now at a58e1ef Release 3.5.0
Cloned https://github.com/leif-ibsen/SwiftSPHINCS.git
Revision (git rev-parse @):
a58e1ef8715ac13793e172cefd294244715c16fb
SUCCESS checkout https://github.com/leif-ibsen/SwiftSPHINCS.git at 3.5.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
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.22.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.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/28] Compiling BigInt Limbs.swift
[7/29] Compiling BigInt FFT.swift
[8/29] Compiling BigInt BurnikelZiegler.swift
[9/29] Compiling BigInt CRT.swift
[10/29] Compiling BigInt ExpMod.swift
[11/29] Compiling Digest KDF.swift
[12/29] Compiling Digest SHA2.swift
[13/29] Compiling Digest SHAKE.swift
[14/29] Compiling Digest SHA1.swift
[15/30] Compiling BigInt GCD.swift
[16/30] Compiling BigInt Karatsuba.swift
[17/30] Compiling BigInt Factorial.swift
[18/30] Compiling Digest SHA3.swift
[19/30] Compiling Digest MD.swift
[20/30] Compiling Digest HMAC.swift
[21/30] Compiling Digest BLAKE.swift
[22/30] Compiling BigInt ToomCook.swift
[23/30] Compiling Digest XOF.swift
[24/30] Emitting module Digest
[25/30] Compiling Digest Base64.swift
[26/30] Compiling BigInt BailliePSW.swift
[27/30] Compiling BigInt BigFrac.swift
[28/30] Emitting module BigInt
[29/30] Compiling BigInt BigInt.swift
[30/30] Compiling BigInt BitSieve.swift
[31/51] Emitting module ASN1
[32/53] Compiling ASN1 ASN1Exception.swift
[33/53] Compiling ASN1 ASN1GeneralizedTime.swift
[34/53] Compiling ASN1 ASN1OctetString.swift
[35/53] Compiling ASN1 ASN1PrintableString.swift
[36/53] Compiling ASN1 ASN1Sequence.swift
[37/53] Compiling ASN1 ASN1Set.swift
[38/53] Compiling ASN1 ASN1SimpleType.swift
[39/53] Compiling ASN1 ASN1T61String.swift
[40/53] Compiling ASN1 ASN1Time.swift
[41/53] Compiling ASN1 ASN1UTCTime.swift
[42/53] Compiling ASN1 ASN1UTF8String.swift
[43/53] Compiling ASN1 InputStream.swift
[44/53] Compiling ASN1 ASN1IA5String.swift
[45/53] Compiling ASN1 ASN1Integer.swift
[46/53] Compiling ASN1 ASN1Boolean.swift
[47/53] Compiling ASN1 ASN1Collection.swift
[48/53] Compiling ASN1 ASN1Ctx.swift
[49/53] Compiling ASN1 ASN1Null.swift
[50/53] Compiling ASN1 ASN1ObjectIdentifier.swift
[51/53] Compiling ASN1 ASN1.swift
[52/53] Compiling ASN1 ASN1BMPString.swift
[53/53] Compiling ASN1 ASN1BitString.swift
[54/63] Compiling SwiftSPHINCS PublicKey.swift
[55/63] 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: 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
 36 |         // SHA2_128f
 37 |         Parameters(
[56/63] Compiling SwiftSPHINCS ByteSlice.swift
[57/63] Compiling SwiftSPHINCS ADRS.swift
[58/63] Compiling SwiftSPHINCS Kind.swift
[59/63] Compiling SwiftSPHINCS PreHash.swift
[60/63] 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: 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
 36 |         // SHA2_128f
 37 |         Parameters(
[61/63] Compiling SwiftSPHINCS Exception.swift
[62/63] Compiling SwiftSPHINCS SecretKey.swift
[63/63] Compiling SwiftSPHINCS SPHINCS.swift
Build complete! (19.39s)
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
[592/11178] Fetching asn1, digest, bigint
Fetched https://github.com/leif-ibsen/ASN1 from cache (1.22s)
[4010/8751] Fetching digest, bigint
Fetched https://github.com/leif-ibsen/BigInt from cache (1.52s)
Fetched https://github.com/leif-ibsen/Digest from cache (1.52s)
Computing version for https://github.com/leif-ibsen/Digest
Computed https://github.com/leif-ibsen/Digest at 1.13.0 (2.09s)
Computing version for https://github.com/leif-ibsen/BigInt
Computed https://github.com/leif-ibsen/BigInt at 1.22.0 (0.47s)
Computing version for https://github.com/leif-ibsen/ASN1
Computed https://github.com/leif-ibsen/ASN1 at 2.7.0 (3.06s)
Creating working copy for https://github.com/leif-ibsen/BigInt
Working copy of https://github.com/leif-ibsen/BigInt resolved at 1.22.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/ASN1
Working copy of https://github.com/leif-ibsen/ASN1 resolved at 2.7.0
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.22.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.