Build Information
Failed to build ConfettiSwiftUI, reference 2.0.3 (79666d
), with Swift 5.9 for Linux on 8 Apr 2025 02:15:15 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-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: 2.0.3
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
* tag 2.0.3 -> FETCH_HEAD
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 2.0.3
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: $PWD
https://github.com/simibac/ConfettiSwiftUI.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
8f84a9f2102e: Already exists
6eefca8fdaf3: Pulling fs layer
9c857ba5dc62: Pulling fs layer
7f7c83cdebe1: Pulling fs layer
ca8de8a349af: Pulling fs layer
efdb6a6bde4e: Pulling fs layer
ca8de8a349af: Waiting
efdb6a6bde4e: Waiting
7f7c83cdebe1: Verifying Checksum
7f7c83cdebe1: Download complete
6eefca8fdaf3: Verifying Checksum
6eefca8fdaf3: Download complete
efdb6a6bde4e: Download complete
ca8de8a349af: Download complete
6eefca8fdaf3: Pull complete
9c857ba5dc62: Verifying Checksum
9c857ba5dc62: Download complete
9c857ba5dc62: Pull complete
7f7c83cdebe1: Pull complete
ca8de8a349af: Pull complete
efdb6a6bde4e: Pull complete
Digest: sha256:93fe18f778ec94e026baa8cc68b2ae87de241b204c49ca7a3a12cf55897227aa
Status: Downloaded newer image for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Building for debugging...
[1/6] Compiling ConfettiSwiftUI View+ConfettiCannon.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)
[2/6] Compiling ConfettiSwiftUI Triangle.swift
/host/spi-builder-workspace/Sources/ConfettiSwiftUI.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
^
[3/6] 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
^
[4/6] Emitting module ConfettiSwiftUI
/host/spi-builder-workspace/Sources/ConfettiSwiftUI.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
^
[5/6] Compiling ConfettiSwiftUI RoundedCross.swift
/host/spi-builder-workspace/Sources/ConfettiSwiftUI.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
^
[6/6] Compiling ConfettiSwiftUI SlimRectangle.swift
/host/spi-builder-workspace/Sources/ConfettiSwiftUI.swift:8:8: error: no such module 'SwiftUI'
import SwiftUI
^
error: fatalError
BUILD FAILURE 5.9 linux