Build Information
Failed to build Forge with Swift 5.8 for Linux.
Build Command
docker run --rm -v "checkouts-4606859-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/Hi-Rez/Forge.git
Reference: 1.4.2
Cloned https://github.com/Hi-Rez/Forge.git into spi-builder-workspace
SUCCESS checkout https://github.com/Hi-Rez/Forge.git at 1.4.2
========================================
Build
========================================
Selected platform: linux
Swift version: 5.8
Building package at path: spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/5] Compiling Forge MetalView.swift
/host/spi-builder-workspace/Sources/Forge/ForgeView.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
^
[2/5] Compiling Forge ForgeView.swift
/host/spi-builder-workspace/Sources/Forge/ForgeView.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
^
[3/5] Emitting module Forge
/host/spi-builder-workspace/Sources/Forge/ForgeView.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
^
[4/5] Compiling Forge Renderer.swift
/host/spi-builder-workspace/Sources/Forge/ForgeView.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
^
[5/5] Compiling Forge ViewController.swift
/host/spi-builder-workspace/Sources/Forge/ForgeView.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
^
BUILD FAILURE 5.8 linux
Build Machine: Linux 1