The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AdvancedList 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/crelies/advancedlist.git
Reference: master
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/crelies/advancedlist
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 56e0ee9 Merge branch 'dev'
Cloned https://github.com/crelies/advancedlist.git
Revision (git rev-parse @):
56e0ee9634b7be8d7a5fffb35aefa702f7ad20a8
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/crelies/advancedlist.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/crelies/advancedlist.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/nalexn/ViewInspector.git
Fetching https://github.com/crelies/ListPagination
[1/83] Fetching listpagination
[84/11188] Fetching listpagination, viewinspector
Fetched https://github.com/crelies/ListPagination from cache (0.48s)
Fetched https://github.com/nalexn/ViewInspector.git from cache (0.48s)
Computing version for https://github.com/nalexn/ViewInspector.git
Computed https://github.com/nalexn/ViewInspector.git at 0.3.8 (0.40s)
Computing version for https://github.com/crelies/ListPagination
Computed https://github.com/crelies/ListPagination at 0.1.1 (0.40s)
Creating working copy for https://github.com/crelies/ListPagination
Working copy of https://github.com/crelies/ListPagination resolved at 0.1.1
Creating working copy for https://github.com/nalexn/ViewInspector.git
Working copy of https://github.com/nalexn/ViewInspector.git resolved at 0.3.8
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/5] 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
       ^
[5/5] 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
       ^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] 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
       ^
[3/3] 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
       ^
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 1