Build Information
Successful build of K1, reference 0.6.0 (c77e6c
), with Swift 5.9 for macOS (SPM) on 17 Mar 2025 21:59:35 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Sajjon/K1.git
Reference: 0.6.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Sajjon/K1
* tag 0.6.0 -> FETCH_HEAD
HEAD is now at c77e6c2 Upgrade libsecp256k1 to 0.6.0 (0cdc758a56360bf58a851fe91085a327ec97685a) (#44)
Submodule path 'Sources/secp256k1/libsecp256k1': checked out '0cdc758a56360bf58a851fe91085a327ec97685a'
Submodule 'Sources/secp256k1/libsecp256k1' (https://github.com/bitcoin-core/secp256k1.git) registered for path 'Sources/secp256k1/libsecp256k1'
Cloning into '/Users/admin/builder/spi-builder-workspace/Sources/secp256k1/libsecp256k1'...
Cloned https://github.com/Sajjon/K1.git
Revision (git rev-parse @):
c77e6c2bd23ec019b7ecf80b567f5eccbec59887
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Sajjon/K1.git at 0.6.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 5.9
Building package at path: $PWD
https://github.com/Sajjon/K1.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/6] Compiling ecdh_variants.c
[1/6] Compiling precomputed_ecmult_gen.c
[2/6] Compiling lax_der_privatekey_parsing.c
[3/6] Compiling lax_der_parsing.c
[4/6] Compiling secp256k1.c
[5/6] Compiling precomputed_ecmult.c
[7/56] Emitting module K1
[8/61] Compiling K1 ASN1Error.swift
[9/61] Compiling K1 BytesUtil.swift
[10/61] Compiling K1 RNG_boring.swift
[11/61] Compiling K1 SafeCompare_boring.swift
[12/61] Compiling K1 SecureBytes.swift
[13/61] Compiling K1 ASN1BitString.swift
[14/61] Compiling K1 ASN1Boolean.swift
[15/61] Compiling K1 ASN1Identifier.swift
[16/61] Compiling K1 ASN1Integer.swift
[17/61] Compiling K1 ASN1Null.swift
[18/61] Compiling K1 ECDSASignature.swift
[19/61] Compiling K1 PEMDocument.swift
[20/61] Compiling K1 PKCS8PrivateKey.swift
[21/61] Compiling K1 SEC1PrivateKey.swift
[22/61] Compiling K1 SubjectPublicKeyInfo.swift
[23/61] Compiling K1 K1.swift
[24/61] Compiling K1 KeyAgreement.swift
[25/61] Compiling K1 ECDSA.swift
[26/61] Compiling K1 ECDSASignatureNonRecoverable.swift
[27/61] Compiling K1 ECDSASignatureRecoverable.swift
[28/61] Compiling K1 RecoveryID.swift
[29/61] Compiling K1 ECDSA+Recovery+Wrapped.swift
[30/61] Compiling K1 FFI+ECDSA+Recovery.swift
[31/61] Compiling K1 PrivateKey+Wrapped.swift
[32/61] Compiling K1 FFI+PublicKey.swift
[33/61] Compiling K1 PublicKey+Wrapped.swift
[34/61] Compiling K1 FFI+Schnorr.swift
[35/61] Compiling K1 Keys.generated.swift
[36/61] Compiling K1 PrivateKeyImplementation.swift
[37/61] Compiling K1 PublicKeyImplementation.swift
[38/61] Compiling K1 Schnorr+Signature.swift
[39/61] Compiling K1 Schnorr.swift
[40/61] Compiling K1 Signing.generated.swift
[41/61] Compiling K1 Validation.generated.swift
[42/61] Compiling K1 Data+Extensions.swift
[43/61] Compiling K1 FFI+ECDH.swift
[44/61] Compiling K1 FFI+ECDSA.swift
[45/61] Compiling K1 ECDSA+NonRecovery+Wrapped.swift
[46/61] Compiling K1 FFI+ECDSA+NonRecovery.swift
[47/61] Compiling K1 Curve.swift
[48/61] Compiling K1 K1+Error.swift
[49/61] Compiling K1 SharedSecret.swift
[50/61] Compiling K1 ASN1.swift
[51/61] Compiling K1 ASN1Any.swift
[52/61] Compiling K1 ASN1OctetString.swift
[53/61] Compiling K1 ASN1Strings.swift
[54/61] Compiling K1 ArraySliceBigint.swift
[55/61] Compiling K1 GeneralizedTime.swift
[56/61] Compiling K1 ObjectIdentifier.swift
[57/61] Compiling K1 Schnorr+Wrapped.swift
[58/61] Compiling K1 FFI+Call.swift
[59/61] Compiling K1 FFI+Context.swift
[60/61] Compiling K1 FFI+Format.swift
[61/61] Compiling K1 FFI+Raw.swift
Build complete! (8.45s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "K1",
"name" : "K1",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "K1",
"targets" : [
"K1"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "secp256k1",
"module_type" : "ClangTarget",
"name" : "secp256k1",
"path" : "Sources/secp256k1",
"product_memberships" : [
"K1"
],
"sources" : [
"libsecp256k1/contrib/lax_der_parsing.c",
"libsecp256k1/contrib/lax_der_privatekey_parsing.c",
"libsecp256k1/src/precomputed_ecmult.c",
"libsecp256k1/src/precomputed_ecmult_gen.c",
"libsecp256k1/src/secp256k1.c",
"src/ecdh_variants.c"
],
"type" : "library"
},
{
"c99name" : "K1Tests",
"module_type" : "SwiftTarget",
"name" : "K1Tests",
"path" : "Tests/K1Tests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/K1Tests/TestVectors/warta_cyon_publickey_recovery.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/K1Tests/TestVectors/wycheproof_ecdh_ASN1x963.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/K1Tests/TestVectors/wycheproof_ecdsa_verify_der.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/K1Tests/TestVectors/bip340_schnorr_verify.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/K1Tests/TestVectors/trezor_ecdsa_sign_rfc6979.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/K1Tests/TestVectors/wycheproof_ecdsa_verify_p1363.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/K1Tests/TestVectors/bip340_schnorr_sign.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/K1Tests/TestVectors/cyon_ecdh_two_variants_with_kdf.json",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"TestCases/APITest.swift",
"TestCases/ECDH/ECDHTests.swift",
"TestCases/ECDH/ECDHWycheproofTests.swift",
"TestCases/ECDH/TwoVariantsOfECDHWithKDFTests.swift",
"TestCases/ECDSA/ECDSARecoverableSignatureRoundtripTests.swift",
"TestCases/ECDSA/ECDSASignatureTests.swift",
"TestCases/ECDSA/ECDSASignatureTrezorTests.swift",
"TestCases/ECDSA/ECDSAWycheproofASNDEREncodedSignaturesTests.swift",
"TestCases/ECDSA/ECDSAWycheproofIEEEP1364RSEncodedSignaturesTests.swift",
"TestCases/Keys/PrivateKey/PrivateKeyEncodingTests.swift",
"TestCases/Keys/PrivateKey/PrivateKeyGenerationTests.swift",
"TestCases/Keys/PrivateKey/PrivateKeyImportTests.swift",
"TestCases/Keys/PublicKey/PublicKeyEncodingTests.generated.swift",
"TestCases/Keys/PublicKey/PublicKeyImportTests.swift",
"TestCases/Performance/PerformanceTests.swift",
"TestCases/PublicKeyRecovery/ECDASignaturePublicKeyRecoveryTests.swift",
"TestCases/Schnorr/SchnorrSignatureBitcoinCoreTests.swift",
"TestCases/Schnorr/SchnorrSignatureTests.swift",
"TestCases/SecureBytes/SecureBytesTests.swift",
"Util/ECSignature.swift",
"Util/Wycheproof.swift",
"Util/XCTestUtils.swift"
],
"target_dependencies" : [
"K1"
],
"type" : "test"
},
{
"c99name" : "K1",
"module_type" : "SwiftTarget",
"name" : "K1",
"path" : "Sources/K1",
"product_memberships" : [
"K1"
],
"sources" : [
"K1.swift",
"K1/ECDH/KeyAgreement.swift",
"K1/ECDSA/ECDSA.swift",
"K1/ECDSA/ECDSASignatureNonRecoverable.swift",
"K1/ECDSA/ECDSASignatureRecoverable.swift",
"K1/ECDSA/RecoveryID.swift",
"K1/Keys/Keys.generated.swift",
"K1/Keys/PrivateKeyImplementation.swift",
"K1/Keys/PublicKeyImplementation.swift",
"K1/Schnorr/Schnorr+Signature.swift",
"K1/Schnorr/Schnorr.swift",
"K1/Signing/Signing.generated.swift",
"K1/Validation/Validation.generated.swift",
"Support/Extensions/Data+Extensions.swift",
"Support/FFI/API/ECDH/FFI+ECDH.swift",
"Support/FFI/API/ECDSA/FFI+ECDSA.swift",
"Support/FFI/API/ECDSA/NonRecovery/ECDSA+NonRecovery+Wrapped.swift",
"Support/FFI/API/ECDSA/NonRecovery/FFI+ECDSA+NonRecovery.swift",
"Support/FFI/API/ECDSA/Recovery/ECDSA+Recovery+Wrapped.swift",
"Support/FFI/API/ECDSA/Recovery/FFI+ECDSA+Recovery.swift",
"Support/FFI/API/Keys/PrivateKey/PrivateKey+Wrapped.swift",
"Support/FFI/API/Keys/PublicKey/FFI+PublicKey.swift",
"Support/FFI/API/Keys/PublicKey/PublicKey+Wrapped.swift",
"Support/FFI/API/Schnorr/FFI+Schnorr.swift",
"Support/FFI/API/Schnorr/Schnorr+Wrapped.swift",
"Support/FFI/Internals/FFI+Call.swift",
"Support/FFI/Internals/FFI+Context.swift",
"Support/FFI/Internals/FFI+Format.swift",
"Support/FFI/Internals/FFI+Raw.swift",
"Support/Misc/Curve.swift",
"Support/Misc/K1+Error.swift",
"Support/Misc/SharedSecret.swift",
"Support/ThirdyParty/swift-crypto/ASN1/ASN1.swift",
"Support/ThirdyParty/swift-crypto/ASN1/Basic ASN1 Types/ASN1Any.swift",
"Support/ThirdyParty/swift-crypto/ASN1/Basic ASN1 Types/ASN1BitString.swift",
"Support/ThirdyParty/swift-crypto/ASN1/Basic ASN1 Types/ASN1Boolean.swift",
"Support/ThirdyParty/swift-crypto/ASN1/Basic ASN1 Types/ASN1Identifier.swift",
"Support/ThirdyParty/swift-crypto/ASN1/Basic ASN1 Types/ASN1Integer.swift",
"Support/ThirdyParty/swift-crypto/ASN1/Basic ASN1 Types/ASN1Null.swift",
"Support/ThirdyParty/swift-crypto/ASN1/Basic ASN1 Types/ASN1OctetString.swift",
"Support/ThirdyParty/swift-crypto/ASN1/Basic ASN1 Types/ASN1Strings.swift",
"Support/ThirdyParty/swift-crypto/ASN1/Basic ASN1 Types/ArraySliceBigint.swift",
"Support/ThirdyParty/swift-crypto/ASN1/Basic ASN1 Types/GeneralizedTime.swift",
"Support/ThirdyParty/swift-crypto/ASN1/Basic ASN1 Types/ObjectIdentifier.swift",
"Support/ThirdyParty/swift-crypto/ASN1/ECDSASignature.swift",
"Support/ThirdyParty/swift-crypto/ASN1/PEMDocument.swift",
"Support/ThirdyParty/swift-crypto/ASN1/PKCS8PrivateKey.swift",
"Support/ThirdyParty/swift-crypto/ASN1/SEC1PrivateKey.swift",
"Support/ThirdyParty/swift-crypto/ASN1/SubjectPublicKeyInfo.swift",
"Support/ThirdyParty/swift-crypto/ASN1Error.swift",
"Support/ThirdyParty/swift-crypto/BytesUtil.swift",
"Support/ThirdyParty/swift-crypto/RNG_boring.swift",
"Support/ThirdyParty/swift-crypto/SafeCompare_boring.swift",
"Support/ThirdyParty/swift-crypto/SecureBytes.swift"
],
"target_dependencies" : [
"secp256k1"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.