Build Information
Failed to build XCStringsTool, reference main (125102
), with Swift 5.9 for Linux on 17 Apr 2025 14:00:56 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.9-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.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-1":/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:93fe18f778ec94e026baa8cc68b2ae87de241b204c49ca7a3a12cf55897227aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/2049] Fetching swift-docc-plugin
[288/12338] Fetching swift-docc-plugin, yams
[7709/25483] Fetching swift-docc-plugin, yams, swift-snapshot-testing
Fetching https://github.com/swiftlang/swift-syntax
Fetched https://github.com/jpsim/Yams (1.12s)
[6387/15194] Fetching swift-docc-plugin, swift-snapshot-testing
[15195/85344] Fetching swift-docc-plugin, swift-snapshot-testing, swift-syntax
Fetched https://github.com/swiftlang/swift-docc-plugin (2.28s)
Fetching https://github.com/apple/swift-argument-parser
[26474/83295] Fetching swift-snapshot-testing, swift-syntax
Fetched https://github.com/pointfreeco/swift-snapshot-testing (2.35s)
[16135/70150] Fetching swift-syntax
[54718/84992] Fetching swift-syntax, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser (1.43s)
Fetched https://github.com/swiftlang/swift-syntax (4.86s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 5.3.1 (0.40s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.38s)
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/3366] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.36s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.39s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.18.3 (0.41s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/4581] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump (4.17s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (0.43s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5349] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay (0.74s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.54s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (0.59s)
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.18.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/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/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/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 5.3.1
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/30] Compiling _SwiftSyntaxCShims dummy.c
[1/30] Compiling writer.c
[2/30] Compiling reader.c
[3/30] Compiling parser.c
[4/30] Compiling api.c
[5/30] Compiling emitter.c
[6/36] Compiling scanner.c
[8/44] Emitting module SwiftSyntax510
[9/45] Emitting module XCStringsToolConstants
[10/58] Emitting module StringCatalog
[11/59] Emitting module SwiftSyntax509
[12/59] Compiling SwiftSyntax509 Empty.swift
[13/60] Emitting module SwiftSyntax600
[14/60] Compiling SwiftSyntax600 Empty.swift
[16/62] Compiling XCStringsToolConstants Version.swift
[19/64] Compiling SwiftSyntax510 Empty.swift
[21/65] Emitting module SwiftSyntax601
[22/65] Compiling SwiftSyntax601 Empty.swift
[27/84] Wrapping AST for SwiftSyntax600 for debugging
[29/90] Wrapping AST for XCStringsToolConstants for debugging
[30/90] Wrapping AST for SwiftSyntax510 for debugging
[31/90] Wrapping AST for SwiftSyntax509 for debugging
[32/110] Wrapping AST for SwiftSyntax601 for debugging
[34/154] Emitting module ArgumentParserToolInfo
[35/154] Compiling ArgumentParserToolInfo ToolInfo.swift
[37/156] Wrapping AST for ArgumentParserToolInfo for debugging
[39/156] Emitting module SwiftIdentifier
[40/156] Compiling SwiftIdentifier SwiftIdentifier+Extra.swift
[41/156] Compiling StringCatalog StringSubstitution.swift
[42/156] Compiling StringCatalog StringUnitState.swift
[43/156] Compiling StringResource StringSegment.swift
[44/157] Emitting module StringResource
[45/157] Compiling StringResource Argument.swift
[46/194] Compiling ArgumentParser BashCompletionsGenerator.swift
[47/194] Compiling ArgumentParser CompletionsGenerator.swift
[48/194] Compiling StringResource PlaceholderType.swift
[49/194] Compiling StringResource Resource.swift
[50/194] Compiling StringCatalog StringLocalization.swift
[51/195] Compiling ArgumentParser FishCompletionsGenerator.swift
[52/195] Compiling ArgumentParser ZshCompletionsGenerator.swift
[53/195] Compiling StringCatalog StringVariations.swift
[54/195] Compiling StringCatalog StringUnit.swift
[55/195] Compiling StringCatalog StringVariation.swift
[61/197] Compiling ArgumentParser Argument.swift
[62/197] Compiling ArgumentParser ArgumentHelp.swift
[63/197] Compiling ArgumentParser ArgumentVisibility.swift
[64/197] Compiling ArgumentParser CompletionKind.swift
[65/197] Compiling ArgumentParser Errors.swift
[67/206] Compiling SwiftIdentifier SwiftIdentifier.swift
[68/208] Wrapping AST for StringResource for debugging
[72/211] Wrapping AST for SwiftIdentifier for debugging
[74/211] Compiling ArgumentParser EnumerableFlag.swift
[75/211] Compiling ArgumentParser ExpressibleByArgument.swift
[76/213] Compiling ArgumentParser CommandConfiguration.swift
[77/213] Compiling ArgumentParser CommandGroup.swift
[77/213] Wrapping AST for StringCatalog for debugging
[79/216] Compiling StringSource StringSourceError.swift
[80/216] Emitting module StringSource
[81/216] Compiling StringSource StringSource.swift
[83/218] Emitting module Yams
[84/218] Compiling ArgumentParser OptionGroup.swift
[85/218] Compiling ArgumentParser AsyncParsableCommand.swift
[87/218] Compiling Yams YamlError.swift
[88/218] Compiling Yams YamlTagProviding.swift
[88/218] Wrapping AST for StringSource for debugging
[90/228] Emitting module StringExtractor
[91/229] Compiling StringExtractor StringExtractor.swift
[92/229] Compiling StringExtractor StringExtractor+Util.swift
[93/229] Compiling StringExtractor StringExtractor+LegacyFormat.swift
[94/229] Compiling StringExtractor StringExtractor+StringCatalog.swift
[95/229] Compiling StringExtractor Resource+StringUnit.swift
[96/229] Compiling StringExtractor ExtractionError.swift
[97/229] Compiling StringExtractor ExtractionIssue.swift
[98/229] Compiling StringExtractor Resource+Extract.swift
[99/229] Compiling StringExtractor Resource+LegacyFormat.swift
[106/234] Emitting module ArgumentParser
[113/234] Compiling ArgumentParser Flag.swift
[114/234] Compiling ArgumentParser NameSpecification.swift
[115/234] Compiling ArgumentParser Option.swift
[132/236] Compiling ArgumentParser ParsableCommand.swift
[133/236] Compiling ArgumentParser ArgumentDecoder.swift
[134/236] Compiling ArgumentParser ArgumentDefinition.swift
[135/236] Compiling ArgumentParser ArgumentSet.swift
[136/236] Compiling ArgumentParser CommandParser.swift
[137/236] Compiling ArgumentParser InputKey.swift
[138/236] Compiling ArgumentParser InputOrigin.swift
[138/236] Wrapping AST for Yams for debugging
[140/236] Compiling ArgumentParser Name.swift
[141/236] Compiling ArgumentParser Parsed.swift
[142/236] Compiling ArgumentParser ParsedValues.swift
[143/236] Compiling ArgumentParser ParserError.swift
[144/236] Compiling ArgumentParser SplitArguments.swift
[145/236] Compiling ArgumentParser DumpHelpGenerator.swift
[146/236] Compiling ArgumentParser HelpCommand.swift
[147/236] Compiling ArgumentParser HelpGenerator.swift
[148/236] Compiling ArgumentParser MessageInfo.swift
[149/236] Compiling ArgumentParser UsageGenerator.swift
[171/236] 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
~~~~~~~~~~~~~~~~^
[172/236] 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
~~~~~~~~~~~~~~~~^
[173/236] 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
~~~~~~~~~~~~~~~~^
[174/236] 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
~~~~~~~~~~~~~~~~^
[175/236] 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
~~~~~~~~~~~~~~~~^
[177/238] Wrapping AST for ArgumentParser for debugging
[179/238] Emitting module StringValidator
[180/238] 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