The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build SwiftGD, reference main (58ad3b), with Swift 6.2 for macOS (SPM) on 27 Sep 2025 22:52:18 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/twostraws/swiftgd.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/twostraws/swiftgd
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 58ad3b3 Merge pull request #48 from kuhler-Stratege/point-extensions
Cloned https://github.com/twostraws/swiftgd.git
Revision (git rev-parse @):
58ad3b3960bcbeb2dc58cae3cabb033df44bef82
SUCCESS checkout https://github.com/twostraws/swiftgd.git at main
========================================
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",
  "dependencies": [
    {
      "identity": "swiftgd",
      "name": "SwiftGD",
      "url": "https://github.com/twostraws/swiftgd.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swiftgd",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/twostraws/swiftgd.git
[1/468] Fetching swiftgd
Fetched https://github.com/twostraws/swiftgd.git from cache (0.75s)
Creating working copy for https://github.com/twostraws/swiftgd.git
Working copy of https://github.com/twostraws/swiftgd.git resolved at main (58ad3b3)
warning: '.resolve-product-dependencies': dependency 'swiftgd' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/twostraws/swiftgd.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-49B95AFC49DCD68C.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/11] Emitting module SwiftGD
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "swiftgd_gd.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/gd/swiftgd_gd.h:1:10: error: 'gd.h' file not found
1 | #include <gd.h>
  |          `- error: 'gd.h' file not found
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGD/Format.swift:8:8: error: could not build Objective-C module 'gd'
  6 |
  7 | import Foundation
  8 | import gd
    |        `- error: could not build Objective-C module 'gd'
  9 |
 10 | // MARK: - Importable & Exportable Formatter
[4/11] Compiling SwiftGD Format.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "swiftgd_gd.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/gd/swiftgd_gd.h:1:10: error: 'gd.h' file not found
1 | #include <gd.h>
  |          `- error: 'gd.h' file not found
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGD/Format.swift:8:8: error: could not build Objective-C module 'gd'
  6 |
  7 | import Foundation
  8 | import gd
    |        `- error: could not build Objective-C module 'gd'
  9 |
 10 | // MARK: - Importable & Exportable Formatter
[5/11] Compiling SwiftGD Point.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "swiftgd_gd.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/gd/swiftgd_gd.h:1:10: error: 'gd.h' file not found
1 | #include <gd.h>
  |          `- error: 'gd.h' file not found
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGD/Format.swift:8:8: error: could not build Objective-C module 'gd'
  6 |
  7 | import Foundation
  8 | import gd
    |        `- error: could not build Objective-C module 'gd'
  9 |
 10 | // MARK: - Importable & Exportable Formatter
[6/11] Compiling SwiftGD Error.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "swiftgd_gd.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/gd/swiftgd_gd.h:1:10: error: 'gd.h' file not found
1 | #include <gd.h>
  |          `- error: 'gd.h' file not found
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGD/Format.swift:8:8: error: could not build Objective-C module 'gd'
  6 |
  7 | import Foundation
  8 | import gd
    |        `- error: could not build Objective-C module 'gd'
  9 |
 10 | // MARK: - Importable & Exportable Formatter
[7/11] Compiling SwiftGD Color.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "swiftgd_gd.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/gd/swiftgd_gd.h:1:10: error: 'gd.h' file not found
1 | #include <gd.h>
  |          `- error: 'gd.h' file not found
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGD/Format.swift:8:8: error: could not build Objective-C module 'gd'
  6 |
  7 | import Foundation
  8 | import gd
    |        `- error: could not build Objective-C module 'gd'
  9 |
 10 | // MARK: - Importable & Exportable Formatter
[8/11] Compiling SwiftGD Size.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "swiftgd_gd.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/gd/swiftgd_gd.h:1:10: error: 'gd.h' file not found
1 | #include <gd.h>
  |          `- error: 'gd.h' file not found
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGD/Format.swift:8:8: error: could not build Objective-C module 'gd'
  6 |
  7 | import Foundation
  8 | import gd
    |        `- error: could not build Objective-C module 'gd'
  9 |
 10 | // MARK: - Importable & Exportable Formatter
[9/11] Compiling SwiftGD Angle.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "swiftgd_gd.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/gd/swiftgd_gd.h:1:10: error: 'gd.h' file not found
1 | #include <gd.h>
  |          `- error: 'gd.h' file not found
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGD/Format.swift:8:8: error: could not build Objective-C module 'gd'
  6 |
  7 | import Foundation
  8 | import gd
    |        `- error: could not build Objective-C module 'gd'
  9 |
 10 | // MARK: - Importable & Exportable Formatter
[10/11] Compiling SwiftGD Image.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "swiftgd_gd.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/gd/swiftgd_gd.h:1:10: error: 'gd.h' file not found
1 | #include <gd.h>
  |          `- error: 'gd.h' file not found
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGD/Format.swift:8:8: error: could not build Objective-C module 'gd'
  6 |
  7 | import Foundation
  8 | import gd
    |        `- error: could not build Objective-C module 'gd'
  9 |
 10 | // MARK: - Importable & Exportable Formatter
[11/11] Compiling SwiftGD Rectangle.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "swiftgd_gd.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/gd/swiftgd_gd.h:1:10: error: 'gd.h' file not found
1 | #include <gd.h>
  |          `- error: 'gd.h' file not found
/Users/admin/builder/spi-builder-workspace/Sources/SwiftGD/Format.swift:8:8: error: could not build Objective-C module 'gd'
  6 |
  7 | import Foundation
  8 | import gd
    |        `- error: could not build Objective-C module 'gd'
  9 |
 10 | // MARK: - Importable & Exportable Formatter
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install gdlib using your system-packager:
    brew install gd
warning: you may be able to install gdlib using your system-packager:
    brew install gd
BUILD FAILURE 6.2 macosSpm