Build Information
Failed to build UIPreview with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-0":/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/0111b/UIPreview.git
Reference: 0.0.3
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/0111b/UIPreview
* tag 0.0.3 -> FETCH_HEAD
HEAD is now at 036c769 Merge pull request #9 from 0111b/develop
Cloned https://github.com/0111b/UIPreview.git
Revision (git rev-parse @):
036c76904e772bdfaa57c6509f299009022391f3
SUCCESS checkout https://github.com/0111b/UIPreview.git at 0.0.3
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/0111b/UIPreview.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/20] Emitting module UIPreview
/host/spi-builder-workspace/Sources/UIPreview/Extensions/View+Any.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[4/22] Compiling UIPreview Preview.swift
/host/spi-builder-workspace/Sources/UIPreview/Extensions/View+Any.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[5/22] Compiling UIPreview PreviewConfiguration.swift
/host/spi-builder-workspace/Sources/UIPreview/Extensions/View+Any.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[6/22] Compiling UIPreview CatalogItemView.swift
/host/spi-builder-workspace/Sources/UIPreview/Extensions/View+Any.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[7/22] Compiling UIPreview ExpandGroup.swift
/host/spi-builder-workspace/Sources/UIPreview/Extensions/View+Any.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[8/22] Compiling UIPreview GroupItemView.swift
/host/spi-builder-workspace/Sources/UIPreview/Extensions/View+Any.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[9/22] Compiling UIPreview ForEach+Raw.swift
/host/spi-builder-workspace/Sources/UIPreview/Extensions/View+Any.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[10/22] Compiling UIPreview View+Any.swift
/host/spi-builder-workspace/Sources/UIPreview/Extensions/View+Any.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[11/22] Compiling UIPreview View+UIViewController.swift
/host/spi-builder-workspace/Sources/UIPreview/Extensions/View+Any.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[12/22] Compiling UIPreview PreviewDescriptor.swift
/host/spi-builder-workspace/Sources/UIPreview/Extensions/View+Any.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[13/22] Compiling UIPreview PreviewItemStyle.swift
/host/spi-builder-workspace/Sources/UIPreview/Extensions/View+Any.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[14/22] Compiling UIPreview PreviewLegend.swift
/host/spi-builder-workspace/Sources/UIPreview/Extensions/View+Any.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[15/22] Compiling UIPreview UICatalog.swift
/host/spi-builder-workspace/Sources/UIPreview/Extensions/View+Any.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[16/22] Compiling UIPreview UICatalogPresentable.swift
/host/spi-builder-workspace/Sources/UIPreview/Extensions/View+Any.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[17/22] Compiling UIPreview UIViewControllerWrapper.swift
/host/spi-builder-workspace/Sources/UIPreview/Extensions/View+Any.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[18/22] Compiling UIPreview ColorSchemePreview.swift
/host/spi-builder-workspace/Sources/UIPreview/Extensions/View+Any.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[19/22] Compiling UIPreview ComponentPreview.swift
/host/spi-builder-workspace/Sources/UIPreview/Extensions/View+Any.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[20/22] Compiling UIPreview ScreenPreview.swift
/host/spi-builder-workspace/Sources/UIPreview/Extensions/View+Any.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[21/22] Compiling UIPreview UIViewWrapper.swift
/host/spi-builder-workspace/Sources/UIPreview/Extensions/View+Any.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[22/22] Compiling UIPreview ViewCoordinator.swift
/host/spi-builder-workspace/Sources/UIPreview/Extensions/View+Any.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/19] Compiling UIPreview Preview.swift
/host/spi-builder-workspace/Sources/UIPreview/Extensions/View+Any.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[3/19] Compiling UIPreview PreviewConfiguration.swift
/host/spi-builder-workspace/Sources/UIPreview/Extensions/View+Any.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[4/21] Compiling UIPreview UICatalogPresentable.swift
/host/spi-builder-workspace/Sources/UIPreview/Extensions/View+Any.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[5/21] Compiling UIPreview UIViewControllerWrapper.swift
/host/spi-builder-workspace/Sources/UIPreview/Extensions/View+Any.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/21] Emitting module UIPreview
/host/spi-builder-workspace/Sources/UIPreview/Extensions/View+Any.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[7/21] Compiling UIPreview PreviewLegend.swift
/host/spi-builder-workspace/Sources/UIPreview/Extensions/View+Any.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[8/21] Compiling UIPreview UICatalog.swift
/host/spi-builder-workspace/Sources/UIPreview/Extensions/View+Any.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[9/21] Compiling UIPreview ColorSchemePreview.swift
/host/spi-builder-workspace/Sources/UIPreview/Extensions/View+Any.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[10/21] Compiling UIPreview ComponentPreview.swift
/host/spi-builder-workspace/Sources/UIPreview/Extensions/View+Any.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[11/21] Compiling UIPreview ScreenPreview.swift
/host/spi-builder-workspace/Sources/UIPreview/Extensions/View+Any.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[12/21] Compiling UIPreview CatalogItemView.swift
/host/spi-builder-workspace/Sources/UIPreview/Extensions/View+Any.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[13/21] Compiling UIPreview ExpandGroup.swift
/host/spi-builder-workspace/Sources/UIPreview/Extensions/View+Any.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[14/21] Compiling UIPreview GroupItemView.swift
/host/spi-builder-workspace/Sources/UIPreview/Extensions/View+Any.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[15/21] Compiling UIPreview PreviewDescriptor.swift
/host/spi-builder-workspace/Sources/UIPreview/Extensions/View+Any.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[16/21] Compiling UIPreview PreviewItemStyle.swift
/host/spi-builder-workspace/Sources/UIPreview/Extensions/View+Any.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[17/21] Compiling UIPreview ForEach+Raw.swift
/host/spi-builder-workspace/Sources/UIPreview/Extensions/View+Any.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[18/21] Compiling UIPreview View+Any.swift
/host/spi-builder-workspace/Sources/UIPreview/Extensions/View+Any.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[19/21] Compiling UIPreview View+UIViewController.swift
/host/spi-builder-workspace/Sources/UIPreview/Extensions/View+Any.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[20/21] Compiling UIPreview UIViewWrapper.swift
/host/spi-builder-workspace/Sources/UIPreview/Extensions/View+Any.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
[21/21] Compiling UIPreview ViewCoordinator.swift
/host/spi-builder-workspace/Sources/UIPreview/Extensions/View+Any.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
^
error: fatalError
BUILD FAILURE 5.10 linux