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 1.0.0 (f8f99e), with Swift 5.10 for Linux on 13 Oct 2024 15:48:05 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.55.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/liamnichols/xcstrings-tool.git
Reference: 1.0.0
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
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at f8f99ed Update logic to improve variableIdentifiers generated for strings containing accronyms (#116)
Cloned https://github.com/liamnichols/xcstrings-tool.git
Revision (git rev-parse @):
f8f99ed2f8fd337c6640a1a500ef4eb00cef9bc7
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/liamnichols/xcstrings-tool.git at 1.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/liamnichols/xcstrings-tool.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:de52ea9a9b71f638f9ab112bc11e200b74fab18027de8589a3de4f14b5e22683
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-docc-symbolkit
Fetching https://github.com/pointfreeco/swift-snapshot-testing
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2038] Fetching swift-docc-plugin
[246/5181] Fetching swift-docc-plugin, swift-docc-symbolkit
[5182/17601] Fetching swift-docc-plugin, swift-docc-symbolkit, swift-snapshot-testing
Fetched https://github.com/apple/swift-docc-symbolkit from cache (0.39s)
[2163/14458] Fetching swift-docc-plugin, swift-snapshot-testing
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.39s)
[249/12420] Fetching swift-snapshot-testing
[871/24673] Fetching swift-snapshot-testing, swift-argument-parser
[15484/90412] Fetching swift-snapshot-testing, swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.80s)
[3888/78159] Fetching swift-snapshot-testing, swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (4.90s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (4.92s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.3.0 (0.44s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.17.5 (0.88s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.0 (1.30s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.3.1 (0.38s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.74s)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.3.1
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.3.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.5
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 600.0.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
Building for debugging...
[0/44] Write sources
[20/44] Compiling _SwiftSyntaxCShims dummy.c
[21/44] Write swift-version-24593BA9C3E375BF.txt
[23/72] Emitting module SwiftSyntax510
[24/72] Emitting module ArgumentParserToolInfo
[25/72] Compiling XCStringsToolConstants Version.swift
[26/72] Emitting module XCStringsToolConstants
[28/73] Compiling SwiftSyntax510 Empty.swift
[28/74] Wrapping AST for XCStringsToolConstants for debugging
[30/74] Emitting module SwiftSyntax509
[31/74] Compiling SwiftSyntax509 Empty.swift
[32/75] Emitting module SwiftSyntax600
[33/75] Compiling SwiftSyntax600 Empty.swift
[34/75] Compiling StringResource PlaceholderType.swift
[37/76] Wrapping AST for SwiftSyntax600 for debugging
[38/76] Wrapping AST for SwiftSyntax510 for debugging
[39/76] Wrapping AST for SwiftSyntax509 for debugging
[41/76] Compiling ArgumentParserToolInfo ToolInfo.swift
[42/133] Wrapping AST for ArgumentParserToolInfo for debugging
[44/178] Compiling ArgumentParser Option.swift
[45/178] Compiling ArgumentParser OptionGroup.swift
[46/178] Compiling ArgumentParser AsyncParsableCommand.swift
[47/178] Compiling ArgumentParser CommandConfiguration.swift
[48/178] Compiling ArgumentParser EnumerableFlag.swift
[49/183] Compiling StringResource StringSegment.swift
[50/183] Compiling ArgumentParser ArgumentVisibility.swift
[51/183] Compiling ArgumentParser CompletionKind.swift
[52/183] Emitting module SwiftIdentifier
[53/184] Compiling SwiftIdentifier SwiftIdentifier+Extra.swift
[54/184] Emitting module StringCatalog
[55/184] Compiling SwiftIdentifier SwiftIdentifier.swift
[56/184] Compiling ArgumentParser Errors.swift
[57/184] Compiling ArgumentParser Flag.swift
[58/184] Compiling StringCatalog StringUnit.swift
[59/184] Compiling StringCatalog StringUnitState.swift
[60/184] Emitting module StringResource
[61/184] Compiling StringCatalog StringVariation.swift
[62/184] Compiling StringCatalog StringLocalization.swift
[63/184] Compiling StringCatalog StringSubstitution.swift
[64/184] Compiling StringResource Argument.swift
[65/184] Compiling StringResource Resource.swift
[68/186] Emitting module ArgumentParser
[68/186] Wrapping AST for SwiftIdentifier for debugging
[69/186] Wrapping AST for StringResource for debugging
[75/188] Compiling ArgumentParser NameSpecification.swift
[76/188] Compiling StringCatalog StringVariations.swift
[77/189] Wrapping AST for StringCatalog for debugging
[79/189] Compiling ArgumentParser Name.swift
[80/189] Compiling ArgumentParser Parsed.swift
[81/189] Compiling ArgumentParser ParsedValues.swift
[82/189] Compiling ArgumentParser ParserError.swift
[83/189] Compiling ArgumentParser SplitArguments.swift
[84/192] Compiling StringSource StringSourceError.swift
[85/192] Compiling ArgumentParser CollectionExtensions.swift
[86/192] Compiling ArgumentParser Platform.swift
[87/192] Compiling ArgumentParser SequenceExtensions.swift
[88/192] Compiling ArgumentParser StringExtensions.swift
[89/192] Compiling ArgumentParser Tree.swift
[90/192] Emitting module StringSource
[91/192] Compiling StringSource StringSource.swift
[92/193] Compiling ArgumentParser BashCompletionsGenerator.swift
[93/193] Compiling ArgumentParser CompletionsGenerator.swift
[94/193] Compiling ArgumentParser FishCompletionsGenerator.swift
[95/193] Compiling ArgumentParser ZshCompletionsGenerator.swift
[96/193] Compiling ArgumentParser Argument.swift
[97/193] Compiling ArgumentParser ArgumentHelp.swift
[98/193] Wrapping AST for StringSource for debugging
[100/193] Compiling ArgumentParser DumpHelpGenerator.swift
[101/193] Compiling ArgumentParser HelpCommand.swift
[102/193] Compiling ArgumentParser HelpGenerator.swift
[103/193] Compiling ArgumentParser MessageInfo.swift
[104/193] Compiling ArgumentParser UsageGenerator.swift
[105/193] Compiling ArgumentParser ExpressibleByArgument.swift
[106/193] Compiling ArgumentParser ParsableArguments.swift
[107/193] Compiling ArgumentParser ParsableArgumentsValidation.swift
[108/193] Compiling ArgumentParser ParsableCommand.swift
[109/193] Compiling ArgumentParser ArgumentDecoder.swift
[110/193] Compiling ArgumentParser ArgumentDefinition.swift
[111/193] Compiling ArgumentParser ArgumentSet.swift
[112/193] Compiling ArgumentParser CommandParser.swift
[113/193] Compiling ArgumentParser InputKey.swift
[114/193] Compiling ArgumentParser InputOrigin.swift
[116/204] Compiling StringExtractor StringExtractor.swift
[117/204] Compiling StringExtractor StringExtractor+LegacyFormat.swift
[118/204] Compiling StringExtractor StringExtractor+StringCatalog.swift
[119/204] Compiling StringExtractor StringExtractor+Util.swift
[119/205] Wrapping AST for ArgumentParser for debugging
[121/205] Emitting module StringExtractor
[122/205] Compiling StringExtractor Resource+StringUnit.swift
[123/205] Compiling StringExtractor ExtractionError.swift
[124/205] Compiling StringExtractor ExtractionIssue.swift
[125/205] Compiling StringExtractor Resource+Extract.swift
[126/205] Compiling StringExtractor Resource+LegacyFormat.swift
[145/213] Emitting module SwiftSyntax
[146/213] 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))
                                           ~^~~
[147/213] Emitting module StringValidator
error: fatalError
BUILD FAILURE 5.10 linux