The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Tokamak with Swift 5.9 for macOS (SPM).

Build Command

env DEVELOPER_DIR="/Applications/Xcode-15.0.0-Beta.app" xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/TokamakUI/Tokamak.git
Reference: 0.11.1
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/TokamakUI/Tokamak
 * tag               0.11.1     -> FETCH_HEAD
HEAD is now at f1cbfcf [bug] Missing CoreGraphics import for Swift 5.7.1 / Xcode 14.1 (#528)
Cloned https://github.com/TokamakUI/Tokamak.git into spi-builder-workspace
f1cbfcf073e2675566b0e9aa337441357d40d88a
SUCCESS checkout https://github.com/TokamakUI/Tokamak.git at 0.11.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
env DEVELOPER_DIR="/Applications/Xcode-15.0.0-Beta.app" xcrun swift build --arch arm64
Building ... (attempt 1)
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git from cache
Fetching https://github.com/OpenCombine/OpenCombine.git from cache
Fetching https://github.com/apple/swift-argument-parser from cache
Fetching https://github.com/swiftwasm/OpenCombineJS.git from cache
Fetched https://github.com/apple/swift-argument-parser (0.28s)
Fetched https://github.com/OpenCombine/OpenCombine.git (0.29s)
Fetching https://github.com/google/swift-benchmark from cache
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git (0.29s)
Fetching https://github.com/swiftwasm/JavaScriptKit.git from cache
Fetched https://github.com/swiftwasm/OpenCombineJS.git (0.26s)
Fetched https://github.com/google/swift-benchmark (0.25s)
Fetched https://github.com/swiftwasm/JavaScriptKit.git (0.27s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.9.0 (0.06s)
Computing version for https://github.com/google/swift-benchmark
Computed https://github.com/google/swift-benchmark at 0.1.2 (0.53s)
Computing version for https://github.com/swiftwasm/OpenCombineJS.git
Computed https://github.com/swiftwasm/OpenCombineJS.git at 0.2.0 (0.50s)
Computing version for https://github.com/OpenCombine/OpenCombine.git
Computed https://github.com/OpenCombine/OpenCombine.git at 0.13.0 (0.08s)
Computing version for https://github.com/swiftwasm/JavaScriptKit.git
Computed https://github.com/swiftwasm/JavaScriptKit.git at 0.15.0 (0.53s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.1.2 (0.05s)
Creating working copy for https://github.com/OpenCombine/OpenCombine.git
Working copy of https://github.com/OpenCombine/OpenCombine.git resolved at 0.13.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.1.2
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at 1.9.0
Creating working copy for https://github.com/google/swift-benchmark
Working copy of https://github.com/google/swift-benchmark resolved at 0.1.2
Creating working copy for https://github.com/swiftwasm/OpenCombineJS.git
Working copy of https://github.com/swiftwasm/OpenCombineJS.git resolved at 0.2.0
Creating working copy for https://github.com/swiftwasm/JavaScriptKit.git
Working copy of https://github.com/swiftwasm/JavaScriptKit.git resolved at 0.15.0
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install gtk+-3.0 using your system-packager:
    brew install gtk+3
warning: you may be able to install gdk-3.0 using your system-packager:
    brew install gtk+3
Building for debugging...
[0/9] Copying logo-header.png
In file included from /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TokamakGTKCHelpers/type_check.c:1:
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TokamakGTKCHelpers/include/type_check.h:2:10: fatal error: 'gtk/gtk.h' file not found
#include <gtk/gtk.h>
         ^~~~~~~~~~~
1 error generated.
[2/13] Compiling TokamakGTKCHelpers type_check.c
[2/13] Compiling COpenCombineHelpers COpenCombineHelpers.cpp
[3/13] Emitting module ArgumentParserToolInfo
Retrying in 0 seconds ...
Building ... (attempt 2)
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install gdk-3.0 using your system-packager:
    brew install gtk+3
warning: you may be able to install gtk+-3.0 using your system-packager:
    brew install gtk+3
[0/1] Planning build
Building for debugging...
In file included from /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TokamakGTKCHelpers/type_check.c:1:
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/TokamakGTKCHelpers/include/type_check.h:2:10: fatal error: 'gtk/gtk.h' file not found
#include <gtk/gtk.h>
         ^~~~~~~~~~~
1 error generated.
[0/7] Compiling TokamakGTKCHelpers type_check.c
[0/7] Compiling COpenCombineHelpers COpenCombineHelpers.cpp
Retrying in 0 seconds ...
BUILD FAILURE 5.9 macosSpm