The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Chat2App with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-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.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/vpeschenkov/LetterAvatarKit
Fetching https://github.com/nathantannar4/InputBarAccessoryView
Fetching https://github.com/SwiftKickMobile/SwiftMessages
[1/1224] Fetching letteravatarkit
[1225/5102] Fetching letteravatarkit, inputbaraccessoryview
[1885/9200] Fetching letteravatarkit, inputbaraccessoryview, swiftmessages
Fetching https://github.com/MessageKit/MessageKit
Fetched https://github.com/vpeschenkov/LetterAvatarKit (1.00s)
Fetched https://github.com/nathantannar4/InputBarAccessoryView (1.01s)
Fetching https://github.com/devicekit/DeviceKit
Fetched https://github.com/SwiftKickMobile/SwiftMessages (1.04s)
Fetching https://github.com/onevcat/Kingfisher
[1/3295] Fetching devicekit
[3296/31563] Fetching devicekit, kingfisher
Fetched https://github.com/devicekit/DeviceKit (0.43s)
[9046/28268] Fetching kingfisher
[22051/57377] Fetching kingfisher, messagekit
Fetched https://github.com/MessageKit/MessageKit (4.72s)
Fetched https://github.com/onevcat/Kingfisher (4.69s)
Computing version for https://github.com/devicekit/DeviceKit
Computed https://github.com/devicekit/DeviceKit at 5.0.0 (0.28s)
Computing version for https://github.com/vpeschenkov/LetterAvatarKit
Computed https://github.com/vpeschenkov/LetterAvatarKit at 1.2.5 (0.28s)
Computing version for https://github.com/SwiftKickMobile/SwiftMessages
Computed https://github.com/SwiftKickMobile/SwiftMessages at 9.0.6 (0.27s)
Computing version for https://github.com/MessageKit/MessageKit
Computed https://github.com/MessageKit/MessageKit at 4.1.1 (0.32s)
Computing version for https://github.com/nathantannar4/InputBarAccessoryView
Computed https://github.com/nathantannar4/InputBarAccessoryView at 6.1.1 (0.30s)
Computing version for https://github.com/onevcat/Kingfisher
Computed https://github.com/onevcat/Kingfisher at 7.8.1 (0.31s)
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
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/MessageKit/MessageKit
Working copy of https://github.com/MessageKit/MessageKit resolved at 4.1.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/vpeschenkov/LetterAvatarKit
Working copy of https://github.com/vpeschenkov/LetterAvatarKit resolved at 1.2.5
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
[8427/1381476] Downloading https://github.com/nicklockwood/SwiftFormat/releases/download/0.49.13/swiftformat.artifactbundle.zip
[165191/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.52s)
[16756142/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.06s)
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
/host/spi-builder-workspace/.build/checkouts/MessageKit/Plugins/SwiftFormatPlugin/SwiftFormatPlugin.swift:33:13: warning: 'launchPath' is deprecated: renamed to 'executableURL'
    process.launchPath = try context.tool(named: "swiftformat").path.string
            ^
/host/spi-builder-workspace/.build/checkouts/MessageKit/Plugins/SwiftFormatPlugin/SwiftFormatPlugin.swift:33:13: note: use 'executableURL' instead
    process.launchPath = try context.tool(named: "swiftformat").path.string
            ^~~~~~~~~~
            executableURL
[1/1] Compiling plugin SwiftFormatPlugin
[2/2] Compiling plugin SwiftLintPlugin
Building for debugging...
[2/43] Copying warningIcon.png
[2/43] Copying errorIconLight.png
[2/43] Copying successIconLight@2x.png
[2/43] Copying errorIconSubtle@2x.png
[3/43] Copying warningIcon@2x.png
[6/43] Copying warningIconLight@2x.png
[6/43] Copying StatusLine.xib
[6/43] Copying warningIconSubtle@3x.png
[6/43] Copying warningIconLight.png
[6/43] Copying warningIcon@3x.png
[7/43] Copying warningIconSubtle.png
[7/43] Copying warningIconSubtle@2x.png
[11/43] Copying warningIconLight@3x.png
[13/43] Copying successIconSubtle@3x.png
[13/43] Copying MessageView.xib
[14/43] Copying successIconSubtle.png
[14/43] Copying successIconLight@3x.png
[14/43] Copying successIconLight.png
[14/43] Copying successIcon@3x.png
[14/43] Copying successIcon@2x.png
[14/43] Copying successIcon.png
[14/43] Copying infoIconSubtle@2x.png
[14/43] Copying infoIconSubtle.png
[14/43] Copying infoIconSubtle@3x.png
[14/43] Copying infoIconLight@3x.png
[14/43] Copying successIconSubtle@2x.png
[14/43] Copying infoIconLight@2x.png
[15/43] Copying infoIconLight.png
[16/43] Copying infoIcon@3x.png
[17/43] Copying infoIcon@2x.png
[20/43] Copying errorIconSubtle@3x.png
[21/43] Copying errorIconSubtle.png
[21/43] Copying infoIcon.png
[23/43] Copying errorIconLight@3x.png
[25/43] Copying errorIcon@3x.png
[29/43] Copying errorIcon@2x.png
[31/43] Copying errorIcon.png
[33/43] Copying errorIconLight@2x.png
[34/43] Copying TabView.xib
[37/43] Copying CenteredView.xib
[38/43] Copying CardView.xib
error: emit-module command failed with exit code 1 (use -v to see invocation)
[44/168] Emitting module DeviceKit
/host/spi-builder-workspace/.build/checkouts/DeviceKit/Source/Device.generated.swift:15:8: error: no such module 'UIKit'
import UIKit
       ^
[45/168] 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
       ^
error: fatalError
error: emit-module command failed with exit code 1 (use -v to see invocation)
[46/168] Emitting module Kingfisher
/host/spi-builder-workspace/.build/checkouts/Kingfisher/Sources/Cache/CacheSerializer.swift:28:8: error: no such module 'CoreGraphics'
import CoreGraphics
       ^
/host/spi-builder-workspace/.build/checkouts/Kingfisher/Sources/Cache/CacheSerializer.swift:28:8: error: no such module 'CoreGraphics'
import CoreGraphics
       ^
/host/spi-builder-workspace/.build/checkouts/InputBarAccessoryView/Sources/Controls/InputBarButtonItem.swift:28: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/LetterAvatarKit/LetterAvatarKit/Extensions/UIColor+LetterAvatarKit.swift:26:8: error: no such module 'UIKit'
import UIKit
       ^
BUILD FAILURE 5.9 linux

Build Machine: Linux 1