The Swift Package Index logo.Swift Package Index

Build Information

Failed to build GradientMaker with Swift 5.7 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dentedpixel/GradientMaker.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/dentedpixel/GradientMaker
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 6ed8979 Create LICENSE
Cloned https://github.com/dentedpixel/GradientMaker.git
Revision (git rev-parse @):
6ed89790cb8f501ab42b3a0869390b811f90960f
SUCCESS checkout https://github.com/dentedpixel/GradientMaker.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.7
Building package at path:  $workDir
https://github.com/dentedpixel/GradientMaker.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1
Unable to find image 'registry.gitlab.com/finestructure/spi-images:basic-5.7-latest' locally
basic-5.7-latest: Pulling from finestructure/spi-images
31bd5f451a84: Already exists
1f76658c592d: Pulling fs layer
542b6f9a4fc5: Pulling fs layer
3136446ccfbe: Pulling fs layer
5c6e6939848f: Pulling fs layer
2b4e0535b17b: Pulling fs layer
5c6e6939848f: Waiting
2b4e0535b17b: Waiting
3136446ccfbe: Download complete
1f76658c592d: Download complete
5c6e6939848f: Verifying Checksum
5c6e6939848f: Download complete
542b6f9a4fc5: Verifying Checksum
542b6f9a4fc5: Download complete
1f76658c592d: Pull complete
542b6f9a4fc5: Pull complete
3136446ccfbe: Pull complete
5c6e6939848f: Pull complete
2b4e0535b17b: Pull complete
Digest: sha256:96f5a7b6e38213e7ff4684cc52bae190af914d37e286b165c2eaa1a1138bf8ba
Status: Downloaded newer image for registry.gitlab.com/finestructure/spi-images:basic-5.7-latest
Building for debugging...
[1/3] Compiling GradientMaker GradientMaker.swift
/host/spi-builder-workspace/Sources/GradientMaker/Gradient+Extensions.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)[2/3] Emitting module GradientMaker
/host/spi-builder-workspace/Sources/GradientMaker/Gradient+Extensions.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[3/3] Compiling GradientMaker Gradient+Extensions.swift
/host/spi-builder-workspace/Sources/GradientMaker/Gradient+Extensions.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)[1/3] Compiling GradientMaker Gradient+Extensions.swift
/host/spi-builder-workspace/Sources/GradientMaker/Gradient+Extensions.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[2/3] Emitting module GradientMaker
/host/spi-builder-workspace/Sources/GradientMaker/Gradient+Extensions.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[3/3] Compiling GradientMaker GradientMaker.swift
/host/spi-builder-workspace/Sources/GradientMaker/Gradient+Extensions.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
BUILD FAILURE 5.7 linux

Build Machine: Linux 2