The Swift Package Index logo.Swift Package Index

Build Information

Failed to build DynamicColor with Swift 5.9 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.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/yannickl/DynamicColor.git
Reference: master
Cloned https://github.com/yannickl/DynamicColor.git into spi-builder-workspace
SUCCESS checkout https://github.com/yannickl/DynamicColor.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
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.9-latest swift build 2>&1
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/17] Emitting module DynamicColor
/host/spi-builder-workspace/Sources/Shared/HSL.swift:27:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[2/19] Compiling DynamicColor Utils.swift
/host/spi-builder-workspace/Sources/Shared/HSL.swift:27:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[3/19] Compiling DynamicColor Color.swift
/host/spi-builder-workspace/Sources/Shared/HSL.swift:27:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[4/19] Compiling DynamicColor GrayscalingMode.swift
/host/spi-builder-workspace/Sources/Shared/HSL.swift:27:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[5/19] Compiling DynamicColor HSL.swift
/host/spi-builder-workspace/Sources/Shared/HSL.swift:27:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[6/19] Compiling DynamicColor DynamicColor+Mixing.swift
/host/spi-builder-workspace/Sources/Shared/HSL.swift:27:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[7/19] Compiling DynamicColor DynamicColor+RGBA.swift
/host/spi-builder-workspace/Sources/Shared/HSL.swift:27:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[8/19] Compiling DynamicColor DynamicGradient.swift
/host/spi-builder-workspace/Sources/Shared/HSL.swift:27:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[9/19] Compiling DynamicColor DynamicColorSpace.swift
/host/spi-builder-workspace/Sources/Shared/HSL.swift:27:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[10/19] Compiling DynamicColor DynamicColor+Color.swift
/host/spi-builder-workspace/Sources/Shared/HSL.swift:27:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[11/19] Compiling DynamicColor HSL+Color.swift
/host/spi-builder-workspace/Sources/Shared/HSL.swift:27:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[12/19] Compiling DynamicColor DynamicColor+XYZ.swift
/host/spi-builder-workspace/Sources/Shared/HSL.swift:27:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[13/19] Compiling DynamicColor DynamicColor.swift
/host/spi-builder-workspace/Sources/Shared/HSL.swift:27:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[14/19] Compiling DynamicColor DynamicColor+HSB.swift
/host/spi-builder-workspace/Sources/Shared/HSL.swift:27:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[15/19] Compiling DynamicColor DynamicColor+HSL.swift
/host/spi-builder-workspace/Sources/Shared/HSL.swift:27:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[16/19] Compiling DynamicColor DynamicColor+Lab.swift
/host/spi-builder-workspace/Sources/Shared/HSL.swift:27:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[17/19] Compiling DynamicColor Array.swift
/host/spi-builder-workspace/Sources/Shared/HSL.swift:27:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[18/19] Compiling DynamicColor ContrastDisplayContext.swift
/host/spi-builder-workspace/Sources/Shared/HSL.swift:27:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[19/19] Compiling DynamicColor DynamicColor+Deriving.swift
/host/spi-builder-workspace/Sources/Shared/HSL.swift:27:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 2