The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CellKit with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/futuredapp/CellKit.git
Reference: main
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/futuredapp/CellKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 80cdd77 Merge pull request #49 from futuredapp/housekeep/supplementary-kinds
Cloned https://github.com/futuredapp/CellKit.git
Revision (git rev-parse @):
80cdd77e999f0c4266c9fd1392b9bebaeb50e71a
SUCCESS checkout https://github.com/futuredapp/CellKit.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/futuredapp/CellKit.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/ra1028/DifferenceKit.git
[1/2321] Fetching differencekit
Fetched https://github.com/ra1028/DifferenceKit.git from cache (0.50s)
Computing version for https://github.com/ra1028/DifferenceKit.git
Computed https://github.com/ra1028/DifferenceKit.git at 1.3.0 (0.39s)
Creating working copy for https://github.com/ra1028/DifferenceKit.git
Working copy of https://github.com/ra1028/DifferenceKit.git resolved at 1.3.0
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/29] Compiling DifferenceKit AppKitExtension.swift
[6/29] Compiling DifferenceKit UIKitExtension.swift
[7/30] Compiling DifferenceKit ElementPath.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/30] Emitting module CellKit
/host/spi-builder-workspace/Sources/CellKit/CollectionReusableView.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[9/31] Compiling DifferenceKit Algorithm.swift
/host/spi-builder-workspace/Sources/CellKit/CollectionReusableView.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[10/31] Compiling DifferenceKit AnyDifferentiable.swift
/host/spi-builder-workspace/Sources/CellKit/CollectionReusableView.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[13/31] Emitting module DifferenceKit
[14/31] Compiling DifferenceKit StagedChangeset.swift
[15/31] Compiling CellKit CollectionReusableView.swift
[16/31] Compiling CellKit DataSource.swift
[17/31] Compiling DifferenceKit ArraySection.swift
[18/31] Compiling DifferenceKit Changeset.swift
[19/31] Compiling CellKit CellConfigurable.swift
[20/31] Compiling CellKit CellConvertible.swift
[22/32] Compiling CellKit SupplementaryElementKind.swift
/host/spi-builder-workspace/Sources/CellKit/CollectionReusableView.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[23/32] Compiling CellKit LazySupplementaryViewProvider.swift
/host/spi-builder-workspace/Sources/CellKit/CollectionReusableView.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
/host/spi-builder-workspace/Sources/CellKit/CollectionReusableView.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
/host/spi-builder-workspace/Sources/CellKit/CollectionReusableView.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[26/32] Compiling CellKit CellModel.swift
/host/spi-builder-workspace/Sources/CellKit/CollectionReusableView.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[27/32] Compiling CellKit CellModelDataSource.swift
/host/spi-builder-workspace/Sources/CellKit/CollectionReusableView.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
/host/spi-builder-workspace/Sources/CellKit/CollectionReusableView.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
/host/spi-builder-workspace/Sources/CellKit/CollectionReusableView.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
/host/spi-builder-workspace/Sources/CellKit/CollectionReusableView.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
/host/spi-builder-workspace/Sources/CellKit/CollectionReusableView.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[32/32] Compiling CellKit ReusableView.swift
/host/spi-builder-workspace/Sources/CellKit/CollectionReusableView.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/14] Compiling CellKit CollectionSupplementaryViewModel.swift
/host/spi-builder-workspace/Sources/CellKit/CollectionReusableView.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[3/14] Compiling CellKit LazyCellProvider.swift
/host/spi-builder-workspace/Sources/CellKit/CollectionReusableView.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/15] Emitting module CellKit
/host/spi-builder-workspace/Sources/CellKit/CollectionReusableView.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[5/15] Compiling CellKit LazySupplementaryViewProvider.swift
/host/spi-builder-workspace/Sources/CellKit/CollectionReusableView.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[6/15] Compiling CellKit SupplementaryElementKind.swift
/host/spi-builder-workspace/Sources/CellKit/CollectionReusableView.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[7/15] Compiling CellKit ReusableView.swift
/host/spi-builder-workspace/Sources/CellKit/CollectionReusableView.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[8/15] Compiling CellKit CellModelSection.swift
/host/spi-builder-workspace/Sources/CellKit/CollectionReusableView.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[9/15] Compiling CellKit CellModelSelectable.swift
/host/spi-builder-workspace/Sources/CellKit/CollectionReusableView.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[10/15] Compiling CellKit CollectionReusableView.swift
/host/spi-builder-workspace/Sources/CellKit/CollectionReusableView.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[11/15] Compiling CellKit DataSource.swift
/host/spi-builder-workspace/Sources/CellKit/CollectionReusableView.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[12/15] Compiling CellKit CellModel.swift
/host/spi-builder-workspace/Sources/CellKit/CollectionReusableView.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[13/15] Compiling CellKit CellModelDataSource.swift
/host/spi-builder-workspace/Sources/CellKit/CollectionReusableView.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[14/15] Compiling CellKit CellConfigurable.swift
/host/spi-builder-workspace/Sources/CellKit/CollectionReusableView.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[15/15] Compiling CellKit CellConvertible.swift
/host/spi-builder-workspace/Sources/CellKit/CollectionReusableView.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 1