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 swift-cross-ui, reference v0.1.0 (2f09b6), with Swift 6.1 for Linux on 26 Apr 2025 11:11:07 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/stackotter/swift-cross-ui.git
Reference: v0.1.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/stackotter/swift-cross-ui
 * tag               v0.1.0     -> FETCH_HEAD
HEAD is now at 2f09b62 Remove accidental usage of if-expressions (GitHub Actions aren't using Swift 5.9)
Cloned https://github.com/stackotter/swift-cross-ui.git
Revision (git rev-parse @):
2f09b62b487e720fdbad6c425a605ded457b1b19
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/stackotter/swift-cross-ui.git at v0.1.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/stackotter/swift-cross-ui.git
https://github.com/stackotter/swift-cross-ui.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "xmlcoder",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.17.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/CoreOffice/XMLCoder"
    },
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "508.0.0",
            "upper_bound" : "509.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-syntax.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" : "swift-cross-ui",
  "name" : "swift-cross-ui",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "SwiftCrossUI",
      "targets" : [
        "SwiftCrossUI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "CounterExample",
      "targets" : [
        "CounterExample"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "RandomNumberGeneratorExample",
      "targets" : [
        "RandomNumberGeneratorExample"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "WindowPropertiesExample",
      "targets" : [
        "WindowPropertiesExample"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "GreetingGeneratorExample",
      "targets" : [
        "GreetingGeneratorExample"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "FileViewerExample",
      "targets" : [
        "FileViewerExample"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "NavigationExample",
      "targets" : [
        "NavigationExample"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "SplitExample",
      "targets" : [
        "SplitExample"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "SpreadsheetExample",
      "targets" : [
        "SpreadsheetExample"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "WindowPropertiesExample",
      "module_type" : "SwiftTarget",
      "name" : "WindowPropertiesExample",
      "path" : "Examples/WindowProperties",
      "product_dependencies" : [
        "GtkBackend"
      ],
      "product_memberships" : [
        "WindowPropertiesExample"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Examples/WindowProperties/Banner.png",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "WindowPropertiesApp.swift"
      ],
      "target_dependencies" : [
        "SwiftCrossUI"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SwiftCrossUITests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftCrossUITests",
      "path" : "Tests/SwiftCrossUITests",
      "sources" : [
        "SwiftCrossUITests.swift"
      ],
      "target_dependencies" : [
        "SwiftCrossUI"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftCrossUI",
      "module_type" : "SwiftTarget",
      "name" : "SwiftCrossUI",
      "path" : "Sources/SwiftCrossUI",
      "product_memberships" : [
        "SwiftCrossUI",
        "CounterExample",
        "RandomNumberGeneratorExample",
        "WindowPropertiesExample",
        "GreetingGeneratorExample",
        "FileViewerExample",
        "NavigationExample",
        "SplitExample",
        "SpreadsheetExample"
      ],
      "sources" : [
        "App.swift",
        "Backend/AnyWidget.swift",
        "Backend/AppBackend.swift",
        "Builders/TableBuilder.swift",
        "Builders/ViewContentBuilder.swift",
        "Color.swift",
        "Modifiers/ForegroundColor.swift",
        "Modifiers/Frame.swift",
        "Modifiers/Padding.swift",
        "State/AppState.swift",
        "State/Binding.swift",
        "State/Cancellable.swift",
        "State/EmptyAppState.swift",
        "State/EmptyState.swift",
        "State/EmptyViewState.swift",
        "State/Observable.swift",
        "State/Observed.swift",
        "State/Publisher.swift",
        "State/ViewState.swift",
        "Util/LinkedList.swift",
        "Values/Edge.swift",
        "ViewGraph/AnyViewGraphNode.swift",
        "ViewGraph/ViewGraph.swift",
        "ViewGraph/ViewGraphNode.swift",
        "ViewGraph/ViewGraphNodeChildren.swift",
        "Views/Button.swift",
        "Views/EitherView.swift",
        "Views/ForEach.swift",
        "Views/HStack.swift",
        "Views/Image.swift",
        "Views/NavigationLink.swift",
        "Views/NavigationPath.swift",
        "Views/NavigationSplitView.swift",
        "Views/NavigationStack.swift",
        "Views/OptionalView.swift",
        "Views/Picker.swift",
        "Views/ScrollView.swift",
        "Views/Slider.swift",
        "Views/Spacer.swift",
        "Views/Table.swift",
        "Views/TableColumn.swift",
        "Views/Text.swift",
        "Views/TextField.swift",
        "Views/VStack.swift",
        "Views/View.swift",
        "Views/ViewContent.swift",
        "WindowProperties.swift",
        "_App.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SpreadsheetExample",
      "module_type" : "SwiftTarget",
      "name" : "SpreadsheetExample",
      "path" : "Examples/Spreadsheet",
      "product_dependencies" : [
        "GtkBackend"
      ],
      "product_memberships" : [
        "SpreadsheetExample"
      ],
      "sources" : [
        "SpreadsheetApp.swift"
      ],
      "target_dependencies" : [
        "SwiftCrossUI"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SplitExample",
      "module_type" : "SwiftTarget",
      "name" : "SplitExample",
      "path" : "Examples/Split",
      "product_dependencies" : [
        "GtkBackend"
      ],
      "product_memberships" : [
        "SplitExample"
      ],
      "sources" : [
        "SplitApp.swift"
      ],
      "target_dependencies" : [
        "SwiftCrossUI"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "RandomNumberGeneratorExample",
      "module_type" : "SwiftTarget",
      "name" : "RandomNumberGeneratorExample",
      "path" : "Examples/RandomNumberGenerator",
      "product_dependencies" : [
        "GtkBackend"
      ],
      "product_memberships" : [
        "RandomNumberGeneratorExample"
      ],
      "sources" : [
        "RandomNumberGeneratorApp.swift"
      ],
      "target_dependencies" : [
        "SwiftCrossUI"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "NavigationExample",
      "module_type" : "SwiftTarget",
      "name" : "NavigationExample",
      "path" : "Examples/Navigation",
      "product_dependencies" : [
        "GtkBackend"
      ],
      "product_memberships" : [
        "NavigationExample"
      ],
      "sources" : [
        "NavigationApp.swift"
      ],
      "target_dependencies" : [
        "SwiftCrossUI"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "GreetingGeneratorExample",
      "module_type" : "SwiftTarget",
      "name" : "GreetingGeneratorExample",
      "path" : "Examples/GreetingGenerator",
      "product_dependencies" : [
        "GtkBackend"
      ],
      "product_memberships" : [
        "GreetingGeneratorExample"
      ],
      "sources" : [
        "GreetingGenerator.swift"
      ],
      "target_dependencies" : [
        "SwiftCrossUI"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "FileViewerExample",
      "module_type" : "SwiftTarget",
      "name" : "FileViewerExample",
      "path" : "Examples/FileViewer",
      "product_dependencies" : [
        "GtkBackend",
        "CGtk"
      ],
      "product_memberships" : [
        "FileViewerExample"
      ],
      "sources" : [
        "FileViewerApp.swift"
      ],
      "target_dependencies" : [
        "SwiftCrossUI"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "CounterExample",
      "module_type" : "SwiftTarget",
      "name" : "CounterExample",
      "path" : "Examples/Counter",
      "product_dependencies" : [
        "GtkBackend"
      ],
      "product_memberships" : [
        "CounterExample"
      ],
      "sources" : [
        "CounterApp.swift"
      ],
      "target_dependencies" : [
        "SwiftCrossUI"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.5"
}
warning: 'spi-builder-workspace': Failed to get gtk version
/bin/bash: line 1: gtk4-launch: command not found
/bin/bash: line 1: qmake: command not found
/bin/bash: line 1: sdl2-config: command not found
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
warning: 'spi-builder-workspace': Failed to get gtk version
/bin/bash: line 1: gtk4-launch: command not found
/bin/bash: line 1: qmake: command not found
/bin/bash: line 1: sdl2-config: command not found
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/CoreOffice/XMLCoder
[1/10011] Fetching xmlcoder
[2/12060] Fetching xmlcoder, swift-docc-plugin
Fetched https://github.com/CoreOffice/XMLCoder from cache (0.62s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.62s)
[1/70232] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (4.63s)
Computing version for https://github.com/CoreOffice/XMLCoder
Computed https://github.com/CoreOffice/XMLCoder at 0.17.1 (5.22s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 508.0.1 (0.66s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (0.57s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3375] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.37s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.97s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 508.0.1
Creating working copy for https://github.com/CoreOffice/XMLCoder
Working copy of https://github.com/CoreOffice/XMLCoder resolved at 0.17.1
error: 'spi-builder-workspace': product 'GtkBackend' required by package 'spi-builder-workspace' target 'WindowPropertiesExample' not found.
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
warning: 'spi-builder-workspace': Failed to get gtk version
/bin/bash: line 1: gtk4-launch: command not found
/bin/bash: line 1: qmake: command not found
/bin/bash: line 1: sdl2-config: command not found
error: 'spi-builder-workspace': product 'GtkBackend' required by package 'spi-builder-workspace' target 'WindowPropertiesExample' not found.
BUILD FAILURE 6.1 linux