The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-bigint-gmp, reference 0.0.1 (a44529), with Swift 6.3 for macOS (SPM) on 16 Aug 2026 03:23:36 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: undefined version: run 'make version' to update
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dankogai/swift-bigint-gmp.git
Reference: 0.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dankogai/swift-bigint-gmp
 * tag               0.0.1      -> FETCH_HEAD
HEAD is now at a445292 Add Benchmark.md and the Benchmarks/ harness
Cloned https://github.com/dankogai/swift-bigint-gmp.git
Revision (git rev-parse @):
a445292be1b652e0cbb3369a1ac5f82e1a9268d5
SUCCESS checkout https://github.com/dankogai/swift-bigint-gmp.git at 0.0.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": "swift-bigint-gmp",
      "name": "swift-bigint-gmp",
      "url": "https://github.com/dankogai/swift-bigint-gmp.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-bigint-gmp",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/dankogai/swift-bigint-gmp.git
[1/71] Fetching swift-bigint-gmp
Fetched https://github.com/dankogai/swift-bigint-gmp.git from cache (0.84s)
Creating working copy for https://github.com/dankogai/swift-bigint-gmp.git
Working copy of https://github.com/dankogai/swift-bigint-gmp.git resolved at 0.0.1 (a445292)
warning: '.resolve-product-dependencies': dependency 'swift-bigint-gmp' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/dankogai/swift-bigint-gmp.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module GMPBigInt
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Cgmp/shim.h:1:10: error: 'gmp.h' file not found
1 | #include <gmp.h>
  |          `- error: 'gmp.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/Sources/GMPBigInt/GMPBigInt.swift:1:8: error: could not build Objective-C module 'Cgmp'
  1 | import Cgmp
    |        `- error: could not build Objective-C module 'Cgmp'
  2 |
  3 | // gmp.h wraps every mpz_* entry point in an object-like macro over the real
[4/4] Compiling GMPBigInt GMPBigInt.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Cgmp/shim.h:1:10: error: 'gmp.h' file not found
1 | #include <gmp.h>
  |          `- error: 'gmp.h' file not found
2 |
/Users/admin/builder/spi-builder-workspace/Sources/GMPBigInt/GMPBigInt.swift:1:8: error: could not build Objective-C module 'Cgmp'
  1 | import Cgmp
    |        `- error: could not build Objective-C module 'Cgmp'
  2 |
  3 | // gmp.h wraps every mpz_* entry point in an object-like macro over the real
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install gmp using your system-packager:
    brew install gmp
warning: you may be able to install gmp using your system-packager:
    brew install gmp
BUILD FAILURE 6.3 macosSpm