Build Information
Successful build of secp256k1, reference 0.8.0 (d4f557), with Swift 6.4 for Linux on 15 Oct 2026 22:38:21 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886768-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:linux-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swift-bitcoin/secp256k1.git
Reference: 0.8.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/swift-bitcoin/secp256k1
* tag 0.8.0 -> FETCH_HEAD
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 0.8.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.4
Building package at path: $PWD
https://github.com/swift-bitcoin/secp256k1.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:linux-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
linux-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:ef1451f51398a5019879493c5c492376e60274346858404d898204a8a77273d4
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.4-latest
Fetching https://github.com/apple/swift-crypto.git
[1/18642] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git (1.19s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (2.13s)
Fetching https://github.com/apple/swift-asn1.git
[1/2051] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.39s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (1.29s)
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
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.3
Building for debugging...
[Pre-planning 1 / 212]
[37 / 56] SECP256K1
[44 / 56] exhaustive_tests-product
[46 / 56] exhaustive_tests-product
[49 / 56] SECP256K1
[52 / 56] SECP256K1
[53 / 56] SECP256K1
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;;\]
`- /host/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;;\]
`- /host/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;;\]
`- /host/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;;\]
`- /host/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;;\]
`- /host/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! (3.48 secs)
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" : "/host/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"
}
linux-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:ef1451f51398a5019879493c5c492376e60274346858404d898204a8a77273d4
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.4-latest
Done.