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 ViewKit, reference develop (27c1ed), with Swift 5.10 for Linux on 3 Nov 2024 18:03:58 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/lucaswkuipers/ViewKit.git
Reference: develop
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/lucaswkuipers/ViewKit
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at 27c1eda Update README.md
Cloned https://github.com/lucaswkuipers/ViewKit.git
Revision (git rev-parse @):
27c1eda073f5b439b027926b8cfd36337127c401
SUCCESS checkout https://github.com/lucaswkuipers/ViewKit.git at develop
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/lucaswkuipers/ViewKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:bbf8567030a4fa53b55a34fff1a818ffa3e86e892fedc5d8aa9c6958f48fdf8a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/22] Emitting module ViewKit
/host/spi-builder-workspace/Sources/ViewKit/Internal/@_exported.swift:1:19: error: no such module 'UIKit'
@_exported import UIKit
                  ^
[4/24] Compiling ViewKit @_exported.swift
/host/spi-builder-workspace/Sources/ViewKit/Internal/@_exported.swift:1:19: error: no such module 'UIKit'
@_exported import UIKit
                  ^
[5/24] Compiling ViewKit ClosureTapGestureRecognizer.swift
/host/spi-builder-workspace/Sources/ViewKit/Internal/@_exported.swift:1:19: error: no such module 'UIKit'
@_exported import UIKit
                  ^
[6/24] Compiling ViewKit Filler.swift
/host/spi-builder-workspace/Sources/ViewKit/Internal/@_exported.swift:1:19: error: no such module 'UIKit'
@_exported import UIKit
                  ^
[7/24] Compiling ViewKit For.swift
/host/spi-builder-workspace/Sources/ViewKit/Internal/@_exported.swift:1:19: error: no such module 'UIKit'
@_exported import UIKit
                  ^
[8/24] Compiling ViewKit HorizontalStack.swift
/host/spi-builder-workspace/Sources/ViewKit/Internal/@_exported.swift:1:19: error: no such module 'UIKit'
@_exported import UIKit
                  ^
[9/24] Compiling ViewKit UILabel+extensions.swift
/host/spi-builder-workspace/Sources/ViewKit/Internal/@_exported.swift:1:19: error: no such module 'UIKit'
@_exported import UIKit
                  ^
[10/24] Compiling ViewKit UIScene+extensions.swift
/host/spi-builder-workspace/Sources/ViewKit/Internal/@_exported.swift:1:19: error: no such module 'UIKit'
@_exported import UIKit
                  ^
[11/24] Compiling ViewKit UIStackView+extensions.swift
/host/spi-builder-workspace/Sources/ViewKit/Internal/@_exported.swift:1:19: error: no such module 'UIKit'
@_exported import UIKit
                  ^
[12/24] Compiling ViewKit UIButton+extensions.swift
/host/spi-builder-workspace/Sources/ViewKit/Internal/@_exported.swift:1:19: error: no such module 'UIKit'
@_exported import UIKit
                  ^
[13/24] Compiling ViewKit UIControl+extensions.swift
/host/spi-builder-workspace/Sources/ViewKit/Internal/@_exported.swift:1:19: error: no such module 'UIKit'
@_exported import UIKit
                  ^
[14/24] Compiling ViewKit UIImageView+extensions.swift
/host/spi-builder-workspace/Sources/ViewKit/Internal/@_exported.swift:1:19: error: no such module 'UIKit'
@_exported import UIKit
                  ^
[15/24] Compiling ViewKit ProgrammaticView.swift
/host/spi-builder-workspace/Sources/ViewKit/Internal/@_exported.swift:1:19: error: no such module 'UIKit'
@_exported import UIKit
                  ^
[16/24] Compiling ViewKit VerticalStack.swift
/host/spi-builder-workspace/Sources/ViewKit/Internal/@_exported.swift:1:19: error: no such module 'UIKit'
@_exported import UIKit
                  ^
[17/24] Compiling ViewKit ViewController.swift
/host/spi-builder-workspace/Sources/ViewKit/Internal/@_exported.swift:1:19: error: no such module 'UIKit'
@_exported import UIKit
                  ^
[18/24] Compiling ViewKit UITextField+extensions.swift
/host/spi-builder-workspace/Sources/ViewKit/Internal/@_exported.swift:1:19: error: no such module 'UIKit'
@_exported import UIKit
                  ^
[19/24] Compiling ViewKit UIView+extensions.swift
/host/spi-builder-workspace/Sources/ViewKit/Internal/@_exported.swift:1:19: error: no such module 'UIKit'
@_exported import UIKit
                  ^
[20/24] Compiling ViewKit ConstraintBuilder.swift
/host/spi-builder-workspace/Sources/ViewKit/Internal/@_exported.swift:1:19: error: no such module 'UIKit'
@_exported import UIKit
                  ^
[21/24] Compiling ViewKit ProgrammaticViewBuilder.swift
/host/spi-builder-workspace/Sources/ViewKit/Internal/@_exported.swift:1:19: error: no such module 'UIKit'
@_exported import UIKit
                  ^
[22/24] Compiling ViewKit StackViewBuilder.swift
/host/spi-builder-workspace/Sources/ViewKit/Internal/@_exported.swift:1:19: error: no such module 'UIKit'
@_exported import UIKit
                  ^
[23/24] Compiling ViewKit Notification.swift
/host/spi-builder-workspace/Sources/ViewKit/Internal/@_exported.swift:1:19: error: no such module 'UIKit'
@_exported import UIKit
                  ^
[24/24] Compiling ViewKit UIViewPreview.swift
/host/spi-builder-workspace/Sources/ViewKit/Internal/@_exported.swift:1:19: error: no such module 'UIKit'
@_exported import UIKit
                  ^
error: fatalError
BUILD FAILURE 5.10 linux