The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Chat2App with Swift 5.8 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.21.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/andrei200287/Chat2App.git
Reference: 1.0.3
Cloned https://github.com/andrei200287/Chat2App.git into spi-builder-workspace
SUCCESS checkout https://github.com/andrei200287/Chat2App.git at 1.0.3
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Fetching https://github.com/devicekit/DeviceKit
Fetching https://github.com/MessageKit/MessageKit
Fetching https://github.com/vpeschenkov/LetterAvatarKit
[1/1224] Fetching letteravatarkit
[1225/4519] Fetching letteravatarkit, devicekit
Fetching https://github.com/SwiftKickMobile/SwiftMessages
Fetched https://github.com/devicekit/DeviceKit (0.47s)
Fetched https://github.com/vpeschenkov/LetterAvatarKit (0.47s)
Fetching https://github.com/nathantannar4/InputBarAccessoryView
[1/3878] Fetching inputbaraccessoryview
[428/7976] Fetching inputbaraccessoryview, swiftmessages
[1657/37085] Fetching inputbaraccessoryview, swiftmessages, messagekit
Fetched https://github.com/nathantannar4/InputBarAccessoryView (1.30s)
Fetching https://github.com/onevcat/Kingfisher
[12540/33207] Fetching swiftmessages, messagekit
Fetched https://github.com/SwiftKickMobile/SwiftMessages (1.39s)
[8733/29109] Fetching messagekit
[8734/57377] Fetching messagekit, kingfisher
Fetched https://github.com/MessageKit/MessageKit (4.30s)
Fetched https://github.com/onevcat/Kingfisher (3.06s)
Computing version for https://github.com/devicekit/DeviceKit
Computed https://github.com/devicekit/DeviceKit at 5.0.0 (0.27s)
Computing version for https://github.com/vpeschenkov/LetterAvatarKit
Computed https://github.com/vpeschenkov/LetterAvatarKit at 1.2.5 (0.29s)
Computing version for https://github.com/SwiftKickMobile/SwiftMessages
Computed https://github.com/SwiftKickMobile/SwiftMessages at 9.0.6 (0.29s)
Computing version for https://github.com/MessageKit/MessageKit
Computed https://github.com/MessageKit/MessageKit at 4.1.1 (0.30s)
Computing version for https://github.com/nathantannar4/InputBarAccessoryView
Computed https://github.com/nathantannar4/InputBarAccessoryView at 6.1.1 (0.27s)
Computing version for https://github.com/onevcat/Kingfisher
Computed https://github.com/onevcat/Kingfisher at 7.8.1 (0.27s)
Creating working copy for https://github.com/vpeschenkov/LetterAvatarKit
Working copy of https://github.com/vpeschenkov/LetterAvatarKit resolved at 1.2.5
Creating working copy for https://github.com/MessageKit/MessageKit
Working copy of https://github.com/MessageKit/MessageKit resolved at 4.1.1
Creating working copy for https://github.com/onevcat/Kingfisher
Working copy of https://github.com/onevcat/Kingfisher resolved at 7.8.1
Creating working copy for https://github.com/devicekit/DeviceKit
Working copy of https://github.com/devicekit/DeviceKit resolved at 5.0.0
Creating working copy for https://github.com/SwiftKickMobile/SwiftMessages
Working copy of https://github.com/SwiftKickMobile/SwiftMessages resolved at 9.0.6
Creating working copy for https://github.com/nathantannar4/InputBarAccessoryView
Working copy of https://github.com/nathantannar4/InputBarAccessoryView resolved at 6.1.1
Downloading binary artifact https://github.com/realm/SwiftLint/releases/download/0.47.1/SwiftLintBinary-macos.artifactbundle.zip
Downloading binary artifact https://github.com/nicklockwood/SwiftFormat/releases/download/0.49.13/swiftformat.artifactbundle.zip
[1369/1381476] Downloading https://github.com/nicklockwood/SwiftFormat/releases/download/0.49.13/swiftformat.artifactbundle.zip
[1382873/23010897] Downloading https://github.com/nicklockwood/SwiftFormat/releases/download/0.49.13/swiftformat.artifactbundle.zip, https://github.com/realm/SwiftLint/releases/download/0.47.1/SwiftLintBinary-macos.artifactbundle.zip
Downloaded https://github.com/nicklockwood/SwiftFormat/releases/download/0.49.13/swiftformat.artifactbundle.zip (0.46s)
[163813/21629421] Downloading https://github.com/realm/SwiftLint/releases/download/0.47.1/SwiftLintBinary-macos.artifactbundle.zip
Downloaded https://github.com/realm/SwiftLint/releases/download/0.47.1/SwiftLintBinary-macos.artifactbundle.zip (2.29s)
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/Assets.xcassets
    /host/spi-builder-workspace/Sources/ImageViewer/ImageViewerViewController.xib
[1/1] Compiling plugin SwiftFormatPlugin
[2/2] Compiling plugin SwiftLintPlugin
Building for debugging...
[2/43] Copying infoIconSubtle.png
[2/43] Copying warningIcon.png
[2/43] Copying warningIcon@3x.png
[2/43] Copying warningIconSubtle.png
[2/43] Copying successIconSubtle@3x.png
[2/43] Copying successIconLight@2x.png
[2/43] Copying warningIconSubtle@3x.png
[2/43] Copying warningIconLight@3x.png
[2/43] Copying warningIconLight@2x.png
[2/43] Copying warningIconSubtle@2x.png
[2/43] Copying warningIcon@2x.png
[2/43] Copying warningIconLight.png
[2/43] Copying successIconSubtle.png
[2/43] Copying successIconSubtle@2x.png
[2/43] Copying successIconLight@3x.png
[2/43] Copying successIconLight.png
[2/43] Copying successIcon@2x.png
[2/43] Copying successIcon@3x.png
[2/43] Copying successIcon.png
[2/43] Copying infoIconSubtle@3x.png
[2/43] Copying infoIconSubtle@2x.png
[2/43] Copying infoIconLight@2x.png
[2/43] Copying infoIconLight@3x.png
[2/43] Copying infoIconLight.png
[2/43] Copying infoIcon@3x.png
[2/43] Copying infoIcon.png
[2/43] Copying infoIcon@2x.png
[2/43] Copying errorIconSubtle@2x.png
[2/43] Copying errorIconSubtle@3x.png
[2/43] Copying errorIconLight@3x.png
[2/43] Copying errorIconSubtle.png
[2/43] Copying errorIconLight@2x.png
[2/43] Copying errorIcon@2x.png
[2/43] Copying errorIcon@3x.png
[2/43] Copying errorIconLight.png
[2/43] Copying errorIcon.png
[2/43] Copying StatusLine.xib
[2/43] Copying TabView.xib
[2/43] Copying CenteredView.xib
[2/43] Copying MessageView.xib
[2/43] Copying CardView.xib
error: emit-module command failed with exit code 1 (use -v to see invocation)
[44/168] Emitting module SwiftMessages
/host/spi-builder-workspace/.build/checkouts/SwiftMessages/SwiftMessages/Animator.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[45/172] Emitting module InputBarAccessoryView
/host/spi-builder-workspace/.build/checkouts/InputBarAccessoryView/Sources/Controls/InputBarButtonItem.swift:28:8: error: no such module 'UIKit'
import UIKit
       ^
[46/176] Compiling LetterAvatarKit LetterAvatarBuilder.swift
/host/spi-builder-workspace/.build/checkouts/LetterAvatarKit/LetterAvatarKit/Extensions/UIColor+LetterAvatarKit.swift:26:8: error: no such module 'UIKit'
import UIKit
       ^
[47/177] Compiling Kingfisher GIFAnimatedImage.swift
/host/spi-builder-workspace/.build/checkouts/SwiftMessages/SwiftMessages/Animator.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[48/177] Compiling Kingfisher GraphicsContext.swift
/host/spi-builder-workspace/.build/checkouts/SwiftMessages/SwiftMessages/Animator.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[49/177] Compiling Kingfisher Image.swift
/host/spi-builder-workspace/.build/checkouts/SwiftMessages/SwiftMessages/Animator.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[50/177] Compiling Kingfisher ImageDrawing.swift
/host/spi-builder-workspace/.build/checkouts/SwiftMessages/SwiftMessages/Animator.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[51/177] Compiling Kingfisher WKInterfaceImage+Kingfisher.swift
/host/spi-builder-workspace/.build/checkouts/SwiftMessages/SwiftMessages/Animator.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[52/177] Compiling Kingfisher AVAssetImageDataProvider.swift
/host/spi-builder-workspace/.build/checkouts/SwiftMessages/SwiftMessages/Animator.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[53/177] Compiling Kingfisher ImageDataProvider.swift
/host/spi-builder-workspace/.build/checkouts/SwiftMessages/SwiftMessages/Animator.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
[54/177] Compiling Kingfisher Resource.swift
/host/spi-builder-workspace/.build/checkouts/SwiftMessages/SwiftMessages/Animator.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[55/177] Emitting module DeviceKit
/host/spi-builder-workspace/.build/checkouts/DeviceKit/Source/Device.generated.swift:15:8: error: no such module 'UIKit'
import UIKit
       ^
[56/177] Compiling DeviceKit Device.generated.swift
/host/spi-builder-workspace/.build/checkouts/DeviceKit/Source/Device.generated.swift:15:8: error: no such module 'UIKit'
import UIKit
       ^
/host/spi-builder-workspace/.build/checkouts/SwiftMessages/SwiftMessages/Animator.swift:9:8: error: no such module 'UIKit'
import UIKit
       ^
/host/spi-builder-workspace/.build/checkouts/InputBarAccessoryView/Sources/Controls/InputBarButtonItem.swift:28:8: error: no such module 'UIKit'
import UIKit
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
/host/spi-builder-workspace/.build/checkouts/Kingfisher/Sources/Cache/CacheSerializer.swift:28:8: error: no such module 'CoreGraphics'
import CoreGraphics
       ^
BUILD FAILURE 5.8 linux

Build Machine: Linux 2