Build Information
Failed to build TranslationCatalog, reference main (2b39dd
), with Swift 6.0 (beta) for Linux on 15 Sep 2024 09:20:17 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.53.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/richardpiazza/TranslationCatalog.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/richardpiazza/TranslationCatalog
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 2b39dda Locale-Aware Expression Encoder (#14)
Cloned https://github.com/richardpiazza/TranslationCatalog.git
Revision (git rev-parse @):
2b39dda5adcf10aec5cf1d42ef5345f93d96bc52
SUCCESS checkout https://github.com/richardpiazza/TranslationCatalog.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/richardpiazza/TranslationCatalog.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:9d7dab235f2b0b46edadd73b1fb0c3b5323df02053420324a4a2f8ca89cb54a5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/richardpiazza/AsyncPlus.git
Fetching https://github.com/CoreOffice/XMLCoder.git
Fetching https://github.com/JohnSundell/Plot.git
Fetching https://github.com/stephencelis/SQLite.swift.git
Fetching https://github.com/richardpiazza/Statement.git
Fetching https://github.com/richardpiazza/LocaleSupport.git
[1/686] Fetching localesupport
[687/10223] Fetching localesupport, sqlite.swift
[688/10347] Fetching localesupport, sqlite.swift, asyncplus
[907/12433] Fetching localesupport, sqlite.swift, asyncplus, plot
[1286/13178] Fetching localesupport, sqlite.swift, asyncplus, plot, statement
[4528/23189] Fetching localesupport, sqlite.swift, asyncplus, plot, statement, xmlcoder
Fetched https://github.com/richardpiazza/AsyncPlus.git from cache (0.30s)
[6441/23065] Fetching localesupport, sqlite.swift, plot, statement, xmlcoder
Fetching https://github.com/apple/swift-argument-parser
Fetched https://github.com/richardpiazza/LocaleSupport.git from cache (0.31s)
[7519/22379] Fetching sqlite.swift, plot, statement, xmlcoder
Fetching https://github.com/alexisakers/HTMLString.git
[21141/24010] Fetching sqlite.swift, plot, statement, xmlcoder, htmlstring
Fetched https://github.com/CoreOffice/XMLCoder.git from cache (0.64s)
[12293/13999] Fetching sqlite.swift, plot, statement, htmlstring
Fetched https://github.com/alexisakers/HTMLString.git from cache (0.39s)
[11606/12368] Fetching sqlite.swift, plot, statement
[11607/24537] Fetching sqlite.swift, plot, statement, swift-argument-parser
Fetched https://github.com/richardpiazza/Statement.git from cache (1.09s)
Fetched https://github.com/JohnSundell/Plot.git from cache (1.09s)
Fetched https://github.com/stephencelis/SQLite.swift.git from cache (1.11s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.82s)
Computing version for https://github.com/stephencelis/SQLite.swift.git
Computed https://github.com/stephencelis/SQLite.swift.git at 0.14.1 (0.58s)
Fetching https://github.com/stephencelis/CSQLite.git
[1/19] Fetching csqlite
Fetched https://github.com/stephencelis/CSQLite.git from cache (0.17s)
Computing version for https://github.com/alexisakers/HTMLString.git
Computed https://github.com/alexisakers/HTMLString.git at 6.0.1 (0.52s)
Computing version for https://github.com/JohnSundell/Plot.git
Computed https://github.com/JohnSundell/Plot.git at 0.11.0 (0.54s)
Computing version for https://github.com/CoreOffice/XMLCoder.git
Computed https://github.com/CoreOffice/XMLCoder.git at 0.17.1 (0.52s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.2.0 (0.59s)
Computing version for https://github.com/richardpiazza/Statement.git
Computed https://github.com/richardpiazza/Statement.git at 0.7.2 (0.53s)
Computing version for https://github.com/richardpiazza/AsyncPlus.git
Computed https://github.com/richardpiazza/AsyncPlus.git at 0.1.0 (0.53s)
Computing version for https://github.com/richardpiazza/LocaleSupport.git
Computed https://github.com/richardpiazza/LocaleSupport.git at 0.4.3 (0.55s)
Computing version for https://github.com/stephencelis/CSQLite.git
Computed https://github.com/stephencelis/CSQLite.git at 0.0.3 (2.53s)
Creating working copy for https://github.com/stephencelis/SQLite.swift.git
Working copy of https://github.com/stephencelis/SQLite.swift.git resolved at 0.14.1
Creating working copy for https://github.com/CoreOffice/XMLCoder.git
Working copy of https://github.com/CoreOffice/XMLCoder.git resolved at 0.17.1
Creating working copy for https://github.com/JohnSundell/Plot.git
Working copy of https://github.com/JohnSundell/Plot.git resolved at 0.11.0
Creating working copy for https://github.com/alexisakers/HTMLString.git
Working copy of https://github.com/alexisakers/HTMLString.git resolved at 6.0.1
Creating working copy for https://github.com/richardpiazza/LocaleSupport.git
Working copy of https://github.com/richardpiazza/LocaleSupport.git resolved at 0.4.3
Creating working copy for https://github.com/richardpiazza/AsyncPlus.git
Working copy of https://github.com/richardpiazza/AsyncPlus.git resolved at 0.1.0
Creating working copy for https://github.com/richardpiazza/Statement.git
Working copy of https://github.com/richardpiazza/Statement.git resolved at 0.7.2
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.2.0
Creating working copy for https://github.com/stephencelis/CSQLite.git
Working copy of https://github.com/stephencelis/CSQLite.git resolved at 0.0.3
warning: 'csqlite': ignoring declared target(s) 'CSQLite' in the system package
[1/1] Compiling plugin Generate Manual
Building for debugging...
[1/34] Write sources
[16/34] Write swift-version-24593BA9C3E375BF.txt
[18/210] Emitting module ArgumentParserToolInfo
[19/210] Emitting module Statement
[20/213] Emitting module Plot
[21/221] Compiling AsyncPlus PassthroughAsyncSequence.swift
[22/221] Emitting module AsyncPlus
[23/221] Compiling AsyncPlus PassthroughAsyncThrowingSequence.swift
[24/221] Compiling LocaleSupport LocaleSupportConfiguration.swift
[25/221] Compiling LocaleSupport RegionCode.swift
[26/221] Emitting module LocaleSupport
[27/222] Compiling ArgumentParserToolInfo ToolInfo.swift
[28/223] Compiling LocaleSupport ScriptCode.swift
[30/223] Wrapping AST for AsyncPlus for debugging
[31/260] Wrapping AST for ArgumentParserToolInfo for debugging
[33/260] Compiling ArgumentParser ArgumentVisibility.swift
[34/260] Compiling ArgumentParser CompletionKind.swift
[35/260] Compiling ArgumentParser Errors.swift
[36/260] Compiling ArgumentParser Flag.swift
[37/260] Compiling ArgumentParser NameSpecification.swift
[38/265] Emitting module ArgumentParser
[39/265] Compiling ArgumentParser BashCompletionsGenerator.swift
[40/265] Compiling ArgumentParser CompletionsGenerator.swift
[41/265] Compiling ArgumentParser FishCompletionsGenerator.swift
[42/265] Compiling ArgumentParser ZshCompletionsGenerator.swift
[43/265] Compiling ArgumentParser Argument.swift
[44/265] Compiling ArgumentParser ArgumentHelp.swift
[45/265] Compiling ArgumentParser CollectionExtensions.swift
[46/265] Compiling ArgumentParser Platform.swift
[47/265] Compiling ArgumentParser SequenceExtensions.swift
[48/265] Compiling ArgumentParser StringExtensions.swift
[49/265] Compiling ArgumentParser Tree.swift
[50/265] Compiling ArgumentParser Option.swift
[51/265] Compiling ArgumentParser OptionGroup.swift
[52/265] Compiling ArgumentParser AsyncParsableCommand.swift
[53/265] Compiling ArgumentParser CommandConfiguration.swift
[54/265] Compiling ArgumentParser EnumerableFlag.swift
[55/265] Compiling HTMLString HTMLString.swift
[56/265] Emitting module HTMLString
[57/265] Compiling HTMLString Mappings.swift
[61/265] Compiling LocaleSupport Locale+LocaleSupport.swift
[62/265] Compiling LocaleSupport LanguageCode.swift
[63/265] Compiling ArgumentParser ArgumentDefinition.swift
[64/265] Compiling ArgumentParser ArgumentSet.swift
[65/265] Compiling ArgumentParser CommandParser.swift
[66/265] Compiling ArgumentParser ParsableArgumentsValidation.swift
[67/265] Compiling ArgumentParser ParsableCommand.swift
[68/265] Compiling ArgumentParser ArgumentDecoder.swift
[72/265] Compiling Plot HTMLFormMethod.swift
[73/265] Compiling Plot HTMLInputType.swift
[74/265] Compiling Plot HTMLLinkRelationship.swift
[88/271] Emitting module SQLite
[89/275] Emitting module XMLCoder
[100/275] Compiling HTMLString NSString+HTMLString.swift
[101/276] Compiling SQLite Schema.swift
[102/276] Compiling SQLite Setter.swift
[103/276] Compiling ArgumentParser SplitArguments.swift
[109/276] Compiling LocaleSupport ExpressibleByLocalizedString.swift
[110/277] Compiling XMLCoder XMLUnkeyedEncodingContainer.swift
[111/277] Compiling Plot TwitterCardType.swift
[112/277] Compiling Plot URLRepresentable.swift
[113/277] Compiling Plot XML.swift
[114/277] Compiling Plot XMLAttributes.swift
[115/277] Compiling Plot XMLElements.swift
[116/277] Compiling Plot AnyAttribute.swift
[117/277] Compiling Plot AnyElement.swift
[118/277] Compiling ArgumentParser InputKey.swift
[119/277] Compiling ArgumentParser InputOrigin.swift
[120/277] Compiling ArgumentParser DumpHelpGenerator.swift
[122/277] Compiling ArgumentParser ExpressibleByArgument.swift
[123/277] Compiling ArgumentParser ParsableArguments.swift
[124/277] Compiling Plot AnyEnvironmentValue.swift
[125/277] Compiling Plot AnyNode.swift
[126/277] Compiling Plot ElementRenderingBuffer.swift
[127/277] Compiling Plot ElementWrapper.swift
[128/277] Compiling Plot Environment.swift
[129/277] Compiling Plot ModifiedComponent.swift
[130/277] Compiling Plot Renderer.swift
[131/277] Compiling Plot String+Escaping.swift
[157/278] Compiling SQLite Query.swift
[167/278] Compiling XMLCoder XMLEncoder.swift
[168/278] Compiling XMLCoder XMLEncoderImplementation.swift
[169/278] Compiling XMLCoder XMLEncodingStorage.swift
[170/278] Compiling XMLCoder XMLKeyedEncodingContainer.swift
[171/278] Compiling XMLCoder XMLReferencingEncoder.swift
[174/278] Compiling ArgumentParser HelpCommand.swift
[175/278] Compiling ArgumentParser HelpGenerator.swift
[176/278] Compiling ArgumentParser MessageInfo.swift
[177/278] Compiling ArgumentParser UsageGenerator.swift
[178/278] Compiling SQLite Query+with.swift
[243/279] Wrapping AST for HTMLString for debugging
[244/279] Wrapping AST for LocaleSupport for debugging
[256/287] Wrapping AST for Statement for debugging
[258/307] Wrapping AST for Plot for debugging
[260/307] Emitting module TranslationCatalog
/host/spi-builder-workspace/Sources/TranslationCatalog/CatalogError.swift:2:10: warning: associated value 'badQuery' of 'Sendable'-conforming enum 'CatalogError' has non-sendable type 'any CatalogQuery'; this is an error in the Swift 6 language mode
1 | public enum CatalogError: Error {
2 | case badQuery(CatalogQuery)
| `- warning: associated value 'badQuery' of 'Sendable'-conforming enum 'CatalogError' has non-sendable type 'any CatalogQuery'; this is an error in the Swift 6 language mode
3 | case dataTypeConversion(String? = nil)
4 | case expressionExistingWithID(Expression.ID, Expression)
/host/spi-builder-workspace/Sources/TranslationCatalog/CatalogQuery.swift:5:17: note: protocol 'CatalogQuery' does not conform to the 'Sendable' protocol
3 |
4 | /// Associated parameters for performing query operations
5 | public protocol CatalogQuery {}
| `- note: protocol 'CatalogQuery' does not conform to the 'Sendable' protocol
6 |
7 | public enum GenericProjectQuery: CatalogQuery {
/host/spi-builder-workspace/Sources/TranslationCatalog/CatalogError.swift:4:10: warning: associated value 'expressionExistingWithID' of 'Sendable'-conforming enum 'CatalogError' has non-sendable type 'Expression'; this is an error in the Swift 6 language mode
2 | case badQuery(CatalogQuery)
3 | case dataTypeConversion(String? = nil)
4 | case expressionExistingWithID(Expression.ID, Expression)
| `- warning: associated value 'expressionExistingWithID' of 'Sendable'-conforming enum 'CatalogError' has non-sendable type 'Expression'; this is an error in the Swift 6 language mode
5 | case expressionExistingWithKey(String, Expression)
6 | case expressionID(Expression.ID)
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: consider making struct 'Expression' conform to the 'Sendable' protocol
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: consider making struct 'Expression' conform to the 'Sendable' protocol
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
/host/spi-builder-workspace/Sources/TranslationCatalog/CatalogError.swift:5:10: warning: associated value 'expressionExistingWithKey' of 'Sendable'-conforming enum 'CatalogError' has non-sendable type 'Expression'; this is an error in the Swift 6 language mode
3 | case dataTypeConversion(String? = nil)
4 | case expressionExistingWithID(Expression.ID, Expression)
5 | case expressionExistingWithKey(String, Expression)
| `- warning: associated value 'expressionExistingWithKey' of 'Sendable'-conforming enum 'CatalogError' has non-sendable type 'Expression'; this is an error in the Swift 6 language mode
6 | case expressionID(Expression.ID)
7 | case projectExistingWithID(Project.ID, Project)
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: consider making struct 'Expression' conform to the 'Sendable' protocol
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: consider making struct 'Expression' conform to the 'Sendable' protocol
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
/host/spi-builder-workspace/Sources/TranslationCatalog/CatalogError.swift:7:10: warning: associated value 'projectExistingWithID' of 'Sendable'-conforming enum 'CatalogError' has non-sendable type 'Project'; this is an error in the Swift 6 language mode
5 | case expressionExistingWithKey(String, Expression)
6 | case expressionID(Expression.ID)
7 | case projectExistingWithID(Project.ID, Project)
| `- warning: associated value 'projectExistingWithID' of 'Sendable'-conforming enum 'CatalogError' has non-sendable type 'Project'; this is an error in the Swift 6 language mode
8 | case projectID(Project.ID)
9 | case translationExistingWithID(Translation.ID, Translation)
/host/spi-builder-workspace/Sources/TranslationCatalog/Project.swift:4:15: note: consider making struct 'Project' conform to the 'Sendable' protocol
2 |
3 | /// A grouping of `Expression`s used for a common purpose, such as an application or service.
4 | public struct Project {
| `- note: consider making struct 'Project' conform to the 'Sendable' protocol
5 | /// Identifier that universally identifies this `Project`
6 | public var uuid: UUID
/host/spi-builder-workspace/Sources/TranslationCatalog/CatalogError.swift:9:10: warning: associated value 'translationExistingWithID' of 'Sendable'-conforming enum 'CatalogError' has non-sendable type 'Translation'; this is an error in the Swift 6 language mode
7 | case projectExistingWithID(Project.ID, Project)
8 | case projectID(Project.ID)
9 | case translationExistingWithID(Translation.ID, Translation)
| `- warning: associated value 'translationExistingWithID' of 'Sendable'-conforming enum 'CatalogError' has non-sendable type 'Translation'; this is an error in the Swift 6 language mode
10 | case translationExistingWithValue(String, Translation)
11 | case translationID(Translation.ID)
/host/spi-builder-workspace/Sources/TranslationCatalog/Translation.swift:5:15: note: consider making struct 'Translation' conform to the 'Sendable' protocol
3 |
4 | /// A specific language/region variation of an `Expression`.
5 | public struct Translation {
| `- note: consider making struct 'Translation' conform to the 'Sendable' protocol
6 | /// Identifier that universally identifies this `Translation`
7 | public var uuid: UUID
/host/spi-builder-workspace/Sources/TranslationCatalog/CatalogError.swift:10:10: warning: associated value 'translationExistingWithValue' of 'Sendable'-conforming enum 'CatalogError' has non-sendable type 'Translation'; this is an error in the Swift 6 language mode
8 | case projectID(Project.ID)
9 | case translationExistingWithID(Translation.ID, Translation)
10 | case translationExistingWithValue(String, Translation)
| `- warning: associated value 'translationExistingWithValue' of 'Sendable'-conforming enum 'CatalogError' has non-sendable type 'Translation'; this is an error in the Swift 6 language mode
11 | case translationID(Translation.ID)
12 | case unhandledQuery(CatalogQuery)
/host/spi-builder-workspace/Sources/TranslationCatalog/Translation.swift:5:15: note: consider making struct 'Translation' conform to the 'Sendable' protocol
3 |
4 | /// A specific language/region variation of an `Expression`.
5 | public struct Translation {
| `- note: consider making struct 'Translation' conform to the 'Sendable' protocol
6 | /// Identifier that universally identifies this `Translation`
7 | public var uuid: UUID
/host/spi-builder-workspace/Sources/TranslationCatalog/CatalogError.swift:12:10: warning: associated value 'unhandledQuery' of 'Sendable'-conforming enum 'CatalogError' has non-sendable type 'any CatalogQuery'; this is an error in the Swift 6 language mode
10 | case translationExistingWithValue(String, Translation)
11 | case translationID(Translation.ID)
12 | case unhandledQuery(CatalogQuery)
| `- warning: associated value 'unhandledQuery' of 'Sendable'-conforming enum 'CatalogError' has non-sendable type 'any CatalogQuery'; this is an error in the Swift 6 language mode
13 | case unhandledUpdate(CatalogUpdate)
14 | }
/host/spi-builder-workspace/Sources/TranslationCatalog/CatalogQuery.swift:5:17: note: protocol 'CatalogQuery' does not conform to the 'Sendable' protocol
3 |
4 | /// Associated parameters for performing query operations
5 | public protocol CatalogQuery {}
| `- note: protocol 'CatalogQuery' does not conform to the 'Sendable' protocol
6 |
7 | public enum GenericProjectQuery: CatalogQuery {
/host/spi-builder-workspace/Sources/TranslationCatalog/CatalogError.swift:13:10: warning: associated value 'unhandledUpdate' of 'Sendable'-conforming enum 'CatalogError' has non-sendable type 'any CatalogUpdate'; this is an error in the Swift 6 language mode
11 | case translationID(Translation.ID)
12 | case unhandledQuery(CatalogQuery)
13 | case unhandledUpdate(CatalogUpdate)
| `- warning: associated value 'unhandledUpdate' of 'Sendable'-conforming enum 'CatalogError' has non-sendable type 'any CatalogUpdate'; this is an error in the Swift 6 language mode
14 | }
15 |
/host/spi-builder-workspace/Sources/TranslationCatalog/CatalogUpdate.swift:5:17: note: protocol 'CatalogUpdate' does not conform to the 'Sendable' protocol
3 |
4 | /// Associated parameters when performing update operations
5 | public protocol CatalogUpdate {}
| `- note: protocol 'CatalogUpdate' does not conform to the 'Sendable' protocol
6 |
7 | public enum GenericProjectUpdate: CatalogUpdate {
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:25:107: warning: reference to static property 'default' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
23 | public var translations: [Translation]
24 |
25 | public init(uuid: UUID = .zero, key: String = "", name: String = "", defaultLanguage: LanguageCode = .default, context: String? = nil, feature: String? = nil, translations: [Translation] = []) {
| `- warning: reference to static property 'default' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
26 | self.uuid = uuid
27 | self.key = key
/host/spi-builder-workspace/.build/checkouts/LocaleSupport/Sources/LocaleSupport/LanguageCode.swift:602:23: note: static property declared here
600 | case zza
601 |
602 | public static var `default`: Self = .en
| `- note: static property declared here
603 | }
604 |
/host/spi-builder-workspace/Sources/TranslationCatalog/Translation.swift:19:104: warning: reference to static property 'default' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
17 | public var value: String
18 |
19 | public init(uuid: UUID = .zero, expressionID: Expression.ID = .zero, languageCode: LanguageCode = .default, scriptCode: ScriptCode? = nil, regionCode: RegionCode? = nil, value: String = "") {
| `- warning: reference to static property 'default' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
20 | self.uuid = uuid
21 | self.expressionID = expressionID
/host/spi-builder-workspace/.build/checkouts/LocaleSupport/Sources/LocaleSupport/LanguageCode.swift:602:23: note: static property declared here
600 | case zza
601 |
602 | public static var `default`: Self = .en
| `- note: static property declared here
603 | }
604 |
[261/308] Compiling TranslationCatalog CatalogUpdate.swift
[262/308] Compiling TranslationCatalog CatalogQuery.swift
[263/308] Compiling StatementSQLite DataTypeConvertible+SQLite.swift
/host/spi-builder-workspace/Sources/TranslationCatalog/CatalogError.swift:2:10: warning: associated value 'badQuery' of 'Sendable'-conforming enum 'CatalogError' has non-sendable type 'any CatalogQuery'; this is an error in the Swift 6 language mode
1 | public enum CatalogError: Error {
2 | case badQuery(CatalogQuery)
| `- warning: associated value 'badQuery' of 'Sendable'-conforming enum 'CatalogError' has non-sendable type 'any CatalogQuery'; this is an error in the Swift 6 language mode
3 | case dataTypeConversion(String? = nil)
4 | case expressionExistingWithID(Expression.ID, Expression)
/host/spi-builder-workspace/Sources/TranslationCatalog/CatalogQuery.swift:5:17: note: protocol 'CatalogQuery' does not conform to the 'Sendable' protocol
3 |
4 | /// Associated parameters for performing query operations
5 | public protocol CatalogQuery {}
| `- note: protocol 'CatalogQuery' does not conform to the 'Sendable' protocol
6 |
7 | public enum GenericProjectQuery: CatalogQuery {
/host/spi-builder-workspace/Sources/TranslationCatalog/CatalogError.swift:4:10: warning: associated value 'expressionExistingWithID' of 'Sendable'-conforming enum 'CatalogError' has non-sendable type 'Expression'; this is an error in the Swift 6 language mode
2 | case badQuery(CatalogQuery)
3 | case dataTypeConversion(String? = nil)
4 | case expressionExistingWithID(Expression.ID, Expression)
| `- warning: associated value 'expressionExistingWithID' of 'Sendable'-conforming enum 'CatalogError' has non-sendable type 'Expression'; this is an error in the Swift 6 language mode
5 | case expressionExistingWithKey(String, Expression)
6 | case expressionID(Expression.ID)
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: consider making struct 'Expression' conform to the 'Sendable' protocol
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: consider making struct 'Expression' conform to the 'Sendable' protocol
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
/host/spi-builder-workspace/Sources/TranslationCatalog/CatalogError.swift:5:10: warning: associated value 'expressionExistingWithKey' of 'Sendable'-conforming enum 'CatalogError' has non-sendable type 'Expression'; this is an error in the Swift 6 language mode
3 | case dataTypeConversion(String? = nil)
4 | case expressionExistingWithID(Expression.ID, Expression)
5 | case expressionExistingWithKey(String, Expression)
| `- warning: associated value 'expressionExistingWithKey' of 'Sendable'-conforming enum 'CatalogError' has non-sendable type 'Expression'; this is an error in the Swift 6 language mode
6 | case expressionID(Expression.ID)
7 | case projectExistingWithID(Project.ID, Project)
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: consider making struct 'Expression' conform to the 'Sendable' protocol
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: consider making struct 'Expression' conform to the 'Sendable' protocol
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
/host/spi-builder-workspace/Sources/TranslationCatalog/CatalogError.swift:7:10: warning: associated value 'projectExistingWithID' of 'Sendable'-conforming enum 'CatalogError' has non-sendable type 'Project'; this is an error in the Swift 6 language mode
5 | case expressionExistingWithKey(String, Expression)
6 | case expressionID(Expression.ID)
7 | case projectExistingWithID(Project.ID, Project)
| `- warning: associated value 'projectExistingWithID' of 'Sendable'-conforming enum 'CatalogError' has non-sendable type 'Project'; this is an error in the Swift 6 language mode
8 | case projectID(Project.ID)
9 | case translationExistingWithID(Translation.ID, Translation)
/host/spi-builder-workspace/Sources/TranslationCatalog/Project.swift:4:15: note: consider making struct 'Project' conform to the 'Sendable' protocol
2 |
3 | /// A grouping of `Expression`s used for a common purpose, such as an application or service.
4 | public struct Project {
| `- note: consider making struct 'Project' conform to the 'Sendable' protocol
5 | /// Identifier that universally identifies this `Project`
6 | public var uuid: UUID
/host/spi-builder-workspace/Sources/TranslationCatalog/CatalogError.swift:9:10: warning: associated value 'translationExistingWithID' of 'Sendable'-conforming enum 'CatalogError' has non-sendable type 'Translation'; this is an error in the Swift 6 language mode
7 | case projectExistingWithID(Project.ID, Project)
8 | case projectID(Project.ID)
9 | case translationExistingWithID(Translation.ID, Translation)
| `- warning: associated value 'translationExistingWithID' of 'Sendable'-conforming enum 'CatalogError' has non-sendable type 'Translation'; this is an error in the Swift 6 language mode
10 | case translationExistingWithValue(String, Translation)
11 | case translationID(Translation.ID)
/host/spi-builder-workspace/Sources/TranslationCatalog/Translation.swift:5:15: note: consider making struct 'Translation' conform to the 'Sendable' protocol
3 |
4 | /// A specific language/region variation of an `Expression`.
5 | public struct Translation {
| `- note: consider making struct 'Translation' conform to the 'Sendable' protocol
6 | /// Identifier that universally identifies this `Translation`
7 | public var uuid: UUID
/host/spi-builder-workspace/Sources/TranslationCatalog/CatalogError.swift:10:10: warning: associated value 'translationExistingWithValue' of 'Sendable'-conforming enum 'CatalogError' has non-sendable type 'Translation'; this is an error in the Swift 6 language mode
8 | case projectID(Project.ID)
9 | case translationExistingWithID(Translation.ID, Translation)
10 | case translationExistingWithValue(String, Translation)
| `- warning: associated value 'translationExistingWithValue' of 'Sendable'-conforming enum 'CatalogError' has non-sendable type 'Translation'; this is an error in the Swift 6 language mode
11 | case translationID(Translation.ID)
12 | case unhandledQuery(CatalogQuery)
/host/spi-builder-workspace/Sources/TranslationCatalog/Translation.swift:5:15: note: consider making struct 'Translation' conform to the 'Sendable' protocol
3 |
4 | /// A specific language/region variation of an `Expression`.
5 | public struct Translation {
| `- note: consider making struct 'Translation' conform to the 'Sendable' protocol
6 | /// Identifier that universally identifies this `Translation`
7 | public var uuid: UUID
/host/spi-builder-workspace/Sources/TranslationCatalog/CatalogError.swift:12:10: warning: associated value 'unhandledQuery' of 'Sendable'-conforming enum 'CatalogError' has non-sendable type 'any CatalogQuery'; this is an error in the Swift 6 language mode
10 | case translationExistingWithValue(String, Translation)
11 | case translationID(Translation.ID)
12 | case unhandledQuery(CatalogQuery)
| `- warning: associated value 'unhandledQuery' of 'Sendable'-conforming enum 'CatalogError' has non-sendable type 'any CatalogQuery'; this is an error in the Swift 6 language mode
13 | case unhandledUpdate(CatalogUpdate)
14 | }
/host/spi-builder-workspace/Sources/TranslationCatalog/CatalogQuery.swift:5:17: note: protocol 'CatalogQuery' does not conform to the 'Sendable' protocol
3 |
4 | /// Associated parameters for performing query operations
5 | public protocol CatalogQuery {}
| `- note: protocol 'CatalogQuery' does not conform to the 'Sendable' protocol
6 |
7 | public enum GenericProjectQuery: CatalogQuery {
/host/spi-builder-workspace/Sources/TranslationCatalog/CatalogError.swift:13:10: warning: associated value 'unhandledUpdate' of 'Sendable'-conforming enum 'CatalogError' has non-sendable type 'any CatalogUpdate'; this is an error in the Swift 6 language mode
11 | case translationID(Translation.ID)
12 | case unhandledQuery(CatalogQuery)
13 | case unhandledUpdate(CatalogUpdate)
| `- warning: associated value 'unhandledUpdate' of 'Sendable'-conforming enum 'CatalogError' has non-sendable type 'any CatalogUpdate'; this is an error in the Swift 6 language mode
14 | }
15 |
/host/spi-builder-workspace/Sources/TranslationCatalog/CatalogUpdate.swift:5:17: note: protocol 'CatalogUpdate' does not conform to the 'Sendable' protocol
3 |
4 | /// Associated parameters when performing update operations
5 | public protocol CatalogUpdate {}
| `- note: protocol 'CatalogUpdate' does not conform to the 'Sendable' protocol
6 |
7 | public enum GenericProjectUpdate: CatalogUpdate {
[264/308] Compiling StatementSQLite DeleteContext.swift
/host/spi-builder-workspace/Sources/TranslationCatalog/CatalogError.swift:2:10: warning: associated value 'badQuery' of 'Sendable'-conforming enum 'CatalogError' has non-sendable type 'any CatalogQuery'; this is an error in the Swift 6 language mode
1 | public enum CatalogError: Error {
2 | case badQuery(CatalogQuery)
| `- warning: associated value 'badQuery' of 'Sendable'-conforming enum 'CatalogError' has non-sendable type 'any CatalogQuery'; this is an error in the Swift 6 language mode
3 | case dataTypeConversion(String? = nil)
4 | case expressionExistingWithID(Expression.ID, Expression)
/host/spi-builder-workspace/Sources/TranslationCatalog/CatalogQuery.swift:5:17: note: protocol 'CatalogQuery' does not conform to the 'Sendable' protocol
3 |
4 | /// Associated parameters for performing query operations
5 | public protocol CatalogQuery {}
| `- note: protocol 'CatalogQuery' does not conform to the 'Sendable' protocol
6 |
7 | public enum GenericProjectQuery: CatalogQuery {
/host/spi-builder-workspace/Sources/TranslationCatalog/CatalogError.swift:4:10: warning: associated value 'expressionExistingWithID' of 'Sendable'-conforming enum 'CatalogError' has non-sendable type 'Expression'; this is an error in the Swift 6 language mode
2 | case badQuery(CatalogQuery)
3 | case dataTypeConversion(String? = nil)
4 | case expressionExistingWithID(Expression.ID, Expression)
| `- warning: associated value 'expressionExistingWithID' of 'Sendable'-conforming enum 'CatalogError' has non-sendable type 'Expression'; this is an error in the Swift 6 language mode
5 | case expressionExistingWithKey(String, Expression)
6 | case expressionID(Expression.ID)
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: consider making struct 'Expression' conform to the 'Sendable' protocol
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: consider making struct 'Expression' conform to the 'Sendable' protocol
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
/host/spi-builder-workspace/Sources/TranslationCatalog/CatalogError.swift:5:10: warning: associated value 'expressionExistingWithKey' of 'Sendable'-conforming enum 'CatalogError' has non-sendable type 'Expression'; this is an error in the Swift 6 language mode
3 | case dataTypeConversion(String? = nil)
4 | case expressionExistingWithID(Expression.ID, Expression)
5 | case expressionExistingWithKey(String, Expression)
| `- warning: associated value 'expressionExistingWithKey' of 'Sendable'-conforming enum 'CatalogError' has non-sendable type 'Expression'; this is an error in the Swift 6 language mode
6 | case expressionID(Expression.ID)
7 | case projectExistingWithID(Project.ID, Project)
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: consider making struct 'Expression' conform to the 'Sendable' protocol
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: consider making struct 'Expression' conform to the 'Sendable' protocol
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
/host/spi-builder-workspace/Sources/TranslationCatalog/CatalogError.swift:7:10: warning: associated value 'projectExistingWithID' of 'Sendable'-conforming enum 'CatalogError' has non-sendable type 'Project'; this is an error in the Swift 6 language mode
5 | case expressionExistingWithKey(String, Expression)
6 | case expressionID(Expression.ID)
7 | case projectExistingWithID(Project.ID, Project)
| `- warning: associated value 'projectExistingWithID' of 'Sendable'-conforming enum 'CatalogError' has non-sendable type 'Project'; this is an error in the Swift 6 language mode
8 | case projectID(Project.ID)
9 | case translationExistingWithID(Translation.ID, Translation)
/host/spi-builder-workspace/Sources/TranslationCatalog/Project.swift:4:15: note: consider making struct 'Project' conform to the 'Sendable' protocol
2 |
3 | /// A grouping of `Expression`s used for a common purpose, such as an application or service.
4 | public struct Project {
| `- note: consider making struct 'Project' conform to the 'Sendable' protocol
5 | /// Identifier that universally identifies this `Project`
6 | public var uuid: UUID
/host/spi-builder-workspace/Sources/TranslationCatalog/CatalogError.swift:9:10: warning: associated value 'translationExistingWithID' of 'Sendable'-conforming enum 'CatalogError' has non-sendable type 'Translation'; this is an error in the Swift 6 language mode
7 | case projectExistingWithID(Project.ID, Project)
8 | case projectID(Project.ID)
9 | case translationExistingWithID(Translation.ID, Translation)
| `- warning: associated value 'translationExistingWithID' of 'Sendable'-conforming enum 'CatalogError' has non-sendable type 'Translation'; this is an error in the Swift 6 language mode
10 | case translationExistingWithValue(String, Translation)
11 | case translationID(Translation.ID)
/host/spi-builder-workspace/Sources/TranslationCatalog/Translation.swift:5:15: note: consider making struct 'Translation' conform to the 'Sendable' protocol
3 |
4 | /// A specific language/region variation of an `Expression`.
5 | public struct Translation {
| `- note: consider making struct 'Translation' conform to the 'Sendable' protocol
6 | /// Identifier that universally identifies this `Translation`
7 | public var uuid: UUID
/host/spi-builder-workspace/Sources/TranslationCatalog/CatalogError.swift:10:10: warning: associated value 'translationExistingWithValue' of 'Sendable'-conforming enum 'CatalogError' has non-sendable type 'Translation'; this is an error in the Swift 6 language mode
8 | case projectID(Project.ID)
9 | case translationExistingWithID(Translation.ID, Translation)
10 | case translationExistingWithValue(String, Translation)
| `- warning: associated value 'translationExistingWithValue' of 'Sendable'-conforming enum 'CatalogError' has non-sendable type 'Translation'; this is an error in the Swift 6 language mode
11 | case translationID(Translation.ID)
12 | case unhandledQuery(CatalogQuery)
/host/spi-builder-workspace/Sources/TranslationCatalog/Translation.swift:5:15: note: consider making struct 'Translation' conform to the 'Sendable' protocol
3 |
4 | /// A specific language/region variation of an `Expression`.
5 | public struct Translation {
| `- note: consider making struct 'Translation' conform to the 'Sendable' protocol
6 | /// Identifier that universally identifies this `Translation`
7 | public var uuid: UUID
/host/spi-builder-workspace/Sources/TranslationCatalog/CatalogError.swift:12:10: warning: associated value 'unhandledQuery' of 'Sendable'-conforming enum 'CatalogError' has non-sendable type 'any CatalogQuery'; this is an error in the Swift 6 language mode
10 | case translationExistingWithValue(String, Translation)
11 | case translationID(Translation.ID)
12 | case unhandledQuery(CatalogQuery)
| `- warning: associated value 'unhandledQuery' of 'Sendable'-conforming enum 'CatalogError' has non-sendable type 'any CatalogQuery'; this is an error in the Swift 6 language mode
13 | case unhandledUpdate(CatalogUpdate)
14 | }
/host/spi-builder-workspace/Sources/TranslationCatalog/CatalogQuery.swift:5:17: note: protocol 'CatalogQuery' does not conform to the 'Sendable' protocol
3 |
4 | /// Associated parameters for performing query operations
5 | public protocol CatalogQuery {}
| `- note: protocol 'CatalogQuery' does not conform to the 'Sendable' protocol
6 |
7 | public enum GenericProjectQuery: CatalogQuery {
/host/spi-builder-workspace/Sources/TranslationCatalog/CatalogError.swift:13:10: warning: associated value 'unhandledUpdate' of 'Sendable'-conforming enum 'CatalogError' has non-sendable type 'any CatalogUpdate'; this is an error in the Swift 6 language mode
11 | case translationID(Translation.ID)
12 | case unhandledQuery(CatalogQuery)
13 | case unhandledUpdate(CatalogUpdate)
| `- warning: associated value 'unhandledUpdate' of 'Sendable'-conforming enum 'CatalogError' has non-sendable type 'any CatalogUpdate'; this is an error in the Swift 6 language mode
14 | }
15 |
/host/spi-builder-workspace/Sources/TranslationCatalog/CatalogUpdate.swift:5:17: note: protocol 'CatalogUpdate' does not conform to the 'Sendable' protocol
3 |
4 | /// Associated parameters when performing update operations
5 | public protocol CatalogUpdate {}
| `- note: protocol 'CatalogUpdate' does not conform to the 'Sendable' protocol
6 |
7 | public enum GenericProjectUpdate: CatalogUpdate {
[265/308] Compiling TranslationCatalog UUID+defaults.swift
[265/308] Wrapping AST for ArgumentParser for debugging
[267/308] Compiling StatementSQLite FromContext.swift
[268/308] Compiling StatementSQLite HavingContext.swift
[269/308] Compiling StatementSQLite InsertContext.swift
[270/310] Emitting module StatementSQLite
[271/310] Compiling StatementSQLite Segment+SQLite.swift
[272/310] Compiling StatementSQLite SelectContext.swift
[273/310] Compiling StatementSQLite OrderContext.swift
[274/310] Compiling StatementSQLite SQLiteStatement.swift
[275/310] Compiling StatementSQLite SetContext.swift
[276/310] Compiling StatementSQLite UpdateContext.swift
[277/310] Compiling TranslationCatalog LocaleRepresentable.swift
[280/310] Compiling StatementSQLite Field+SQLite.swift
[281/310] Compiling TranslationCatalog Project.swift
[282/310] Compiling StatementSQLite ValuesContext.swift
[283/310] Compiling StatementSQLite WhereContext.swift
[284/310] Compiling TranslationCatalog Translation.swift
/host/spi-builder-workspace/Sources/TranslationCatalog/Translation.swift:19:104: warning: reference to static property 'default' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
17 | public var value: String
18 |
19 | public init(uuid: UUID = .zero, expressionID: Expression.ID = .zero, languageCode: LanguageCode = .default, scriptCode: ScriptCode? = nil, regionCode: RegionCode? = nil, value: String = "") {
| `- warning: reference to static property 'default' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
20 | self.uuid = uuid
21 | self.expressionID = expressionID
/host/spi-builder-workspace/.build/checkouts/LocaleSupport/Sources/LocaleSupport/LanguageCode.swift:602:23: note: static property declared here
600 | case zza
601 |
602 | public static var `default`: Self = .en
| `- note: static property declared here
603 | }
604 |
[285/310] Compiling StatementSQLite JoinContext.swift
[286/310] Compiling StatementSQLite LimitContext.swift
[287/310] Compiling StatementSQLite AlterTableContext.swift
[288/310] Compiling StatementSQLite CreateContext.swift
[289/310] Compiling StatementSQLite DataType+SQLite.swift
[290/311] Compiling TranslationCatalog Expression.swift
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:25:107: warning: reference to static property 'default' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
23 | public var translations: [Translation]
24 |
25 | public init(uuid: UUID = .zero, key: String = "", name: String = "", defaultLanguage: LanguageCode = .default, context: String? = nil, feature: String? = nil, translations: [Translation] = []) {
| `- warning: reference to static property 'default' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
26 | self.uuid = uuid
27 | self.key = key
/host/spi-builder-workspace/.build/checkouts/LocaleSupport/Sources/LocaleSupport/LanguageCode.swift:602:23: note: static property declared here
600 | case zza
601 |
602 | public static var `default`: Self = .en
| `- note: static property declared here
603 | }
604 |
[292/312] Wrapping AST for StatementSQLite for debugging
[293/312] Wrapping AST for TranslationCatalog for debugging
[295/318] Compiling TranslationCatalogFilesystem ExpressionDocument.swift
/host/spi-builder-workspace/Sources/TranslationCatalogFilesystem/Documents/ExpressionDocument.swift:14:11: error: 'Expression' is ambiguous for type lookup in this context
12 | }
13 |
14 | extension Expression {
| `- error: 'Expression' is ambiguous for type lookup in this context
15 | init(document: ExpressionDocument, translations: [Translation]) {
16 | self.init(
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
[296/318] Compiling TranslationCatalogFilesystem Document.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[297/318] Emitting module TranslationCatalogFilesystem
/host/spi-builder-workspace/Sources/TranslationCatalogFilesystem/Documents/ExpressionDocument.swift:14:11: error: 'Expression' is ambiguous for type lookup in this context
12 | }
13 |
14 | extension Expression {
| `- error: 'Expression' is ambiguous for type lookup in this context
15 | init(document: ExpressionDocument, translations: [Translation]) {
16 | self.init(
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogFilesystem/Documents/ProjectDocument.swift:12:51: error: 'Expression' is ambiguous for type lookup in this context
10 |
11 | extension Project {
12 | init(document: ProjectDocument, expressions: [Expression]) {
| `- error: 'Expression' is ambiguous for type lookup in this context
13 | self.init(
14 | uuid: document.id,
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogFilesystem/FilesystemCatalog.swift:194:42: error: 'Expression' is ambiguous for type lookup in this context
192 | // MARK: - Expression
193 |
194 | public func expressions() throws -> [Expression] {
| `- error: 'Expression' is ambiguous for type lookup in this context
195 | expressionDocuments.map { document in
196 | let translations = translationDocuments
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogFilesystem/FilesystemCatalog.swift:206:70: error: 'Expression' is ambiguous for type lookup in this context
204 | }
205 |
206 | public func expressions(matching query: CatalogQuery) throws -> [Expression] {
| `- error: 'Expression' is ambiguous for type lookup in this context
207 | switch query {
208 | case GenericExpressionQuery.projectID(let projectId):
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogFilesystem/FilesystemCatalog.swift:273:59: error: 'Expression' is ambiguous for type lookup in this context
271 | }
272 |
273 | public func expression(_ id: Expression.ID) throws -> Expression {
| `- error: 'Expression' is ambiguous for type lookup in this context
274 | try expression(matching: GenericExpressionQuery.id(id))
275 | }
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogFilesystem/FilesystemCatalog.swift:273:34: error: 'Expression' is ambiguous for type lookup in this context
271 | }
272 |
273 | public func expression(_ id: Expression.ID) throws -> Expression {
| `- error: 'Expression' is ambiguous for type lookup in this context
274 | try expression(matching: GenericExpressionQuery.id(id))
275 | }
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogFilesystem/FilesystemCatalog.swift:277:68: error: 'Expression' is ambiguous for type lookup in this context
275 | }
276 |
277 | public func expression(matching query: CatalogQuery) throws -> Expression {
| `- error: 'Expression' is ambiguous for type lookup in this context
278 | let document: ExpressionDocument
279 |
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogFilesystem/FilesystemCatalog.swift:306:70: error: 'Expression' is ambiguous for type lookup in this context
304 | }
305 |
306 | public func createExpression(_ expression: Expression) throws -> Expression.ID {
| `- error: 'Expression' is ambiguous for type lookup in this context
307 | if expression.id != .zero {
308 | if let existing = try? self.expression(expression.id) {
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogFilesystem/FilesystemCatalog.swift:306:48: error: 'Expression' is ambiguous for type lookup in this context
304 | }
305 |
306 | public func createExpression(_ expression: Expression) throws -> Expression.ID {
| `- error: 'Expression' is ambiguous for type lookup in this context
307 | if expression.id != .zero {
308 | if let existing = try? self.expression(expression.id) {
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogFilesystem/FilesystemCatalog.swift:347:40: error: 'Expression' is ambiguous for type lookup in this context
345 | }
346 |
347 | public func updateExpression(_ id: Expression.ID, action: CatalogUpdate) throws {
| `- error: 'Expression' is ambiguous for type lookup in this context
348 | guard let index = expressionDocuments.firstIndex(where: { $0.id == id }) else {
349 | throw CatalogError.expressionID(id)
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogFilesystem/FilesystemCatalog.swift:370:40: error: 'Expression' is ambiguous for type lookup in this context
368 | }
369 |
370 | public func deleteExpression(_ id: Expression.ID) throws {
| `- error: 'Expression' is ambiguous for type lookup in this context
371 | guard let index = expressionDocuments.firstIndex(where: { $0.id == id }) else {
372 | throw CatalogError.expressionID(id)
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
[298/318] Compiling TranslationCatalogFilesystem ProjectDocument.swift
/host/spi-builder-workspace/Sources/TranslationCatalogFilesystem/Documents/ProjectDocument.swift:12:51: error: 'Expression' is ambiguous for type lookup in this context
10 |
11 | extension Project {
12 | init(document: ProjectDocument, expressions: [Expression]) {
| `- error: 'Expression' is ambiguous for type lookup in this context
13 | self.init(
14 | uuid: document.id,
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
[305/319] Wrapping AST for XMLCoder for debugging
[307/333] Compiling TranslationCatalogIO Resource.swift
/host/spi-builder-workspace/Sources/TranslationCatalogIO/Internal/Resource.swift:29:42: warning: reference to static property 'default' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
27 | func expression(
28 | uuid: Expression.ID,
29 | defaultLanguage: LanguageCode = .default,
| `- warning: reference to static property 'default' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
30 | comment: String? = nil,
31 | feature: String? = nil,
/host/spi-builder-workspace/.build/checkouts/LocaleSupport/Sources/LocaleSupport/LanguageCode.swift:602:23: note: static property declared here
600 | case zza
601 |
602 | public static var `default`: Self = .en
| `- note: static property declared here
603 | }
604 |
/host/spi-builder-workspace/Sources/TranslationCatalogIO/Internal/StringsXml.swift:28:134: error: 'Expression' is ambiguous for type lookup in this context
26 |
27 | extension StringsXml {
28 | func expressions(defaultLanguage: LanguageCode = .default, language: LanguageCode, script: ScriptCode?, region: RegionCode?) -> [Expression] {
| `- error: 'Expression' is ambiguous for type lookup in this context
29 | return resources.map { $0.expression(uuid: .zero, defaultLanguage: defaultLanguage, language: language, script: script, region: region) }
30 | }
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogIO/Internal/StringsXml.swift:28:55: warning: reference to static property 'default' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | extension StringsXml {
28 | func expressions(defaultLanguage: LanguageCode = .default, language: LanguageCode, script: ScriptCode?, region: RegionCode?) -> [Expression] {
| `- warning: reference to static property 'default' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
29 | return resources.map { $0.expression(uuid: .zero, defaultLanguage: defaultLanguage, language: language, script: script, region: region) }
30 | }
/host/spi-builder-workspace/.build/checkouts/LocaleSupport/Sources/LocaleSupport/LanguageCode.swift:602:23: note: static property declared here
600 | case zza
601 |
602 | public static var `default`: Self = .en
| `- note: static property declared here
603 | }
604 |
[308/333] Compiling TranslationCatalogIO StringsXml.swift
/host/spi-builder-workspace/Sources/TranslationCatalogIO/Internal/Resource.swift:29:42: warning: reference to static property 'default' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
27 | func expression(
28 | uuid: Expression.ID,
29 | defaultLanguage: LanguageCode = .default,
| `- warning: reference to static property 'default' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
30 | comment: String? = nil,
31 | feature: String? = nil,
/host/spi-builder-workspace/.build/checkouts/LocaleSupport/Sources/LocaleSupport/LanguageCode.swift:602:23: note: static property declared here
600 | case zza
601 |
602 | public static var `default`: Self = .en
| `- note: static property declared here
603 | }
604 |
/host/spi-builder-workspace/Sources/TranslationCatalogIO/Internal/StringsXml.swift:28:134: error: 'Expression' is ambiguous for type lookup in this context
26 |
27 | extension StringsXml {
28 | func expressions(defaultLanguage: LanguageCode = .default, language: LanguageCode, script: ScriptCode?, region: RegionCode?) -> [Expression] {
| `- error: 'Expression' is ambiguous for type lookup in this context
29 | return resources.map { $0.expression(uuid: .zero, defaultLanguage: defaultLanguage, language: language, script: script, region: region) }
30 | }
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogIO/Internal/StringsXml.swift:28:55: warning: reference to static property 'default' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | extension StringsXml {
28 | func expressions(defaultLanguage: LanguageCode = .default, language: LanguageCode, script: ScriptCode?, region: RegionCode?) -> [Expression] {
| `- warning: reference to static property 'default' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
29 | return resources.map { $0.expression(uuid: .zero, defaultLanguage: defaultLanguage, language: language, script: script, region: region) }
30 | }
/host/spi-builder-workspace/.build/checkouts/LocaleSupport/Sources/LocaleSupport/LanguageCode.swift:602:23: note: static property declared here
600 | case zza
601 |
602 | public static var `default`: Self = .en
| `- note: static property declared here
603 | }
604 |
[309/334] Compiling TranslationCatalogIO Dictionary+AppleStrings.swift
/host/spi-builder-workspace/Sources/TranslationCatalogIO/Extensions/Dictionary+AppleStrings.swift:62:11: error: 'Expression' is ambiguous for type lookup in this context
60 | script: ScriptCode? = nil,
61 | region: RegionCode? = nil
62 | ) -> [Expression] {
| `- error: 'Expression' is ambiguous for type lookup in this context
63 | return self.map { (key, value) -> Expression in
64 | return Expression(
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogIO/Extensions/Dictionary+AppleStrings.swift:56:42: warning: reference to static property 'default' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
54 |
55 | func expressions(
56 | defaultLanguage: LanguageCode = .default,
| `- warning: reference to static property 'default' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
57 | comment: String? = nil,
58 | feature: String? = nil,
/host/spi-builder-workspace/.build/checkouts/LocaleSupport/Sources/LocaleSupport/LanguageCode.swift:602:23: note: static property declared here
600 | case zza
601 |
602 | public static var `default`: Self = .en
| `- note: static property declared here
603 | }
604 |
/host/spi-builder-workspace/Sources/TranslationCatalogIO/Extensions/Expression+IO.swift:6:11: error: 'Expression' is ambiguous for type lookup in this context
4 | import Plot
5 |
6 | extension Expression {
| `- error: 'Expression' is ambiguous for type lookup in this context
7 | func replacingId(_ id: Expression.ID) -> Expression {
8 | let translations = self.translations.map { $0.replacingExpressionId(id) }
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogIO/Extensions/Expression+IO.swift:22:34: error: 'Expression' is ambiguous for type lookup in this context
20 | }
21 |
22 | extension Array where Element == Expression {
| `- error: 'Expression' is ambiguous for type lookup in this context
23 | func compactMap(localeIdentifier: Locale.Identifier?, defaultOrFirst: Bool) -> [Expression] {
24 | self.compactMap { expression -> Expression? in
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogIO/Extensions/Expression+IO.swift:23:85: error: 'Expression' is ambiguous for type lookup in this context
21 |
22 | extension Array where Element == Expression {
23 | func compactMap(localeIdentifier: Locale.Identifier?, defaultOrFirst: Bool) -> [Expression] {
| `- error: 'Expression' is ambiguous for type lookup in this context
24 | self.compactMap { expression -> Expression? in
25 | let translation = defaultOrFirst ? expression.translationOrDefaultOrFirst(with: localeIdentifier) : expression.translation(with: localeIdentifier)
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogIO/Extensions/Expression+IO.swift:7:46: error: 'Expression' is ambiguous for type lookup in this context
5 |
6 | extension Expression {
7 | func replacingId(_ id: Expression.ID) -> Expression {
| `- error: 'Expression' is ambiguous for type lookup in this context
8 | let translations = self.translations.map { $0.replacingExpressionId(id) }
9 |
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogIO/Extensions/Expression+IO.swift:7:28: error: 'Expression' is ambiguous for type lookup in this context
5 |
6 | extension Expression {
7 | func replacingId(_ id: Expression.ID) -> Expression {
| `- error: 'Expression' is ambiguous for type lookup in this context
8 | let translations = self.translations.map { $0.replacingExpressionId(id) }
9 |
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
[310/334] Compiling TranslationCatalogIO Expression+IO.swift
/host/spi-builder-workspace/Sources/TranslationCatalogIO/Extensions/Dictionary+AppleStrings.swift:62:11: error: 'Expression' is ambiguous for type lookup in this context
60 | script: ScriptCode? = nil,
61 | region: RegionCode? = nil
62 | ) -> [Expression] {
| `- error: 'Expression' is ambiguous for type lookup in this context
63 | return self.map { (key, value) -> Expression in
64 | return Expression(
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogIO/Extensions/Dictionary+AppleStrings.swift:56:42: warning: reference to static property 'default' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
54 |
55 | func expressions(
56 | defaultLanguage: LanguageCode = .default,
| `- warning: reference to static property 'default' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
57 | comment: String? = nil,
58 | feature: String? = nil,
/host/spi-builder-workspace/.build/checkouts/LocaleSupport/Sources/LocaleSupport/LanguageCode.swift:602:23: note: static property declared here
600 | case zza
601 |
602 | public static var `default`: Self = .en
| `- note: static property declared here
603 | }
604 |
/host/spi-builder-workspace/Sources/TranslationCatalogIO/Extensions/Expression+IO.swift:6:11: error: 'Expression' is ambiguous for type lookup in this context
4 | import Plot
5 |
6 | extension Expression {
| `- error: 'Expression' is ambiguous for type lookup in this context
7 | func replacingId(_ id: Expression.ID) -> Expression {
8 | let translations = self.translations.map { $0.replacingExpressionId(id) }
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogIO/Extensions/Expression+IO.swift:22:34: error: 'Expression' is ambiguous for type lookup in this context
20 | }
21 |
22 | extension Array where Element == Expression {
| `- error: 'Expression' is ambiguous for type lookup in this context
23 | func compactMap(localeIdentifier: Locale.Identifier?, defaultOrFirst: Bool) -> [Expression] {
24 | self.compactMap { expression -> Expression? in
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogIO/Extensions/Expression+IO.swift:23:85: error: 'Expression' is ambiguous for type lookup in this context
21 |
22 | extension Array where Element == Expression {
23 | func compactMap(localeIdentifier: Locale.Identifier?, defaultOrFirst: Bool) -> [Expression] {
| `- error: 'Expression' is ambiguous for type lookup in this context
24 | self.compactMap { expression -> Expression? in
25 | let translation = defaultOrFirst ? expression.translationOrDefaultOrFirst(with: localeIdentifier) : expression.translation(with: localeIdentifier)
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogIO/Extensions/Expression+IO.swift:7:46: error: 'Expression' is ambiguous for type lookup in this context
5 |
6 | extension Expression {
7 | func replacingId(_ id: Expression.ID) -> Expression {
| `- error: 'Expression' is ambiguous for type lookup in this context
8 | let translations = self.translations.map { $0.replacingExpressionId(id) }
9 |
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogIO/Extensions/Expression+IO.swift:7:28: error: 'Expression' is ambiguous for type lookup in this context
5 |
6 | extension Expression {
7 | func replacingId(_ id: Expression.ID) -> Expression {
| `- error: 'Expression' is ambiguous for type lookup in this context
8 | let translations = self.translations.map { $0.replacingExpressionId(id) }
9 |
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
[311/334] Compiling TranslationCatalogIO ExpressionImporter.swift
/host/spi-builder-workspace/Sources/TranslationCatalogIO/ExpressionImporter.swift:9:32: error: 'Expression' is ambiguous for type lookup in this context
7 |
8 | public enum Operation: CustomStringConvertible {
9 | case createdExpression(Expression)
| `- error: 'Expression' is ambiguous for type lookup in this context
10 | case skippedExpression(Expression)
11 | case failedExpression(Expression, Error)
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogIO/ExpressionImporter.swift:10:32: error: 'Expression' is ambiguous for type lookup in this context
8 | public enum Operation: CustomStringConvertible {
9 | case createdExpression(Expression)
10 | case skippedExpression(Expression)
| `- error: 'Expression' is ambiguous for type lookup in this context
11 | case failedExpression(Expression, Error)
12 | case createdTranslation(Translation)
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogIO/ExpressionImporter.swift:11:31: error: 'Expression' is ambiguous for type lookup in this context
9 | case createdExpression(Expression)
10 | case skippedExpression(Expression)
11 | case failedExpression(Expression, Error)
| `- error: 'Expression' is ambiguous for type lookup in this context
12 | case createdTranslation(Translation)
13 | case skippedTranslation(Translation)
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogIO/ExpressionImporter.swift:49:28: error: 'Expression' is ambiguous for type lookup in this context
47 |
48 | public func importTranslations(
49 | from expressions: [Expression]
| `- error: 'Expression' is ambiguous for type lookup in this context
50 | ) -> AsyncThrowingStream<Operation, Error> {
51 | defer {
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogIO/ExpressionImporter.swift:64:49: error: 'Expression' is ambiguous for type lookup in this context
62 | }
63 |
64 | private func importExpression(_ expression: Expression, into catalog: Catalog) {
| `- error: 'Expression' is ambiguous for type lookup in this context
65 | do {
66 | try catalog.createExpression(expression)
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogIO/ExpressionImporter.swift:76:51: error: 'Expression' is ambiguous for type lookup in this context
74 | }
75 |
76 | private func importTranslations(_ expression: Expression, into catalog: Catalog) {
| `- error: 'Expression' is ambiguous for type lookup in this context
77 | guard let id = try? catalog.expression(matching: GenericExpressionQuery.key(expression.key)).id else {
78 | return
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogIO/ExpressionImporter.swift:77:24: warning: no calls to throwing functions occur within 'try' expression
75 |
76 | private func importTranslations(_ expression: Expression, into catalog: Catalog) {
77 | guard let id = try? catalog.expression(matching: GenericExpressionQuery.key(expression.key)).id else {
| `- warning: no calls to throwing functions occur within 'try' expression
78 | return
79 | }
[312/334] Compiling TranslationCatalogIO ExpressionRenderer.swift
/host/spi-builder-workspace/Sources/TranslationCatalogIO/ExpressionImporter.swift:9:32: error: 'Expression' is ambiguous for type lookup in this context
7 |
8 | public enum Operation: CustomStringConvertible {
9 | case createdExpression(Expression)
| `- error: 'Expression' is ambiguous for type lookup in this context
10 | case skippedExpression(Expression)
11 | case failedExpression(Expression, Error)
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogIO/ExpressionImporter.swift:10:32: error: 'Expression' is ambiguous for type lookup in this context
8 | public enum Operation: CustomStringConvertible {
9 | case createdExpression(Expression)
10 | case skippedExpression(Expression)
| `- error: 'Expression' is ambiguous for type lookup in this context
11 | case failedExpression(Expression, Error)
12 | case createdTranslation(Translation)
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogIO/ExpressionImporter.swift:11:31: error: 'Expression' is ambiguous for type lookup in this context
9 | case createdExpression(Expression)
10 | case skippedExpression(Expression)
11 | case failedExpression(Expression, Error)
| `- error: 'Expression' is ambiguous for type lookup in this context
12 | case createdTranslation(Translation)
13 | case skippedTranslation(Translation)
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogIO/ExpressionImporter.swift:49:28: error: 'Expression' is ambiguous for type lookup in this context
47 |
48 | public func importTranslations(
49 | from expressions: [Expression]
| `- error: 'Expression' is ambiguous for type lookup in this context
50 | ) -> AsyncThrowingStream<Operation, Error> {
51 | defer {
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogIO/ExpressionImporter.swift:64:49: error: 'Expression' is ambiguous for type lookup in this context
62 | }
63 |
64 | private func importExpression(_ expression: Expression, into catalog: Catalog) {
| `- error: 'Expression' is ambiguous for type lookup in this context
65 | do {
66 | try catalog.createExpression(expression)
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogIO/ExpressionImporter.swift:76:51: error: 'Expression' is ambiguous for type lookup in this context
74 | }
75 |
76 | private func importTranslations(_ expression: Expression, into catalog: Catalog) {
| `- error: 'Expression' is ambiguous for type lookup in this context
77 | guard let id = try? catalog.expression(matching: GenericExpressionQuery.key(expression.key)).id else {
78 | return
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogIO/ExpressionImporter.swift:77:24: warning: no calls to throwing functions occur within 'try' expression
75 |
76 | private func importTranslations(_ expression: Expression, into catalog: Catalog) {
77 | guard let id = try? catalog.expression(matching: GenericExpressionQuery.key(expression.key)).id else {
| `- warning: no calls to throwing functions occur within 'try' expression
78 | return
79 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[313/334] Emitting module TranslationCatalogIO
/host/spi-builder-workspace/Sources/TranslationCatalogIO/ExpressionDecoder.swift:28:18: error: 'Expression' is ambiguous for type lookup in this context
26 | scriptCode: ScriptCode?,
27 | regionCode: RegionCode?
28 | ) throws -> [Expression] {
| `- error: 'Expression' is ambiguous for type lookup in this context
29 | let expressions: [Expression]
30 |
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogIO/ExpressionEncoder.swift:20:27: error: 'Expression' is ambiguous for type lookup in this context
18 | @available(*, deprecated, renamed: "encodeTranslations(for:fileFormat:localeIdentifier:defaultOrFirst:)")
19 | public static func encodeTranslations(
20 | for expressions: [Expression],
| `- error: 'Expression' is ambiguous for type lookup in this context
21 | fileFormat: FileFormat
22 | ) throws -> Data {
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogIO/ExpressionEncoder.swift:36:27: error: 'Expression' is ambiguous for type lookup in this context
34 | /// - returns: The encoded translations in the request format.
35 | public static func encodeTranslations(
36 | for expressions: [Expression],
| `- error: 'Expression' is ambiguous for type lookup in this context
37 | fileFormat: FileFormat,
38 | localeIdentifier: Locale.Identifier?,
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogIO/ExpressionEncoder.swift:51:55: error: 'Expression' is ambiguous for type lookup in this context
49 | }
50 |
51 | private static func exportAndroid(_ expressions: [Expression], localeIdentifier: Locale.Identifier?, defaultOrFirst: Bool) -> Data {
| `- error: 'Expression' is ambiguous for type lookup in this context
52 | let sorted = expressions.sorted(by: { $0.key < $1.key})
53 | let xml = XML.make(with: sorted, localeIdentifier: localeIdentifier, defaultOrFirst: defaultOrFirst)
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogIO/ExpressionEncoder.swift:58:53: error: 'Expression' is ambiguous for type lookup in this context
56 | }
57 |
58 | private static func exportApple(_ expressions: [Expression], localeIdentifier: Locale.Identifier?, defaultOrFirst: Bool) -> Data {
| `- error: 'Expression' is ambiguous for type lookup in this context
59 | let sorted = expressions.sorted(by: { $0.key < $1.key})
60 | var output: [String] = []
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogIO/ExpressionEncoder.swift:76:52: error: 'Expression' is ambiguous for type lookup in this context
74 | }
75 |
76 | private static func exportJson(_ expressions: [Expression], localeIdentifier: Locale.Identifier?, defaultOrFirst: Bool) throws -> Data {
| `- error: 'Expression' is ambiguous for type lookup in this context
77 | let filtered = expressions.compactMap(localeIdentifier: localeIdentifier, defaultOrFirst: defaultOrFirst)
78 | let sequence = filtered.map { [$0.key: $0.translations.first?.value ?? ""] }
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogIO/ExpressionImporter.swift:9:32: error: 'Expression' is ambiguous for type lookup in this context
7 |
8 | public enum Operation: CustomStringConvertible {
9 | case createdExpression(Expression)
| `- error: 'Expression' is ambiguous for type lookup in this context
10 | case skippedExpression(Expression)
11 | case failedExpression(Expression, Error)
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogIO/ExpressionImporter.swift:10:32: error: 'Expression' is ambiguous for type lookup in this context
8 | public enum Operation: CustomStringConvertible {
9 | case createdExpression(Expression)
10 | case skippedExpression(Expression)
| `- error: 'Expression' is ambiguous for type lookup in this context
11 | case failedExpression(Expression, Error)
12 | case createdTranslation(Translation)
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogIO/ExpressionImporter.swift:11:31: error: 'Expression' is ambiguous for type lookup in this context
9 | case createdExpression(Expression)
10 | case skippedExpression(Expression)
11 | case failedExpression(Expression, Error)
| `- error: 'Expression' is ambiguous for type lookup in this context
12 | case createdTranslation(Translation)
13 | case skippedTranslation(Translation)
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogIO/ExpressionImporter.swift:49:28: error: 'Expression' is ambiguous for type lookup in this context
47 |
48 | public func importTranslations(
49 | from expressions: [Expression]
| `- error: 'Expression' is ambiguous for type lookup in this context
50 | ) -> AsyncThrowingStream<Operation, Error> {
51 | defer {
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogIO/ExpressionImporter.swift:64:49: error: 'Expression' is ambiguous for type lookup in this context
62 | }
63 |
64 | private func importExpression(_ expression: Expression, into catalog: Catalog) {
| `- error: 'Expression' is ambiguous for type lookup in this context
65 | do {
66 | try catalog.createExpression(expression)
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogIO/ExpressionImporter.swift:76:51: error: 'Expression' is ambiguous for type lookup in this context
74 | }
75 |
76 | private func importTranslations(_ expression: Expression, into catalog: Catalog) {
| `- error: 'Expression' is ambiguous for type lookup in this context
77 | guard let id = try? catalog.expression(matching: GenericExpressionQuery.key(expression.key)).id else {
78 | return
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogIO/Extensions/Dictionary+AppleStrings.swift:62:11: error: 'Expression' is ambiguous for type lookup in this context
60 | script: ScriptCode? = nil,
61 | region: RegionCode? = nil
62 | ) -> [Expression] {
| `- error: 'Expression' is ambiguous for type lookup in this context
63 | return self.map { (key, value) -> Expression in
64 | return Expression(
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogIO/Extensions/Dictionary+AppleStrings.swift:56:42: warning: reference to static property 'default' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
54 |
55 | func expressions(
56 | defaultLanguage: LanguageCode = .default,
| `- warning: reference to static property 'default' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
57 | comment: String? = nil,
58 | feature: String? = nil,
/host/spi-builder-workspace/.build/checkouts/LocaleSupport/Sources/LocaleSupport/LanguageCode.swift:602:23: note: static property declared here
600 | case zza
601 |
602 | public static var `default`: Self = .en
| `- note: static property declared here
603 | }
604 |
/host/spi-builder-workspace/Sources/TranslationCatalogIO/Extensions/Expression+IO.swift:6:11: error: 'Expression' is ambiguous for type lookup in this context
4 | import Plot
5 |
6 | extension Expression {
| `- error: 'Expression' is ambiguous for type lookup in this context
7 | func replacingId(_ id: Expression.ID) -> Expression {
8 | let translations = self.translations.map { $0.replacingExpressionId(id) }
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogIO/Extensions/Expression+IO.swift:22:34: error: 'Expression' is ambiguous for type lookup in this context
20 | }
21 |
22 | extension Array where Element == Expression {
| `- error: 'Expression' is ambiguous for type lookup in this context
23 | func compactMap(localeIdentifier: Locale.Identifier?, defaultOrFirst: Bool) -> [Expression] {
24 | self.compactMap { expression -> Expression? in
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogIO/Extensions/Expression+IO.swift:23:85: error: 'Expression' is ambiguous for type lookup in this context
21 |
22 | extension Array where Element == Expression {
23 | func compactMap(localeIdentifier: Locale.Identifier?, defaultOrFirst: Bool) -> [Expression] {
| `- error: 'Expression' is ambiguous for type lookup in this context
24 | self.compactMap { expression -> Expression? in
25 | let translation = defaultOrFirst ? expression.translationOrDefaultOrFirst(with: localeIdentifier) : expression.translation(with: localeIdentifier)
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogIO/Extensions/XML+Expression.swift:7:41: error: 'Expression' is ambiguous for type lookup in this context
5 |
6 | extension XML {
7 | static func make(with expressions: [Expression], localeIdentifier: Locale.Identifier?, defaultOrFirst: Bool) -> Self {
| `- error: 'Expression' is ambiguous for type lookup in this context
8 | let filtered = expressions.compactMap(localeIdentifier: localeIdentifier, defaultOrFirst: defaultOrFirst)
9 |
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogIO/Internal/Resource.swift:29:42: warning: reference to static property 'default' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
27 | func expression(
28 | uuid: Expression.ID,
29 | defaultLanguage: LanguageCode = .default,
| `- warning: reference to static property 'default' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
30 | comment: String? = nil,
31 | feature: String? = nil,
/host/spi-builder-workspace/.build/checkouts/LocaleSupport/Sources/LocaleSupport/LanguageCode.swift:602:23: note: static property declared here
600 | case zza
601 |
602 | public static var `default`: Self = .en
| `- note: static property declared here
603 | }
604 |
/host/spi-builder-workspace/Sources/TranslationCatalogIO/Internal/StringsXml.swift:28:134: error: 'Expression' is ambiguous for type lookup in this context
26 |
27 | extension StringsXml {
28 | func expressions(defaultLanguage: LanguageCode = .default, language: LanguageCode, script: ScriptCode?, region: RegionCode?) -> [Expression] {
| `- error: 'Expression' is ambiguous for type lookup in this context
29 | return resources.map { $0.expression(uuid: .zero, defaultLanguage: defaultLanguage, language: language, script: script, region: region) }
30 | }
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogIO/Internal/StringsXml.swift:28:55: warning: reference to static property 'default' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | extension StringsXml {
28 | func expressions(defaultLanguage: LanguageCode = .default, language: LanguageCode, script: ScriptCode?, region: RegionCode?) -> [Expression] {
| `- warning: reference to static property 'default' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
29 | return resources.map { $0.expression(uuid: .zero, defaultLanguage: defaultLanguage, language: language, script: script, region: region) }
30 | }
/host/spi-builder-workspace/.build/checkouts/LocaleSupport/Sources/LocaleSupport/LanguageCode.swift:602:23: note: static property declared here
600 | case zza
601 |
602 | public static var `default`: Self = .en
| `- note: static property declared here
603 | }
604 |
[314/334] Compiling TranslationCatalogIO ExpressionDecoder.swift
/host/spi-builder-workspace/Sources/TranslationCatalogIO/ExpressionDecoder.swift:28:18: error: 'Expression' is ambiguous for type lookup in this context
26 | scriptCode: ScriptCode?,
27 | regionCode: RegionCode?
28 | ) throws -> [Expression] {
| `- error: 'Expression' is ambiguous for type lookup in this context
29 | let expressions: [Expression]
30 |
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogIO/ExpressionDecoder.swift:29:27: error: 'Expression' is ambiguous for type lookup in this context
27 | regionCode: RegionCode?
28 | ) throws -> [Expression] {
29 | let expressions: [Expression]
| `- error: 'Expression' is ambiguous for type lookup in this context
30 |
31 | switch fileFormat {
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogIO/Internal/StringsXml.swift:28:134: error: 'Expression' is ambiguous for type lookup in this context
26 |
27 | extension StringsXml {
28 | func expressions(defaultLanguage: LanguageCode = .default, language: LanguageCode, script: ScriptCode?, region: RegionCode?) -> [Expression] {
| `- error: 'Expression' is ambiguous for type lookup in this context
29 | return resources.map { $0.expression(uuid: .zero, defaultLanguage: defaultLanguage, language: language, script: script, region: region) }
30 | }
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogIO/Extensions/Dictionary+AppleStrings.swift:62:11: error: 'Expression' is ambiguous for type lookup in this context
60 | script: ScriptCode? = nil,
61 | region: RegionCode? = nil
62 | ) -> [Expression] {
| `- error: 'Expression' is ambiguous for type lookup in this context
63 | return self.map { (key, value) -> Expression in
64 | return Expression(
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogIO/ExpressionEncoder.swift:20:27: error: 'Expression' is ambiguous for type lookup in this context
18 | @available(*, deprecated, renamed: "encodeTranslations(for:fileFormat:localeIdentifier:defaultOrFirst:)")
19 | public static func encodeTranslations(
20 | for expressions: [Expression],
| `- error: 'Expression' is ambiguous for type lookup in this context
21 | fileFormat: FileFormat
22 | ) throws -> Data {
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogIO/ExpressionEncoder.swift:36:27: error: 'Expression' is ambiguous for type lookup in this context
34 | /// - returns: The encoded translations in the request format.
35 | public static func encodeTranslations(
36 | for expressions: [Expression],
| `- error: 'Expression' is ambiguous for type lookup in this context
37 | fileFormat: FileFormat,
38 | localeIdentifier: Locale.Identifier?,
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogIO/ExpressionEncoder.swift:51:55: error: 'Expression' is ambiguous for type lookup in this context
49 | }
50 |
51 | private static func exportAndroid(_ expressions: [Expression], localeIdentifier: Locale.Identifier?, defaultOrFirst: Bool) -> Data {
| `- error: 'Expression' is ambiguous for type lookup in this context
52 | let sorted = expressions.sorted(by: { $0.key < $1.key})
53 | let xml = XML.make(with: sorted, localeIdentifier: localeIdentifier, defaultOrFirst: defaultOrFirst)
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogIO/ExpressionEncoder.swift:58:53: error: 'Expression' is ambiguous for type lookup in this context
56 | }
57 |
58 | private static func exportApple(_ expressions: [Expression], localeIdentifier: Locale.Identifier?, defaultOrFirst: Bool) -> Data {
| `- error: 'Expression' is ambiguous for type lookup in this context
59 | let sorted = expressions.sorted(by: { $0.key < $1.key})
60 | var output: [String] = []
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogIO/ExpressionEncoder.swift:76:52: error: 'Expression' is ambiguous for type lookup in this context
74 | }
75 |
76 | private static func exportJson(_ expressions: [Expression], localeIdentifier: Locale.Identifier?, defaultOrFirst: Bool) throws -> Data {
| `- error: 'Expression' is ambiguous for type lookup in this context
77 | let filtered = expressions.compactMap(localeIdentifier: localeIdentifier, defaultOrFirst: defaultOrFirst)
78 | let sequence = filtered.map { [$0.key: $0.translations.first?.value ?? ""] }
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogIO/ExpressionEncoder.swift:23:99: error: 'nil' requires a contextual type
21 | fileFormat: FileFormat
22 | ) throws -> Data {
23 | return try encodeTranslations(for: expressions, fileFormat: fileFormat, localeIdentifier: nil, defaultOrFirst: false)
| `- error: 'nil' requires a contextual type
24 | }
25 |
/host/spi-builder-workspace/Sources/TranslationCatalogIO/Extensions/XML+Expression.swift:7:41: error: 'Expression' is ambiguous for type lookup in this context
5 |
6 | extension XML {
7 | static func make(with expressions: [Expression], localeIdentifier: Locale.Identifier?, defaultOrFirst: Bool) -> Self {
| `- error: 'Expression' is ambiguous for type lookup in this context
8 | let filtered = expressions.compactMap(localeIdentifier: localeIdentifier, defaultOrFirst: defaultOrFirst)
9 |
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogIO/ExpressionEncoder.swift:54:43: error: cannot infer contextual base in reference to member 'spaces'
52 | let sorted = expressions.sorted(by: { $0.key < $1.key})
53 | let xml = XML.make(with: sorted, localeIdentifier: localeIdentifier, defaultOrFirst: defaultOrFirst)
54 | let raw = xml.render(indentedBy: .spaces(2))
| `- error: cannot infer contextual base in reference to member 'spaces'
55 | return raw.data(using: .utf8) ?? Data()
56 | }
/host/spi-builder-workspace/Sources/TranslationCatalogIO/ExpressionEncoder.swift:55:33: error: cannot infer contextual base in reference to member 'utf8'
53 | let xml = XML.make(with: sorted, localeIdentifier: localeIdentifier, defaultOrFirst: defaultOrFirst)
54 | let raw = xml.render(indentedBy: .spaces(2))
55 | return raw.data(using: .utf8) ?? Data()
| `- error: cannot infer contextual base in reference to member 'utf8'
56 | }
57 |
[315/334] Compiling TranslationCatalogIO ExpressionEncoder.swift
/host/spi-builder-workspace/Sources/TranslationCatalogIO/ExpressionDecoder.swift:28:18: error: 'Expression' is ambiguous for type lookup in this context
26 | scriptCode: ScriptCode?,
27 | regionCode: RegionCode?
28 | ) throws -> [Expression] {
| `- error: 'Expression' is ambiguous for type lookup in this context
29 | let expressions: [Expression]
30 |
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogIO/ExpressionDecoder.swift:29:27: error: 'Expression' is ambiguous for type lookup in this context
27 | regionCode: RegionCode?
28 | ) throws -> [Expression] {
29 | let expressions: [Expression]
| `- error: 'Expression' is ambiguous for type lookup in this context
30 |
31 | switch fileFormat {
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogIO/Internal/StringsXml.swift:28:134: error: 'Expression' is ambiguous for type lookup in this context
26 |
27 | extension StringsXml {
28 | func expressions(defaultLanguage: LanguageCode = .default, language: LanguageCode, script: ScriptCode?, region: RegionCode?) -> [Expression] {
| `- error: 'Expression' is ambiguous for type lookup in this context
29 | return resources.map { $0.expression(uuid: .zero, defaultLanguage: defaultLanguage, language: language, script: script, region: region) }
30 | }
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogIO/Extensions/Dictionary+AppleStrings.swift:62:11: error: 'Expression' is ambiguous for type lookup in this context
60 | script: ScriptCode? = nil,
61 | region: RegionCode? = nil
62 | ) -> [Expression] {
| `- error: 'Expression' is ambiguous for type lookup in this context
63 | return self.map { (key, value) -> Expression in
64 | return Expression(
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogIO/ExpressionEncoder.swift:20:27: error: 'Expression' is ambiguous for type lookup in this context
18 | @available(*, deprecated, renamed: "encodeTranslations(for:fileFormat:localeIdentifier:defaultOrFirst:)")
19 | public static func encodeTranslations(
20 | for expressions: [Expression],
| `- error: 'Expression' is ambiguous for type lookup in this context
21 | fileFormat: FileFormat
22 | ) throws -> Data {
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogIO/ExpressionEncoder.swift:36:27: error: 'Expression' is ambiguous for type lookup in this context
34 | /// - returns: The encoded translations in the request format.
35 | public static func encodeTranslations(
36 | for expressions: [Expression],
| `- error: 'Expression' is ambiguous for type lookup in this context
37 | fileFormat: FileFormat,
38 | localeIdentifier: Locale.Identifier?,
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogIO/ExpressionEncoder.swift:51:55: error: 'Expression' is ambiguous for type lookup in this context
49 | }
50 |
51 | private static func exportAndroid(_ expressions: [Expression], localeIdentifier: Locale.Identifier?, defaultOrFirst: Bool) -> Data {
| `- error: 'Expression' is ambiguous for type lookup in this context
52 | let sorted = expressions.sorted(by: { $0.key < $1.key})
53 | let xml = XML.make(with: sorted, localeIdentifier: localeIdentifier, defaultOrFirst: defaultOrFirst)
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogIO/ExpressionEncoder.swift:58:53: error: 'Expression' is ambiguous for type lookup in this context
56 | }
57 |
58 | private static func exportApple(_ expressions: [Expression], localeIdentifier: Locale.Identifier?, defaultOrFirst: Bool) -> Data {
| `- error: 'Expression' is ambiguous for type lookup in this context
59 | let sorted = expressions.sorted(by: { $0.key < $1.key})
60 | var output: [String] = []
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogIO/ExpressionEncoder.swift:76:52: error: 'Expression' is ambiguous for type lookup in this context
74 | }
75 |
76 | private static func exportJson(_ expressions: [Expression], localeIdentifier: Locale.Identifier?, defaultOrFirst: Bool) throws -> Data {
| `- error: 'Expression' is ambiguous for type lookup in this context
77 | let filtered = expressions.compactMap(localeIdentifier: localeIdentifier, defaultOrFirst: defaultOrFirst)
78 | let sequence = filtered.map { [$0.key: $0.translations.first?.value ?? ""] }
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogIO/ExpressionEncoder.swift:23:99: error: 'nil' requires a contextual type
21 | fileFormat: FileFormat
22 | ) throws -> Data {
23 | return try encodeTranslations(for: expressions, fileFormat: fileFormat, localeIdentifier: nil, defaultOrFirst: false)
| `- error: 'nil' requires a contextual type
24 | }
25 |
/host/spi-builder-workspace/Sources/TranslationCatalogIO/Extensions/XML+Expression.swift:7:41: error: 'Expression' is ambiguous for type lookup in this context
5 |
6 | extension XML {
7 | static func make(with expressions: [Expression], localeIdentifier: Locale.Identifier?, defaultOrFirst: Bool) -> Self {
| `- error: 'Expression' is ambiguous for type lookup in this context
8 | let filtered = expressions.compactMap(localeIdentifier: localeIdentifier, defaultOrFirst: defaultOrFirst)
9 |
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogIO/ExpressionEncoder.swift:54:43: error: cannot infer contextual base in reference to member 'spaces'
52 | let sorted = expressions.sorted(by: { $0.key < $1.key})
53 | let xml = XML.make(with: sorted, localeIdentifier: localeIdentifier, defaultOrFirst: defaultOrFirst)
54 | let raw = xml.render(indentedBy: .spaces(2))
| `- error: cannot infer contextual base in reference to member 'spaces'
55 | return raw.data(using: .utf8) ?? Data()
56 | }
/host/spi-builder-workspace/Sources/TranslationCatalogIO/ExpressionEncoder.swift:55:33: error: cannot infer contextual base in reference to member 'utf8'
53 | let xml = XML.make(with: sorted, localeIdentifier: localeIdentifier, defaultOrFirst: defaultOrFirst)
54 | let raw = xml.render(indentedBy: .spaces(2))
55 | return raw.data(using: .utf8) ?? Data()
| `- error: cannot infer contextual base in reference to member 'utf8'
56 | }
57 |
[316/334] Compiling TranslationCatalogIO RenderFormat.swift
[317/334] Compiling TranslationCatalogIO MarkdownTable.swift
[318/334] Compiling TranslationCatalogIO Plot+IO.swift
[319/334] Compiling TranslationCatalogIO Translation+IO.swift
[320/334] Compiling TranslationCatalogIO XML+Expression.swift
/host/spi-builder-workspace/Sources/TranslationCatalogIO/Extensions/XML+Expression.swift:7:41: error: 'Expression' is ambiguous for type lookup in this context
5 |
6 | extension XML {
7 | static func make(with expressions: [Expression], localeIdentifier: Locale.Identifier?, defaultOrFirst: Bool) -> Self {
| `- error: 'Expression' is ambiguous for type lookup in this context
8 | let filtered = expressions.compactMap(localeIdentifier: localeIdentifier, defaultOrFirst: defaultOrFirst)
9 |
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
[321/334] Compiling TranslationCatalogIO FileFormat.swift
/host/spi-builder-workspace/Sources/TranslationCatalogIO/Extensions/XML+Expression.swift:7:41: error: 'Expression' is ambiguous for type lookup in this context
5 |
6 | extension XML {
7 | static func make(with expressions: [Expression], localeIdentifier: Locale.Identifier?, defaultOrFirst: Bool) -> Self {
| `- error: 'Expression' is ambiguous for type lookup in this context
8 | let filtered = expressions.compactMap(localeIdentifier: localeIdentifier, defaultOrFirst: defaultOrFirst)
9 |
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
[322/334] Compiling TranslationCatalogFilesystem TranslationDocument.swift
/host/spi-builder-workspace/Sources/TranslationCatalogFilesystem/FilesystemCatalog.swift:194:42: error: 'Expression' is ambiguous for type lookup in this context
192 | // MARK: - Expression
193 |
194 | public func expressions() throws -> [Expression] {
| `- error: 'Expression' is ambiguous for type lookup in this context
195 | expressionDocuments.map { document in
196 | let translations = translationDocuments
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogFilesystem/FilesystemCatalog.swift:206:70: error: 'Expression' is ambiguous for type lookup in this context
204 | }
205 |
206 | public func expressions(matching query: CatalogQuery) throws -> [Expression] {
| `- error: 'Expression' is ambiguous for type lookup in this context
207 | switch query {
208 | case GenericExpressionQuery.projectID(let projectId):
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogFilesystem/FilesystemCatalog.swift:273:59: error: 'Expression' is ambiguous for type lookup in this context
271 | }
272 |
273 | public func expression(_ id: Expression.ID) throws -> Expression {
| `- error: 'Expression' is ambiguous for type lookup in this context
274 | try expression(matching: GenericExpressionQuery.id(id))
275 | }
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogFilesystem/FilesystemCatalog.swift:273:34: error: 'Expression' is ambiguous for type lookup in this context
271 | }
272 |
273 | public func expression(_ id: Expression.ID) throws -> Expression {
| `- error: 'Expression' is ambiguous for type lookup in this context
274 | try expression(matching: GenericExpressionQuery.id(id))
275 | }
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogFilesystem/FilesystemCatalog.swift:277:68: error: 'Expression' is ambiguous for type lookup in this context
275 | }
276 |
277 | public func expression(matching query: CatalogQuery) throws -> Expression {
| `- error: 'Expression' is ambiguous for type lookup in this context
278 | let document: ExpressionDocument
279 |
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogFilesystem/FilesystemCatalog.swift:306:70: error: 'Expression' is ambiguous for type lookup in this context
304 | }
305 |
306 | public func createExpression(_ expression: Expression) throws -> Expression.ID {
| `- error: 'Expression' is ambiguous for type lookup in this context
307 | if expression.id != .zero {
308 | if let existing = try? self.expression(expression.id) {
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogFilesystem/FilesystemCatalog.swift:306:48: error: 'Expression' is ambiguous for type lookup in this context
304 | }
305 |
306 | public func createExpression(_ expression: Expression) throws -> Expression.ID {
| `- error: 'Expression' is ambiguous for type lookup in this context
307 | if expression.id != .zero {
308 | if let existing = try? self.expression(expression.id) {
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogFilesystem/FilesystemCatalog.swift:347:40: error: 'Expression' is ambiguous for type lookup in this context
345 | }
346 |
347 | public func updateExpression(_ id: Expression.ID, action: CatalogUpdate) throws {
| `- error: 'Expression' is ambiguous for type lookup in this context
348 | guard let index = expressionDocuments.firstIndex(where: { $0.id == id }) else {
349 | throw CatalogError.expressionID(id)
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogFilesystem/FilesystemCatalog.swift:370:40: error: 'Expression' is ambiguous for type lookup in this context
368 | }
369 |
370 | public func deleteExpression(_ id: Expression.ID) throws {
| `- error: 'Expression' is ambiguous for type lookup in this context
371 | guard let index = expressionDocuments.firstIndex(where: { $0.id == id }) else {
372 | throw CatalogError.expressionID(id)
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogFilesystem/Documents/ProjectDocument.swift:12:51: error: 'Expression' is ambiguous for type lookup in this context
10 |
11 | extension Project {
12 | init(document: ProjectDocument, expressions: [Expression]) {
| `- error: 'Expression' is ambiguous for type lookup in this context
13 | self.init(
14 | uuid: document.id,
/host/spi-builder-workspace/Sources/TranslationCatalog/Expression.swift:7:15: note: found this candidate
5 | ///
6 | /// - note: Expressions can exist outside the context of a Project and a single expression can be associated with multiple projects.
7 | public struct Expression {
| `- note: found this candidate
8 | /// Identifier that universally identifies this `Expression`
9 | public var uuid: UUID
FoundationEssentials.Expression:2:15: note: found this candidate
1 | @available(macOS 14, iOS 17, tvOS 17, watchOS 10, *)
2 | public struct Expression<each Input, Output> : Sendable {
| `- note: found this candidate
3 | public let expression: any StandardPredicateExpression<Output>
4 | public let variable: (repeat PredicateExpressions.Variable<each Input>)
/host/spi-builder-workspace/Sources/TranslationCatalogFilesystem/FilesystemCatalog.swift:103:50: error: extra argument 'document' in call
101 | }
102 |
103 | return documents.map { Project(document: $0, expressions: []) }
| `- error: extra argument 'document' in call
104 | }
105 |
BUILD FAILURE 6.0 linux