The Swift Package Index logo.Swift Package Index

Build Information

Failed to build DIFlowLayout with Swift 5.8 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.22.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/danielinoa/DIFlowLayout.git
Reference: v1.0.1
Cloned https://github.com/danielinoa/DIFlowLayout.git into spi-builder-workspace
SUCCESS checkout https://github.com/danielinoa/DIFlowLayout.git at v1.0.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Fetching https://github.com/danielinoa/DIFlowLayoutEngine
Fetched https://github.com/danielinoa/DIFlowLayoutEngine (0.17s)
Creating working copy for https://github.com/danielinoa/DIFlowLayoutEngine
Working copy of https://github.com/danielinoa/DIFlowLayoutEngine resolved at main
Building for debugging...
[1/2] Emitting module DIFlowLayoutEngine
[2/2] Compiling DIFlowLayoutEngine DIFlowLayoutEngine.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/6] Emitting module DIFlowLayout
/host/spi-builder-workspace/Sources/DIFlowLayout/DIFlowLayout.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[6/6] Compiling DIFlowLayout DIFlowLayout.swift
/host/spi-builder-workspace/Sources/DIFlowLayout/DIFlowLayout.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
BUILD FAILURE 5.8 linux

Build Machine: Linux 2