The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Gtk, reference 4.16.0 (3cd5ce), with Swift 6.0 for macOS (SPM) on 11 Mar 2025 10:16:35 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rhx/swiftgtk.git
Reference: 4.16.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/rhx/swiftgtk
 * tag               4.16.0     -> FETCH_HEAD
HEAD is now at 3cd5ce0 Update for glib-2.82 and gtk-4.16
Cloned https://github.com/rhx/swiftgtk.git
Revision (git rev-parse @):
3cd5ce0c3a7c04375d8a52ba0d34d6da29b07164
SUCCESS checkout https://github.com/rhx/swiftgtk.git at 4.16.0
Fetching https://github.com/rhx/gir2swift.git
[1/5539] Fetching gir2swift
Fetched https://github.com/rhx/gir2swift.git from cache (1.10s)
Fetching https://github.com/rhx/SwiftGraphene.git
[1/80] Fetching swiftgraphene
Fetched https://github.com/rhx/SwiftGraphene.git from cache (0.68s)
Fetching https://github.com/rhx/SwiftAtk.git
[1/3941] Fetching swiftatk
Fetched https://github.com/rhx/SwiftAtk.git from cache (3.15s)
Fetching https://github.com/rhx/SwiftGsk.git
[1/94] Fetching swiftgsk
Fetched https://github.com/rhx/SwiftGsk.git from cache (0.68s)
Fetching https://github.com/rhx/SwiftLibXML.git
[1/306] Fetching swiftlibxml
Fetched https://github.com/rhx/SwiftLibXML.git from cache (0.77s)
Fetching https://github.com/rhx/SwiftGObject.git
[1/11714] Fetching swiftgobject
Fetched https://github.com/rhx/SwiftGObject.git from cache (28.14s)
Fetching https://github.com/rhx/SwiftGdk.git
[1/6082] Fetching swiftgdk
Fetched https://github.com/rhx/SwiftGdk.git from cache (2.20s)
Fetching https://github.com/rhx/SwiftGLib.git
[1/21669] Fetching swiftglib
Fetched https://github.com/rhx/SwiftGLib.git from cache (11.30s)
error: gir2swift is required using two different revision-based requirements (main and development), which is not supported
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/rhx/swiftgtk.git
https://github.com/rhx/swiftgtk.git
{
  "dependencies" : [
    {
      "identity" : "gir2swift",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/rhx/gir2swift.git"
    },
    {
      "identity" : "swiftgraphene",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/rhx/SwiftGraphene.git"
    },
    {
      "identity" : "swiftatk",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/rhx/SwiftAtk.git"
    },
    {
      "identity" : "swiftgsk",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/rhx/SwiftGsk.git"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "Gtk",
  "name" : "Gtk",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Gtk",
      "targets" : [
        "Gtk"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "GtkTests",
      "module_type" : "SwiftTarget",
      "name" : "GtkTests",
      "path" : "Tests/GtkTests",
      "sources" : [
        "GtkTests.swift"
      ],
      "target_dependencies" : [
        "Gtk"
      ],
      "type" : "test"
    },
    {
      "c99name" : "GtkCHelpers",
      "module_type" : "ClangTarget",
      "name" : "GtkCHelpers",
      "path" : "Sources/GtkCHelpers",
      "product_memberships" : [
        "Gtk"
      ],
      "sources" : [
        "gtk_dialog.c",
        "gtk_im_modules.c"
      ],
      "target_dependencies" : [
        "CGtk"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Gtk",
      "module_type" : "SwiftTarget",
      "name" : "Gtk",
      "path" : "Sources/Gtk",
      "product_dependencies" : [
        "gir2swift",
        "Graphene",
        "Atk",
        "Gsk",
        "gir2swift-plugin"
      ],
      "product_memberships" : [
        "Gtk"
      ],
      "sources" : [
        "App.swift",
        "Box.swift",
        "CSSProvider.swift",
        "CheckButton.swift",
        "Dialog.swift",
        "DrawingArea.swift",
        "FileChooser.swift",
        "FileChooserNative.swift",
        "GtkTypeAliases.swift",
        "Label.swift",
        "ListStore.swift",
        "MessageDialog.swift",
        "SwiftGtk.swift",
        "Text.swift",
        "TreeStore.swift",
        "Widget.swift",
        "Window.swift"
      ],
      "target_dependencies" : [
        "GtkCHelpers"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CGtk",
      "module_type" : "SystemLibraryTarget",
      "name" : "CGtk",
      "path" : "Sources/CGtk",
      "product_memberships" : [
        "Gtk"
      ],
      "sources" : [
      ],
      "type" : "system-target"
    }
  ],
  "tools_version" : "5.6"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.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
Updating https://github.com/rhx/gir2swift.git
Updated https://github.com/rhx/gir2swift.git (0.47s)
Updating https://github.com/rhx/SwiftGraphene.git
Updated https://github.com/rhx/SwiftGraphene.git (0.51s)
Updating https://github.com/rhx/SwiftAtk.git
Updated https://github.com/rhx/SwiftAtk.git (0.49s)
Updating https://github.com/rhx/SwiftGsk.git
Updated https://github.com/rhx/SwiftGsk.git (0.47s)
Updating https://github.com/rhx/SwiftLibXML.git
Updated https://github.com/rhx/SwiftLibXML.git (0.44s)
Updating https://github.com/rhx/SwiftGObject.git
Updated https://github.com/rhx/SwiftGObject.git (0.50s)
Updating https://github.com/rhx/SwiftGdk.git
Updated https://github.com/rhx/SwiftGdk.git (0.46s)
Updating https://github.com/rhx/SwiftGLib.git
Updated https://github.com/rhx/SwiftGLib.git (0.49s)
error: gir2swift is required using two different revision-based requirements (main and development), which is not supported
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Updating https://github.com/rhx/gir2swift.git
Updated https://github.com/rhx/gir2swift.git (0.48s)
Updating https://github.com/rhx/SwiftGraphene.git
Updated https://github.com/rhx/SwiftGraphene.git (0.45s)
Updating https://github.com/rhx/SwiftAtk.git
Updated https://github.com/rhx/SwiftAtk.git (0.47s)
Updating https://github.com/rhx/SwiftGsk.git
Updated https://github.com/rhx/SwiftGsk.git (0.47s)
Updating https://github.com/rhx/SwiftLibXML.git
Updated https://github.com/rhx/SwiftLibXML.git (0.48s)
Updating https://github.com/rhx/SwiftGObject.git
Updated https://github.com/rhx/SwiftGObject.git (0.52s)
Updating https://github.com/rhx/SwiftGdk.git
Updated https://github.com/rhx/SwiftGdk.git (0.51s)
Updating https://github.com/rhx/SwiftGLib.git
Updated https://github.com/rhx/SwiftGLib.git (0.54s)
error: gir2swift is required using two different revision-based requirements (main and development), which is not supported
BUILD FAILURE 6.0 macosSpm