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 ComponentsKit, reference main (6f8cc9), with Swift 5.9 for Linux on 23 May 2025 16:41:59 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/componentskit/ComponentsKit.git
Reference: main
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/componentskit/ComponentsKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 6f8cc9f Merge pull request #94 from componentskit/dev
Cloned https://github.com/componentskit/ComponentsKit.git
Revision (git rev-parse @):
6f8cc9f6f1b489b2d5559771b0fe31c7849f0b22
SUCCESS checkout https://github.com/componentskit/ComponentsKit.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $PWD
https://github.com/componentskit/ComponentsKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:3c23ece1beca5e800bf06b435032bf1c62924d379eca6b5cec7cd50afe0368f1
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Fetching https://github.com/componentskit/AutoLayout
[1/29] Fetching autolayout
Fetched https://github.com/componentskit/AutoLayout (0.18s)
Computing version for https://github.com/componentskit/AutoLayout
Computed https://github.com/componentskit/AutoLayout at 1.0.0 (0.33s)
Creating working copy for https://github.com/componentskit/AutoLayout
Working copy of https://github.com/componentskit/AutoLayout resolved at 1.0.0
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/ComponentsKit/Resources/Assets.xcassets
Building for debugging...
[0/1] Copying PrivacyInfo.xcprivacy
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/6] Emitting module AutoLayout
/host/spi-builder-workspace/.build/checkouts/AutoLayout/Sources/AutoLayout/LayoutConstraints.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[3/6] Compiling AutoLayout LayoutConstraints.swift
/host/spi-builder-workspace/.build/checkouts/AutoLayout/Sources/AutoLayout/LayoutConstraints.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[4/6] Compiling AutoLayout LayoutConstraintsBuilder.swift
/host/spi-builder-workspace/.build/checkouts/AutoLayout/Sources/AutoLayout/LayoutConstraints.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[5/6] Compiling AutoLayout UIView+Layout.swift
/host/spi-builder-workspace/.build/checkouts/AutoLayout/Sources/AutoLayout/LayoutConstraints.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[6/6] Compiling AutoLayout LayoutConstraints+Helpers.swift
/host/spi-builder-workspace/.build/checkouts/AutoLayout/Sources/AutoLayout/LayoutConstraints.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
error: fatalError
BUILD FAILURE 5.9 linux