The Swift Package Index logo.Swift Package Index

Build Information

Successful build of MnemonicSwift, reference master (2d7f3e), with Swift 6.1 for macOS (SPM) on 18 Feb 2026 07:26:11 UTC.

Swift 6 data race errors: 2

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/zcash/swift-bip39.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/zcash/swift-bip39
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 2d7f3e7 MnemonicLanguageType words publicly available (#36)
Cloned https://github.com/zcash/swift-bip39.git
Revision (git rev-parse @):
2d7f3e76e904621e111efada6cc9575f39543bb2
SUCCESS checkout https://github.com/zcash/swift-bip39.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/zcash/swift-bip39.git
https://github.com/zcash/swift-bip39.git
{
  "dependencies" : [
    {
      "identity" : "swift-crypto",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.1.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-crypto.git"
    }
  ],
  "manifest_display_name" : "MnemonicSwift",
  "name" : "MnemonicSwift",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "MnemonicSwift",
      "targets" : [
        "MnemonicSwift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MnemonicSwiftTests",
      "module_type" : "SwiftTarget",
      "name" : "MnemonicSwiftTests",
      "path" : "Tests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/vectors.json",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "MnemonicSwiftTests.swift"
      ],
      "target_dependencies" : [
        "MnemonicSwift"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MnemonicSwift",
      "module_type" : "SwiftTarget",
      "name" : "MnemonicSwift",
      "path" : "MnemonicSwift",
      "product_dependencies" : [
        "Crypto"
      ],
      "product_memberships" : [
        "MnemonicSwift"
      ],
      "sources" : [
        "Data+BitArray.swift",
        "Language/Chinese.swift",
        "Language/English.swift",
        "Mnemonic.swift",
        "MnemonicInteractor.swift",
        "PKC5.swift",
        "String+MnemonicData.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/65] Emitting module Crypto
[5/71] Compiling Crypto SafeCompare_boring.swift
[6/71] Compiling Crypto Zeroization_boring.swift
[7/71] Compiling Crypto PrettyBytes.swift
[8/71] Compiling Crypto SafeCompare.swift
[9/71] Compiling Crypto SecureBytes.swift
[10/71] Compiling Crypto Zeroization.swift
[11/71] Compiling Crypto MessageAuthenticationCode.swift
[12/71] Compiling Crypto AES.swift
[13/71] Compiling Crypto ECDSASignature_boring.swift
[14/71] Compiling Crypto ECDSA_boring.swift
[15/71] Compiling Crypto EdDSA_boring.swift
[16/71] Compiling Crypto ECDSA.swift
[17/71] Compiling Crypto SEC1PrivateKey.swift
[18/71] Compiling Crypto SubjectPublicKeyInfo.swift
[19/71] Compiling Crypto CryptoKitErrors.swift
[20/71] Compiling Crypto Digest_boring.swift
[21/71] Compiling Crypto Digest.swift
[22/71] Compiling Crypto Digests.swift
[23/71] Compiling Crypto HashFunctions.swift
[24/71] Compiling Crypto ASN1Any.swift
[25/71] Compiling Crypto ASN1BitString.swift
[26/71] Compiling Crypto ASN1Boolean.swift
[27/71] Compiling Crypto ASN1Identifier.swift
[28/71] Compiling Crypto ASN1Integer.swift
[29/71] Compiling Crypto ASN1Null.swift
[30/71] Compiling Crypto ASN1OctetString.swift
[31/71] Compiling Crypto AES-GCM.swift
[32/71] Compiling Crypto AES-GCM_boring.swift
[33/71] Compiling Crypto ChaChaPoly_boring.swift
[34/71] Compiling Crypto ChaChaPoly.swift
[35/71] Compiling Crypto Cipher.swift
[36/71] Compiling Crypto Nonces.swift
[37/71] Compiling Crypto ASN1.swift
[38/71] Compiling Crypto HashFunctions_SHA2.swift
[39/71] Compiling Crypto Insecure.swift
[40/71] Compiling Crypto Insecure_HashFunctions.swift
[41/71] Compiling Crypto ECDH_boring.swift
[42/71] Compiling Crypto DH.swift
[43/71] Compiling Crypto ECDH.swift
[44/71] Compiling Crypto HKDF.swift
[45/71] Compiling Crypto EdDSA.swift
[46/71] Compiling Crypto Signature.swift
[47/71] Compiling Crypto ArbitraryPrecisionInteger_boring.swift
[48/71] Compiling Crypto CryptoKitErrors_boring.swift
[49/71] Compiling Crypto FiniteFieldArithmeticContext_boring.swift
[50/71] Compiling Crypto RNG_boring.swift
[51/71] Compiling Crypto AESWrap.swift
[52/71] Compiling Crypto AESWrap_boring.swift
[53/71] Compiling Crypto Ed25519_boring.swift
[54/71] Compiling Crypto EllipticCurvePoint_boring.swift
[55/71] Compiling Crypto EllipticCurve_boring.swift
[56/71] Compiling Crypto NISTCurvesKeys_boring.swift
[57/71] Compiling Crypto X25519Keys_boring.swift
[58/71] Compiling Crypto Curve25519.swift
[59/71] Compiling Crypto Ed25519.swift
[60/71] Compiling Crypto NISTCurvesKeys.swift
[61/71] Compiling Crypto X25519Keys.swift
[62/71] Compiling Crypto SymmetricKeys.swift
[63/71] Compiling Crypto HMAC.swift
[64/71] Compiling Crypto MACFunctions.swift
[65/71] Compiling Crypto ASN1Strings.swift
[66/71] Compiling Crypto ArraySliceBigint.swift
[67/71] Compiling Crypto GeneralizedTime.swift
[68/71] Compiling Crypto ObjectIdentifier.swift
[69/71] Compiling Crypto ECDSASignature.swift
[70/71] Compiling Crypto PEMDocument.swift
[71/71] Compiling Crypto PKCS8PrivateKey.swift
[72/79] Compiling MnemonicSwift String+MnemonicData.swift
[73/79] Compiling MnemonicSwift MnemonicInteractor.swift
/Users/admin/builder/spi-builder-workspace/MnemonicSwift/MnemonicInteractor.swift:187:23: warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'MnemonicInteractor' may have shared mutable state; this is an error in the Swift 6 language mode
 29 | /// functions directly without instantiating anything.
 30 | ///
 31 | public struct MnemonicInteractor {
    |               `- note: consider making struct 'MnemonicInteractor' conform to the 'Sendable' protocol
 32 |
 33 |     /// Generate a mnemonic from the given hex string in the given language.
    :
185 |
186 | extension MnemonicInteractor {
187 |     public static let live = MnemonicInteractor()
    |                       |- warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'MnemonicInteractor' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'live' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
188 |
189 |     public static let throwing = MnemonicInteractor(
/Users/admin/builder/spi-builder-workspace/MnemonicSwift/MnemonicInteractor.swift:189:23: warning: static property 'throwing' is not concurrency-safe because non-'Sendable' type 'MnemonicInteractor' may have shared mutable state; this is an error in the Swift 6 language mode
 29 | /// functions directly without instantiating anything.
 30 | ///
 31 | public struct MnemonicInteractor {
    |               `- note: consider making struct 'MnemonicInteractor' conform to the 'Sendable' protocol
 32 |
 33 |     /// Generate a mnemonic from the given hex string in the given language.
    :
187 |     public static let live = MnemonicInteractor()
188 |
189 |     public static let throwing = MnemonicInteractor(
    |                       |- warning: static property 'throwing' is not concurrency-safe because non-'Sendable' type 'MnemonicInteractor' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'throwing' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
190 |         mnemonicEnglishString: { _ in
191 |             throw MnemonicError.invalidHexstring
[74/79] Compiling MnemonicSwift PKC5.swift
[75/79] Compiling MnemonicSwift Mnemonic.swift
[76/79] Compiling MnemonicSwift Chinese.swift
[77/79] Compiling MnemonicSwift Data+BitArray.swift
[78/79] Emitting module MnemonicSwift
/Users/admin/builder/spi-builder-workspace/MnemonicSwift/MnemonicInteractor.swift:187:23: warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'MnemonicInteractor' may have shared mutable state; this is an error in the Swift 6 language mode
 29 | /// functions directly without instantiating anything.
 30 | ///
 31 | public struct MnemonicInteractor {
    |               `- note: consider making struct 'MnemonicInteractor' conform to the 'Sendable' protocol
 32 |
 33 |     /// Generate a mnemonic from the given hex string in the given language.
    :
185 |
186 | extension MnemonicInteractor {
187 |     public static let live = MnemonicInteractor()
    |                       |- warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'MnemonicInteractor' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'live' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
188 |
189 |     public static let throwing = MnemonicInteractor(
/Users/admin/builder/spi-builder-workspace/MnemonicSwift/MnemonicInteractor.swift:189:23: warning: static property 'throwing' is not concurrency-safe because non-'Sendable' type 'MnemonicInteractor' may have shared mutable state; this is an error in the Swift 6 language mode
 29 | /// functions directly without instantiating anything.
 30 | ///
 31 | public struct MnemonicInteractor {
    |               `- note: consider making struct 'MnemonicInteractor' conform to the 'Sendable' protocol
 32 |
 33 |     /// Generate a mnemonic from the given hex string in the given language.
    :
187 |     public static let live = MnemonicInteractor()
188 |
189 |     public static let throwing = MnemonicInteractor(
    |                       |- warning: static property 'throwing' is not concurrency-safe because non-'Sendable' type 'MnemonicInteractor' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'throwing' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
190 |         mnemonicEnglishString: { _ in
191 |             throw MnemonicError.invalidHexstring
[79/79] Compiling MnemonicSwift English.swift
Build complete! (11.86s)
Fetching https://github.com/apple/swift-crypto.git from cache
Fetched https://github.com/apple/swift-crypto.git from cache (1.49s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 2.6.0 (2.12s)
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 2.6.0
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-crypto",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.1.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-crypto.git"
    }
  ],
  "manifest_display_name" : "MnemonicSwift",
  "name" : "MnemonicSwift",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "MnemonicSwift",
      "targets" : [
        "MnemonicSwift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MnemonicSwiftTests",
      "module_type" : "SwiftTarget",
      "name" : "MnemonicSwiftTests",
      "path" : "Tests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/vectors.json",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "MnemonicSwiftTests.swift"
      ],
      "target_dependencies" : [
        "MnemonicSwift"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MnemonicSwift",
      "module_type" : "SwiftTarget",
      "name" : "MnemonicSwift",
      "path" : "MnemonicSwift",
      "product_dependencies" : [
        "Crypto"
      ],
      "product_memberships" : [
        "MnemonicSwift"
      ],
      "sources" : [
        "Data+BitArray.swift",
        "Language/Chinese.swift",
        "Language/English.swift",
        "Mnemonic.swift",
        "MnemonicInteractor.swift",
        "PKC5.swift",
        "String+MnemonicData.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.