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 SwifterUI, reference 1.2.0 (791bfc), with Swift 5.10 for Linux on 12 Jun 2025 11:56:52 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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CoderLineChan/SwiftlyUI.git
Reference: 1.2.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/CoderLineChan/SwiftlyUI
 * tag               1.2.0      -> FETCH_HEAD
HEAD is now at 791bfc4 SwiftlyUI V1.2.0
Cloned https://github.com/CoderLineChan/SwiftlyUI.git
Revision (git rev-parse @):
791bfc465b41a1c9e24c71c488f69d53d5db2bed
SUCCESS checkout https://github.com/CoderLineChan/SwiftlyUI.git at 1.2.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/CoderLineChan/SwiftlyUI.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:aa1999fda62728f989ec9f885e6a69f8a206ad63b6efcfc03397a00c96f5855b
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/31] Emitting module SwiftlyUI
/host/spi-builder-workspace/SwiftlyUI/Source/Core/UIBackgroundConfiguration+SwiftlyUI.swift:125:51: warning: unrecognized platform name 'visionOS'
    @available(iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
                                                  ^
/host/spi-builder-workspace/SwiftlyUI/Source/Extension/ForEach-SwiftlyUI.swift:31:20: error: attribute can only be applied to declarations, not types
extension UIView: @preconcurrency SwiftlyUIViewBuildingProtocol {
                  ~^~~~~~~~~~~~~~~
@preconcurrency
[4/35] Compiling SwiftlyUI ForEach-SwiftlyUI.swift
/host/spi-builder-workspace/SwiftlyUI/Source/Extension/ForEach-SwiftlyUI.swift:31:20: error: attribute can only be applied to declarations, not types
extension UIView: @preconcurrency SwiftlyUIViewBuildingProtocol {
                  ~^~~~~~~~~~~~~~~
@preconcurrency
[5/35] Compiling SwiftlyUI UIImage-SwiftlyUI.swift
/host/spi-builder-workspace/SwiftlyUI/Source/Extension/ForEach-SwiftlyUI.swift:31:20: error: attribute can only be applied to declarations, not types
extension UIView: @preconcurrency SwiftlyUIViewBuildingProtocol {
                  ~^~~~~~~~~~~~~~~
@preconcurrency
[6/35] Compiling SwiftlyUI UIKitPreviewable-SwiftlyUI.swift
/host/spi-builder-workspace/SwiftlyUI/Source/Extension/ForEach-SwiftlyUI.swift:31:20: error: attribute can only be applied to declarations, not types
extension UIView: @preconcurrency SwiftlyUIViewBuildingProtocol {
                  ~^~~~~~~~~~~~~~~
@preconcurrency
[7/35] Compiling SwiftlyUI UIView-SwiftlyUI.swift
/host/spi-builder-workspace/SwiftlyUI/Source/Extension/ForEach-SwiftlyUI.swift:31:20: error: attribute can only be applied to declarations, not types
extension UIView: @preconcurrency SwiftlyUIViewBuildingProtocol {
                  ~^~~~~~~~~~~~~~~
@preconcurrency
[8/35] Compiling SwiftlyUI UITextView+SwiftlyUI.swift
/host/spi-builder-workspace/SwiftlyUI/Source/Extension/ForEach-SwiftlyUI.swift:31:20: error: attribute can only be applied to declarations, not types
extension UIView: @preconcurrency SwiftlyUIViewBuildingProtocol {
                  ~^~~~~~~~~~~~~~~
@preconcurrency
[9/35] Compiling SwiftlyUI UIView+SwiftlyUI.swift
/host/spi-builder-workspace/SwiftlyUI/Source/Extension/ForEach-SwiftlyUI.swift:31:20: error: attribute can only be applied to declarations, not types
extension UIView: @preconcurrency SwiftlyUIViewBuildingProtocol {
                  ~^~~~~~~~~~~~~~~
@preconcurrency
[10/35] Compiling SwiftlyUI UIVisualEffectView+SwiftlyUI.swift
/host/spi-builder-workspace/SwiftlyUI/Source/Extension/ForEach-SwiftlyUI.swift:31:20: error: attribute can only be applied to declarations, not types
extension UIView: @preconcurrency SwiftlyUIViewBuildingProtocol {
                  ~^~~~~~~~~~~~~~~
@preconcurrency
[11/35] Compiling SwiftlyUI CAGradientLayer-SwiftlyUI.swift
/host/spi-builder-workspace/SwiftlyUI/Source/Extension/ForEach-SwiftlyUI.swift:31:20: error: attribute can only be applied to declarations, not types
extension UIView: @preconcurrency SwiftlyUIViewBuildingProtocol {
                  ~^~~~~~~~~~~~~~~
@preconcurrency
[12/35] Compiling SwiftlyUI UISegmentedControl+SwiftlyUI.swift
/host/spi-builder-workspace/SwiftlyUI/Source/Extension/ForEach-SwiftlyUI.swift:31:20: error: attribute can only be applied to declarations, not types
extension UIView: @preconcurrency SwiftlyUIViewBuildingProtocol {
                  ~^~~~~~~~~~~~~~~
@preconcurrency
[13/35] Compiling SwiftlyUI UISlider+SwiftlyUI.swift
/host/spi-builder-workspace/SwiftlyUI/Source/Extension/ForEach-SwiftlyUI.swift:31:20: error: attribute can only be applied to declarations, not types
extension UIView: @preconcurrency SwiftlyUIViewBuildingProtocol {
                  ~^~~~~~~~~~~~~~~
@preconcurrency
[14/35] Compiling SwiftlyUI UIStackView+SwiftlyUI.swift
/host/spi-builder-workspace/SwiftlyUI/Source/Extension/ForEach-SwiftlyUI.swift:31:20: error: attribute can only be applied to declarations, not types
extension UIView: @preconcurrency SwiftlyUIViewBuildingProtocol {
                  ~^~~~~~~~~~~~~~~
@preconcurrency
[15/35] Compiling SwiftlyUI UIStepper+SwiftlyUI.swift
/host/spi-builder-workspace/SwiftlyUI/Source/Extension/ForEach-SwiftlyUI.swift:31:20: error: attribute can only be applied to declarations, not types
extension UIView: @preconcurrency SwiftlyUIViewBuildingProtocol {
                  ~^~~~~~~~~~~~~~~
@preconcurrency
[16/35] Compiling SwiftlyUI UILabel+SwiftlyUI.swift
/host/spi-builder-workspace/SwiftlyUI/Source/Extension/ForEach-SwiftlyUI.swift:31:20: error: attribute can only be applied to declarations, not types
extension UIView: @preconcurrency SwiftlyUIViewBuildingProtocol {
                  ~^~~~~~~~~~~~~~~
@preconcurrency
[17/35] Compiling SwiftlyUI UIPickerView+SwiftlyUI.swift
/host/spi-builder-workspace/SwiftlyUI/Source/Extension/ForEach-SwiftlyUI.swift:31:20: error: attribute can only be applied to declarations, not types
extension UIView: @preconcurrency SwiftlyUIViewBuildingProtocol {
                  ~^~~~~~~~~~~~~~~
@preconcurrency
[18/35] Compiling SwiftlyUI UIRefreshControl+SwiftlyUI.swift
/host/spi-builder-workspace/SwiftlyUI/Source/Extension/ForEach-SwiftlyUI.swift:31:20: error: attribute can only be applied to declarations, not types
extension UIView: @preconcurrency SwiftlyUIViewBuildingProtocol {
                  ~^~~~~~~~~~~~~~~
@preconcurrency
[19/35] Compiling SwiftlyUI UIScrollView+SwiftlyUI.swift
/host/spi-builder-workspace/SwiftlyUI/Source/Extension/ForEach-SwiftlyUI.swift:31:20: error: attribute can only be applied to declarations, not types
extension UIView: @preconcurrency SwiftlyUIViewBuildingProtocol {
                  ~^~~~~~~~~~~~~~~
@preconcurrency
[20/35] Compiling SwiftlyUI UIBackgroundConfiguration+SwiftlyUI.swift
/host/spi-builder-workspace/SwiftlyUI/Source/Core/UIBackgroundConfiguration+SwiftlyUI.swift:125:51: warning: unrecognized platform name 'visionOS'
    @available(iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
                                                  ^
/host/spi-builder-workspace/SwiftlyUI/Source/Extension/ForEach-SwiftlyUI.swift:31:20: error: attribute can only be applied to declarations, not types
extension UIView: @preconcurrency SwiftlyUIViewBuildingProtocol {
                  ~^~~~~~~~~~~~~~~
@preconcurrency
[21/35] Compiling SwiftlyUI UIButton+SwiftlyUI.swift
/host/spi-builder-workspace/SwiftlyUI/Source/Core/UIBackgroundConfiguration+SwiftlyUI.swift:125:51: warning: unrecognized platform name 'visionOS'
    @available(iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
                                                  ^
/host/spi-builder-workspace/SwiftlyUI/Source/Extension/ForEach-SwiftlyUI.swift:31:20: error: attribute can only be applied to declarations, not types
extension UIView: @preconcurrency SwiftlyUIViewBuildingProtocol {
                  ~^~~~~~~~~~~~~~~
@preconcurrency
[22/35] Compiling SwiftlyUI UICollectionView+SwiftlyUI.swift
/host/spi-builder-workspace/SwiftlyUI/Source/Core/UIBackgroundConfiguration+SwiftlyUI.swift:125:51: warning: unrecognized platform name 'visionOS'
    @available(iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
                                                  ^
/host/spi-builder-workspace/SwiftlyUI/Source/Extension/ForEach-SwiftlyUI.swift:31:20: error: attribute can only be applied to declarations, not types
extension UIView: @preconcurrency SwiftlyUIViewBuildingProtocol {
                  ~^~~~~~~~~~~~~~~
@preconcurrency
[23/35] Compiling SwiftlyUI UICollectionViewCell+SwiftlyUI.swift
/host/spi-builder-workspace/SwiftlyUI/Source/Core/UIBackgroundConfiguration+SwiftlyUI.swift:125:51: warning: unrecognized platform name 'visionOS'
    @available(iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
                                                  ^
/host/spi-builder-workspace/SwiftlyUI/Source/Extension/ForEach-SwiftlyUI.swift:31:20: error: attribute can only be applied to declarations, not types
extension UIView: @preconcurrency SwiftlyUIViewBuildingProtocol {
                  ~^~~~~~~~~~~~~~~
@preconcurrency
[24/35] Compiling SwiftlyUI UIFont+SwiftlyUI.swift
/host/spi-builder-workspace/SwiftlyUI/Source/Extension/ForEach-SwiftlyUI.swift:31:20: error: attribute can only be applied to declarations, not types
extension UIView: @preconcurrency SwiftlyUIViewBuildingProtocol {
                  ~^~~~~~~~~~~~~~~
@preconcurrency
[25/35] Compiling SwiftlyUI UIImage+SwiftlyUI.swift
/host/spi-builder-workspace/SwiftlyUI/Source/Extension/ForEach-SwiftlyUI.swift:31:20: error: attribute can only be applied to declarations, not types
extension UIView: @preconcurrency SwiftlyUIViewBuildingProtocol {
                  ~^~~~~~~~~~~~~~~
@preconcurrency
[26/35] Compiling SwiftlyUI UIImageView+SwiftlyUI.swift
/host/spi-builder-workspace/SwiftlyUI/Source/Extension/ForEach-SwiftlyUI.swift:31:20: error: attribute can only be applied to declarations, not types
extension UIView: @preconcurrency SwiftlyUIViewBuildingProtocol {
                  ~^~~~~~~~~~~~~~~
@preconcurrency
[27/35] Compiling SwiftlyUI UIInputView+SwiftlyUI.swift
/host/spi-builder-workspace/SwiftlyUI/Source/Extension/ForEach-SwiftlyUI.swift:31:20: error: attribute can only be applied to declarations, not types
extension UIView: @preconcurrency SwiftlyUIViewBuildingProtocol {
                  ~^~~~~~~~~~~~~~~
@preconcurrency
[28/35] Compiling SwiftlyUI UISwitch+SwiftlyUI.swift
/host/spi-builder-workspace/SwiftlyUI/Source/Extension/ForEach-SwiftlyUI.swift:31:20: error: attribute can only be applied to declarations, not types
extension UIView: @preconcurrency SwiftlyUIViewBuildingProtocol {
                  ~^~~~~~~~~~~~~~~
@preconcurrency
[29/35] Compiling SwiftlyUI UITableView+SwiftlyUI.swift
/host/spi-builder-workspace/SwiftlyUI/Source/Extension/ForEach-SwiftlyUI.swift:31:20: error: attribute can only be applied to declarations, not types
extension UIView: @preconcurrency SwiftlyUIViewBuildingProtocol {
                  ~^~~~~~~~~~~~~~~
@preconcurrency
[30/35] Compiling SwiftlyUI UITableViewCell+SwiftlyUI.swift
/host/spi-builder-workspace/SwiftlyUI/Source/Extension/ForEach-SwiftlyUI.swift:31:20: error: attribute can only be applied to declarations, not types
extension UIView: @preconcurrency SwiftlyUIViewBuildingProtocol {
                  ~^~~~~~~~~~~~~~~
@preconcurrency
[31/35] Compiling SwiftlyUI UITextField+SwiftlyUI.swift
/host/spi-builder-workspace/SwiftlyUI/Source/Extension/ForEach-SwiftlyUI.swift:31:20: error: attribute can only be applied to declarations, not types
extension UIView: @preconcurrency SwiftlyUIViewBuildingProtocol {
                  ~^~~~~~~~~~~~~~~
@preconcurrency
[32/35] Compiling SwiftlyUI UICollectionViewFlowLayout+SwiftlyUI.swift
/host/spi-builder-workspace/SwiftlyUI/Source/Extension/ForEach-SwiftlyUI.swift:31:20: error: attribute can only be applied to declarations, not types
extension UIView: @preconcurrency SwiftlyUIViewBuildingProtocol {
                  ~^~~~~~~~~~~~~~~
@preconcurrency
[33/35] Compiling SwiftlyUI UIColor+SwiftlyUI.swift
/host/spi-builder-workspace/SwiftlyUI/Source/Extension/ForEach-SwiftlyUI.swift:31:20: error: attribute can only be applied to declarations, not types
extension UIView: @preconcurrency SwiftlyUIViewBuildingProtocol {
                  ~^~~~~~~~~~~~~~~
@preconcurrency
[34/35] Compiling SwiftlyUI UIControl+SwiftlyUI.swift
/host/spi-builder-workspace/SwiftlyUI/Source/Extension/ForEach-SwiftlyUI.swift:31:20: error: attribute can only be applied to declarations, not types
extension UIView: @preconcurrency SwiftlyUIViewBuildingProtocol {
                  ~^~~~~~~~~~~~~~~
@preconcurrency
[35/35] Compiling SwiftlyUI UIDatePicker+SwiftlyUI.swift
/host/spi-builder-workspace/SwiftlyUI/Source/Extension/ForEach-SwiftlyUI.swift:31:20: error: attribute can only be applied to declarations, not types
extension UIView: @preconcurrency SwiftlyUIViewBuildingProtocol {
                  ~^~~~~~~~~~~~~~~
@preconcurrency
error: fatalError
BUILD FAILURE 5.10 linux