Build Information
Failed to build FileSelectorView, reference main (6768ec
), with Swift 5.9 for Linux on 16 Apr 2025 08:38:31 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Nef10/FileSelectorView.git
Reference: main
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/Nef10/FileSelectorView
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 6768ec3 Bump swift-actions/setup-swift from 2.2.0 to 2.3.0
Cloned https://github.com/Nef10/FileSelectorView.git
Revision (git rev-parse @):
6768ec39f0990e005dfe1bc6294cd3860f7b873a
SUCCESS checkout https://github.com/Nef10/FileSelectorView.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: $PWD
https://github.com/Nef10/FileSelectorView.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:93fe18f778ec94e026baa8cc68b2ae87de241b204c49ca7a3a12cf55897227aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
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