This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 with Swift 6.0 for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/3qax/swiftygfx.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.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
BUILD FAILURE 6.0 macosSpm
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.