Build Information
Failed to build SelectableText with Swift 6.0 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kevinhermawan/SelectableText.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/kevinhermawan/SelectableText
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at b55f8c5 release: 1.0.0
Cloned https://github.com/kevinhermawan/SelectableText.git
Revision (git rev-parse @):
b55f8c56458b93c46bce08fd048138b749885bf6
SUCCESS checkout https://github.com/kevinhermawan/SelectableText.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/kevinhermawan/SelectableText.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Fetching https://github.com/apple/swift-docc-plugin.git
Fetching https://github.com/apple/swift-docc-symbolkit
[1/1458] Fetching swift-docc-plugin
[643/4317] Fetching swift-docc-plugin, swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit from cache (0.41s)
Fetched https://github.com/apple/swift-docc-plugin.git from cache (0.42s)
Computing version for https://github.com/apple/swift-docc-plugin.git
Computed https://github.com/apple/swift-docc-plugin.git at 1.3.0 (1.42s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.61s)
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.3.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; this is an error in the Swift 6 language mode
29 | func addTargetDependencies(_ target: Target) {
30 | for dependency in target.dependencies {
31 | switch dependency {
| |- warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
| `- note: handle unknown values using "@unknown default"
32 | case .product(let product):
33 | addTargets(product.targets)
[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; this is an error in the Swift 6 language mode
29 | func addTargetDependencies(_ target: Target) {
30 | for dependency in target.dependencies {
31 | switch dependency {
| |- warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
| `- note: handle unknown values using "@unknown default"
32 | case .product(let product):
33 | addTargets(product.targets)
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/11] Compiling SelectableText SelectableText.swift
/host/spi-builder-workspace/Sources/SelectableText/Extensions/GeometryProxy+MaxWidth.swift:8:8: error: no such module 'SwiftUI'
6 | //
7 |
8 | import SwiftUI
| `- error: no such module 'SwiftUI'
9 |
10 | extension GeometryProxy {
[6/11] Compiling SelectableText SelectableTextRepresentable+AppKit.swift
/host/spi-builder-workspace/Sources/SelectableText/Extensions/GeometryProxy+MaxWidth.swift:8:8: error: no such module 'SwiftUI'
6 | //
7 |
8 | import SwiftUI
| `- error: no such module 'SwiftUI'
9 |
10 | extension GeometryProxy {
[7/11] Compiling SelectableText SelectableTextRepresentable+UIKit.swift
/host/spi-builder-workspace/Sources/SelectableText/Extensions/GeometryProxy+MaxWidth.swift:8:8: error: no such module 'SwiftUI'
6 | //
7 |
8 | import SwiftUI
| `- error: no such module 'SwiftUI'
9 |
10 | extension GeometryProxy {
[8/11] Compiling SelectableText GeometryProxy+MaxWidth.swift
/host/spi-builder-workspace/Sources/SelectableText/Extensions/GeometryProxy+MaxWidth.swift:8:8: error: no such module 'SwiftUI'
6 | //
7 |
8 | import SwiftUI
| `- error: no such module 'SwiftUI'
9 |
10 | extension GeometryProxy {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/11] Emitting module SelectableText
/host/spi-builder-workspace/Sources/SelectableText/Extensions/GeometryProxy+MaxWidth.swift:8:8: error: no such module 'SwiftUI'
6 | //
7 |
8 | import SwiftUI
| `- error: no such module 'SwiftUI'
9 |
10 | extension GeometryProxy {
[10/11] Compiling SelectableText BaseTextView+AppKit.swift
/host/spi-builder-workspace/Sources/SelectableText/Extensions/GeometryProxy+MaxWidth.swift:8:8: error: no such module 'SwiftUI'
6 | //
7 |
8 | import SwiftUI
| `- error: no such module 'SwiftUI'
9 |
10 | extension GeometryProxy {
[11/11] Compiling SelectableText BaseTextView+UIKit.swift
/host/spi-builder-workspace/Sources/SelectableText/Extensions/GeometryProxy+MaxWidth.swift:8:8: error: no such module 'SwiftUI'
6 | //
7 |
8 | import SwiftUI
| `- error: no such module 'SwiftUI'
9 |
10 | extension GeometryProxy {
BUILD FAILURE 6.0 linux