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 SwiftUIUndo, reference 1.0.0 (173a42), with Swift 6.1 for Linux on 24 May 2025 13:49:00 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Tunous/SwiftUIUndo.git
Reference: 1.0.0
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/Tunous/SwiftUIUndo
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at 173a424 Add license, update readme
Cloned https://github.com/Tunous/SwiftUIUndo.git
Revision (git rev-parse @):
173a424960aca0a9190d76c57636563d6e97bd0b
SUCCESS checkout https://github.com/Tunous/SwiftUIUndo.git at 1.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Tunous/SwiftUIUndo.git
https://github.com/Tunous/SwiftUIUndo.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.1.0 but the installed version is 6.0.2
error: fatalError
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:ba854000887cd0c27418c7bc304adc590345237c7003ebd31ba26cc8db085cf3
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/9] Compiling SwiftUIUndo View+Undo.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/SwiftUIUndo/Internal/UndoHandler.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | @MainActor
[4/9] Compiling SwiftUIUndo UndoRedoAwareModifier.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/SwiftUIUndo/Internal/UndoHandler.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | @MainActor
[5/9] Compiling SwiftUIUndo UndoRedoShakeAlertModifier.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/SwiftUIUndo/Internal/UndoHandler.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | @MainActor
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/9] Emitting module SwiftUIUndo
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/SwiftUIUndo/Internal/UndoHandler.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | @MainActor
[7/9] Compiling SwiftUIUndo DeviceShakeViewModifier.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/SwiftUIUndo/Internal/UndoHandler.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | @MainActor
[8/9] Compiling SwiftUIUndo UndoManager+Util.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/SwiftUIUndo/Internal/UndoHandler.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | @MainActor
[9/9] Compiling SwiftUIUndo UndoHandler.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/SwiftUIUndo/Internal/UndoHandler.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | @MainActor
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:ba854000887cd0c27418c7bc304adc590345237c7003ebd31ba26cc8db085cf3
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/8] Compiling SwiftUIUndo UndoRedoAwareModifier.swift
/host/spi-builder-workspace/Sources/SwiftUIUndo/Internal/UndoHandler.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | @MainActor
[3/8] Compiling SwiftUIUndo UndoManager+Util.swift
/host/spi-builder-workspace/Sources/SwiftUIUndo/Internal/UndoHandler.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | @MainActor
[4/8] Compiling SwiftUIUndo UndoRedoShakeAlertModifier.swift
/host/spi-builder-workspace/Sources/SwiftUIUndo/Internal/UndoHandler.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | @MainActor
[5/8] Compiling SwiftUIUndo View+Undo.swift
/host/spi-builder-workspace/Sources/SwiftUIUndo/Internal/UndoHandler.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | @MainActor
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/8] Emitting module SwiftUIUndo
/host/spi-builder-workspace/Sources/SwiftUIUndo/Internal/UndoHandler.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | @MainActor
[7/8] Compiling SwiftUIUndo DeviceShakeViewModifier.swift
/host/spi-builder-workspace/Sources/SwiftUIUndo/Internal/UndoHandler.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | @MainActor
[8/8] Compiling SwiftUIUndo UndoHandler.swift
/host/spi-builder-workspace/Sources/SwiftUIUndo/Internal/UndoHandler.swift:8:8: error: no such module 'SwiftUI'
 6 | //
 7 |
 8 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 9 |
10 | @MainActor
BUILD FAILURE 6.1 linux