The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ChatLayout with Swift 5.8 for Linux.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.32.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ekazaev/ChatLayout.git
Reference: 2.0.4
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
 * tag               2.0.4      -> FETCH_HEAD
HEAD is now at d41b4f5 Updated podspec
Cloned https://github.com/ekazaev/ChatLayout.git
Revision (git rev-parse @):
d41b4f532df217241f91b1636984df3cc862e623
SUCCESS checkout https://github.com/ekazaev/ChatLayout.git at 2.0.4
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
Building package at path:  $workDir
https://github.com/ekazaev/ChatLayout.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
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 ItemModel.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[3/36] Compiling ChatLayout ItemPath.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[4/36] Compiling ChatLayout ItemSize.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[5/36] Compiling ChatLayout LayoutModel.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[6/36] Compiling ChatLayout ContainerCollectionReusableView.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[7/36] Compiling ChatLayout ContainerCollectionViewCell.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[8/36] Compiling ChatLayout ContainerCollectionViewCellDelegate.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[9/36] Compiling ChatLayout EdgeAligningView.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[10/36] Compiling ChatLayout ChatItemAlignment.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[11/36] Compiling ChatLayout ChatLayoutAttributes.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[12/36] Compiling ChatLayout ChatLayoutDelegate.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[13/36] Compiling ChatLayout ChatLayoutInvalidationContext.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[14/36] Compiling ChatLayout IndexPath+Extension.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[15/36] Compiling ChatLayout RandomAccessCollection+Extension.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[16/36] Compiling ChatLayout ChangeItem.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[17/36] Compiling ChatLayout ItemKind.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[18/36] Compiling ChatLayout NSLayoutAnchor+Extension.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[19/36] Compiling ChatLayout NSLayoutDimension+Extension.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[20/36] Compiling ChatLayout UILayoutPriority+Extension.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[21/36] Compiling ChatLayout ImageMaskedView.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[22/36] Compiling ChatLayout MessageContainerView.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[23/36] Compiling ChatLayout RoundedCornersContainerView.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[24/36] Compiling ChatLayout StaticViewFactory.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[25/36] Compiling ChatLayout SwappingContainerView.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[26/36] Compiling ChatLayout ChatLayoutPositionSnapshot.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[27/36] Compiling ChatLayout ChatLayoutSettings.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[28/36] Compiling ChatLayout CollectionViewChatLayout.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[29/36] Compiling ChatLayout CGRect+Extension.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[30/36] Compiling ChatLayout ModelState.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[31/36] Compiling ChatLayout SectionModel.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[32/36] Compiling ChatLayout StateController.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[33/36] Compiling ChatLayout CellLayoutContainerView.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
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
[0/1] Planning build
Building for debugging...
[1/32] Compiling ChatLayout ChatItemAlignment.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[2/32] Compiling ChatLayout ChatLayoutAttributes.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[3/32] Compiling ChatLayout ChatLayoutDelegate.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[4/32] Compiling ChatLayout ChatLayoutInvalidationContext.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[5/36] Compiling ChatLayout ContainerCollectionReusableView.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[6/36] Compiling ChatLayout ContainerCollectionViewCell.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[7/36] Compiling ChatLayout ContainerCollectionViewCellDelegate.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[8/36] Compiling ChatLayout EdgeAligningView.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/36] Emitting module ChatLayout
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[10/36] Compiling ChatLayout ItemModel.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[11/36] Compiling ChatLayout ItemPath.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[12/36] Compiling ChatLayout ItemSize.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[13/36] Compiling ChatLayout LayoutModel.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[14/36] Compiling ChatLayout MessageContainerView.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[15/36] Compiling ChatLayout RoundedCornersContainerView.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[16/36] Compiling ChatLayout StaticViewFactory.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[17/36] Compiling ChatLayout SwappingContainerView.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[18/36] Compiling ChatLayout NSLayoutAnchor+Extension.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[19/36] Compiling ChatLayout NSLayoutDimension+Extension.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[20/36] Compiling ChatLayout UILayoutPriority+Extension.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[21/36] Compiling ChatLayout ImageMaskedView.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[22/36] Compiling ChatLayout IndexPath+Extension.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[23/36] Compiling ChatLayout RandomAccessCollection+Extension.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[24/36] Compiling ChatLayout ChangeItem.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[25/36] Compiling ChatLayout ItemKind.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[26/36] Compiling ChatLayout ChatLayoutPositionSnapshot.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[27/36] Compiling ChatLayout ChatLayoutSettings.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[28/36] Compiling ChatLayout CollectionViewChatLayout.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[29/36] Compiling ChatLayout CGRect+Extension.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[30/36] Compiling ChatLayout ModelState.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[31/36] Compiling ChatLayout SectionModel.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[32/36] Compiling ChatLayout StateController.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[33/36] Compiling ChatLayout CellLayoutContainerView.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
BUILD FAILURE 5.8 linux

Build Machine: Linux 1