The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AdvancedList with Swift 5.7 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.7-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.22.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/crelies/advancedlist.git
Reference: 8.0.0
Cloned https://github.com/crelies/advancedlist.git into spi-builder-workspace
SUCCESS checkout https://github.com/crelies/advancedlist.git at 8.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.7
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.7-latest swift build 2>&1
Fetching https://github.com/crelies/ListPagination
Fetching https://github.com/nalexn/ViewInspector.git
[1/10426] Fetching viewinspector
Fetched https://github.com/nalexn/ViewInspector.git (0.45s)
Fetched https://github.com/crelies/ListPagination (0.46s)
Computing version for https://github.com/nalexn/ViewInspector.git
Computed https://github.com/nalexn/ViewInspector.git at 0.3.8 (0.25s)
Computing version for https://github.com/crelies/ListPagination
Computed https://github.com/crelies/ListPagination at 0.1.1 (0.26s)
Creating working copy for https://github.com/nalexn/ViewInspector.git
Working copy of https://github.com/nalexn/ViewInspector.git resolved at 0.3.8
Creating working copy for https://github.com/crelies/ListPagination
Working copy of https://github.com/crelies/ListPagination resolved at 0.1.1
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)[1/2] Emitting module ListPagination
/host/spi-builder-workspace/.build/checkouts/ListPagination/Sources/ListPagination/public/Extensions/RandomAccessCollection+isLastItem.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[2/2] Compiling ListPagination RandomAccessCollection+isLastItem.swift
/host/spi-builder-workspace/.build/checkouts/ListPagination/Sources/ListPagination/public/Extensions/RandomAccessCollection+isLastItem.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
BUILD FAILURE 5.7 linux

Build Machine: Linux 1