Build Information
Successful build of secp256k1, reference release (d4f557), with Swift 6.4 for macOS (SPM) on 15 Oct 2026 22:57:29 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swift-bitcoin/secp256k1.git
Reference: release
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/swift-bitcoin/secp256k1
* branch release -> FETCH_HEAD
* [new branch] release -> origin/release
HEAD is now at d4f5573 Further API annotations
Cloned https://github.com/swift-bitcoin/secp256k1.git
Revision (git rev-parse @):
d4f5573c7ccb4bf386876f5bae4a823fad9efb3e
SUCCESS checkout https://github.com/swift-bitcoin/secp256k1.git at release
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-asn1.git
[1/2051] Fetching swift-asn1
[2/20693] Fetching swift-asn1, swift-crypto
Fetched https://github.com/apple/swift-asn1.git (5.55s)
Fetched https://github.com/apple/swift-crypto.git (5.55s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (15.13s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.2 (2.06s)
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.2
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.1
========================================
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",
"traits": [
"default"
],
"dependencies": [
{
"identity": "secp256k1",
"name": "secp256k1",
"url": "https://github.com/swift-bitcoin/secp256k1.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/secp256k1",
"traits": [
"default"
],
"dependencies": [
]
}
]
}
Fetching https://github.com/swift-bitcoin/secp256k1.git
[1/13756] Fetching secp256k1
Fetched https://github.com/swift-bitcoin/secp256k1.git (3.74s)
Creating working copy for https://github.com/swift-bitcoin/secp256k1.git
Working copy of https://github.com/swift-bitcoin/secp256k1.git resolved at release (d4f5573)
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.4
Building package at path: $PWD
https://github.com/swift-bitcoin/secp256k1.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0.app xcrun swift build --arch arm64
Building for debugging...
[Pre-planning 1 / 212]
[Planning deferred tasks]
[37 / 69]
[44 / 70] CSECP256K1
[54 / 112]
[79 / 138]
[88 / 138]
[103 / 138]
[111 / 138] SECP256K1
[113 / 138] exhaustive_tests-product
[123 / 138] tests-product
[127 / 138] SECP256K1
[132 / 138] noverify_tests-product
[135 / 138] tests-product
[138 / 138] tests-product
Build complete! (6.06 sec)
macro expansion @_SwiftifyImport:27:9: [1;33mwarning: [1;39mexpression uses unsafe constructs but is not marked with 'unsafe'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety\StrictMemorySafety]8;;\]
`- /Users/admin/builder/spi-builder-workspace/swift-include/../include/secp256k1.h:899:13: [1;39mnote: [1;39mexpanded code originates here[0;0m
[0;36m897 |[0;0m secp256k1_pubkey *out,
[0;36m898 |[0;0m const secp256k1_pubkey * const *ins,
[0;36m899 |[0;0m size_t n
[0;36m +--- [0;0mmacro expansion @_SwiftifyImport [0;36m------------------------------[0;0m
[0;36m |[0;0m[0;36m25 |[0;0m }
[0;36m |[0;0m[0;36m26 |[0;0m defer {
[0;36m |[0;0m[0;36m27 |[0;0m _fixLifetime([4;39mins[0;0m)
[0;36m |[0;0m [0;36m|[0;0m | |- [1;39mnote: [1;39margument #0 in call to global function '_fixLifetime' has unsafe type 'Span<UnsafePointer<Pubkey>?>'[0;0m
[0;36m |[0;0m [0;36m|[0;0m | `- [1;39mnote: [1;39mreference to parameter 'ins' involves unsafe type 'UnsafePointer<Pubkey>'[0;0m
[0;36m |[0;0m [0;36m|[0;0m |- [1;33mwarning: [1;39mexpression uses unsafe constructs but is not marked with 'unsafe'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety\StrictMemorySafety]8;;\]
[0;36m |[0;0m [0;36m|[0;0m `- [1;39mnote: [1;39mreference to unsafe type 'Span<UnsafePointer<Pubkey>?>'[0;0m
[0;36m |[0;0m[0;36m28 |[0;0m }
[0;36m |[0;0m[0;36m29 |[0;0m return unsafe ecPubkeyCombine(out: _outPtr.baseAddress!, ins: _insPtr.baseAddress!, n: n)
[0;36m +-------------------------------------[0;0m[0;36m------------------------------[0;0m
[0;36m900 |[0;0m ) SECP256K1_ARG_NONNULL(1) SECP256K1_ARG_NONNULL(2) SECP256K1_ARG_NONNULL(3);
[0;36m901 |[0;0m
macro expansion @_SwiftifyImport:13:13: [1;33mwarning: [1;39mexpression uses unsafe constructs but is not marked with 'unsafe'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety\StrictMemorySafety]8;;\]
`- /Users/admin/builder/spi-builder-workspace/swift-include/../include/secp256k1.h:899:13: [1;39mnote: [1;39mexpanded code originates here[0;0m
[0;36m897 |[0;0m secp256k1_pubkey *out,
[0;36m898 |[0;0m const secp256k1_pubkey * const *ins,
[0;36m899 |[0;0m size_t n
[0;36m +--- [0;0mmacro expansion @_SwiftifyImport [0;36m------------------------------[0;0m
[0;36m |[0;0m[0;36m11 |[0;0m @_alwaysEmitIntoClient @available(visionOS 1.0, tvOS 12.2, watchOS 5.2, iOS 12.2, macOS 10.14.4, *) @_lifetime(out: copy out) @_disfavoredOverload
[0;36m |[0;0m[0;36m12 |[0;0m public final func ecPubkeyCombine(out: inout MutableSpan<Pubkey>, ins: Span<UnsafePointer<Pubkey>?>) -> Int32 {
[0;36m |[0;0m[0;36m13 |[0;0m let n = ins.count
[0;36m |[0;0m [0;36m|[0;0m | `- [1;39mnote: [1;39mreference to unsafe type 'UnsafePointer<Pubkey>?'[0;0m
[0;36m |[0;0m [0;36m|[0;0m |- [1;33mwarning: [1;39mexpression uses unsafe constructs but is not marked with 'unsafe'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety\StrictMemorySafety]8;;\]
[0;36m |[0;0m [0;36m|[0;0m `- [1;39mnote: [1;39mreference to parameter 'ins' involves unsafe type 'UnsafePointer<Pubkey>'[0;0m
[0;36m |[0;0m[0;36m14 |[0;0m if out.count != CInt(1) {
[0;36m |[0;0m[0;36m15 |[0;0m fatalError("bounds check failure in ecPubkeyCombine: expected \(CInt(1)) but got \(out.count)")
[0;36m +-------------------------------------[0;0m[0;36m------------------------------[0;0m
[0;36m900 |[0;0m ) SECP256K1_ARG_NONNULL(1) SECP256K1_ARG_NONNULL(2) SECP256K1_ARG_NONNULL(3);
[0;36m901 |[0;0m
macro expansion @_SwiftifyImport:57:9: [1;33mwarning: [1;39mexpression uses unsafe constructs but is not marked with 'unsafe'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety\StrictMemorySafety]8;;\]
`- /Users/admin/builder/spi-builder-workspace/swift-include/../include/secp256k1_schnorrsig.h:154:50: [1;39mnote: [1;39mexpanded code originates here[0;0m
[0;36m152 |[0;0m size_t msglen,
[0;36m153 |[0;0m const secp256k1_keypair *keypair,
[0;36m154 |[0;0m secp256k1_schnorrsig_extraparams *extraparams
[0;36m +--- [0;0mmacro expansion @_SwiftifyImport [0;36m------------------------------[0;0m
[0;36m |[0;0m[0;36m55 |[0;0m }
[0;36m |[0;0m[0;36m56 |[0;0m defer {
[0;36m |[0;0m[0;36m57 |[0;0m _fixLifetime([4;39mextraparams[0;0m)
[0;36m |[0;0m [0;36m|[0;0m | |- [1;39mnote: [1;39margument #0 in call to global function '_fixLifetime' has unsafe type 'MutableSpan<SchnorrsigExtraparams>?'[0;0m
[0;36m |[0;0m [0;36m|[0;0m | `- [1;39mnote: [1;39mreference to parameter 'extraparams' involves unsafe type 'SchnorrsigExtraparams'[0;0m
[0;36m |[0;0m [0;36m|[0;0m |- [1;33mwarning: [1;39mexpression uses unsafe constructs but is not marked with 'unsafe'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety\StrictMemorySafety]8;;\]
[0;36m |[0;0m [0;36m|[0;0m `- [1;39mnote: [1;39mreference to unsafe type 'MutableSpan<SchnorrsigExtraparams>?'[0;0m
[0;36m |[0;0m[0;36m58 |[0;0m }
[0;36m |[0;0m[0;36m59 |[0;0m return unsafe schnorrsigSignCustom(sig64: _sig64Ptr.baseAddress!, msg: _msgPtr?.baseAddress, msglen: msglen, keypair: _keypairPtr.baseAddress!, extraparams: _extraparamsPtr?.baseAddress)
[0;36m +-------------------------------------[0;0m[0;36m------------------------------[0;0m
[0;36m155 |[0;0m ) SECP256K1_ARG_NONNULL(1) SECP256K1_ARG_NONNULL(2) SECP256K1_ARG_NONNULL(5);
[0;36m156 |[0;0m
macro expansion @_SwiftifyImport:32:32: [1;33mwarning: [1;39mexpression uses unsafe constructs but is not marked with 'unsafe'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety\StrictMemorySafety]8;;\]
`- /Users/admin/builder/spi-builder-workspace/swift-include/../include/secp256k1_schnorrsig.h:154:50: [1;39mnote: [1;39mexpanded code originates here[0;0m
[0;36m152 |[0;0m size_t msglen,
[0;36m153 |[0;0m const secp256k1_keypair *keypair,
[0;36m154 |[0;0m secp256k1_schnorrsig_extraparams *extraparams
[0;36m +--- [0;0mmacro expansion @_SwiftifyImport [0;36m------------------------------[0;0m
[0;36m |[0;0m[0;36m30 |[0;0m fatalError("bounds check failure in schnorrsigSignCustom: expected \(CInt(1)) but got \(keypair.count)")
[0;36m |[0;0m[0;36m31 |[0;0m }
[0;36m |[0;0m[0;36m32 |[0;0m if let _extraparamsCount = extraparams?.count, _extraparamsCount != CInt(1) {
[0;36m |[0;0m [0;36m|[0;0m | `- [1;39mnote: [1;39mreference to unsafe type 'SchnorrsigExtraparams'[0;0m
[0;36m |[0;0m [0;36m|[0;0m |- [1;33mwarning: [1;39mexpression uses unsafe constructs but is not marked with 'unsafe'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety\StrictMemorySafety]8;;\]
[0;36m |[0;0m [0;36m|[0;0m `- [1;39mnote: [1;39mreference to parameter 'extraparams' involves unsafe type 'SchnorrsigExtraparams'[0;0m
[0;36m |[0;0m[0;36m33 |[0;0m fatalError("bounds check failure in schnorrsigSignCustom: expected \(CInt(1)) but got \(_extraparamsCount)")
[0;36m |[0;0m[0;36m34 |[0;0m }
[0;36m +-------------------------------------[0;0m[0;36m------------------------------[0;0m
[0;36m155 |[0;0m ) SECP256K1_ARG_NONNULL(1) SECP256K1_ARG_NONNULL(2) SECP256K1_ARG_NONNULL(5);
[0;36m156 |[0;0m
macro expansion @_SwiftifyImport:53:27: [1;33mwarning: [1;39mexpression uses unsafe constructs but is not marked with 'unsafe'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety\StrictMemorySafety]8;;\]
`- /Users/admin/builder/spi-builder-workspace/swift-include/../include/secp256k1_schnorrsig.h:154:50: [1;39mnote: [1;39mexpanded code originates here[0;0m
[0;36m152 |[0;0m size_t msglen,
[0;36m153 |[0;0m const secp256k1_keypair *keypair,
[0;36m154 |[0;0m secp256k1_schnorrsig_extraparams *extraparams
[0;36m +--- [0;0mmacro expansion @_SwiftifyImport [0;36m------------------------------[0;0m
[0;36m |[0;0m[0;36m51 |[0;0m _fixLifetime(keypair)
[0;36m |[0;0m[0;36m52 |[0;0m }
[0;36m |[0;0m[0;36m53 |[0;0m let _extraparamsPtr = extraparams?.withUnsafeMutableBufferPointer {
[0;36m |[0;0m [0;36m|[0;0m |- [1;33mwarning: [1;39mexpression uses unsafe constructs but is not marked with 'unsafe'[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety\StrictMemorySafety]8;;\]
[0;36m |[0;0m [0;36m|[0;0m `- [1;39mnote: [1;39mreference to parameter 'extraparams' involves unsafe type 'SchnorrsigExtraparams'[0;0m
[0;36m |[0;0m[0;36m54 |[0;0m unsafe $0
[0;36m |[0;0m[0;36m55 |[0;0m }
[0;36m +-------------------------------------[0;0m[0;36m------------------------------[0;0m
[0;36m155 |[0;0m ) SECP256K1_ARG_NONNULL(1) SECP256K1_ARG_NONNULL(2) SECP256K1_ARG_NONNULL(5);
[0;36m156 |[0;0m
[#StrictMemorySafety]: <https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety>
Build complete.
{
"c_language_standard" : "c90",
"dependencies" : [
{
"identity" : "swift-crypto",
"requirement" : {
"range" : [
{
"lower_bound" : "3.0.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-crypto.git"
}
],
"manifest_display_name" : "secp256k1",
"name" : "secp256k1",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "27.0"
}
],
"products" : [
{
"name" : "CSECP256K1",
"targets" : [
"CSECP256K1"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SECP256K1",
"targets" : [
"SECP256K1"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "tests",
"targets" : [
"tests"
],
"type" : {
"executable" : null
}
},
{
"name" : "noverify_tests",
"targets" : [
"noverify_tests"
],
"type" : {
"executable" : null
}
},
{
"name" : "exhaustive_tests",
"targets" : [
"exhaustive_tests"
],
"type" : {
"executable" : null
}
},
{
"name" : "bip352-dump",
"targets" : [
"bip352-dump"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "tests",
"module_type" : "ClangTarget",
"name" : "tests",
"path" : "swift-src/ctest-verify",
"product_memberships" : [
"tests"
],
"sources" : [
"main.c"
],
"type" : "executable"
},
{
"c99name" : "noverify_tests",
"module_type" : "ClangTarget",
"name" : "noverify_tests",
"path" : "swift-src/ctest-noverify",
"product_memberships" : [
"noverify_tests"
],
"sources" : [
"main.c"
],
"type" : "executable"
},
{
"c99name" : "exhaustive_tests",
"module_type" : "ClangTarget",
"name" : "exhaustive_tests",
"path" : "swift-src/ctest-exhaustive",
"product_memberships" : [
"exhaustive_tests"
],
"sources" : [
"main.c"
],
"type" : "executable"
},
{
"c99name" : "bip352_dump",
"module_type" : "ClangTarget",
"name" : "bip352-dump",
"path" : "swift-tools",
"product_memberships" : [
"bip352-dump"
],
"sources" : [
"bip352-dump.c"
],
"type" : "executable"
},
{
"c99name" : "SECP256K1Tests",
"module_type" : "SwiftTarget",
"name" : "SECP256K1Tests",
"path" : "swift-test/SECP256K1Test",
"product_dependencies" : [
"Crypto"
],
"sources" : [
"BIP340Tests.swift",
"BIP340Vectors.swift",
"BIP352Tests.swift",
"PropertyTests.swift",
"Secp256k1Tests.swift",
"WycheproofTests.swift"
],
"target_dependencies" : [
"SECP256K1",
"CSECP256K1"
],
"type" : "test"
},
{
"c99name" : "SECP256K1",
"module_type" : "SwiftTarget",
"name" : "SECP256K1",
"path" : "swift-src/SECP256K1",
"product_memberships" : [
"SECP256K1"
],
"sources" : [
"Context.swift",
"ECDH.swift",
"EllSwift.swift",
"MuSig.swift",
"Recovery.swift",
"Schnorr.swift",
"Serialization.swift",
"SilentPayments.swift",
"Tweaks.swift",
"Utilities.swift"
],
"target_dependencies" : [
"CSECP256K1"
],
"type" : "library"
},
{
"c99name" : "Codegen",
"module_type" : "PluginTarget",
"name" : "Codegen",
"path" : "swift-plugins/Codegen",
"plugin_capability" : {
"intent" : {
"description" : "Regenerate API notes and test vectors",
"type" : "custom",
"verb" : "codegen"
},
"permissions" : [
{
"network_scope" : {
"none" : {
}
},
"reason" : "regenerate the committed generated files",
"type" : "writeToPackageDirectory"
}
],
"type" : "command"
},
"sources" : [
"APINotes.swift",
"BIP340.swift",
"BIP352.swift",
"Codegen.swift"
],
"target_dependencies" : [
"bip352-dump"
],
"type" : "plugin"
},
{
"c99name" : "CSECP256K1",
"module_type" : "ClangTarget",
"name" : "CSECP256K1",
"path" : ".",
"product_memberships" : [
"CSECP256K1",
"SECP256K1"
],
"sources" : [
"src/precomputed_ecmult.c",
"src/precomputed_ecmult_gen.c",
"src/secp256k1.c"
],
"type" : "library"
}
],
"tools_version" : "6.4"
}
Done.