The Swift Package Index logo.Swift Package Index

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 arm64

Build 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: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#]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: note: expanded code originates here
897 |     secp256k1_pubkey *out,
898 |     const secp256k1_pubkey * const *ins,
899 |     size_t n
    +--- macro expansion @_SwiftifyImport ------------------------------
    |25 |     }
    |26 |     defer {
    |27 |         _fixLifetime(ins)
    |   |         |            |- note: argument #0 in call to global function '_fixLifetime' has unsafe type 'Span<UnsafePointer<Pubkey>?>'
    |   |         |            `- note: reference to parameter 'ins' involves unsafe type 'UnsafePointer<Pubkey>'
    |   |         |- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety\StrictMemorySafety]8;;\]
    |   |         `- note: reference to unsafe type 'Span<UnsafePointer<Pubkey>?>'
    |28 |     }
    |29 |     return unsafe ecPubkeyCombine(out: _outPtr.baseAddress!, ins: _insPtr.baseAddress!, n: n)
    +-------------------------------------------------------------------
900 | ) SECP256K1_ARG_NONNULL(1) SECP256K1_ARG_NONNULL(2) SECP256K1_ARG_NONNULL(3);
901 |
macro expansion @_SwiftifyImport:13:13: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#]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: note: expanded code originates here
897 |     secp256k1_pubkey *out,
898 |     const secp256k1_pubkey * const *ins,
899 |     size_t n
    +--- macro expansion @_SwiftifyImport ------------------------------
    |11 | @_alwaysEmitIntoClient @available(visionOS 1.0, tvOS 12.2, watchOS 5.2, iOS 12.2, macOS 10.14.4, *) @_lifetime(out: copy out) @_disfavoredOverload
    |12 | public final func ecPubkeyCombine(out: inout MutableSpan<Pubkey>, ins: Span<UnsafePointer<Pubkey>?>) -> Int32 {
    |13 |     let n = ins.count
    |   |             |   `- note: reference to unsafe type 'UnsafePointer<Pubkey>?'
    |   |             |- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety\StrictMemorySafety]8;;\]
    |   |             `- note: reference to parameter 'ins' involves unsafe type 'UnsafePointer<Pubkey>'
    |14 |     if out.count != CInt(1) {
    |15 |       fatalError("bounds check failure in ecPubkeyCombine: expected \(CInt(1)) but got \(out.count)")
    +-------------------------------------------------------------------
900 | ) SECP256K1_ARG_NONNULL(1) SECP256K1_ARG_NONNULL(2) SECP256K1_ARG_NONNULL(3);
901 |
macro expansion @_SwiftifyImport:57:9: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#]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: note: expanded code originates here
152 |     size_t msglen,
153 |     const secp256k1_keypair *keypair,
154 |     secp256k1_schnorrsig_extraparams *extraparams
    +--- macro expansion @_SwiftifyImport ------------------------------
    |55 |     }
    |56 |     defer {
    |57 |         _fixLifetime(extraparams)
    |   |         |            |- note: argument #0 in call to global function '_fixLifetime' has unsafe type 'MutableSpan<SchnorrsigExtraparams>?'
    |   |         |            `- note: reference to parameter 'extraparams' involves unsafe type 'SchnorrsigExtraparams'
    |   |         |- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety\StrictMemorySafety]8;;\]
    |   |         `- note: reference to unsafe type 'MutableSpan<SchnorrsigExtraparams>?'
    |58 |     }
    |59 |     return unsafe schnorrsigSignCustom(sig64: _sig64Ptr.baseAddress!, msg: _msgPtr?.baseAddress, msglen: msglen, keypair: _keypairPtr.baseAddress!, extraparams: _extraparamsPtr?.baseAddress)
    +-------------------------------------------------------------------
155 | ) SECP256K1_ARG_NONNULL(1) SECP256K1_ARG_NONNULL(2) SECP256K1_ARG_NONNULL(5);
156 |
macro expansion @_SwiftifyImport:32:32: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#]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: note: expanded code originates here
152 |     size_t msglen,
153 |     const secp256k1_keypair *keypair,
154 |     secp256k1_schnorrsig_extraparams *extraparams
    +--- macro expansion @_SwiftifyImport ------------------------------
    |30 |       fatalError("bounds check failure in schnorrsigSignCustom: expected \(CInt(1)) but got \(keypair.count)")
    |31 |     }
    |32 |     if let _extraparamsCount = extraparams?.count, _extraparamsCount != CInt(1) {
    |   |                                |            `- note: reference to unsafe type 'SchnorrsigExtraparams'
    |   |                                |- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety\StrictMemorySafety]8;;\]
    |   |                                `- note: reference to parameter 'extraparams' involves unsafe type 'SchnorrsigExtraparams'
    |33 |       fatalError("bounds check failure in schnorrsigSignCustom: expected \(CInt(1)) but got \(_extraparamsCount)")
    |34 |     }
    +-------------------------------------------------------------------
155 | ) SECP256K1_ARG_NONNULL(1) SECP256K1_ARG_NONNULL(2) SECP256K1_ARG_NONNULL(5);
156 |
macro expansion @_SwiftifyImport:53:27: warning: expression uses unsafe constructs but is not marked with 'unsafe' [#]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: note: expanded code originates here
152 |     size_t msglen,
153 |     const secp256k1_keypair *keypair,
154 |     secp256k1_schnorrsig_extraparams *extraparams
    +--- macro expansion @_SwiftifyImport ------------------------------
    |51 |         _fixLifetime(keypair)
    |52 |     }
    |53 |     let _extraparamsPtr = extraparams?.withUnsafeMutableBufferPointer {
    |   |                           |- warning: expression uses unsafe constructs but is not marked with 'unsafe' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/strict-memory-safety\StrictMemorySafety]8;;\]
    |   |                           `- note: reference to parameter 'extraparams' involves unsafe type 'SchnorrsigExtraparams'
    |54 |         unsafe $0
    |55 |     }
    +-------------------------------------------------------------------
155 | ) SECP256K1_ARG_NONNULL(1) SECP256K1_ARG_NONNULL(2) SECP256K1_ARG_NONNULL(5);
156 |
[#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.