Build Information
Failed to build XCStringsTool, reference main (125102
), with Swift 5.10 for Linux on 17 Apr 2025 14:00:43 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.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.60.1
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 1251024 Add 602.0.0-prerelease-2025-04-16 to the test matrix (#130)
Cloned https://github.com/liamnichols/xcstrings-tool.git
Revision (git rev-parse @):
12510241f57f18e344af619ea130a753dafb6e6d
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-4609320-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:616ef225d0085997f26355ad9695b1159b91f6187a43f9ff135cb59d096bc97d
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/pointfreeco/swift-snapshot-testing
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/apple/swift-argument-parser
[1/2049] Fetching swift-docc-plugin
[309/12338] Fetching swift-docc-plugin, yams
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.35s)
[1750/10289] Fetching yams
[1751/23434] Fetching yams, swift-snapshot-testing
[2660/38276] Fetching yams, swift-snapshot-testing, swift-argument-parser
[23183/108426] Fetching yams, swift-snapshot-testing, swift-argument-parser, swift-syntax
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (2.45s)
Fetched https://github.com/apple/swift-argument-parser from cache (3.74s)
Fetched https://github.com/jpsim/Yams from cache (3.77s)
Fetched https://github.com/swiftlang/swift-syntax from cache (3.78s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 5.3.1 (0.42s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.33s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (0.37s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3366] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.33s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.37s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.18.3 (0.33s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/4581] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.26s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (0.32s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5349] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.63s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.31s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (0.50s)
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 5.3.1
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/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-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 601.0.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.3.3
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.5.2
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.18.3
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Tests/PluginTests/xcstrings-tool-config.yml
Building for debugging...
[0/54] Write sources
[20/54] Compiling _SwiftSyntaxCShims dummy.c
[21/54] Write sources
[23/54] Compiling writer.c
[24/54] Compiling parser.c
[25/54] Compiling api.c
[26/54] Compiling reader.c
[27/54] Compiling emitter.c
[28/54] Compiling scanner.c
[29/54] Write swift-version-24593BA9C3E375BF.txt
[31/91] Emitting module XCStringsToolConstants
[32/91] Emitting module SwiftSyntax601
[33/91] Emitting module StringResource
[34/91] Emitting module SwiftSyntax509
[35/91] Compiling SwiftSyntax509 Empty.swift
[36/92] Emitting module SwiftSyntax510
[37/92] Compiling SwiftSyntax510 Empty.swift
[38/92] Emitting module SwiftSyntax600
[39/92] Compiling SwiftSyntax600 Empty.swift
[41/94] Compiling Yams Tag.swift
[42/94] Compiling Yams YamlAnchorProviding.swift
[45/96] Compiling SwiftSyntax601 Empty.swift
[46/97] Compiling XCStringsToolConstants Version.swift
[46/98] Wrapping AST for SwiftSyntax510 for debugging
[49/110] Wrapping AST for SwiftSyntax600 for debugging
[50/110] Wrapping AST for SwiftSyntax509 for debugging
[51/110] Wrapping AST for XCStringsToolConstants for debugging
[52/148] Wrapping AST for SwiftSyntax601 for debugging
[54/174] Emitting module ArgumentParserToolInfo
[55/174] Compiling ArgumentParserToolInfo ToolInfo.swift
[56/175] Wrapping AST for ArgumentParserToolInfo for debugging
[58/175] Emitting module StringCatalog
[59/175] Compiling StringResource Argument.swift
[60/176] Compiling SwiftSyntax AbsolutePosition.swift
[61/176] Compiling SwiftSyntax AbsoluteRawSyntax.swift
[62/176] Compiling StringCatalog StringUnit.swift
[63/176] Compiling StringResource Resource.swift
[64/176] Compiling StringCatalog StringVariation.swift
[65/176] Compiling StringCatalog StringUnitState.swift
[66/176] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[67/176] Compiling SwiftSyntax Assert.swift
[68/176] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[69/176] Compiling SwiftSyntax RawSyntaxTokenView.swift
[70/176] Compiling StringCatalog StringLocalization.swift
[71/176] Compiling StringCatalog StringSubstitution.swift
[72/176] Compiling SwiftSyntax Identifier.swift
[73/176] Compiling SwiftSyntax MemoryLayout.swift
[74/176] Compiling SwiftSyntax MissingNodeInitializers.swift
[75/176] Compiling SwiftSyntax RawSyntax.swift
[76/176] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[77/176] Compiling SwiftSyntax Convenience.swift
[78/176] Compiling SwiftSyntax CustomTraits.swift
[79/176] Compiling SwiftSyntax EditorPlaceholder.swift
[80/177] Compiling StringResource StringSegment.swift
[81/177] Compiling StringResource PlaceholderType.swift
[82/200] Compiling ArgumentParser AsyncParsableCommand.swift
[83/200] Compiling ArgumentParser CommandConfiguration.swift
[84/200] Compiling SwiftIdentifier SwiftIdentifier.swift
[85/200] Emitting module SwiftIdentifier
[86/200] Compiling SwiftIdentifier SwiftIdentifier+Extra.swift
[87/215] Compiling ArgumentParser ArgumentVisibility.swift
[88/215] Compiling ArgumentParser CompletionKind.swift
[89/215] Compiling ArgumentParser Errors.swift
[90/215] Emitting module Yams
[91/215] Compiling ArgumentParser Flag.swift
[92/215] Compiling ArgumentParser NameSpecification.swift
[93/215] Compiling ArgumentParser Option.swift
[97/217] Compiling StringCatalog StringVariations.swift
[97/218] Wrapping AST for StringResource for debugging
[98/218] Wrapping AST for SwiftIdentifier for debugging
[100/220] Wrapping AST for Yams for debugging
[101/220] Wrapping AST for StringCatalog for debugging
[103/223] Compiling StringSource StringSourceError.swift
[104/223] Emitting module StringSource
[105/223] Compiling StringSource StringSource.swift
[107/224] Emitting module ArgumentParser
[107/224] Wrapping AST for StringSource for debugging
[109/239] Compiling StringExtractor StringExtractor.swift
[110/240] Compiling StringExtractor StringExtractor+Util.swift
[111/240] Emitting module StringExtractor
[112/240] Compiling StringExtractor StringExtractor+LegacyFormat.swift
[113/240] Compiling StringExtractor ExtractionError.swift
[114/240] Compiling StringExtractor ExtractionIssue.swift
[115/240] Compiling StringExtractor Resource+Extract.swift
[116/240] Compiling StringExtractor Resource+LegacyFormat.swift
[119/240] Compiling StringExtractor StringExtractor+StringCatalog.swift
[120/240] Compiling StringExtractor Resource+StringUnit.swift
[127/240] Compiling ArgumentParser BashCompletionsGenerator.swift
[128/240] Compiling ArgumentParser CompletionsGenerator.swift
[129/240] Compiling ArgumentParser FishCompletionsGenerator.swift
[134/249] Compiling ArgumentParser CollectionExtensions.swift
[135/249] Compiling ArgumentParser Platform.swift
[136/249] Compiling ArgumentParser SequenceExtensions.swift
[137/249] Compiling ArgumentParser StringExtensions.swift
[138/249] Compiling ArgumentParser Tree.swift
[142/249] Compiling ArgumentParser ZshCompletionsGenerator.swift
[143/249] Compiling ArgumentParser Argument.swift
[144/249] Compiling ArgumentParser ArgumentHelp.swift
[145/249] Compiling ArgumentParser Name.swift
[146/249] Compiling ArgumentParser Parsed.swift
[147/249] Compiling ArgumentParser ParsedValues.swift
[148/249] Compiling ArgumentParser ParserError.swift
[149/249] Compiling ArgumentParser SplitArguments.swift
[150/249] Compiling ArgumentParser DumpHelpGenerator.swift
[151/249] Compiling ArgumentParser HelpCommand.swift
[152/249] Compiling ArgumentParser HelpGenerator.swift
[153/249] Compiling ArgumentParser MessageInfo.swift
[154/249] Compiling ArgumentParser UsageGenerator.swift
[158/249] Compiling ArgumentParser ExpressibleByArgument.swift
[159/249] Compiling ArgumentParser ParsableArguments.swift
[160/249] Compiling ArgumentParser ParsableArgumentsValidation.swift
[161/249] Compiling ArgumentParser ParsableCommand.swift
[162/249] Compiling ArgumentParser ArgumentDecoder.swift
[163/249] Compiling ArgumentParser OptionGroup.swift
[166/249] Compiling ArgumentParser CommandGroup.swift
[167/249] Compiling ArgumentParser EnumerableFlag.swift
[168/249] Compiling ArgumentParser ArgumentDefinition.swift
[169/249] Compiling ArgumentParser ArgumentSet.swift
[170/249] Compiling ArgumentParser CommandParser.swift
[171/249] Compiling ArgumentParser InputKey.swift
[172/249] Compiling ArgumentParser InputOrigin.swift
[188/250] Wrapping AST for ArgumentParser for debugging
[190/250] Emitting module StringValidator
[191/250] 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