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.9 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.23.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/rhx/swiftgtk.git
Reference: 4.12.0
Cloned https://github.com/rhx/swiftgtk.git into spi-builder-workspace
SUCCESS checkout https://github.com/rhx/swiftgtk.git at 4.12.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/rhx/gir2swift.git
[1/5325] Fetching gir2swift
Fetched https://github.com/rhx/gir2swift.git (0.43s)
Fetching https://github.com/rhx/SwiftGraphene.git
[1/76] Fetching swiftgraphene
Fetched https://github.com/rhx/SwiftGraphene.git (0.23s)
Fetching https://github.com/rhx/SwiftAtk.git
[1/3939] Fetching swiftatk
Fetched https://github.com/rhx/SwiftAtk.git (1.05s)
Fetching https://github.com/rhx/SwiftGsk.git
[1/78] Fetching swiftgsk
Fetched https://github.com/rhx/SwiftGsk.git (0.28s)
Fetching https://github.com/rhx/SwiftLibXML.git
[1/306] Fetching swiftlibxml
Fetched https://github.com/rhx/SwiftLibXML.git (0.25s)
Fetching https://github.com/rhx/SwiftGObject.git
[1/6626] Fetching swiftgobject
Fetched https://github.com/rhx/SwiftGObject.git (3.15s)
Fetching https://github.com/rhx/SwiftGdk.git
[1/6041] Fetching swiftgdk
Fetched https://github.com/rhx/SwiftGdk.git (5.40s)
Fetching https://github.com/rhx/SwiftGLib.git
[1/8715] Fetching swiftglib
Fetched https://github.com/rhx/SwiftGLib.git (5.66s)
Fetching https://github.com/rhx/SwiftGdkPixbuf.git
[1/1632] Fetching swiftgdkpixbuf
Fetched https://github.com/rhx/SwiftGdkPixbuf.git (0.43s)
Fetching https://github.com/rhx/SwiftPangoCairo.git
[1/991] Fetching swiftpangocairo
Fetched https://github.com/rhx/SwiftPangoCairo.git (0.33s)
Fetching https://github.com/rhx/SwiftGIO.git
[1/21597] Fetching swiftgio
Fetched https://github.com/rhx/SwiftGIO.git (25.36s)
Fetching https://github.com/rhx/SwiftGModule.git
[1/998] Fetching swiftgmodule
Fetched https://github.com/rhx/SwiftGModule.git (0.28s)
Fetching https://github.com/rhx/SwiftCairo.git
[1/1769] Fetching swiftcairo
Fetched https://github.com/rhx/SwiftCairo.git (0.40s)
Fetching https://github.com/rhx/SwiftPango.git
[1/4048] Fetching swiftpango
Fetched https://github.com/rhx/SwiftPango.git (3.14s)
Fetching https://github.com/rhx/SwiftHarfBuzz.git
[1/133] Fetching swiftharfbuzz
Fetched https://github.com/rhx/SwiftHarfBuzz.git (0.23s)
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/apple/swift-docc-plugin
[1/1423] Fetching swift-docc-plugin
[1424/12342] Fetching swift-docc-plugin, swift-argument-parser
[3062/21102] Fetching swift-docc-plugin, swift-argument-parser, yams
Fetched https://github.com/apple/swift-argument-parser (0.93s)
[5103/10183] Fetching swift-docc-plugin, yams
Fetched https://github.com/apple/swift-docc-plugin (1.41s)
Fetched https://github.com/jpsim/Yams.git (1.44s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 4.0.6 (0.40s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (0.41s)
Fetching https://github.com/apple/swift-docc-symbolkit
[1/2178] Fetching swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit (0.39s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.42s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.2.3 (0.44s)
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/gir2swift.git
Working copy of https://github.com/rhx/gir2swift.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/SwiftGraphene.git
Working copy of https://github.com/rhx/SwiftGraphene.git resolved at main
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/rhx/SwiftGdkPixbuf.git
Working copy of https://github.com/rhx/SwiftGdkPixbuf.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/SwiftGModule.git
Working copy of https://github.com/rhx/SwiftGModule.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/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.2.3
Creating working copy for https://github.com/rhx/SwiftGdk.git
Working copy of https://github.com/rhx/SwiftGdk.git resolved at gtk4
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/SwiftGsk.git
Working copy of https://github.com/rhx/SwiftGsk.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
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/SwiftLibXML.git
Working copy of https://github.com/rhx/SwiftLibXML.git resolved at main
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/SwiftCairo.git
Working copy of https://github.com/rhx/SwiftCairo.git resolved at main
warning: prohibited flag(s): -pthread
warning: prohibited flag(s): -pthread
warning: prohibited flag(s): -pthread, -pthread, -pthread, -pthread
warning: prohibited flag(s): -pthread, -pthread
warning: you may be able to install gtk4 using your system-packager:
    apt-get install libgtk-4-dev libglib2.0-dev glib-networking gobject-introspection libgirepository1.0-dev
warning: you may be able to install gtk4 using your system-packager:
    apt-get install libgtk-4-dev libglib2.0-dev glib-networking gobject-introspection libgirepository1.0-dev
warning: you may be able to install graphene-gobject-1.0 using your system-packager:
    apt-get install libgraphene-1.0-dev gir1.2-graphene-1.0 libglib2.0-dev glib-networking gobject-introspection libgirepository1.0-dev
warning: you may be able to install gtk4-unix-print using your system-packager:
    apt-get install libgtk-4-dev libglib2.0-dev glib-networking gobject-introspection libgirepository1.0-dev
Building for debugging...
[0/13] Compiling writer.c
[1/13] Compiling reader.c
[2/13] Compiling parser.c
[3/13] Compiling api.c
[4/13] Compiling emitter.c
[5/22] Compiling scanner.c
[7/37] Emitting module ArgumentParserToolInfo
[8/37] Compiling ArgumentParserToolInfo ToolInfo.swift
[9/38] Compiling Yams Mark.swift
[10/38] Compiling Yams Node.Mapping.swift
[12/40] Wrapping AST for ArgumentParserToolInfo for debugging
[14/59] Compiling Yams YamlError.swift
[15/77] Compiling ArgumentParser Option.swift
[16/77] Compiling ArgumentParser OptionGroup.swift
[17/77] Compiling ArgumentParser AsyncParsableCommand.swift
[18/77] Compiling ArgumentParser CommandConfiguration.swift
[19/77] Compiling ArgumentParser EnumerableFlag.swift
[20/77] Compiling ArgumentParser ArgumentDefinition.swift
[21/77] Compiling ArgumentParser ArgumentSet.swift
[22/77] Compiling ArgumentParser CommandParser.swift
[23/77] Compiling ArgumentParser FishCompletionsGenerator.swift
[24/77] Compiling ArgumentParser ZshCompletionsGenerator.swift
[25/77] Emitting module Yams
[26/77] Compiling ArgumentParser BashCompletionsGenerator.swift
[27/77] Compiling ArgumentParser CompletionsGenerator.swift
[29/79] Emitting module SwiftLibXML
[30/79] Compiling SwiftLibXML EmptySequence.swift
[31/79] Compiling SwiftLibXML XMLNameSpace.swift
[33/79] Compiling SwiftLibXML XMLAttribute.swift
[34/79] Compiling SwiftLibXML XMLDocument.swift
[35/79] Compiling SwiftLibXML XMLPath.swift
[36/79] Compiling SwiftLibXML XMLElement.swift
[38/81] Wrapping AST for Yams for debugging
[39/81] Wrapping AST for SwiftLibXML for debugging
[41/81] Emitting module ArgumentParser
[46/86] Compiling ArgumentParser Argument.swift
[47/86] Compiling ArgumentParser ArgumentHelp.swift
[48/86] Compiling ArgumentParser ExpressibleByArgument.swift
[49/86] Compiling ArgumentParser ParsableArguments.swift
[50/86] Compiling ArgumentParser ParsableArgumentsValidation.swift
[51/86] Compiling ArgumentParser ParsableCommand.swift
[52/86] Compiling ArgumentParser ArgumentDecoder.swift
[53/86] Compiling ArgumentParser CollectionExtensions.swift
[54/86] Compiling ArgumentParser Platform.swift
[55/86] Compiling ArgumentParser SequenceExtensions.swift
[56/86] Compiling ArgumentParser StringExtensions.swift
[57/86] Compiling ArgumentParser Tree.swift
[61/86] Compiling ArgumentParser InputKey.swift
[62/86] Compiling ArgumentParser InputOrigin.swift
[68/86] Compiling ArgumentParser ArgumentVisibility.swift
[69/86] Compiling ArgumentParser CompletionKind.swift
[70/86] Compiling ArgumentParser Errors.swift
[71/86] Compiling ArgumentParser Flag.swift
[72/86] Compiling ArgumentParser NameSpecification.swift
[73/86] Compiling ArgumentParser Name.swift
[74/86] Compiling ArgumentParser Parsed.swift
[75/86] Compiling ArgumentParser ParsedValues.swift
[76/86] Compiling ArgumentParser ParserError.swift
[77/86] Compiling ArgumentParser SplitArguments.swift
[78/86] Compiling ArgumentParser DumpHelpGenerator.swift
[79/86] Compiling ArgumentParser HelpCommand.swift
[80/86] Compiling ArgumentParser HelpGenerator.swift
[81/86] Compiling ArgumentParser MessageInfo.swift
[82/86] Compiling ArgumentParser UsageGenerator.swift
[84/88] Wrapping AST for ArgumentParser for debugging
[86/129] Compiling libgir2swift Character+Utilities.swift
[87/129] Compiling libgir2swift Collection+Utilities.swift
[88/129] Compiling libgir2swift Streams.swift
[89/129] Compiling libgir2swift String+Substring.swift
[90/129] Compiling libgir2swift String+Utilities.swift
[91/134] Compiling libgir2swift GirEnumeration.swift
[92/134] Compiling libgir2swift GirField.swift
[93/134] Compiling libgir2swift GirFunction.swift
[94/134] Compiling libgir2swift GirInterface.swift
[95/134] Compiling libgir2swift GirMethod.swift
[96/134] Compiling libgir2swift GirProperty.swift
[97/134] Compiling libgir2swift GirBitfield.swift
[98/134] Compiling libgir2swift GirCType.swift
[99/134] Compiling libgir2swift GirCallback.swift
[100/134] Compiling libgir2swift GirClass.swift
[101/134] Compiling libgir2swift GirConstant.swift
[102/134] Compiling libgir2swift GirDatatype.swift
[103/134] Compiling libgir2swift GirRecord.swift
[104/134] Compiling libgir2swift GirSignal.swift
[105/134] Compiling libgir2swift GirThing.swift
[106/134] Compiling libgir2swift GirUnion.swift
[107/134] Compiling libgir2swift girtype+xml.swift
[108/134] Compiling libgir2swift Gir2Swift.swift
[109/134] Compiling libgir2swift GirType.swift
[110/134] Compiling libgir2swift TypeConversion.swift
[111/134] Compiling libgir2swift TypeReference.swift
[112/134] Compiling libgir2swift GirAlias.swift
[113/134] Compiling libgir2swift GirArgument.swift
[114/134] Compiling libgir2swift gtk2swiftdoc.swift
[115/134] Compiling libgir2swift ConversionContext.swift
[116/134] Compiling libgir2swift Gir+Enums.swift
[117/134] Compiling libgir2swift Gir+KnowTypeSets.swift
[118/134] Compiling libgir2swift Gir+KnownTypes.swift
[119/134] Compiling libgir2swift Gir.swift
[120/134] Emitting module libgir2swift
[121/134] Compiling libgir2swift System.swift
[122/134] Compiling libgir2swift XML+Utilities.swift
[123/134] Compiling libgir2swift generation.swift
[124/134] Compiling libgir2swift planning.swift
[125/134] Compiling libgir2swift postprocessing.swift
[126/134] Compiling libgir2swift CodeBuilder.swift
[127/134] Compiling libgir2swift c2swift.swift
[128/134] Compiling libgir2swift emit-class.swift
[129/134] Compiling libgir2swift emit-signals.swift
[130/134] Compiling libgir2swift gir+swift.swift
[131/134] Compiling libgir2swift girtypes+swift.swift
[133/136] Wrapping AST for libgir2swift for debugging
[135/138] Emitting module gir2swift
[136/138] Compiling gir2swift main.swift
[138/140] Wrapping AST for gir2swift for debugging
[139/140] Linking gir2swift
Build complete! (26.86s)
Building for debugging...
Build complete! (0.17s)
Building for debugging...
Build complete! (0.16s)
Building for debugging...
Build complete! (0.16s)
Building for debugging...
Build complete! (0.16s)
Building for debugging...
Build complete! (0.15s)
Building for debugging...
Build complete! (0.16s)
Building for debugging...
Build complete! (0.16s)
Building for debugging...
Build complete! (0.16s)
Building for debugging...
Build complete! (0.16s)
Building for debugging...
Build complete! (0.16s)
Building for debugging...
Build complete! (0.16s)
Building for debugging...
Build complete! (0.16s)
Building for debugging...
Build complete! (0.16s)
warning: prohibited flag(s): -pthread
warning: prohibited flag(s): -pthread
warning: prohibited flag(s): -pthread, -pthread, -pthread, -pthread
warning: prohibited flag(s): -pthread, -pthread
warning: you may be able to install gtk4 using your system-packager:
    apt-get install libgtk-4-dev libglib2.0-dev glib-networking gobject-introspection libgirepository1.0-dev
warning: you may be able to install gtk4 using your system-packager:
    apt-get install libgtk-4-dev libglib2.0-dev glib-networking gobject-introspection libgirepository1.0-dev
warning: you may be able to install graphene-gobject-1.0 using your system-packager:
    apt-get install libgraphene-1.0-dev gir1.2-graphene-1.0 libglib2.0-dev glib-networking gobject-introspection libgirepository1.0-dev
warning: you may be able to install gtk4-unix-print using your system-packager:
    apt-get install libgtk-4-dev libglib2.0-dev glib-networking gobject-introspection libgirepository1.0-dev
[1/1] Compiling plugin GenerateManual
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values
                switch dependency {
                ^
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
                switch dependency {
                ^
[2/2] Compiling plugin Swift-DocC
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values
                switch dependency {
                ^
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
                switch dependency {
                ^
[3/3] Compiling plugin Swift-DocC Preview
[4/4] Compiling plugin gir2swift-plugin
Building for debugging...
/host/spi-builder-workspace/Sources/GtkCHelpers/gtk_im_modules.c:7:10: fatal error: 'gtk/gtk.h' file not found
#include <gtk/gtk.h>
         ^~~~~~~~~~~
1 error generated.
[4/35] Compiling GtkCHelpers gtk_im_modules.c
[4/35] Compiling emitter.c
[4/35] Compiling parser.c
[4/35] Compiling api.c
[4/35] Compiling reader.c
Failed to load /host/spi-builder-workspace/gir2swift-manifest.yaml for  manifest:
    girNotFound(named: "Gtk-4.0.gir")
In file included from /host/spi-builder-workspace/Sources/GtkCHelpers/gtk_dialog.c:1:
/host/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/35] Compiling GtkCHelpers gtk_dialog.c
[4/35] Converting Gtk Gtk-4.0.gir
BUILD FAILURE 5.9 linux

Build Machine: Linux 2