The Swift Package Index logo.Swift Package Index

Build Information

Failed to build GradientMaker with Swift 5.9 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-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.9
Building package at path:  $workDir
https://github.com/dentedpixel/GradientMaker.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Unable to find image 'registry.gitlab.com/finestructure/spi-images:basic-5.9-latest' locally
basic-5.9-latest: Pulling from finestructure/spi-images
31bd5f451a84: Already exists
6f7ff0e45bf3: Pulling fs layer
187e13ff38c9: Pulling fs layer
8d82e8c3cd64: Pulling fs layer
8e2d0bb5b56a: Pulling fs layer
e54d2359782a: Pulling fs layer
8e2d0bb5b56a: Waiting
e54d2359782a: Waiting
8d82e8c3cd64: Download complete
6f7ff0e45bf3: Verifying Checksum
6f7ff0e45bf3: Download complete
e54d2359782a: Verifying Checksum
e54d2359782a: Download complete
187e13ff38c9: Download complete
8e2d0bb5b56a: Verifying Checksum
8e2d0bb5b56a: Download complete
6f7ff0e45bf3: Pull complete
187e13ff38c9: Pull complete
8d82e8c3cd64: Pull complete
8e2d0bb5b56a: Pull complete
e54d2359782a: Pull complete
Digest: sha256:2406c0253e89dbb3782eb255eb3d3736ff702a08c11337855783981530b5a540
Status: Downloaded newer image for registry.gitlab.com/finestructure/spi-images:basic-5.9-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
       ^
error: fatalError
[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/3] Emitting module GradientMaker
/host/spi-builder-workspace/Sources/GradientMaker/Gradient+Extensions.swift:9:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[2/3] Compiling GradientMaker Gradient+Extensions.swift
/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
       ^
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 1