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 SwiftyGFX, reference master (130c17), with Swift 6.1 for macOS (SPM) on 25 Apr 2025 01:36:48 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/3qax/swiftygfx.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/3qax/swiftygfx
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 130c172 Update README.md with link to SwiftyOLED
Cloned https://github.com/3qax/swiftygfx.git
Revision (git rev-parse @):
130c1722ce435396c9813176a568b6666540e8d8
SUCCESS checkout https://github.com/3qax/swiftygfx.git at master
========================================
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": "swiftygfx",
      "name": "SwiftyGFX",
      "url": "https://github.com/3qax/swiftygfx.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swiftygfx",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/3qax/swiftygfx.git
[5/227] Fetching swiftygfx
Fetched https://github.com/3qax/swiftygfx.git from cache (0.65s)
Creating working copy for https://github.com/3qax/swiftygfx.git
Working copy of https://github.com/3qax/swiftygfx.git resolved at master (130c172)
warning: '.resolve-product-dependencies': dependency 'swiftygfx' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/3qax/swiftygfx.git
https://github.com/3qax/swiftygfx.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftyGFX",
  "name" : "SwiftyGFX",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftyGFX",
      "targets" : [
        "SwiftyGFX"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftyGFXTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftyGFXTests",
      "path" : "Tests/SwiftyGFXTests",
      "sources" : [
        "SwiftyGFXTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "SwiftyGFX"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftyGFX",
      "module_type" : "SwiftTarget",
      "name" : "SwiftyGFX",
      "path" : "Sources/SwiftyGFX",
      "product_memberships" : [
        "SwiftyGFX"
      ],
      "sources" : [
        "SwiftyGFX.swift"
      ],
      "target_dependencies" : [
        "CFreeType"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CFreeType",
      "module_type" : "SystemLibraryTarget",
      "name" : "CFreeType",
      "path" : "Sources/CFreeType",
      "product_memberships" : [
        "SwiftyGFX"
      ],
      "sources" : [
      ],
      "type" : "system-target"
    }
  ],
  "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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module SwiftyGFX
<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/CFreeType/shim.h:1:10: error: 'ft2build.h' file not found
1 | #include <ft2build.h>
  |          `- error: 'ft2build.h' file not found
2 | #include FT_FREETYPE_H
3 | #include <freetype/freetype.h>
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyGFX/SwiftyGFX.swift:1:8: error: could not build Objective-C module 'CFreeType'
  1 | import CFreeType
    |        `- error: could not build Objective-C module 'CFreeType'
  2 | import Foundation
  3 | #if os(macOS) || os(iOS)
[4/4] Compiling SwiftyGFX SwiftyGFX.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/CFreeType/shim.h:1:10: error: 'ft2build.h' file not found
1 | #include <ft2build.h>
  |          `- error: 'ft2build.h' file not found
2 | #include FT_FREETYPE_H
3 | #include <freetype/freetype.h>
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyGFX/SwiftyGFX.swift:1:8: error: could not build Objective-C module 'CFreeType'
  1 | import CFreeType
    |        `- error: could not build Objective-C module 'CFreeType'
  2 | import Foundation
  3 | #if os(macOS) || os(iOS)
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install freetype2 using your system-packager:
    brew install freetype
warning: you may be able to install freetype2 using your system-packager:
    brew install freetype
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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] Emitting module SwiftyGFX
<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/CFreeType/shim.h:1:10: error: 'ft2build.h' file not found
1 | #include <ft2build.h>
  |          `- error: 'ft2build.h' file not found
2 | #include FT_FREETYPE_H
3 | #include <freetype/freetype.h>
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyGFX/SwiftyGFX.swift:1:8: error: could not build Objective-C module 'CFreeType'
  1 | import CFreeType
    |        `- error: could not build Objective-C module 'CFreeType'
  2 | import Foundation
  3 | #if os(macOS) || os(iOS)
[3/3] Compiling SwiftyGFX SwiftyGFX.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/CFreeType/shim.h:1:10: error: 'ft2build.h' file not found
1 | #include <ft2build.h>
  |          `- error: 'ft2build.h' file not found
2 | #include FT_FREETYPE_H
3 | #include <freetype/freetype.h>
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyGFX/SwiftyGFX.swift:1:8: error: could not build Objective-C module 'CFreeType'
  1 | import CFreeType
    |        `- error: could not build Objective-C module 'CFreeType'
  2 | import Foundation
  3 | #if os(macOS) || os(iOS)
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install freetype2 using your system-packager:
    brew install freetype
warning: you may be able to install freetype2 using your system-packager:
    brew install freetype
BUILD FAILURE 6.1 macosSpm