Build Information
Successful build of MnemonicSwift, reference 2.2.4 (716a2c
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 21:09:21 UTC.
Swift 6 data race errors: 2
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Electric-Coin-Company/MnemonicSwift.git
Reference: 2.2.4
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Electric-Coin-Company/MnemonicSwift
* tag 2.2.4 -> FETCH_HEAD
HEAD is now at 716a2c3 Merge pull request #33 from zcash-hackworks/release/2.2.4
Cloned https://github.com/Electric-Coin-Company/MnemonicSwift.git
Revision (git rev-parse @):
716a2c32ac2bbd8a1499ac834077df42b75edc85
SUCCESS checkout https://github.com/Electric-Coin-Company/MnemonicSwift.git at 2.2.4
Fetching https://github.com/apple/swift-crypto.git
[1/10416] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.94s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 2.1.0 (0.68s)
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/1788] Fetching mnemonicswift
Fetched https://github.com/Electric-Coin-Company/MnemonicSwift.git from cache (1.03s)
Fetching https://github.com/apple/swift-crypto.git from cache
Fetched https://github.com/apple/swift-crypto.git from cache (0.53s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 2.6.0 (0.66s)
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
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.4 (716a2c3)
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.0
Building package at path: $PWD
https://github.com/Electric-Coin-Company/MnemonicSwift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/60] Emitting module Crypto
[5/66] Compiling Crypto MessageAuthenticationCode.swift
[6/66] Compiling Crypto AES.swift
[7/66] Compiling Crypto ECDSASignature_boring.swift
[8/66] Compiling Crypto ECDSA_boring.swift
[9/66] Compiling Crypto EdDSA_boring.swift
[10/66] Compiling Crypto ECDSA.swift
[11/66] Compiling Crypto PEMDocument.swift
[12/66] Compiling Crypto PKCS8PrivateKey.swift
[13/66] Compiling Crypto SEC1PrivateKey.swift
[14/66] Compiling Crypto SubjectPublicKeyInfo.swift
[15/66] Compiling Crypto CryptoKitErrors.swift
[16/66] Compiling Crypto Digest_boring.swift
[17/66] Compiling Crypto SafeCompare_boring.swift
[18/66] Compiling Crypto Zeroization_boring.swift
[19/66] Compiling Crypto PrettyBytes.swift
[20/66] Compiling Crypto SafeCompare.swift
[21/66] Compiling Crypto SecureBytes.swift
[22/66] Compiling Crypto Zeroization.swift
[23/66] Compiling Crypto EdDSA.swift
[24/66] Compiling Crypto Signature.swift
[25/66] Compiling Crypto ArbitraryPrecisionInteger_boring.swift
[26/66] Compiling Crypto CryptoKitErrors_boring.swift
[27/66] Compiling Crypto FiniteFieldArithmeticContext_boring.swift
[28/66] Compiling Crypto RNG_boring.swift
[29/66] Compiling Crypto AES-GCM.swift
[30/66] Compiling Crypto AES-GCM_boring.swift
[31/66] Compiling Crypto ChaChaPoly_boring.swift
[32/66] Compiling Crypto ChaChaPoly.swift
[33/66] Compiling Crypto Cipher.swift
[34/66] Compiling Crypto Nonces.swift
[35/66] Compiling Crypto ASN1.swift
[36/66] Compiling Crypto ASN1BitString.swift
[37/66] Compiling Crypto ASN1Identifier.swift
[38/66] Compiling Crypto ASN1Integer.swift
[39/66] Compiling Crypto ASN1OctetString.swift
[40/66] Compiling Crypto ArraySliceBigint.swift
[41/66] Compiling Crypto ObjectIdentifier.swift
[42/66] Compiling Crypto ECDSASignature.swift
[43/66] Compiling Crypto Ed25519.swift
[44/66] Compiling Crypto NISTCurvesKeys.swift
[45/66] Compiling Crypto X25519Keys.swift
[46/66] Compiling Crypto SymmetricKeys.swift
[47/66] Compiling Crypto HMAC.swift
[48/66] Compiling Crypto MACFunctions.swift
[49/66] Compiling Crypto ECDH_boring.swift
[50/66] Compiling Crypto DH.swift
[51/66] Compiling Crypto ECDH.swift
[52/66] Compiling Crypto HKDF.swift
[53/66] Compiling Crypto AESWrap.swift
[54/66] Compiling Crypto AESWrap_boring.swift
[55/66] Compiling Crypto Digest.swift
[56/66] Compiling Crypto Digests.swift
[57/66] Compiling Crypto HashFunctions.swift
[58/66] Compiling Crypto HashFunctions_SHA2.swift
[59/66] Compiling Crypto Insecure.swift
[60/66] Compiling Crypto Insecure_HashFunctions.swift
[61/66] Compiling Crypto Ed25519_boring.swift
[62/66] Compiling Crypto EllipticCurvePoint_boring.swift
[63/66] Compiling Crypto EllipticCurve_boring.swift
[64/66] Compiling Crypto NISTCurvesKeys_boring.swift
[65/66] Compiling Crypto X25519Keys_boring.swift
[66/66] Compiling Crypto Curve25519.swift
[67/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: annotate 'live' 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
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: annotate 'throwing' 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
190 | mnemonicEnglishString: { _ in
191 | throw MnemonicError.invalidHexstring
[68/74] Compiling MnemonicSwift PKC5.swift
[69/74] Compiling MnemonicSwift String+MnemonicData.swift
[70/74] Compiling MnemonicSwift Mnemonic.swift
[71/74] Compiling MnemonicSwift Chinese.swift
[72/74] Compiling MnemonicSwift Data+BitArray.swift
[73/74] Compiling MnemonicSwift English.swift
[74/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: annotate 'live' 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
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: annotate 'throwing' 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
190 | mnemonicEnglishString: { _ in
191 | throw MnemonicError.invalidHexstring
Build complete! (25.37s)
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.