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

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.35.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rhx/swiftgtk.git
Reference: main
Initialized empty Git repository in /Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/rhx/swiftgtk
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at feed1e2 Update for gtk-4.14
Cloned https://github.com/rhx/swiftgtk.git
Revision (git rev-parse @):
feed1e245f181fc377a7095f1978a7db51b1ef31
SUCCESS checkout https://github.com/rhx/swiftgtk.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.8
Building package at path:  $workDir
https://github.com/rhx/swiftgtk.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin Swift-DocC Preview
[4/4] Compiling plugin gir2swift-plugin
Building for debugging...
In file included from /Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GtkCHelpers/gtk_dialog.c:1:
/Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GtkCHelpers/include/gtk_dialog.h:2:10: fatal error: 'gtk/gtk.h' file not found
#include <gtk/gtk.h>
         ^~~~~~~~~~~
1 error generated.
[4/33] Compiling GtkCHelpers gtk_dialog.c
[4/33] Compiling api.c
[4/33] Compiling reader.c
[4/33] Compiling scanner.c
[4/33] Compiling parser.c
[4/33] Compiling emitter.c
[4/33] Compiling writer.c
Fetching https://github.com/rhx/gir2swift.git from cache
Fetched https://github.com/rhx/gir2swift.git (0.19s)
Fetching https://github.com/rhx/SwiftAtk.git from cache
Fetched https://github.com/rhx/SwiftAtk.git (0.19s)
Fetching https://github.com/rhx/SwiftGdk.git from cache
Fetched https://github.com/rhx/SwiftGdk.git (0.16s)
Fetching https://github.com/rhx/SwiftLibXML.git from cache
Fetched https://github.com/rhx/SwiftLibXML.git (0.14s)
Fetching https://github.com/rhx/SwiftGObject.git from cache
Fetched https://github.com/rhx/SwiftGObject.git (0.20s)
Fetching https://github.com/rhx/SwiftGdkPixbuf.git from cache
Fetched https://github.com/rhx/SwiftGdkPixbuf.git (11.27s)
Fetching https://github.com/rhx/SwiftPangoCairo.git from cache
Fetched https://github.com/rhx/SwiftPangoCairo.git (0.14s)
Fetching https://github.com/rhx/SwiftGLib.git from cache
Fetched https://github.com/rhx/SwiftGLib.git (0.22s)
Fetching https://github.com/rhx/SwiftGIO.git from cache
Fetched https://github.com/rhx/SwiftGIO.git (0.16s)
Fetching https://github.com/rhx/SwiftGModule.git from cache
Fetched https://github.com/rhx/SwiftGModule.git (0.18s)
Fetching https://github.com/rhx/SwiftCairo.git from cache
Fetched https://github.com/rhx/SwiftCairo.git (0.15s)
Fetching https://github.com/rhx/SwiftPango.git from cache
Fetched https://github.com/rhx/SwiftPango.git (0.14s)
Fetching https://github.com/rhx/SwiftHarfBuzz.git from cache
Fetched https://github.com/rhx/SwiftHarfBuzz.git (0.15s)
Fetching https://github.com/apple/swift-argument-parser from cache
Fetching https://github.com/apple/swift-docc-plugin from cache
Fetching https://github.com/jpsim/Yams.git from cache
Fetched https://github.com/apple/swift-docc-plugin (0.50s)
Fetched https://github.com/jpsim/Yams.git (0.56s)
Fetched https://github.com/apple/swift-argument-parser (0.80s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 4.0.6 (0.03s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (0.02s)
Fetching https://github.com/apple/swift-docc-symbolkit from cache
Fetched https://github.com/apple/swift-docc-symbolkit (0.99s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.02s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.3.1 (0.02s)
Creating working copy for https://github.com/rhx/SwiftAtk.git
Working copy of https://github.com/rhx/SwiftAtk.git resolved at main
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/rhx/SwiftGModule.git
Working copy of https://github.com/rhx/SwiftGModule.git resolved at main
Creating working copy for https://github.com/rhx/SwiftGdkPixbuf.git
Working copy of https://github.com/rhx/SwiftGdkPixbuf.git resolved at main
Creating working copy for https://github.com/rhx/SwiftGObject.git
Working copy of https://github.com/rhx/SwiftGObject.git resolved at main
Creating working copy for https://github.com/rhx/SwiftCairo.git
Working copy of https://github.com/rhx/SwiftCairo.git resolved at main
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.3.0
Creating working copy for https://github.com/rhx/SwiftGIO.git
Working copy of https://github.com/rhx/SwiftGIO.git resolved at main
Creating working copy for https://github.com/rhx/SwiftGLib.git
Working copy of https://github.com/rhx/SwiftGLib.git resolved at main
Creating working copy for https://github.com/rhx/SwiftLibXML.git
Working copy of https://github.com/rhx/SwiftLibXML.git resolved at main
Creating working copy for https://github.com/rhx/gir2swift.git
Working copy of https://github.com/rhx/gir2swift.git resolved at main
Creating working copy for https://github.com/rhx/SwiftGdk.git
Working copy of https://github.com/rhx/SwiftGdk.git resolved at main
Creating working copy for https://github.com/rhx/SwiftPango.git
Working copy of https://github.com/rhx/SwiftPango.git resolved at main
Creating working copy for https://github.com/rhx/SwiftHarfBuzz.git
Working copy of https://github.com/rhx/SwiftHarfBuzz.git resolved at main
Creating working copy for https://github.com/rhx/SwiftPangoCairo.git
Working copy of https://github.com/rhx/SwiftPangoCairo.git resolved at main
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 4.0.6
warning: you may be able to install atk using your system-packager:
    brew install atk glib glib-networking gobject-introspection
warning: you may be able to install harfbuzz-gobject using your system-packager:
    brew install harfbuzz glib glib-networking gobject-introspection
warning: you may be able to install pango using your system-packager:
    brew install pango glib glib-networking gobject-introspection
warning: you may be able to install cairo using your system-packager:
    brew install cairo glib glib-networking gobject-introspection
warning: you may be able to install pangocairo using your system-packager:
    brew install pango glib glib-networking gobject-introspection
warning: you may be able to install gio-unix-2.0 using your system-packager:
    brew install glib glib-networking gobject-introspection
warning: you may be able to install gdk-pixbuf-2.0 using your system-packager:
    brew install gdk-pixbuf glib glib-networking gobject-introspection
warning: you may be able to install gdk-3.0 using your system-packager:
    brew install gtk+3 glib glib-networking gobject-introspection
warning: you may be able to install gtk+-3.0 using your system-packager:
    brew install gtk+3 glib glib-networking gobject-introspection
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin Swift-DocC Preview
[4/4] Compiling plugin gir2swift-plugin
Building for debugging...
In file included from /Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GtkCHelpers/gtk_dialog.c:1:
/Users/builder/builds/o86TiJKT/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/GtkCHelpers/include/gtk_dialog.h:2:10: fatal error: 'gtk/gtk.h' file not found
#include <gtk/gtk.h>
         ^~~~~~~~~~~
1 error generated.
[4/26] Compiling GtkCHelpers gtk_dialog.c
[4/26] Compiling writer.c
[4/26] Compiling api.c
[4/26] Compiling parser.c
[4/26] Compiling emitter.c
[4/26] Compiling scanner.c
[4/26] Compiling reader.c
warning: you may be able to install atk using your system-packager:
    brew install atk glib glib-networking gobject-introspection
warning: you may be able to install harfbuzz-gobject using your system-packager:
    brew install harfbuzz glib glib-networking gobject-introspection
warning: you may be able to install pango using your system-packager:
    brew install pango glib glib-networking gobject-introspection
warning: you may be able to install cairo using your system-packager:
    brew install cairo glib glib-networking gobject-introspection
warning: you may be able to install pangocairo using your system-packager:
    brew install pango glib glib-networking gobject-introspection
warning: you may be able to install gio-unix-2.0 using your system-packager:
    brew install glib glib-networking gobject-introspection
warning: you may be able to install gdk-pixbuf-2.0 using your system-packager:
    brew install gdk-pixbuf glib glib-networking gobject-introspection
warning: you may be able to install gdk-3.0 using your system-packager:
    brew install gtk+3 glib glib-networking gobject-introspection
warning: you may be able to install gtk+-3.0 using your system-packager:
    brew install gtk+3 glib glib-networking gobject-introspection
BUILD FAILURE 5.8 macosSpm

Build Machine: Mac 5