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.9 for Linux on 13 Oct 2024 15:48:12 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.9-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.9
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.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:9f9025114c0603ac6ea1951d396f9bc1cd3a7c1b5aa8548b3ea2615c8c5705ce
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Fetching https://github.com/apple/swift-docc-symbolkit
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/3143] Fetching swift-docc-symbolkit
[3144/15563] Fetching swift-docc-symbolkit, swift-snapshot-testing
[5007/81302] Fetching swift-docc-symbolkit, swift-snapshot-testing, swift-syntax
Fetched https://github.com/apple/swift-docc-symbolkit (7.03s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetched https://github.com/swiftlang/swift-syntax (7.12s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing (7.12s)
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2038] Fetching swift-docc-plugin
[246/14291] Fetching swift-docc-plugin, swift-argument-parser
Fetched https://github.com/swiftlang/swift-docc-plugin (0.67s)
[9925/12253] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git (1.26s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.3.0 (0.94s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.17.5 (0.73s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.0 (1.03s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.3.1 (0.72s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.84s)
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-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.3.0
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-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/22] Compiling _SwiftSyntaxCShims dummy.c
[2/49] Emitting module SwiftSyntax510
[3/50] Emitting module SwiftSyntax600
[4/50] Emitting module StringResource
[5/50] Compiling SwiftSyntax600 Empty.swift
[6/50] Compiling SwiftSyntax510 Empty.swift
[7/52] Emitting module XCStringsToolConstants
[8/52] Compiling XCStringsToolConstants Version.swift
[11/53] Emitting module SwiftSyntax509
[12/53] Compiling SwiftSyntax509 Empty.swift
[17/58] Wrapping AST for SwiftSyntax600 for debugging
[19/58] Compiling ArgumentParserToolInfo ToolInfo.swift
[20/58] Emitting module ArgumentParserToolInfo
[21/59] Wrapping AST for XCStringsToolConstants for debugging
[22/59] Wrapping AST for SwiftSyntax510 for debugging
[25/60] Wrapping AST for SwiftSyntax509 for debugging
[26/124] Wrapping AST for ArgumentParserToolInfo for debugging
[28/124] Compiling SwiftIdentifier SwiftIdentifier.swift
[29/161] Emitting module SwiftIdentifier
[30/161] Compiling SwiftIdentifier SwiftIdentifier+Extra.swift
[32/162] Emitting module StringCatalog
[33/162] Compiling ArgumentParser BashCompletionsGenerator.swift
[34/162] Compiling ArgumentParser CompletionsGenerator.swift
[35/163] Compiling StringCatalog StringUnitState.swift
[36/164] Compiling StringResource Resource.swift
[37/164] Compiling StringResource PlaceholderType.swift
[38/164] Compiling StringResource Argument.swift
[39/164] Compiling StringResource StringSegment.swift
[40/164] Compiling StringCatalog StringVariation.swift
[41/164] Compiling ArgumentParser FishCompletionsGenerator.swift
[42/164] Compiling ArgumentParser ZshCompletionsGenerator.swift
[43/164] Compiling StringCatalog StringLocalization.swift
[44/164] Compiling StringCatalog StringSubstitution.swift
[45/164] Compiling StringCatalog StringUnit.swift
[48/166] Wrapping AST for SwiftIdentifier for debugging
[49/166] Wrapping AST for StringResource for debugging
[51/166] Compiling StringCatalog StringVariations.swift
[52/167] Emitting module ArgumentParser
[55/175] Compiling ArgumentParser ArgumentVisibility.swift
[56/175] Compiling ArgumentParser CompletionKind.swift
[57/175] Compiling ArgumentParser Errors.swift
[58/175] Compiling ArgumentParser Flag.swift
[59/175] Compiling ArgumentParser NameSpecification.swift
[60/175] Emitting module StringValidator
[60/175] Wrapping AST for StringCatalog for debugging
[66/178] Compiling ArgumentParser Argument.swift
[67/178] Compiling ArgumentParser ArgumentHelp.swift
[68/178] Compiling StringSource StringSourceError.swift
[69/178] Emitting module StringSource
[70/178] Compiling StringSource StringSource.swift
[72/180] Compiling ArgumentParser Option.swift
[73/180] Compiling ArgumentParser OptionGroup.swift
[74/180] Compiling ArgumentParser AsyncParsableCommand.swift
[75/180] Compiling ArgumentParser CommandConfiguration.swift
[76/180] Compiling ArgumentParser EnumerableFlag.swift
[85/180] Compiling ArgumentParser ExpressibleByArgument.swift
[86/180] Compiling ArgumentParser ParsableArguments.swift
[87/180] Compiling ArgumentParser CollectionExtensions.swift
[88/180] Compiling ArgumentParser Platform.swift
[89/180] Compiling ArgumentParser SequenceExtensions.swift
[90/180] Compiling ArgumentParser StringExtensions.swift
[91/180] Compiling ArgumentParser Tree.swift
[91/188] Wrapping AST for StringSource for debugging
[93/197] Compiling ArgumentParser Name.swift
[94/197] Compiling ArgumentParser Parsed.swift
[95/197] Compiling ArgumentParser ParsedValues.swift
[96/197] Compiling ArgumentParser ParserError.swift
[97/197] Compiling ArgumentParser SplitArguments.swift
[98/197] Compiling ArgumentParser DumpHelpGenerator.swift
[99/197] Compiling ArgumentParser HelpCommand.swift
[100/197] Compiling ArgumentParser HelpGenerator.swift
[101/197] Compiling ArgumentParser MessageInfo.swift
[102/197] Compiling ArgumentParser UsageGenerator.swift
[103/198] Compiling ArgumentParser ArgumentDefinition.swift
[104/198] Compiling ArgumentParser ArgumentSet.swift
[105/198] Compiling ArgumentParser CommandParser.swift
[106/198] Compiling ArgumentParser InputKey.swift
[107/198] Compiling ArgumentParser InputOrigin.swift
[110/198] Compiling ArgumentParser ParsableArgumentsValidation.swift
[111/198] Compiling ArgumentParser ParsableCommand.swift
[112/198] Compiling ArgumentParser ArgumentDecoder.swift
[113/199] Compiling StringExtractor StringExtractor.swift
[114/200] Emitting module StringExtractor
[115/200] Compiling StringExtractor StringExtractor+Util.swift
[117/201] Compiling StringExtractor StringExtractor+LegacyFormat.swift
[118/201] Compiling StringExtractor StringExtractor+StringCatalog.swift
[119/201] Compiling StringExtractor Resource+StringUnit.swift
[121/201] Compiling StringExtractor ExtractionError.swift
[122/201] Compiling StringExtractor ExtractionIssue.swift
[123/201] Compiling StringExtractor Resource+Extract.swift
[124/201] Compiling StringExtractor Resource+LegacyFormat.swift
[124/201] Wrapping AST for ArgumentParser for debugging
[126/201] 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.9 linux