The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Silica, reference 2.0.1 (16f8c2), with Swift 6.3 for macOS (SPM) on 21 Apr 2026 18:27:34 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.4.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/pureswift/silica.git
Reference: 2.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/pureswift/silica
 * tag               2.0.1      -> FETCH_HEAD
HEAD is now at 16f8c29 Updated unit tests
Cloned https://github.com/pureswift/silica.git
Revision (git rev-parse @):
16f8c29153b2081f874bdd971a1228a6ec5c6cbf
SUCCESS checkout https://github.com/pureswift/silica.git at 2.0.1
Fetching https://github.com/PureSwift/Cairo.git
[1/3617] Fetching cairo
Fetched https://github.com/PureSwift/Cairo.git from cache (2.17s)
Fetching https://github.com/PureSwift/FontConfig.git
[1/123] Fetching fontconfig
Fetched https://github.com/PureSwift/FontConfig.git from cache (0.61s)
Creating working copy for https://github.com/PureSwift/Cairo.git
Working copy of https://github.com/PureSwift/Cairo.git resolved at master (646b210)
Creating working copy for https://github.com/PureSwift/FontConfig.git
Working copy of https://github.com/PureSwift/FontConfig.git resolved at master (02b7b62)
========================================
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": "silica",
      "name": "Silica",
      "url": "https://github.com/pureswift/silica.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/silica",
      "traits": [
        "default"
      ],
      "dependencies": [
        {
          "identity": "cairo",
          "name": "Cairo",
          "url": "https://github.com/PureSwift/Cairo.git",
          "version": "unspecified",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Cairo",
          "traits": [
            "default"
          ],
          "dependencies": [
            {
              "identity": "fontconfig",
              "name": "FontConfig",
              "url": "https://github.com/PureSwift/FontConfig.git",
              "version": "unspecified",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/FontConfig",
              "traits": [
                "default"
              ],
              "dependencies": [
              ]
            }
          ]
        },
        {
          "identity": "fontconfig",
          "name": "FontConfig",
          "url": "https://github.com/PureSwift/FontConfig.git",
          "version": "unspecified",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/FontConfig",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/pureswift/silica.git
[1/1250] Fetching silica
Fetched https://github.com/pureswift/silica.git from cache (0.85s)
Fetching https://github.com/PureSwift/Cairo.git from cache
Fetched https://github.com/PureSwift/Cairo.git from cache (0.42s)
Fetching https://github.com/PureSwift/FontConfig.git from cache
Fetched https://github.com/PureSwift/FontConfig.git from cache (0.46s)
Creating working copy for https://github.com/pureswift/silica.git
Working copy of https://github.com/pureswift/silica.git resolved at 2.0.1 (16f8c29)
Creating working copy for https://github.com/PureSwift/Cairo.git
Working copy of https://github.com/PureSwift/Cairo.git resolved at master (646b210)
Creating working copy for https://github.com/PureSwift/FontConfig.git
Working copy of https://github.com/PureSwift/FontConfig.git resolved at master (02b7b62)
warning: '.resolve-product-dependencies': dependency 'silica' is not used by any target
Found 2 product dependencies
  - Cairo
  - FontConfig
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/pureswift/silica.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version--6988338F2F200930.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/10] Emitting module FontConfig
<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/.build/checkouts/FontConfig/Sources/CFontConfig/shim.h:1:10: error: 'fontconfig/fontconfig.h' file not found
1 | #include <fontconfig/fontconfig.h>
  |          `- error: 'fontconfig/fontconfig.h' file not found
2 | #include <fontconfig/fcfreetype.h>
3 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FontConfig/Sources/FontConfig/FontConfig.swift:8:8: error: could not build Objective-C module 'CFontConfig'
 6 | //
 7 |
 8 | import CFontConfig
   |        `- error: could not build Objective-C module 'CFontConfig'
 9 |
10 | public final class FontConfiguration {
[6/10] Compiling FontConfig FontWeight.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/.build/checkouts/FontConfig/Sources/CFontConfig/shim.h:1:10: error: 'fontconfig/fontconfig.h' file not found
1 | #include <fontconfig/fontconfig.h>
  |          `- error: 'fontconfig/fontconfig.h' file not found
2 | #include <fontconfig/fcfreetype.h>
3 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FontConfig/Sources/FontConfig/FontConfig.swift:8:8: error: could not build Objective-C module 'CFontConfig'
 6 | //
 7 |
 8 | import CFontConfig
   |        `- error: could not build Objective-C module 'CFontConfig'
 9 |
10 | public final class FontConfiguration {
[7/10] Compiling FontConfig FontConfig.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/.build/checkouts/FontConfig/Sources/CFontConfig/shim.h:1:10: error: 'fontconfig/fontconfig.h' file not found
1 | #include <fontconfig/fontconfig.h>
  |          `- error: 'fontconfig/fontconfig.h' file not found
2 | #include <fontconfig/fcfreetype.h>
3 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FontConfig/Sources/FontConfig/FontConfig.swift:8:8: error: could not build Objective-C module 'CFontConfig'
 6 | //
 7 |
 8 | import CFontConfig
   |        `- error: could not build Objective-C module 'CFontConfig'
 9 |
10 | public final class FontConfiguration {
[8/10] Compiling FontConfig FontWidth.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/.build/checkouts/FontConfig/Sources/CFontConfig/shim.h:1:10: error: 'fontconfig/fontconfig.h' file not found
1 | #include <fontconfig/fontconfig.h>
  |          `- error: 'fontconfig/fontconfig.h' file not found
2 | #include <fontconfig/fcfreetype.h>
3 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FontConfig/Sources/FontConfig/FontConfig.swift:8:8: error: could not build Objective-C module 'CFontConfig'
 6 | //
 7 |
 8 | import CFontConfig
   |        `- error: could not build Objective-C module 'CFontConfig'
 9 |
10 | public final class FontConfiguration {
[9/10] Compiling FontConfig FontSlant.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/.build/checkouts/FontConfig/Sources/CFontConfig/shim.h:1:10: error: 'fontconfig/fontconfig.h' file not found
1 | #include <fontconfig/fontconfig.h>
  |          `- error: 'fontconfig/fontconfig.h' file not found
2 | #include <fontconfig/fcfreetype.h>
3 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FontConfig/Sources/FontConfig/FontConfig.swift:8:8: error: could not build Objective-C module 'CFontConfig'
 6 | //
 7 |
 8 | import CFontConfig
   |        `- error: could not build Objective-C module 'CFontConfig'
 9 |
10 | public final class FontConfiguration {
[10/10] Compiling FontConfig Pattern.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/.build/checkouts/FontConfig/Sources/CFontConfig/shim.h:1:10: error: 'fontconfig/fontconfig.h' file not found
1 | #include <fontconfig/fontconfig.h>
  |          `- error: 'fontconfig/fontconfig.h' file not found
2 | #include <fontconfig/fcfreetype.h>
3 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/FontConfig/Sources/FontConfig/FontConfig.swift:8:8: error: could not build Objective-C module 'CFontConfig'
 6 | //
 7 |
 8 | import CFontConfig
   |        `- error: could not build Objective-C module 'CFontConfig'
 9 |
10 | public final class FontConfiguration {
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install freetype using your system-packager:
    brew install freetype2
warning: you may be able to install cairo using your system-packager:
    brew install cairo
warning: you may be able to install fontconfig using your system-packager:
    brew install fontconfig
warning: you may be able to install freetype using your system-packager:
    brew install freetype2
warning: you may be able to install cairo using your system-packager:
    brew install cairo
warning: you may be able to install fontconfig using your system-packager:
    brew install fontconfig
BUILD FAILURE 6.3 macosSpm