The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CellKit with Swift 5.9 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.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/futuredapp/CellKit.git
Reference: main
Cloned https://github.com/futuredapp/CellKit.git into spi-builder-workspace
SUCCESS checkout https://github.com/futuredapp/CellKit.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
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.9-latest swift build 2>&1
Fetching https://github.com/ra1028/DifferenceKit.git
[1/2309] Fetching differencekit
Fetched https://github.com/ra1028/DifferenceKit.git (0.59s)
Computing version for https://github.com/ra1028/DifferenceKit.git
Computed https://github.com/ra1028/DifferenceKit.git at 1.3.0 (1.06s)
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...
[1/25] Compiling CellKit SupplementaryElementKind.swift
/host/spi-builder-workspace/Sources/CellKit/CollectionReusableView.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[2/26] Compiling DifferenceKit Differentiable.swift
/host/spi-builder-workspace/Sources/CellKit/CollectionReusableView.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[3/26] Compiling DifferenceKit DifferentiableSection.swift
/host/spi-builder-workspace/Sources/CellKit/CollectionReusableView.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[4/26] Compiling CellKit LazySupplementaryViewProvider.swift
/host/spi-builder-workspace/Sources/CellKit/CollectionReusableView.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[5/26] Compiling DifferenceKit AppKitExtension.swift
[6/26] Compiling DifferenceKit ElementPath.swift
[7/26] Compiling DifferenceKit UIKitExtension.swift
[8/27] Compiling DifferenceKit ContentEquatable.swift
[9/27] Compiling DifferenceKit ContentIdentifiable.swift
[10/27] Compiling DifferenceKit ArraySection.swift
[11/27] Compiling DifferenceKit Changeset.swift
[12/27] Emitting module DifferenceKit
[15/27] Compiling DifferenceKit Algorithm.swift
[16/27] Compiling DifferenceKit AnyDifferentiable.swift
[17/27] Compiling CellKit CollectionSupplementaryViewModel.swift
/host/spi-builder-workspace/Sources/CellKit/CollectionReusableView.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[18/27] Compiling CellKit LazyCellProvider.swift
/host/spi-builder-workspace/Sources/CellKit/CollectionReusableView.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[19/27] Compiling DifferenceKit StagedChangeset.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[22/29] Emitting module CellKit
/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
       ^
/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
       ^
[29/29] Compiling CellKit ReusableView.swift
/host/spi-builder-workspace/Sources/CellKit/CollectionReusableView.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 2