The Swift Package Index logo.Swift Package Index

Build Information

Failed to build d3-color with Swift 5.8 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-1":/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.23.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/The-Igor/d3-color.git
Reference: main
Cloned https://github.com/The-Igor/d3-color.git into spi-builder-workspace
SUCCESS checkout https://github.com/The-Igor/d3-color.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-4606859-1":/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/2] Emitting module d3_color
/host/spi-builder-workspace/Sources/d3-color/Color+Ext.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[2/2] Compiling d3_color Color+Ext.swift
/host/spi-builder-workspace/Sources/d3-color/Color+Ext.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
BUILD FAILURE 5.8 linux

Build Machine: Linux 1