The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build ConfettiSwiftUI, reference master (79666d), with Swift 5.10 for Linux on 8 Apr 2025 02:13:27 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/simibac/ConfettiSwiftUI.git
Reference: master
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/simibac/ConfettiSwiftUI
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 79666d4 Update ConfettiSwiftUI.swift
Cloned https://github.com/simibac/ConfettiSwiftUI.git
Revision (git rev-parse @):
79666d42b882bf7921b1941fa7c636d681d77980
SUCCESS checkout https://github.com/simibac/ConfettiSwiftUI.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/simibac/ConfettiSwiftUI.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
2ec76a50fe7c: Pulling fs layer
031194576cad: Pulling fs layer
f49f3db6a794: Pulling fs layer
099074009041: Pulling fs layer
0afc65284a0d: Pulling fs layer
47a8ae04d29e: Pulling fs layer
0afc65284a0d: Waiting
47a8ae04d29e: Waiting
099074009041: Waiting
2ec76a50fe7c: Verifying Checksum
2ec76a50fe7c: Download complete
099074009041: Download complete
2ec76a50fe7c: Pull complete
0afc65284a0d: Verifying Checksum
0afc65284a0d: Download complete
47a8ae04d29e: Verifying Checksum
47a8ae04d29e: Download complete
031194576cad: Verifying Checksum
031194576cad: Download complete
f49f3db6a794: Verifying Checksum
f49f3db6a794: Download complete
031194576cad: Pull complete
f49f3db6a794: Pull complete
099074009041: Pull complete
0afc65284a0d: Pull complete
47a8ae04d29e: Pull complete
Digest: sha256:616ef225d0085997f26355ad9695b1159b91f6187a43f9ff135cb59d096bc97d
Status: Downloaded newer image for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/8] Compiling ConfettiSwiftUI View+ConfettiCannon.swift
/host/spi-builder-workspace/Sources/ConfettiSwiftUI.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[4/8] Compiling ConfettiSwiftUI Triangle.swift
/host/spi-builder-workspace/Sources/ConfettiSwiftUI.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[5/8] Compiling ConfettiSwiftUI RoundedCross.swift
/host/spi-builder-workspace/Sources/ConfettiSwiftUI.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[6/8] Compiling ConfettiSwiftUI SlimRectangle.swift
/host/spi-builder-workspace/Sources/ConfettiSwiftUI.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/8] Emitting module ConfettiSwiftUI
/host/spi-builder-workspace/Sources/ConfettiSwiftUI.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[8/8] Compiling ConfettiSwiftUI ConfettiSwiftUI.swift
/host/spi-builder-workspace/Sources/ConfettiSwiftUI.swift:142:42: warning: unknown operating system for build configuration 'os'
#if canImport(UIKit) && !os(tvOS) && !os(visionOS)
                                         ^
/host/spi-builder-workspace/Sources/ConfettiSwiftUI.swift:142:42: note: did you mean 'iOS'?
#if canImport(UIKit) && !os(tvOS) && !os(visionOS)
                                         ^~~~~~~~
                                         iOS
/host/spi-builder-workspace/Sources/ConfettiSwiftUI.swift:142:42: note: did you mean 'Windows'?
#if canImport(UIKit) && !os(tvOS) && !os(visionOS)
                                         ^~~~~~~~
                                         Windows
/host/spi-builder-workspace/Sources/ConfettiSwiftUI.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
error: fatalError
BUILD FAILURE 5.10 linux