The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build TextBuilder 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/davdroman/TextBuilder.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/davdroman/TextBuilder
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 65b7c7b Update dependencies (#25)
Cloned https://github.com/davdroman/TextBuilder.git
Revision (git rev-parse @):
65b7c7bb9b163f4fc2d755c52a89a6f3040300df
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/davdroman/TextBuilder.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/davdroman/TextBuilder.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/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/google/swift-benchmark
Fetching https://github.com/davdroman/swift-builders
Fetching https://github.com/pointfreeco/swift-custom-dump
Fetching https://github.com/apple/swift-argument-parser
[1/434] Fetching swift-builders
[435/1920] Fetching swift-builders, swift-benchmark
[1907/5942] Fetching swift-builders, swift-benchmark, swift-custom-dump
[5943/8222] Fetching swift-builders, swift-benchmark, swift-custom-dump, xctest-dynamic-overlay
[8223/19657] Fetching swift-builders, swift-benchmark, swift-custom-dump, xctest-dynamic-overlay, swift-argument-parser
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.70s)
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.70s)
[12326/13355] Fetching swift-builders, swift-benchmark, swift-argument-parser
Fetched https://github.com/google/swift-benchmark from cache (0.87s)
Fetched https://github.com/davdroman/swift-builders from cache (0.87s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Fetched https://github.com/apple/swift-argument-parser from cache (0.87s)
Computed https://github.com/pointfreeco/swift-custom-dump at 1.0.0 (0.45s)
Computing version for https://github.com/davdroman/swift-builders
Computed https://github.com/davdroman/swift-builders at 0.5.1 (0.44s)
Computing version for https://github.com/google/swift-benchmark
Computed https://github.com/google/swift-benchmark at 0.1.2 (0.40s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.0.2 (0.42s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.2.2 (0.53s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.2.2
Creating working copy for https://github.com/google/swift-benchmark
Working copy of https://github.com/google/swift-benchmark resolved at 0.1.2
Creating working copy for https://github.com/davdroman/swift-builders
Working copy of https://github.com/davdroman/swift-builders resolved at 0.5.1
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.0.0
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.0.2
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/18] Write sources
[8/18] Write swift-version-24593BA9C3E375BF.txt
[10/26] Emitting module BuildersTestSupport
[11/26] Compiling BuildersTestSupport BuildersTestSupport.swift
[12/27] Wrapping AST for BuildersTestSupport for debugging
[14/27] Compiling Builders _AppendableCollectionBuilder.swift
[15/27] Compiling ArgumentParserToolInfo ToolInfo.swift
[16/27] Emitting module ArgumentParserToolInfo
[17/28] Wrapping AST for ArgumentParserToolInfo for debugging
[19/65] Emitting module ArgumentParser
[20/70] Compiling Builders _AppendableCollection.swift
[21/70] Compiling ArgumentParser ArgumentVisibility.swift
[22/70] Compiling ArgumentParser CompletionKind.swift
[23/70] Compiling ArgumentParser Errors.swift
[24/70] Compiling ArgumentParser Flag.swift
[25/70] Compiling ArgumentParser NameSpecification.swift
[26/70] Compiling ArgumentParser Name.swift
[27/70] Compiling ArgumentParser Parsed.swift
[28/70] Compiling ArgumentParser ParsedValues.swift
[29/70] Compiling ArgumentParser ParserError.swift
[30/70] Compiling ArgumentParser SplitArguments.swift
[31/70] Compiling ArgumentParser Option.swift
[32/70] Compiling ArgumentParser OptionGroup.swift
[33/70] Compiling ArgumentParser AsyncParsableCommand.swift
[34/70] Compiling ArgumentParser CommandConfiguration.swift
[35/70] Compiling ArgumentParser EnumerableFlag.swift
[36/70] Emitting module Builders
[37/70] Compiling Builders Typealiases.swift
[38/73] Wrapping AST for Builders for debugging
[40/75] Compiling TextBuilder TextExtensions.swift
/host/spi-builder-workspace/Sources/TextBuilder/TextBuilder.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[41/75] Compiling TextBuilder TextBuilderSeparator.swift
/host/spi-builder-workspace/Sources/TextBuilder/TextBuilder.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[42/75] Compiling TextBuilder TextBuilder.swift
/host/spi-builder-workspace/Sources/TextBuilder/TextBuilder.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[43/75] Emitting module TextBuilder
/host/spi-builder-workspace/Sources/TextBuilder/TextBuilder.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[44/75] Compiling ArgumentParser CollectionExtensions.swift
[45/75] Compiling ArgumentParser Platform.swift
[46/75] Compiling ArgumentParser SequenceExtensions.swift
[47/75] Compiling ArgumentParser StringExtensions.swift
[48/75] Compiling ArgumentParser Tree.swift
error: fatalError
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/11] Write swift-version-24593BA9C3E375BF.txt
[3/12] Compiling TextBuilder TextExtensions.swift
/host/spi-builder-workspace/Sources/TextBuilder/TextBuilder.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/12] Compiling TextBuilder TextBuilderSeparator.swift
/host/spi-builder-workspace/Sources/TextBuilder/TextBuilder.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[5/12] Emitting module TextBuilder
/host/spi-builder-workspace/Sources/TextBuilder/TextBuilder.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
[6/12] Compiling TextBuilder TextBuilder.swift
/host/spi-builder-workspace/Sources/TextBuilder/TextBuilder.swift:1:8: error: no such module 'SwiftUI'
import SwiftUI
       ^
error: fatalError
BUILD FAILURE 5.10 linux