The Swift Package Index logo.Swift Package Index

Build Information

Failed to build WhatsNew 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/frios/WhatsNew.git
Reference: main
Cloned https://github.com/frios/WhatsNew.git into spi-builder-workspace
SUCCESS checkout https://github.com/frios/WhatsNew.git at main
========================================
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
Building for debugging...
[0/8] Copying Localizable.strings
[0/8] Copying Info.plist
[1/8] Copying Localizable.strings
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/13] Emitting module WhatsNew
/host/spi-builder-workspace/Sources/WhatsNew/BulletPointView.swift:10:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[10/13] Compiling WhatsNew BulletPointView.swift
/host/spi-builder-workspace/Sources/WhatsNew/BulletPointView.swift:10:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[11/13] Compiling WhatsNew WhatsNew.swift
/host/spi-builder-workspace/Sources/WhatsNew/BulletPointView.swift:10:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[12/13] Compiling WhatsNew WhatsNewView.swift
/host/spi-builder-workspace/Sources/WhatsNew/BulletPointView.swift:10:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[13/13] Compiling WhatsNew resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/WhatsNew/BulletPointView.swift:10:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
BUILD FAILURE 5.8 linux

Build Machine: Linux 2