Build Information
Failed to build FileSelectorView with Swift 5.9 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-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.24.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Nef10/FileSelectorView.git
Reference: v1.0.0
Cloned https://github.com/Nef10/FileSelectorView.git into /host/spi-builder-workspace
Revision (git rev-parse @):
SUCCESS checkout https://github.com/Nef10/FileSelectorView.git at v1.0.0
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: /host/spi-builder-workspace
WARNING: No swap limit support
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/2] Emitting module FileSelectorView
/host/spi-builder-workspace/Sources/FileSelectorView/FileSelectorView.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
^
[2/2] Compiling FileSelectorView FileSelectorView.swift
/host/spi-builder-workspace/Sources/FileSelectorView/FileSelectorView.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
^
error: fatalError
BUILD FAILURE 5.9 linux