The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/dankogai/swift-bigint-gmp.git
https://github.com/dankogai/swift-bigint-gmp.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-bigint-gmp",
  "name" : "swift-bigint-gmp",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "tvos",
      "version" : "17.0"
    },
    {
      "name" : "watchos",
      "version" : "10.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "GMPBigInt",
      "targets" : [
        "GMPBigInt"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "GMPBigIntTests",
      "module_type" : "SwiftTarget",
      "name" : "GMPBigIntTests",
      "path" : "Tests/GMPBigIntTests",
      "sources" : [
        "GMPBigIntTests.swift"
      ],
      "target_dependencies" : [
        "GMPBigInt"
      ],
      "type" : "test"
    },
    {
      "c99name" : "GMPBigInt",
      "module_type" : "SwiftTarget",
      "name" : "GMPBigInt",
      "path" : "Sources/GMPBigInt",
      "product_memberships" : [
        "GMPBigInt"
      ],
      "sources" : [
        "GMPBigInt.swift"
      ],
      "target_dependencies" : [
        "Cgmp"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Cgmp",
      "module_type" : "SystemLibraryTarget",
      "name" : "Cgmp",
      "path" : "Sources/Cgmp",
      "product_memberships" : [
        "GMPBigInt"
      ],
      "sources" : [
      ],
      "type" : "system-target"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.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
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] 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
[3/3] 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.1 macosSpm