Build Information
Failed to build ScreenshotableView 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/rushairer/ScreenshotableView.git
Reference: v0.2.0
Cloned https://github.com/rushairer/ScreenshotableView.git into spi-builder-workspace
SUCCESS checkout https://github.com/rushairer/ScreenshotableView.git at v0.2.0
========================================
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/pointfreeco/swift-snapshot-testing.git
[1/10160] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git (1.53s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.8.1 (0.31s)
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at 1.8.1
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/3] Emitting module ScreenshotableView
/host/spi-builder-workspace/Sources/ScreenshotableView/ScreenshotableView.swift:2:8: error: no such module 'SwiftUI'
import SwiftUI
^
[2/3] Compiling ScreenshotableView View+Snapshot.swift
/host/spi-builder-workspace/Sources/ScreenshotableView/ScreenshotableView.swift:2:8: error: no such module 'SwiftUI'
import SwiftUI
^
[3/3] Compiling ScreenshotableView ScreenshotableView.swift
/host/spi-builder-workspace/Sources/ScreenshotableView/ScreenshotableView.swift:2:8: error: no such module 'SwiftUI'
import SwiftUI
^
BUILD FAILURE 5.8 linux
Build Machine: Linux 2