The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ChatLayout with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" 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.32.0
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 c26d49c Merge pull request #70 from heoblitz/etc/refactor_deprecated_function
Cloned https://github.com/ekazaev/ChatLayout.git
Revision (git rev-parse @):
c26d49cd424db3c44461a784f0e6cb4368b91907
SUCCESS checkout https://github.com/ekazaev/ChatLayout.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/ekazaev/ChatLayout.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-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...
[0/7] Write sources
[1/7] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/36] Emitting module ChatLayout
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[4/40] Compiling ChatLayout ChatItemAlignment.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[5/40] Compiling ChatLayout ChatLayoutAttributes.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[6/40] Compiling ChatLayout ChatLayoutDelegate.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[7/40] Compiling ChatLayout ChatLayoutInvalidationContext.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[8/40] Compiling ChatLayout NSLayoutAnchor+Extension.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[9/40] Compiling ChatLayout NSLayoutDimension+Extension.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[10/40] Compiling ChatLayout UILayoutPriority+Extension.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[11/40] Compiling ChatLayout ImageMaskedView.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[12/40] Compiling ChatLayout MessageContainerView.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[13/40] Compiling ChatLayout RoundedCornersContainerView.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[14/40] Compiling ChatLayout StaticViewFactory.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[15/40] Compiling ChatLayout SwappingContainerView.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[16/40] Compiling ChatLayout ContainerCollectionReusableView.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[17/40] Compiling ChatLayout ContainerCollectionViewCell.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[18/40] Compiling ChatLayout ContainerCollectionViewCellDelegate.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[19/40] Compiling ChatLayout EdgeAligningView.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[20/40] Compiling ChatLayout ItemModel.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[21/40] Compiling ChatLayout ItemPath.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[22/40] Compiling ChatLayout ItemSize.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[23/40] Compiling ChatLayout LayoutModel.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[24/40] Compiling ChatLayout IndexPath+Extension.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[25/40] Compiling ChatLayout RandomAccessCollection+Extension.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[26/40] Compiling ChatLayout ChangeItem.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[27/40] Compiling ChatLayout ItemKind.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[28/40] Compiling ChatLayout ChatLayoutPositionSnapshot.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[29/40] Compiling ChatLayout ChatLayoutSettings.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[30/40] Compiling ChatLayout CollectionViewChatLayout.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[31/40] Compiling ChatLayout CGRect+Extension.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[32/40] Compiling ChatLayout ModelState.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[33/40] Compiling ChatLayout SectionModel.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[34/40] Compiling ChatLayout StateController.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[35/40] Compiling ChatLayout CellLayoutContainerView.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
error: fatalError
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...
[0/6] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/35] Emitting module ChatLayout
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[3/35] Compiling ChatLayout ChatItemAlignment.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[4/35] Compiling ChatLayout ChatLayoutAttributes.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[5/35] Compiling ChatLayout ChatLayoutDelegate.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[6/35] Compiling ChatLayout ChatLayoutInvalidationContext.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[7/39] Compiling ChatLayout ItemModel.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[8/39] Compiling ChatLayout ItemPath.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[9/39] Compiling ChatLayout ItemSize.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[10/39] Compiling ChatLayout LayoutModel.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[11/39] Compiling ChatLayout NSLayoutAnchor+Extension.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[12/39] Compiling ChatLayout NSLayoutDimension+Extension.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[13/39] Compiling ChatLayout UILayoutPriority+Extension.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[14/39] Compiling ChatLayout ImageMaskedView.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[15/39] Compiling ChatLayout ContainerCollectionReusableView.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[16/39] Compiling ChatLayout ContainerCollectionViewCell.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[17/39] Compiling ChatLayout ContainerCollectionViewCellDelegate.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[18/39] Compiling ChatLayout EdgeAligningView.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[19/39] Compiling ChatLayout MessageContainerView.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[20/39] Compiling ChatLayout RoundedCornersContainerView.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[21/39] Compiling ChatLayout StaticViewFactory.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[22/39] Compiling ChatLayout SwappingContainerView.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[23/39] Compiling ChatLayout ChatLayoutPositionSnapshot.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[24/39] Compiling ChatLayout ChatLayoutSettings.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[25/39] Compiling ChatLayout CollectionViewChatLayout.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[26/39] Compiling ChatLayout CGRect+Extension.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[27/39] Compiling ChatLayout ModelState.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[28/39] Compiling ChatLayout SectionModel.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[29/39] Compiling ChatLayout StateController.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[30/39] Compiling ChatLayout CellLayoutContainerView.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[31/39] Compiling ChatLayout IndexPath+Extension.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[32/39] Compiling ChatLayout RandomAccessCollection+Extension.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[33/39] Compiling ChatLayout ChangeItem.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[34/39] Compiling ChatLayout ItemKind.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2