Build Information
Failed to build NavigationKit with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/o-nnerb/navigation-kit.git
Reference: 1.0.0-alpha.5
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
* tag 1.0.0-alpha.5 -> FETCH_HEAD
HEAD is now at 5b93ec8 fix: navigation consistency
Cloned https://github.com/o-nnerb/navigation-kit.git
Revision (git rev-parse @):
5b93ec89f36dc0e75a9426bc9705507f7384a67b
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/o-nnerb/navigation-kit.git at 1.0.0-alpha.5
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/o-nnerb/navigation-kit.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/apple/swift-docc-symbolkit
Fetching https://github.com/apple/swift-docc-plugin.git
[1/1457] Fetching swift-docc-plugin
[74/3942] Fetching swift-docc-plugin, swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit from cache (0.50s)
Fetched https://github.com/apple/swift-docc-plugin.git from cache (0.51s)
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.60s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.64s)
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
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
/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...
[2/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/34] Compiling NavigationKit SceneActionFullScreenCover.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[6/34] Compiling NavigationKit SceneActionModifier.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[7/34] Compiling NavigationKit SceneActionPopover.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[8/34] Compiling NavigationKit SceneActionSheet.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[9/38] Compiling NavigationKit NKNavigationSplitView.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[10/38] Compiling NavigationKit NKNavigationStack.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[11/38] Compiling NavigationKit ObjectConnection.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[12/38] Compiling NavigationKit _NavigationStack.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)
[13/38] Emitting module NavigationKit
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[14/38] Compiling NavigationKit SceneActionTransformerModifier.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[15/38] Compiling NavigationKit ViewStateModifier.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[16/38] Compiling NavigationKit NavigationState.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[17/38] Compiling NavigationKit Resolver.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[18/38] Compiling NavigationKit SceneActionTransformer.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[19/38] Compiling NavigationKit SceneTransaction.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[20/38] Compiling NavigationKit Seed.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[21/38] Compiling NavigationKit ViewResolver.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[22/38] Compiling NavigationKit ViewState.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[23/38] Compiling NavigationKit NavigationDestinationModifier.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[24/38] Compiling NavigationKit NavigationDestinationTransformerModifier.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[25/38] Compiling NavigationKit ResolverModifier.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[26/38] Compiling NavigationKit NavigationActionKey.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[27/38] Compiling NavigationKit SceneActionKey.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[28/38] Compiling NavigationKit ViewResolverKey.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[29/38] Compiling NavigationKit Closure.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[30/38] Compiling NavigationKit Factory.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[31/38] Compiling NavigationKit NavigationPerform.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[32/38] Compiling NavigationKit NavigationStateProtocol.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[33/38] Compiling NavigationKit PendingNavigationItems.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[34/38] Compiling NavigationKit SceneAction.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[35/38] Compiling NavigationKit Identified.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[36/38] Compiling NavigationKit NavigationAction.CodableRepresentation.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[37/38] Compiling NavigationKit NavigationAction.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[38/38] Compiling NavigationKit NavigationDestinationTransformer.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...
[2/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/33] Emitting module NavigationKit
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[5/37] Compiling NavigationKit NavigationPerform.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[6/37] Compiling NavigationKit NavigationStateProtocol.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[7/37] Compiling NavigationKit PendingNavigationItems.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[8/37] Compiling NavigationKit SceneAction.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[9/37] Compiling NavigationKit SceneActionFullScreenCover.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[10/37] Compiling NavigationKit SceneActionModifier.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[11/37] Compiling NavigationKit SceneActionPopover.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[12/37] Compiling NavigationKit SceneActionSheet.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[13/37] Compiling NavigationKit ViewState.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[14/37] Compiling NavigationKit NavigationDestinationModifier.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[15/37] Compiling NavigationKit NavigationDestinationTransformerModifier.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[16/37] Compiling NavigationKit ResolverModifier.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[17/37] Compiling NavigationKit SceneActionTransformer.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[18/37] Compiling NavigationKit SceneTransaction.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[19/37] Compiling NavigationKit Seed.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[20/37] Compiling NavigationKit ViewResolver.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[21/37] Compiling NavigationKit Identified.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[22/37] Compiling NavigationKit NavigationAction.CodableRepresentation.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[23/37] Compiling NavigationKit NavigationAction.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[24/37] Compiling NavigationKit NavigationDestinationTransformer.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[25/37] Compiling NavigationKit SceneActionTransformerModifier.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[26/37] Compiling NavigationKit ViewStateModifier.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[27/37] Compiling NavigationKit NavigationState.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[28/37] Compiling NavigationKit Resolver.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[29/37] Compiling NavigationKit NavigationActionKey.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[30/37] Compiling NavigationKit SceneActionKey.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[31/37] Compiling NavigationKit ViewResolverKey.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[32/37] Compiling NavigationKit Closure.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[33/37] Compiling NavigationKit Factory.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[34/37] Compiling NavigationKit NKNavigationSplitView.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[35/37] Compiling NavigationKit NKNavigationStack.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[36/37] Compiling NavigationKit ObjectConnection.swift
/host/spi-builder-workspace/Sources/NavigationKit/Keys/NavigationActionKey.swift:5:8: error: no such module 'SwiftUI'
import SwiftUI
^
[37/37] 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.10 linux