The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Chat2App with Swift 5.7 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.7-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.7
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1
Fetching https://github.com/MessageKit/MessageKit
Fetching https://github.com/SwiftKickMobile/SwiftMessages
Fetching https://github.com/nathantannar4/InputBarAccessoryView
[1/3878] Fetching inputbaraccessoryview
[661/7976] Fetching inputbaraccessoryview, swiftmessages
[5150/37085] Fetching inputbaraccessoryview, swiftmessages, messagekit
Fetched https://github.com/nathantannar4/InputBarAccessoryView (0.89s)
Fetching https://github.com/devicekit/DeviceKit
Fetched https://github.com/SwiftKickMobile/SwiftMessages (0.91s)
Fetching https://github.com/vpeschenkov/LetterAvatarKit
[8152/30333] Fetching messagekit, letteravatarkit
[9376/33628] Fetching messagekit, letteravatarkit, devicekit
Fetched https://github.com/vpeschenkov/LetterAvatarKit (0.24s)
[8646/32404] Fetching messagekit, devicekit
Fetching https://github.com/onevcat/Kingfisher
Fetched https://github.com/devicekit/DeviceKit (0.56s)
[8152/57377] Fetching messagekit, kingfisher
Fetched https://github.com/MessageKit/MessageKit (3.52s)
Fetched https://github.com/onevcat/Kingfisher (3.99s)
Computing version for https://github.com/devicekit/DeviceKit
Computed https://github.com/devicekit/DeviceKit at 5.0.0 (0.93s)
Computing version for https://github.com/vpeschenkov/LetterAvatarKit
Computed https://github.com/vpeschenkov/LetterAvatarKit at 1.2.5 (0.26s)
Computing version for https://github.com/SwiftKickMobile/SwiftMessages
Computed https://github.com/SwiftKickMobile/SwiftMessages at 9.0.6 (0.24s)
Computing version for https://github.com/MessageKit/MessageKit
Computed https://github.com/MessageKit/MessageKit at 4.1.1 (0.27s)
Computing version for https://github.com/nathantannar4/InputBarAccessoryView
Computed https://github.com/nathantannar4/InputBarAccessoryView at 6.1.1 (0.24s)
Computing version for https://github.com/onevcat/Kingfisher
Computed https://github.com/onevcat/Kingfisher at 7.8.1 (0.25s)
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/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/nathantannar4/InputBarAccessoryView
Working copy of https://github.com/nathantannar4/InputBarAccessoryView resolved at 6.1.1
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
[1/21122] Downloading https://github.com/realm/SwiftLint/releases/download/0.47.1/SwiftLintBinary-macos.artifactbundle.zip
[160/22471] Downloading https://github.com/realm/SwiftLint/releases/download/0.47.1/SwiftLintBinary-macos.artifactbundle.zip, https://github.com/nicklockwood/SwiftFormat/releases/download/0.49.13/swiftformat.artifactbundle.zip
Downloaded https://github.com/nicklockwood/SwiftFormat/releases/download/0.49.13/swiftformat.artifactbundle.zip (0.25s)
[16042/21122] 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 (1.74s)
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

Compiling plugin SwiftFormatPlugin...
Compiling plugin SwiftLintPlugin...
/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
Building for debugging...
[0/41] Copying warningIconSubtle.png
[0/41] Copying errorIcon@3x.png
[0/41] Copying successIcon.png
[0/41] Copying successIconSubtle@2x.png
[0/41] Copying successIconLight@3x.png
[1/41] Copying warningIconSubtle@3x.png
[5/41] Copying warningIconLight@2x.png
[6/41] Copying warningIconSubtle@2x.png
[8/41] Copying warningIcon@3x.png
[9/41] Copying warningIcon@2x.png
[9/41] Copying warningIcon.png
[9/41] Copying successIconSubtle@3x.png
[12/41] Copying successIconLight.png
[12/41] Copying warningIconLight.png
[12/41] Copying successIcon@2x.png
[12/41] Copying successIcon@3x.png
[12/41] Copying infoIconSubtle@3x.png
[12/41] Copying warningIconLight@3x.png
[12/41] Copying infoIconLight@3x.png
[12/41] Copying infoIconSubtle@2x.png
[12/41] Copying infoIconSubtle.png
[12/41] Copying infoIconLight@2x.png
[12/41] Copying infoIcon@3x.png
[12/41] Copying infoIconLight.png
[12/41] Copying infoIcon@2x.png
[12/41] Copying infoIcon.png
[12/41] Copying errorIconSubtle@2x.png
[12/41] Copying errorIconSubtle@3x.png
[12/41] Copying errorIconLight.png
[12/41] Copying errorIconSubtle.png
[12/41] Copying errorIconLight@3x.png
[12/41] Copying errorIconLight@2x.png
[12/41] Copying errorIcon@2x.png
[12/41] Copying errorIcon.png
[12/41] Copying TabView.xib
[12/41] Copying StatusLine.xib
[12/41] Copying CardView.xib
[12/41] Copying CenteredView.xib
[12/41] Copying MessageView.xib
[16/41] Copying successIconLight@2x.png
[17/41] Copying successIconSubtle.png
error: emit-module command failed with exit code 1 (use -v to see invocation)[42/166] Emitting module DeviceKit
/host/spi-builder-workspace/.build/checkouts/DeviceKit/Source/Device.generated.swift:15:8: error: no such module 'UIKit'
import UIKit
       ^
[43/166] 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/InputBarAccessoryView/Sources/Controls/InputBarButtonItem.swift:28:8: error: no such module 'UIKit'
import UIKit
       ^
BUILD FAILURE 5.7 linux

Build Machine: Linux 1