Build Information
Failed to build DIFlowLayout 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/danielinoa/DIFlowLayout.git
Reference: main
Cloned https://github.com/danielinoa/DIFlowLayout.git into spi-builder-workspace
SUCCESS checkout https://github.com/danielinoa/DIFlowLayout.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/danielinoa/DIFlowLayoutEngine
Fetched https://github.com/danielinoa/DIFlowLayoutEngine (0.24s)
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
^
error: fatalError
BUILD FAILURE 5.9 linux
Build Machine: Linux 2