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 XCStringsTool, reference main (9f76a0), with Swift 5.9 for Linux on 11 Nov 2024 20:30:25 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.57.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/liamnichols/xcstrings-tool.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/liamnichols/xcstrings-tool
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 9f76a02 Update Xcode and OS versions in CI test matrixes (#120)
Cloned https://github.com/liamnichols/xcstrings-tool.git
Revision (git rev-parse @):
9f76a024ac59324bdd71dfa9b39c6abc4ba21c40
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/liamnichols/xcstrings-tool.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $PWD
https://github.com/liamnichols/xcstrings-tool.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:a06db64ee3297a5f3491915d7662e6a86c0024d45425be3d593d7649696fef17
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Fetching https://github.com/pointfreeco/swift-snapshot-testing
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/12446] Fetching swift-snapshot-testing
[499/14484] Fetching swift-snapshot-testing, swift-docc-plugin
[14485/80961] Fetching swift-snapshot-testing, swift-docc-plugin, swift-syntax
Fetching https://github.com/apple/swift-argument-parser
Fetched https://github.com/swiftlang/swift-docc-plugin (1.16s)
[21753/78923] Fetching swift-snapshot-testing, swift-syntax
Fetched https://github.com/pointfreeco/swift-snapshot-testing (1.21s)
[10637/66477] Fetching swift-syntax
[22604/78841] Fetching swift-syntax, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser (0.63s)
[50523/66477] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax (4.25s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.35s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.17.6 (0.40s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (0.40s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3179] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.56s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.36s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (0.67s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.0
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.17.6
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 600.0.1
Building for debugging...
[0/22] Compiling _SwiftSyntaxCShims dummy.c
[2/50] Emitting module SwiftSyntax600
[3/50] Compiling SwiftSyntax600 Empty.swift
[4/51] Compiling XCStringsToolConstants Version.swift
[5/51] Emitting module XCStringsToolConstants
[6/52] Emitting module SwiftSyntax509
[7/52] Compiling SwiftSyntax509 Empty.swift
[13/56] Wrapping AST for SwiftSyntax600 for debugging
[15/56] Emitting module SwiftSyntax510
[16/56] Compiling SwiftSyntax510 Empty.swift
[16/57] Wrapping AST for XCStringsToolConstants for debugging
[17/57] Wrapping AST for SwiftSyntax509 for debugging
[19/57] Compiling StringResource PlaceholderType.swift
[21/58] Emitting module ArgumentParserToolInfo
[22/58] Compiling ArgumentParserToolInfo ToolInfo.swift
[24/60] Wrapping AST for SwiftSyntax510 for debugging
[26/93] Wrapping AST for ArgumentParserToolInfo for debugging
[28/162] Compiling StringResource StringSegment.swift
[29/162] Emitting module SwiftIdentifier
[30/162] Compiling StringResource Resource.swift
[31/162] Compiling StringCatalog StringVariation.swift
[32/162] Compiling StringResource Argument.swift
[33/162] Emitting module StringResource
[35/165] Compiling ArgumentParser FishCompletionsGenerator.swift
[36/165] Compiling ArgumentParser ZshCompletionsGenerator.swift
[37/165] Emitting module StringCatalog
[38/165] Compiling ArgumentParser BashCompletionsGenerator.swift
[39/165] Compiling ArgumentParser CompletionsGenerator.swift
[41/165] Compiling StringCatalog StringLocalization.swift
[42/165] Compiling StringCatalog StringSubstitution.swift
[42/165] Wrapping AST for StringResource for debugging
[44/165] Compiling StringCatalog StringUnit.swift
[45/165] Compiling StringCatalog StringUnitState.swift
[46/165] Compiling SwiftIdentifier SwiftIdentifier+Extra.swift
[47/165] Compiling SwiftIdentifier SwiftIdentifier.swift
[48/168] Compiling StringCatalog StringVariations.swift
[54/170] Compiling ArgumentParser Argument.swift
[55/170] Compiling ArgumentParser ArgumentHelp.swift
[56/170] Compiling ArgumentParser ArgumentVisibility.swift
[57/170] Compiling ArgumentParser CompletionKind.swift
[58/170] Compiling ArgumentParser Errors.swift
[59/170] Emitting module ArgumentParser
[62/184] Compiling ArgumentParser Name.swift
[63/184] Compiling ArgumentParser Parsed.swift
[64/184] Compiling ArgumentParser ParsedValues.swift
[65/184] Compiling ArgumentParser ParserError.swift
[66/184] Compiling ArgumentParser SplitArguments.swift
[67/184] Wrapping AST for SwiftIdentifier for debugging
[78/184] Compiling ArgumentParser Flag.swift
[79/184] Compiling ArgumentParser NameSpecification.swift
[80/184] Compiling ArgumentParser Option.swift
[81/184] Compiling ArgumentParser ArgumentDefinition.swift
[82/184] Compiling ArgumentParser ArgumentSet.swift
[83/184] Compiling ArgumentParser CommandParser.swift
[84/184] Compiling ArgumentParser InputKey.swift
[85/184] Compiling ArgumentParser InputOrigin.swift
[85/184] Wrapping AST for StringCatalog for debugging
[87/187] Compiling ArgumentParser CollectionExtensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:20:17: remark: '@preconcurrency' attribute on module 'Glibc' is unused
@preconcurrency import Glibc
~~~~~~~~~~~~~~~~^
[88/187] Compiling ArgumentParser Platform.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:20:17: remark: '@preconcurrency' attribute on module 'Glibc' is unused
@preconcurrency import Glibc
~~~~~~~~~~~~~~~~^
[89/187] Compiling ArgumentParser SequenceExtensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:20:17: remark: '@preconcurrency' attribute on module 'Glibc' is unused
@preconcurrency import Glibc
~~~~~~~~~~~~~~~~^
[90/187] Compiling ArgumentParser StringExtensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:20:17: remark: '@preconcurrency' attribute on module 'Glibc' is unused
@preconcurrency import Glibc
~~~~~~~~~~~~~~~~^
[91/187] Compiling ArgumentParser Tree.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:20:17: remark: '@preconcurrency' attribute on module 'Glibc' is unused
@preconcurrency import Glibc
~~~~~~~~~~~~~~~~^
[92/187] Emitting module StringSource
[93/187] Compiling StringSource StringSourceError.swift
[94/187] Compiling StringSource StringSource.swift
[95/187] Compiling ArgumentParser OptionGroup.swift
[96/187] Compiling ArgumentParser AsyncParsableCommand.swift
[97/187] Compiling ArgumentParser CommandConfiguration.swift
[98/187] Compiling ArgumentParser CommandGroup.swift
[99/187] Compiling ArgumentParser EnumerableFlag.swift
[100/187] Compiling ArgumentParser DumpHelpGenerator.swift
[101/187] Compiling ArgumentParser HelpCommand.swift
[102/187] Compiling ArgumentParser HelpGenerator.swift
[103/187] Compiling ArgumentParser MessageInfo.swift
[104/187] Compiling ArgumentParser UsageGenerator.swift
[105/187] Compiling ArgumentParser ExpressibleByArgument.swift
[106/187] Compiling ArgumentParser ParsableArguments.swift
[107/187] Compiling ArgumentParser ParsableArgumentsValidation.swift
[108/187] Compiling ArgumentParser ParsableCommand.swift
[109/187] Compiling ArgumentParser ArgumentDecoder.swift
[122/191] Wrapping AST for StringSource for debugging
[123/191] Wrapping AST for ArgumentParser for debugging
[125/201] Emitting module StringExtractor
[126/202] Compiling StringExtractor StringExtractor+Util.swift
[127/202] Compiling StringExtractor StringExtractor.swift
[128/202] Compiling StringExtractor ExtractionError.swift
[129/202] Compiling StringExtractor ExtractionIssue.swift
[130/202] Compiling StringExtractor StringExtractor+LegacyFormat.swift
[131/202] Compiling StringExtractor Resource+StringUnit.swift
[132/202] Compiling StringExtractor StringExtractor+StringCatalog.swift
[133/202] Compiling StringExtractor Resource+Extract.swift
[134/202] Compiling StringExtractor Resource+LegacyFormat.swift
[135/202] Compiling StringValidator ResourceValidator.swift
/host/spi-builder-workspace/Sources/StringValidator/ResourceValidator.swift:29:22: error: value of type '[String]' has no member 'formatted'
                    .formatted(.list(type: .and))
                     ^~~~~~~~~
/host/spi-builder-workspace/Sources/StringValidator/ResourceValidator.swift:31:24: error: cannot infer type of closure parameter 'keys' without a type annotation
            .map { id, keys in
                       ^
/host/spi-builder-workspace/Sources/StringValidator/ResourceValidator.swift:29:33: error: cannot infer contextual base in reference to member 'list'
                    .formatted(.list(type: .and))
                               ~^~~~
/host/spi-builder-workspace/Sources/StringValidator/ResourceValidator.swift:29:45: error: cannot infer contextual base in reference to member 'and'
                    .formatted(.list(type: .and))
                                           ~^~~
[136/202] Emitting module StringValidator
error: fatalError
BUILD FAILURE 5.9 linux