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.10 for Linux on 11 Nov 2024 20:30:27 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.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.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-0":/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:bbf8567030a4fa53b55a34fff1a818ffa3e86e892fedc5d8aa9c6958f48fdf8a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/pointfreeco/swift-snapshot-testing
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/apple/swift-argument-parser
[1/12446] Fetching swift-snapshot-testing
[624/14484] Fetching swift-snapshot-testing, swift-docc-plugin
[6147/26848] Fetching swift-snapshot-testing, swift-docc-plugin, swift-argument-parser
[20253/93325] Fetching swift-snapshot-testing, swift-docc-plugin, swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser from cache (0.87s)
[12291/80961] Fetching swift-snapshot-testing, swift-docc-plugin, swift-syntax
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.46s)
[37043/78923] Fetching swift-snapshot-testing, swift-syntax
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (1.51s)
[29250/66477] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (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.36s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.17.6 (0.41s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (0.41s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3179] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.38s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.42s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (0.56s)
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/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/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/44] Write sources
[20/44] Compiling _SwiftSyntaxCShims dummy.c
[21/44] Write swift-version-24593BA9C3E375BF.txt
[23/72] Emitting module XCStringsToolConstants
[24/72] Compiling XCStringsToolConstants Version.swift
[26/73] Emitting module SwiftSyntax600
[27/73] Compiling SwiftSyntax600 Empty.swift
[28/74] Emitting module SwiftSyntax509
[29/74] Compiling SwiftSyntax509 Empty.swift
[29/75] Wrapping AST for XCStringsToolConstants for debugging
[32/75] Emitting module SwiftSyntax510
[33/75] Compiling SwiftSyntax510 Empty.swift
[36/76] Emitting module ArgumentParserToolInfo
[37/76] Compiling ArgumentParserToolInfo ToolInfo.swift
[37/76] Wrapping AST for SwiftSyntax600 for debugging
[38/77] Wrapping AST for SwiftSyntax509 for debugging
[39/77] Wrapping AST for SwiftSyntax510 for debugging
[41/97] Wrapping AST for ArgumentParserToolInfo for debugging
[43/179] Compiling SwiftIdentifier SwiftIdentifier+Extra.swift
[44/179] Emitting module SwiftIdentifier
[45/179] Compiling SwiftIdentifier SwiftIdentifier.swift
[46/179] Compiling StringResource Resource.swift
[47/179] Compiling StringResource Argument.swift
[48/179] Emitting module StringResource
[49/179] Compiling StringResource StringSegment.swift
[50/179] Compiling StringResource PlaceholderType.swift
[51/180] Compiling ArgumentParser BashCompletionsGenerator.swift
[52/180] Compiling ArgumentParser CompletionsGenerator.swift
[53/180] Emitting module StringCatalog
[54/181] Compiling ArgumentParser FishCompletionsGenerator.swift
[55/181] Compiling ArgumentParser ZshCompletionsGenerator.swift
[56/181] Compiling StringCatalog StringLocalization.swift
[57/181] Compiling StringCatalog StringUnit.swift
[58/181] Compiling StringCatalog StringUnitState.swift
[59/181] Compiling StringCatalog StringVariation.swift
[60/182] Emitting module ArgumentParser
[62/187] Compiling StringCatalog StringSubstitution.swift
[63/187] Wrapping AST for StringResource for debugging
[64/187] Wrapping AST for SwiftIdentifier for debugging
[66/187] Compiling StringCatalog StringVariations.swift
[68/190] Compiling ArgumentParser ArgumentVisibility.swift
[69/190] Compiling ArgumentParser CompletionKind.swift
[70/190] Compiling ArgumentParser Errors.swift
[71/190] Compiling ArgumentParser Flag.swift
[72/190] Compiling ArgumentParser NameSpecification.swift
[73/190] Compiling ArgumentParser Option.swift
[78/190] Compiling ArgumentParser Argument.swift
[79/190] Compiling ArgumentParser ArgumentHelp.swift
[79/190] Wrapping AST for StringCatalog for debugging
[81/193] Compiling ArgumentParser ArgumentDefinition.swift
[82/193] Compiling ArgumentParser ArgumentSet.swift
[83/193] Compiling ArgumentParser CommandParser.swift
[84/193] Compiling ArgumentParser InputKey.swift
[85/193] Compiling ArgumentParser InputOrigin.swift
[86/193] Emitting module StringSource
[87/193] Compiling StringSource StringSourceError.swift
[88/193] Compiling ArgumentParser OptionGroup.swift
[89/193] Compiling ArgumentParser AsyncParsableCommand.swift
[90/193] Compiling ArgumentParser CommandConfiguration.swift
[91/193] Compiling ArgumentParser CommandGroup.swift
[92/193] Compiling ArgumentParser EnumerableFlag.swift
[93/193] Compiling ArgumentParser ExpressibleByArgument.swift
[94/193] Compiling ArgumentParser ParsableArguments.swift
[95/193] Compiling ArgumentParser ParsableArgumentsValidation.swift
[96/193] Compiling ArgumentParser ParsableCommand.swift
[97/193] Compiling ArgumentParser ArgumentDecoder.swift
[98/193] Compiling StringSource StringSource.swift
[100/194] Compiling ArgumentParser CollectionExtensions.swift
[101/194] Compiling ArgumentParser Platform.swift
[102/194] Compiling ArgumentParser SequenceExtensions.swift
[103/194] Compiling ArgumentParser StringExtensions.swift
[104/194] Compiling ArgumentParser Tree.swift
[105/194] Compiling ArgumentParser Name.swift
[106/194] Compiling ArgumentParser Parsed.swift
[107/194] Compiling ArgumentParser ParsedValues.swift
[108/194] Compiling ArgumentParser ParserError.swift
[109/194] Compiling ArgumentParser SplitArguments.swift
[110/194] Compiling ArgumentParser DumpHelpGenerator.swift
[111/194] Compiling ArgumentParser HelpCommand.swift
[112/194] Compiling ArgumentParser HelpGenerator.swift
[113/194] Compiling ArgumentParser MessageInfo.swift
[114/194] Compiling ArgumentParser UsageGenerator.swift
[114/194] Wrapping AST for StringSource for debugging
[117/205] Compiling StringExtractor ExtractionError.swift
[118/205] Compiling StringExtractor ExtractionIssue.swift
[119/205] Compiling StringExtractor Resource+Extract.swift
[120/205] Compiling StringExtractor Resource+LegacyFormat.swift
[134/213] Wrapping AST for ArgumentParser for debugging
[136/213] Compiling StringExtractor StringExtractor.swift
[137/213] Compiling StringExtractor StringExtractor+StringCatalog.swift
[138/213] Compiling StringExtractor StringExtractor+Util.swift
[139/214] Compiling StringExtractor StringExtractor+LegacyFormat.swift
[140/214] Emitting module StringExtractor
[143/214] Compiling StringExtractor Resource+StringUnit.swift
[155/214] Emitting module StringValidator
[156/214] 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))
                                           ~^~~
error: fatalError
BUILD FAILURE 5.10 linux