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 ChatLayout, reference master (0576ac), with Swift 5.9 for Linux on 31 May 2025 12:17:32 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/ekazaev/ChatLayout.git
Reference: master
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/ekazaev/ChatLayout
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 0576ac9 Fixed potential model synchroniczation issue
Cloned https://github.com/ekazaev/ChatLayout.git
Revision (git rev-parse @):
0576ac90f9e0f94c9f7acc7983381394544ceb7b
SUCCESS checkout https://github.com/ekazaev/ChatLayout.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $PWD
https://github.com/ekazaev/ChatLayout.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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:943c57f5f023c04804daf623375860c13f93d33d0cb4f0a89054871e5f11529c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
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/Example/Tests/Info.plist
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/32] Emitting module ChatLayout
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[2/36] Compiling ChatLayout ContainerCollectionReusableView.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[3/36] Compiling ChatLayout ContainerCollectionViewCell.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[4/36] Compiling ChatLayout ContainerCollectionViewCellDelegate.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[5/36] Compiling ChatLayout EdgeAligningView.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[6/36] Compiling ChatLayout MessageContainerView.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[7/36] Compiling ChatLayout RoundedCornersContainerView.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[8/36] Compiling ChatLayout StaticViewFactory.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[9/36] Compiling ChatLayout SwappingContainerView.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[10/36] Compiling ChatLayout NSLayoutAnchor+Extension.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[11/36] Compiling ChatLayout NSLayoutDimension+Extension.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[12/36] Compiling ChatLayout UILayoutPriority+Extension.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[13/36] Compiling ChatLayout ImageMaskedView.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[14/36] Compiling ChatLayout ItemModel.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[15/36] Compiling ChatLayout ItemPath.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[16/36] Compiling ChatLayout ItemSize.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[17/36] Compiling ChatLayout LayoutModel.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[18/36] Compiling ChatLayout ChatItemAlignment.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[19/36] Compiling ChatLayout ChatLayoutAttributes.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[20/36] Compiling ChatLayout ChatLayoutDelegate.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[21/36] Compiling ChatLayout ChatLayoutInvalidationContext.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[22/36] Compiling ChatLayout ModelState.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[23/36] Compiling ChatLayout SectionModel.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[24/36] Compiling ChatLayout StateController.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[25/36] Compiling ChatLayout CellLayoutContainerView.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[26/36] Compiling ChatLayout IndexPath+Extension.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[27/36] Compiling ChatLayout RandomAccessCollection+Extension.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[28/36] Compiling ChatLayout ChangeItem.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[29/36] Compiling ChatLayout ItemKind.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[30/36] Compiling ChatLayout ChatLayoutPositionSnapshot.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[31/36] Compiling ChatLayout ChatLayoutSettings.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[32/36] Compiling ChatLayout CollectionViewChatLayout.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[33/36] Compiling ChatLayout CGRect+Extension.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
error: fatalError
BUILD FAILURE 5.9 linux