The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ListDiffUI 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/siyuyue/ListDiffUI.git
Reference: main
Cloned https://github.com/siyuyue/ListDiffUI.git into spi-builder-workspace
SPI manifest file found: spi-builder-workspace/.spi.yml
SUCCESS checkout https://github.com/siyuyue/ListDiffUI.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/lxcid/ListDiff.git
[1/212] Fetching listdiff
Fetched https://github.com/lxcid/ListDiff.git (0.20s)
Creating working copy for https://github.com/lxcid/ListDiff.git
Working copy of https://github.com/lxcid/ListDiff.git resolved at 1390504170150f378aa1be17f92322e6d12533d8
Building for debugging...
[1/2] Compiling ListDiff ListDiff.swift
[2/2] Emitting module ListDiff
[5/12] Compiling ListDiffUI ListViewState.swift
/host/spi-builder-workspace/Sources/ListCell.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[6/12] Compiling ListDiffUI ListViewModel.swift
/host/spi-builder-workspace/Sources/ListCell.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[7/12] Compiling ListDiffUI ListDiffContext.swift
/host/spi-builder-workspace/Sources/ListCell.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[8/12] Compiling ListDiffUI ListCellController.swift
/host/spi-builder-workspace/Sources/ListCell.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/12] Compiling ListDiffUI ListCell.swift
/host/spi-builder-workspace/Sources/ListCell.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[10/12] Emitting module ListDiffUI
/host/spi-builder-workspace/Sources/ListCell.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[11/12] Compiling ListDiffUI ListSection.swift
/host/spi-builder-workspace/Sources/ListCell.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
[12/12] Compiling ListDiffUI ListDiffDataSource.swift
/host/spi-builder-workspace/Sources/ListCell.swift:1:8: error: no such module 'UIKit'
import UIKit
       ^
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 2