The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build FontConfig, reference master (02b7b6), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 03:41:38 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/PureSwift/FontConfig.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/PureSwift/FontConfig
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 02b7b62 Add GitHub CI
Cloned https://github.com/PureSwift/FontConfig.git
Revision (git rev-parse @):
02b7b628cfff1406731dde5e912e020f0f6f00c1
SUCCESS checkout https://github.com/PureSwift/FontConfig.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/PureSwift/FontConfig.git
https://github.com/PureSwift/FontConfig.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "FontConfig",
  "name" : "FontConfig",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "FontConfig",
      "targets" : [
        "FontConfig"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FontConfigTests",
      "module_type" : "SwiftTarget",
      "name" : "FontConfigTests",
      "path" : "Tests/FontConfigTests",
      "sources" : [
        "FontConfigTests.swift"
      ],
      "target_dependencies" : [
        "FontConfig"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FontConfig",
      "module_type" : "SwiftTarget",
      "name" : "FontConfig",
      "path" : "Sources/FontConfig",
      "product_memberships" : [
        "FontConfig"
      ],
      "sources" : [
        "FontConfig.swift",
        "FontSlant.swift",
        "FontWeight.swift",
        "FontWidth.swift",
        "Pattern.swift"
      ],
      "target_dependencies" : [
        "CFontConfig"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CFontConfig",
      "module_type" : "SystemLibraryTarget",
      "name" : "CFontConfig",
      "path" : "Sources/CFontConfig",
      "product_memberships" : [
        "FontConfig"
      ],
      "sources" : [
      ],
      "type" : "system-target"
    }
  ],
  "tools_version" : "6.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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/8] 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/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/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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/8] 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/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/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/8] 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/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/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/8] 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/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/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/8] 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/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/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/8] 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/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/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 fontconfig using your system-packager:
    brew install fontconfig
warning: you may be able to install fontconfig using your system-packager:
    brew install fontconfig
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/7] 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/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/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 {
[3/7] 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/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/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 {
[4/7] 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/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/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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/7] 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/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/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/7] 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/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/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/7] 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/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/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 fontconfig using your system-packager:
    brew install fontconfig
warning: you may be able to install fontconfig using your system-packager:
    brew install fontconfig
BUILD FAILURE 6.1 macosSpm