The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Cairo, reference master (646b21), with Swift 6.3 for macOS (SPM) on 15 Apr 2026 11:37:49 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/cairo.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/pureswift/cairo
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 646b210 Updated dependencies
Cloned https://github.com/pureswift/cairo.git
Revision (git rev-parse @):
646b2104cf9d2b7b111bad1cd17a3fd27d77b5b4
SUCCESS checkout https://github.com/pureswift/cairo.git at master
Fetching https://github.com/PureSwift/FontConfig.git
[1/123] Fetching fontconfig
Fetched https://github.com/PureSwift/FontConfig.git from cache (0.65s)
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": "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": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/pureswift/cairo.git
[1/3617] Fetching cairo
Fetched https://github.com/pureswift/cairo.git from cache (2.10s)
Fetching https://github.com/PureSwift/FontConfig.git from cache
Fetched https://github.com/PureSwift/FontConfig.git from cache (0.47s)
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 'cairo' is not used by any target
Found 1 product dependencies
  - FontConfig
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/pureswift/cairo.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--6988338F2F200930.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/9] 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 {
[5/9] 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 {
[6/9] 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/9] 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 {
[8/9] 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 {
[9/9] 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 {
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install cairo using your system-packager:
    brew install cairo
warning: you may be able to install freetype using your system-packager:
    brew install freetype2
warning: you may be able to install fontconfig using your system-packager:
    brew install fontconfig
warning: you may be able to install cairo using your system-packager:
    brew install cairo
warning: you may be able to install freetype using your system-packager:
    brew install freetype2
warning: you may be able to install fontconfig using your system-packager:
    brew install fontconfig
BUILD FAILURE 6.3 macosSpm