The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ChatLayout with Swift 5.9 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" 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.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.9
Building package at path:  $workDir
https://github.com/ekazaev/ChatLayout.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-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 ChatItemAlignment.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[7/36] Compiling ChatLayout ChatLayoutAttributes.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[8/36] Compiling ChatLayout ChatLayoutDelegate.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[9/36] Compiling ChatLayout ChatLayoutInvalidationContext.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[10/36] Compiling ChatLayout MessageContainerView.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[11/36] Compiling ChatLayout RoundedCornersContainerView.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[12/36] Compiling ChatLayout StaticViewFactory.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[13/36] Compiling ChatLayout SwappingContainerView.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 ContainerCollectionReusableView.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[19/36] Compiling ChatLayout ContainerCollectionViewCell.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[20/36] Compiling ChatLayout ContainerCollectionViewCellDelegate.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[21/36] Compiling ChatLayout EdgeAligningView.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[22/36] Compiling ChatLayout NSLayoutAnchor+Extension.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[23/36] Compiling ChatLayout NSLayoutDimension+Extension.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[24/36] Compiling ChatLayout UILayoutPriority+Extension.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[25/36] Compiling ChatLayout ImageMaskedView.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
       ^
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...
[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/32] Compiling ChatLayout ContainerCollectionReusableView.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[6/32] Compiling ChatLayout ContainerCollectionViewCell.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[7/32] Compiling ChatLayout ContainerCollectionViewCellDelegate.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[8/32] Compiling ChatLayout EdgeAligningView.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[9/36] Compiling ChatLayout IndexPath+Extension.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[10/36] Compiling ChatLayout RandomAccessCollection+Extension.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[11/36] Compiling ChatLayout ChangeItem.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[12/36] Compiling ChatLayout ItemKind.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)
[13/36] Emitting module ChatLayout
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[14/36] Compiling ChatLayout NSLayoutAnchor+Extension.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[15/36] Compiling ChatLayout NSLayoutDimension+Extension.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[16/36] Compiling ChatLayout UILayoutPriority+Extension.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[17/36] Compiling ChatLayout ImageMaskedView.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[18/36] Compiling ChatLayout ItemModel.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[19/36] Compiling ChatLayout ItemPath.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[20/36] Compiling ChatLayout ItemSize.swift
/host/spi-builder-workspace/ChatLayout/Classes/Core/ChatItemAlignment.swift:14:8: error: no such module 'UIKit'
import UIKit
       ^
[21/36] Compiling ChatLayout LayoutModel.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
       ^
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 2