Build Information
Failed to build NavigationKit with Swift 5.9 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.28.9
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/o-nnerb/navigation-kit.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/o-nnerb/navigation-kit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 121b7b9 Bump actions/configure-pages from 3.0.6 to 4.0.0 (#15)
Cloned https://github.com/o-nnerb/navigation-kit.git
Revision (git rev-parse @):
121b7b95dfabe73e6c28838a5f72f10a22a3bd2d
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/o-nnerb/navigation-kit.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 5.9
Building package at path: $workDir
https://github.com/o-nnerb/navigation-kit.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/apple/swift-docc-symbolkit
Fetching https://github.com/apple/swift-docc-plugin.git
[1/2479] Fetching swift-docc-symbolkit
[125/3936] Fetching swift-docc-symbolkit, swift-docc-plugin
Fetched https://github.com/apple/swift-docc-symbolkit (0.36s)
[1457/1457] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin.git (0.43s)
Computing version for https://github.com/apple/swift-docc-plugin.git
Computed https://github.com/apple/swift-docc-plugin.git at 1.2.0 (0.42s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.44s)
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin.git
Working copy of https://github.com/apple/swift-docc-plugin.git resolved at 1.2.0
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values
switch dependency {
^
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
switch dependency {
^
[1/1] Compiling plugin Swift-DocC
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values
switch dependency {
^
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
switch dependency {
^
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[3/32] Compiling NavigationKit SceneActionTransformerModifier.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[4/32] Compiling NavigationKit ViewStateModifier.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[5/32] Compiling NavigationKit NavigationState.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[6/32] Compiling NavigationKit Resolver.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[7/32] Compiling NavigationKit SceneActionFullScreenCover.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[8/32] Compiling NavigationKit SceneActionModifier.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[9/32] Compiling NavigationKit SceneActionPopover.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[10/32] Compiling NavigationKit SceneActionSheet.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[11/32] Compiling NavigationKit ViewState.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[12/32] Compiling NavigationKit NavigationDestinationModifier.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[13/32] Compiling NavigationKit NavigationDestinationTransformerModifier.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[14/32] Compiling NavigationKit ResolverModifier.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[15/36] Compiling NavigationKit NKNavigationSplitView.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[16/36] Compiling NavigationKit NKNavigationStack.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[17/36] Compiling NavigationKit ObjectConnection.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[18/36] Compiling NavigationKit _NavigationStack.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[19/36] Compiling NavigationKit Identified.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[20/36] Compiling NavigationKit NavigationAction.CodableRepresentation.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[21/36] Compiling NavigationKit NavigationAction.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[22/36] Compiling NavigationKit NavigationDestinationTransformer.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[23/36] Compiling NavigationKit NavigationPerform.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[24/36] Compiling NavigationKit NavigationStateProtocol.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[25/36] Compiling NavigationKit PendingNavigationItems.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[26/36] Compiling NavigationKit SceneAction.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[27/36] Compiling NavigationKit SceneActionTransformer.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[28/36] Compiling NavigationKit SceneTransaction.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[29/36] Compiling NavigationKit Seed.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[30/36] Compiling NavigationKit ViewResolver.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[31/36] Emitting module NavigationKit
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[32/36] Compiling NavigationKit NavigationActionKey.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[33/36] Compiling NavigationKit SceneActionKey.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[34/36] Compiling NavigationKit ViewResolverKey.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[35/36] Compiling NavigationKit Closure.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[36/36] Compiling NavigationKit Factory.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
error: fatalError
[0/1] Planning build
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values
switch dependency {
^
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
switch dependency {
^
[1/1] Compiling plugin Swift-DocC
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values
switch dependency {
^
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: note: handle unknown values using "@unknown default"
switch dependency {
^
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[3/32] Compiling NavigationKit SceneActionTransformer.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[4/32] Compiling NavigationKit SceneTransaction.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[5/32] Compiling NavigationKit Seed.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[6/32] Compiling NavigationKit ViewResolver.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[7/36] Compiling NavigationKit ViewState.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[8/36] Compiling NavigationKit NavigationDestinationModifier.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[9/36] Compiling NavigationKit NavigationDestinationTransformerModifier.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[10/36] Compiling NavigationKit ResolverModifier.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/36] Emitting module NavigationKit
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[12/36] Compiling NavigationKit NavigationActionKey.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[13/36] Compiling NavigationKit SceneActionKey.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[14/36] Compiling NavigationKit ViewResolverKey.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[15/36] Compiling NavigationKit Closure.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[16/36] Compiling NavigationKit Factory.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[17/36] Compiling NavigationKit Identified.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[18/36] Compiling NavigationKit NavigationAction.CodableRepresentation.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[19/36] Compiling NavigationKit NavigationAction.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[20/36] Compiling NavigationKit NavigationDestinationTransformer.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[21/36] Compiling NavigationKit NavigationPerform.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[22/36] Compiling NavigationKit NavigationStateProtocol.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[23/36] Compiling NavigationKit PendingNavigationItems.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[24/36] Compiling NavigationKit SceneAction.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[25/36] Compiling NavigationKit SceneActionFullScreenCover.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[26/36] Compiling NavigationKit SceneActionModifier.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[27/36] Compiling NavigationKit SceneActionPopover.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[28/36] Compiling NavigationKit SceneActionSheet.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[29/36] Compiling NavigationKit SceneActionTransformerModifier.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[30/36] Compiling NavigationKit ViewStateModifier.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[31/36] Compiling NavigationKit NavigationState.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[32/36] Compiling NavigationKit Resolver.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[33/36] Compiling NavigationKit NKNavigationSplitView.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[34/36] Compiling NavigationKit NKNavigationStack.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[35/36] Compiling NavigationKit ObjectConnection.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[36/36] Compiling NavigationKit _NavigationStack.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
error: fatalError
BUILD FAILURE 5.9 linux