Build Information
Successful build of MnemonicSwift, reference 2.2.5 (2d7f3e
), with Swift 6.1 for macOS (SPM) on 1 May 2025 03:10:09 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.61.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Electric-Coin-Company/MnemonicSwift.git
Reference: 2.2.5
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Electric-Coin-Company/MnemonicSwift
* tag 2.2.5 -> FETCH_HEAD
HEAD is now at 2d7f3e7 MnemonicLanguageType words publicly available (#36)
Cloned https://github.com/Electric-Coin-Company/MnemonicSwift.git
Revision (git rev-parse @):
2d7f3e76e904621e111efada6cc9575f39543bb2
SUCCESS checkout https://github.com/Electric-Coin-Company/MnemonicSwift.git at 2.2.5
Fetching https://github.com/apple/swift-crypto.git from cache
Fetched https://github.com/apple/swift-crypto.git from cache (1.08s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 2.1.0 (1.69s)
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 2.1.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": "mnemonicswift",
"name": "MnemonicSwift",
"url": "https://github.com/Electric-Coin-Company/MnemonicSwift.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/MnemonicSwift",
"dependencies": [
{
"identity": "swift-crypto",
"name": "swift-crypto",
"url": "https://github.com/apple/swift-crypto.git",
"version": "2.6.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-crypto",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/Electric-Coin-Company/MnemonicSwift.git
[1/1793] Fetching mnemonicswift
Fetched https://github.com/Electric-Coin-Company/MnemonicSwift.git from cache (0.84s)
Fetching https://github.com/apple/swift-crypto.git from cache
Fetched https://github.com/apple/swift-crypto.git from cache (0.49s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 2.6.0 (1.12s)
Creating working copy for https://github.com/Electric-Coin-Company/MnemonicSwift.git
Working copy of https://github.com/Electric-Coin-Company/MnemonicSwift.git resolved at 2.2.5 (2d7f3e7)
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
warning: '.resolve-product-dependencies': dependency 'mnemonicswift' is not used by any target
Found 1 product dependencies
- swift-crypto
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/Electric-Coin-Company/MnemonicSwift.git
https://github.com/Electric-Coin-Company/MnemonicSwift.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/60] Emitting module Crypto
[5/66] Compiling Crypto SafeCompare_boring.swift
[6/66] Compiling Crypto Zeroization_boring.swift
[7/66] Compiling Crypto PrettyBytes.swift
[8/66] Compiling Crypto SafeCompare.swift
[9/66] Compiling Crypto SecureBytes.swift
[10/66] Compiling Crypto Zeroization.swift
[11/66] Compiling Crypto Ed25519.swift
[12/66] Compiling Crypto NISTCurvesKeys.swift
[13/66] Compiling Crypto X25519Keys.swift
[14/66] Compiling Crypto SymmetricKeys.swift
[15/66] Compiling Crypto HMAC.swift
[16/66] Compiling Crypto MACFunctions.swift
[17/66] Compiling Crypto PEMDocument.swift
[18/66] Compiling Crypto PKCS8PrivateKey.swift
[19/66] Compiling Crypto SEC1PrivateKey.swift
[20/66] Compiling Crypto SubjectPublicKeyInfo.swift
[21/66] Compiling Crypto CryptoKitErrors.swift
[22/66] Compiling Crypto Digest_boring.swift
[23/66] Compiling Crypto AES-GCM.swift
[24/66] Compiling Crypto AES-GCM_boring.swift
[25/66] Compiling Crypto ChaChaPoly_boring.swift
[26/66] Compiling Crypto ChaChaPoly.swift
[27/66] Compiling Crypto Cipher.swift
[28/66] Compiling Crypto Nonces.swift
[29/66] Compiling Crypto ASN1.swift
[30/66] Compiling Crypto ASN1BitString.swift
[31/66] Compiling Crypto ASN1Identifier.swift
[32/66] Compiling Crypto ASN1Integer.swift
[33/66] Compiling Crypto ASN1OctetString.swift
[34/66] Compiling Crypto ArraySliceBigint.swift
[35/66] Compiling Crypto ObjectIdentifier.swift
[36/66] Compiling Crypto ECDSASignature.swift
[37/66] Compiling Crypto Ed25519_boring.swift
[38/66] Compiling Crypto EllipticCurvePoint_boring.swift
[39/66] Compiling Crypto EllipticCurve_boring.swift
[40/66] Compiling Crypto NISTCurvesKeys_boring.swift
[41/66] Compiling Crypto X25519Keys_boring.swift
[42/66] Compiling Crypto Curve25519.swift
[43/66] Compiling Crypto ECDH_boring.swift
[44/66] Compiling Crypto DH.swift
[45/66] Compiling Crypto ECDH.swift
[46/66] Compiling Crypto HKDF.swift
[47/66] Compiling Crypto AESWrap.swift
[48/66] Compiling Crypto AESWrap_boring.swift
[49/66] Compiling Crypto Digest.swift
[50/66] Compiling Crypto Digests.swift
[51/66] Compiling Crypto HashFunctions.swift
[52/66] Compiling Crypto HashFunctions_SHA2.swift
[53/66] Compiling Crypto Insecure.swift
[54/66] Compiling Crypto Insecure_HashFunctions.swift
[55/66] Compiling Crypto MessageAuthenticationCode.swift
[56/66] Compiling Crypto AES.swift
[57/66] Compiling Crypto ECDSASignature_boring.swift
[58/66] Compiling Crypto ECDSA_boring.swift
[59/66] Compiling Crypto EdDSA_boring.swift
[60/66] Compiling Crypto ECDSA.swift
[61/66] Compiling Crypto EdDSA.swift
[62/66] Compiling Crypto Signature.swift
[63/66] Compiling Crypto ArbitraryPrecisionInteger_boring.swift
[64/66] Compiling Crypto CryptoKitErrors_boring.swift
[65/66] Compiling Crypto FiniteFieldArithmeticContext_boring.swift
[66/66] Compiling Crypto RNG_boring.swift
[67/74] Compiling MnemonicSwift English.swift
[68/74] Compiling MnemonicSwift PKC5.swift
[69/74] Compiling MnemonicSwift String+MnemonicData.swift
[70/74] 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
[71/74] Compiling MnemonicSwift Mnemonic.swift
[72/74] Compiling MnemonicSwift Data+BitArray.swift
[73/74] 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
[74/74] Compiling MnemonicSwift Chinese.swift
Build complete! (9.78s)
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.