The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftGD, reference main (ed65cf), with Swift 6.1 for macOS (SPM) on 14 Apr 2026 10:27:29 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.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 ed65cf5 Small rename for clarity.
Cloned https://github.com/twostraws/swiftgd.git
Revision (git rev-parse @):
ed65cf513453c1a046289e4d127a9697c81e02f3
SUCCESS checkout https://github.com/twostraws/swiftgd.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/twostraws/swiftgd.git
https://github.com/twostraws/swiftgd.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftGD",
  "name" : "SwiftGD",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftGD",
      "targets" : [
        "SwiftGD"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "gd",
      "module_type" : "SystemLibraryTarget",
      "name" : "gd",
      "path" : "Sources/gd",
      "product_memberships" : [
        "SwiftGD"
      ],
      "sources" : [
      ],
      "type" : "system-target"
    },
    {
      "c99name" : "SwiftGDTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftGDTests",
      "path" : "Tests/SwiftGDTests",
      "sources" : [
        "ImageTests.swift",
        "SwiftGDTests.swift"
      ],
      "target_dependencies" : [
        "SwiftGD"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftGD",
      "module_type" : "SwiftTarget",
      "name" : "SwiftGD",
      "path" : "Sources/SwiftGD",
      "product_memberships" : [
        "SwiftGD"
      ],
      "sources" : [
        "Color.swift",
        "Error.swift",
        "Format.swift",
        "Geometry/Angle.swift",
        "Geometry/Point.swift",
        "Geometry/Rectangle.swift",
        "Geometry/Size.swift",
        "Image.swift"
      ],
      "target_dependencies" : [
        "gd"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
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
[3/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
[4/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
[5/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
[6/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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/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
[8/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
[9/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
[10/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
[11/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
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
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
[2/10] 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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/10] 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
[4/10] 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
[5/10] 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
[6/10] 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
[7/10] 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
[8/10] 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
[9/10] 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
[10/10] 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
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.1 macosSpm