The Swift Package Index logo.Swift Package Index

Build Information

Failed to build secp256k1, reference master (8f80d5), with Swift 6.2 for macOS (SPM) on 18 Jun 2025 06:46:56 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/v57/secp256k1.c.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/v57/secp256k1.c
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 8f80d5d Updated Swift Package
Cloned https://github.com/v57/secp256k1.c.git
Revision (git rev-parse @):
8f80d5dd0ce4b00b9c2998c3e56fc6314a33903d
SUCCESS checkout https://github.com/v57/secp256k1.c.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/v57/secp256k1.c.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
In file included from /Users/admin/builder/spi-builder-workspace/secp256k1/secp256k1.c:12:
In file included from /Users/admin/builder/spi-builder-workspace/secp256k1/scalar_impl.h:18:
/Users/admin/builder/spi-builder-workspace/secp256k1/scalar_4x64_impl.h:43:13: error: use of undeclared identifier 'uint'
   43 |     return (uint)(a->d[offset >> 6] >> (offset & 0x3F)) & ((((uint64_t)1) << count) - 1);
      |             ^
/Users/admin/builder/spi-builder-workspace/secp256k1/scalar_4x64_impl.h:53:17: error: use of undeclared identifier 'uint'
   53 |         return (uint)((a->d[offset >> 6] >> (offset & 0x3F)) | (a->d[(offset >> 6) + 1] << (64 - (offset & 0x3F)))) & ((((uint64_t)1) << count) - 1);
      |                 ^
2 errors generated.
[0/1] Compiling secp256k1 secp256k1.c
BUILD FAILURE 6.2 macosSpm