Build Information
Failed to build TranslationCatalog, reference main (2b39dd
), with Swift 6.0 (beta) for macOS (SPM) on 15 Sep 2024 09:25:11 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
9 | public var uuid: UUID
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/Entities/ExpressionEntity.swift:27:16: warning: static property 'entity' is not concurrency-safe because non-'Sendable' type 'ExpressionEntity' may have shared mutable state; this is an error in the Swift 6 language mode
4 | import Foundation
5 |
6 | struct ExpressionEntity: Entity {
| `- note: consider making struct 'ExpressionEntity' conform to the 'Sendable' protocol
7 |
8 | static let identifier: String = "expression"
:
25 |
26 | extension ExpressionEntity {
27 | static let entity = ExpressionEntity()
| |- warning: static property 'entity' is not concurrency-safe because non-'Sendable' type 'ExpressionEntity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'entity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | static var id: Attribute { entity["id"]! }
29 | static var uuid: Attribute { entity["uuid"]! }
[297/325] Compiling TranslationCatalogIO RenderFormat.swift
[298/325] Compiling TranslationCatalogSQLite SQLiteCatalog+AssociatedTypes.swift
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/SQLiteCatalog+AssociatedTypes.swift:18:34: error: 'Expression' is ambiguous for type lookup in this context
16 | case invalidProjectID(Project.ID)
17 | @available(*, deprecated, renamed: "CatalogError.expressionID()")
18 | case invalidExpressionID(Expression.ID)
| `- error: 'Expression' is ambiguous for type lookup in this context
19 | @available(*, deprecated, renamed: "CatalogError.translationID()")
20 | case invalidTranslationID(TranslationCatalog.Translation.ID)
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/SQLiteCatalog+AssociatedTypes.swift:22:39: error: 'Expression' is ambiguous for type lookup in this context
20 | case invalidTranslationID(TranslationCatalog.Translation.ID)
21 | @available(*, deprecated, renamed: "CatalogError.expressionExistingWithID()")
22 | case existingExpressionWithID(Expression.ID)
| `- error: 'Expression' is ambiguous for type lookup in this context
23 | @available(*, deprecated, renamed: "CatalogError.expressionExistingWithKey()")
24 | case existingExpressionWithKey(String)
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/SQLiteCatalog+AssociatedTypes.swift:12:14: warning: associated value 'invalidAction' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any CatalogUpdate'; this is an error in the Swift 6 language mode
10 |
11 | @available(*, deprecated, renamed: "CatalogError.unhandledUpdate()")
12 | case invalidAction(CatalogUpdate)
| `- warning: associated value 'invalidAction' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any CatalogUpdate'; this is an error in the Swift 6 language mode
13 | @available(*, deprecated, renamed: "CatalogError.badQuery()")
14 | case invalidQuery(CatalogQuery)
/Users/admin/builder/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 {
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/SQLiteCatalog+AssociatedTypes.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'TranslationCatalog'
1 | import Foundation
2 | import LocaleSupport
3 | import TranslationCatalog
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'TranslationCatalog'
4 |
5 | public extension SQLiteCatalog {
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/SQLiteCatalog+AssociatedTypes.swift:14:14: warning: associated value 'invalidQuery' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any CatalogQuery'; this is an error in the Swift 6 language mode
12 | case invalidAction(CatalogUpdate)
13 | @available(*, deprecated, renamed: "CatalogError.badQuery()")
14 | case invalidQuery(CatalogQuery)
| `- warning: associated value 'invalidQuery' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any CatalogQuery'; this is an error in the Swift 6 language mode
15 | @available(*, deprecated, renamed: "CatalogError.projectID()")
16 | case invalidProjectID(Project.ID)
/Users/admin/builder/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 {
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/SQLiteCatalog+AssociatedTypes.swift:28:14: warning: associated value 'unhandledAction' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any CatalogUpdate'; this is an error in the Swift 6 language mode
26 | case existingTranslationWithID(TranslationCatalog.Translation.ID)
27 | @available(*, deprecated, renamed: "CatalogError.unhandledUpdate()")
28 | case unhandledAction(CatalogUpdate)
| `- warning: associated value 'unhandledAction' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any CatalogUpdate'; this is an error in the Swift 6 language mode
29 | @available(*, deprecated, renamed: "CatalogError.dataTypeConversion()")
30 | case unhandledConversion
/Users/admin/builder/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 {
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/SQLiteCatalog+AssociatedTypes.swift:32:14: warning: associated value 'unhandledQuery' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any CatalogQuery'; this is an error in the Swift 6 language mode
30 | case unhandledConversion
31 | @available(*, deprecated, renamed: "CatalogError.unhandledQuery()")
32 | case unhandledQuery(CatalogQuery)
| `- warning: associated value 'unhandledQuery' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any CatalogQuery'; this is an error in the Swift 6 language mode
33 | }
34 |
/Users/admin/builder/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 {
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/SQLiteCatalog+AssociatedTypes.swift:50:17: error: 'Expression' is ambiguous for type lookup in this context
48 |
49 | @available(*, deprecated, renamed: "GenericExpressionQuery.id")
50 | case id(Expression.ID)
| `- error: 'Expression' is ambiguous for type lookup in this context
51 | @available(*, deprecated, renamed: "GenericExpressionQuery.projectID")
52 | case projectID(Project.ID)
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/SQLiteCatalog+AssociatedTypes.swift:71:27: error: 'Expression' is ambiguous for type lookup in this context
69 | case id(TranslationCatalog.Translation.ID)
70 | @available(*, deprecated, renamed: "GenericTranslationQuery.expressionID")
71 | case expressionID(Expression.ID)
| `- error: 'Expression' is ambiguous for type lookup in this context
72 | /// Translations that match all of the provided parameters
73 | @available(*, deprecated, renamed: "GenericTranslationQuery.having")
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/SQLiteCatalog+AssociatedTypes.swift:74:21: error: 'Expression' is ambiguous for type lookup in this context
72 | /// Translations that match all of the provided parameters
73 | @available(*, deprecated, renamed: "GenericTranslationQuery.having")
74 | case having(Expression.ID, LanguageCode, ScriptCode?, RegionCode?)
| `- error: 'Expression' is ambiguous for type lookup in this context
75 | /// Translations that match only the given parameters (Script == Null & Region == Null)
76 | @available(*, deprecated, renamed: "GenericTranslationQuery.havingOnly")
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/SQLiteCatalog+AssociatedTypes.swift:77:25: error: 'Expression' is ambiguous for type lookup in this context
75 | /// Translations that match only the given parameters (Script == Null & Region == Null)
76 | @available(*, deprecated, renamed: "GenericTranslationQuery.havingOnly")
77 | case havingOnly(Expression.ID, LanguageCode)
| `- error: 'Expression' is ambiguous for type lookup in this context
78 | }
79 |
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/SQLiteCatalog+AssociatedTypes.swift:84:29: error: 'Expression' is ambiguous for type lookup in this context
82 | case name(String)
83 | @available(*, deprecated, renamed: "GenericProjectUpdate.linkExpression")
84 | case linkExpression(Expression.ID)
| `- error: 'Expression' is ambiguous for type lookup in this context
85 | @available(*, deprecated, renamed: "GenericProjectUpdate.unlinkExpression")
86 | case unlinkExpression(Expression.ID)
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/SQLiteCatalog+AssociatedTypes.swift:86:31: error: 'Expression' is ambiguous for type lookup in this context
84 | case linkExpression(Expression.ID)
85 | @available(*, deprecated, renamed: "GenericProjectUpdate.unlinkExpression")
86 | case unlinkExpression(Expression.ID)
| `- error: 'Expression' is ambiguous for type lookup in this context
87 | }
88 |
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
[299/325] Compiling TranslationCatalogSQLite SQLiteCatalog.swift
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/Entities/ProjectEntity.swift:28:37: error: 'Expression' is ambiguous for type lookup in this context
26 | }
27 |
28 | func project(with expressions: [Expression] = []) throws -> Project {
| `- error: 'Expression' is ambiguous for type lookup in this context
29 | guard let id = UUID(uuidString: uuid) else {
30 | throw CatalogError.dataTypeConversion("Invalid UUID '\(uuid)'")
/Users/admin/builder/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
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/Entities/ExpressionEntity.swift:45:89: error: 'Expression' is ambiguous for type lookup in this context
43 | }
44 |
45 | func expression(with translations: [TranslationCatalog.Translation] = []) throws -> Expression {
| `- error: 'Expression' is ambiguous for type lookup in this context
46 | guard let id = UUID(uuidString: uuid) else {
47 | throw CatalogError.dataTypeConversion("Invalid UUID '\(uuid)'")
/Users/admin/builder/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
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/SQLiteCatalog+AssociatedTypes.swift:84:29: error: 'Expression' is ambiguous for type lookup in this context
82 | case name(String)
83 | @available(*, deprecated, renamed: "GenericProjectUpdate.linkExpression")
84 | case linkExpression(Expression.ID)
| `- error: 'Expression' is ambiguous for type lookup in this context
85 | @available(*, deprecated, renamed: "GenericProjectUpdate.unlinkExpression")
86 | case unlinkExpression(Expression.ID)
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/SQLiteCatalog+AssociatedTypes.swift:86:31: error: 'Expression' is ambiguous for type lookup in this context
84 | case linkExpression(Expression.ID)
85 | @available(*, deprecated, renamed: "GenericProjectUpdate.unlinkExpression")
86 | case unlinkExpression(Expression.ID)
| `- error: 'Expression' is ambiguous for type lookup in this context
87 | }
88 |
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/SQLiteStatement+Expression.swift:167:45: error: 'Expression' is ambiguous for type lookup in this context
165 | }
166 |
167 | static func selectExpression(withID id: Expression.ID) -> Self {
| `- error: 'Expression' is ambiguous for type lookup in this context
168 | .init(
169 | .SELECT(
/Users/admin/builder/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
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/SQLiteCatalog.swift:118:113: error: cannot convert value of type 'Expression.ID' (aka 'UUID') to expected argument type 'Int'
116 | try db.run(renderStatement(.updateProject(entity.id, name: name)))
117 | case ProjectUpdate.linkExpression(let uuid), GenericProjectUpdate.linkExpression(let uuid):
118 | guard let expression = try db.expressionEntity(statement: renderStatement(.selectExpression(withID: uuid))) else {
| `- error: cannot convert value of type 'Expression.ID' (aka 'UUID') to expected argument type 'Int'
119 | throw CatalogError.expressionID(uuid)
120 | }
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/SQLiteCatalog.swift:124:113: error: cannot convert value of type 'Expression.ID' (aka 'UUID') to expected argument type 'Int'
122 | try linkProject(entity.id, expressionID: expression.id)
123 | case ProjectUpdate.unlinkExpression(let uuid), GenericProjectUpdate.unlinkExpression(let uuid):
124 | guard let expression = try db.expressionEntity(statement: renderStatement(.selectExpression(withID: uuid))) else {
| `- error: cannot convert value of type 'Expression.ID' (aka 'UUID') to expected argument type 'Int'
125 | throw CatalogError.expressionID(uuid)
126 | }
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/SQLiteCatalog+AssociatedTypes.swift:50:17: error: 'Expression' is ambiguous for type lookup in this context
48 |
49 | @available(*, deprecated, renamed: "GenericExpressionQuery.id")
50 | case id(Expression.ID)
| `- error: 'Expression' is ambiguous for type lookup in this context
51 | @available(*, deprecated, renamed: "GenericExpressionQuery.projectID")
52 | case projectID(Project.ID)
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/SQLiteCatalog.swift:198:109: error: cannot convert value of type 'Expression.ID' (aka 'UUID') to expected argument type 'Int'
196 | return try entity.expression()
197 | case ExpressionQuery.id(let uuid), GenericExpressionQuery.id(let uuid):
198 | guard let entity = try db.expressionEntity(statement: renderStatement(.selectExpression(withID: uuid))) else {
| `- error: cannot convert value of type 'Expression.ID' (aka 'UUID') to expected argument type 'Int'
199 | throw CatalogError.expressionID(uuid)
200 | }
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/Entities/ExpressionEntity.swift:36:24: error: 'Expression' is ambiguous for type lookup in this context
34 | static var feature: Attribute { entity["feature"]! }
35 |
36 | init(_ expression: Expression) {
| `- error: 'Expression' is ambiguous for type lookup in this context
37 | uuid = expression.uuid.uuidString
38 | key = expression.key
/Users/admin/builder/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
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/SQLiteCatalog.swift:235:39: error: missing argument label 'id:' in call
233 |
234 | var id = expression.id
235 | var entity = ExpressionEntity(expression)
| `- error: missing argument label 'id:' in call
236 | if expression.id == .zero {
237 | id = UUID()
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/SQLiteCatalog.swift:235:39: error: cannot convert value of type 'Expression' to expected argument type 'Int'
233 |
234 | var id = expression.id
235 | var entity = ExpressionEntity(expression)
| `- error: cannot convert value of type 'Expression' to expected argument type 'Int'
236 | if expression.id == .zero {
237 | id = UUID()
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/SQLiteCatalog.swift:252:106: error: cannot convert value of type 'Expression.ID' (aka 'UUID') to expected argument type 'Int'
250 |
251 | public func updateExpression(_ id: TranslationCatalog.Expression.ID, action: CatalogUpdate) throws {
252 | guard let entity = try? db.expressionEntity(statement: renderStatement(.selectExpression(withID: id))) else {
| `- error: cannot convert value of type 'Expression.ID' (aka 'UUID') to expected argument type 'Int'
253 | throw CatalogError.expressionID(id)
254 | }
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/SQLiteCatalog.swift:305:106: error: cannot convert value of type 'Expression.ID' (aka 'UUID') to expected argument type 'Int'
303 |
304 | public func deleteExpression(_ id: TranslationCatalog.Expression.ID) throws {
305 | guard let entity = try? db.expressionEntity(statement: renderStatement(.selectExpression(withID: id))) else {
| `- error: cannot convert value of type 'Expression.ID' (aka 'UUID') to expected argument type 'Int'
306 | throw CatalogError.expressionID(id)
307 | }
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/SQLiteCatalog+AssociatedTypes.swift:71:27: error: 'Expression' is ambiguous for type lookup in this context
69 | case id(TranslationCatalog.Translation.ID)
70 | @available(*, deprecated, renamed: "GenericTranslationQuery.expressionID")
71 | case expressionID(Expression.ID)
| `- error: 'Expression' is ambiguous for type lookup in this context
72 | /// Translations that match all of the provided parameters
73 | @available(*, deprecated, renamed: "GenericTranslationQuery.having")
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/SQLiteCatalog+AssociatedTypes.swift:77:25: error: 'Expression' is ambiguous for type lookup in this context
75 | /// Translations that match only the given parameters (Script == Null & Region == Null)
76 | @available(*, deprecated, renamed: "GenericTranslationQuery.havingOnly")
77 | case havingOnly(Expression.ID, LanguageCode)
| `- error: 'Expression' is ambiguous for type lookup in this context
78 | }
79 |
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/SQLiteCatalog+AssociatedTypes.swift:74:21: error: 'Expression' is ambiguous for type lookup in this context
72 | /// Translations that match all of the provided parameters
73 | @available(*, deprecated, renamed: "GenericTranslationQuery.having")
74 | case having(Expression.ID, LanguageCode, ScriptCode?, RegionCode?)
| `- error: 'Expression' is ambiguous for type lookup in this context
75 | /// Translations that match only the given parameters (Script == Null & Region == Null)
76 | @available(*, deprecated, renamed: "GenericTranslationQuery.havingOnly")
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/SQLiteCatalog.swift:338:119: error: cannot convert value of type 'Expression.ID' (aka 'UUID') to expected argument type 'Int'
336 | switch query {
337 | case TranslationQuery.expressionID(let expressionUUID), GenericTranslationQuery.expressionID(let expressionUUID):
338 | guard let expressionEntity = try db.expressionEntity(statement: renderStatement(.selectExpression(withID: expressionUUID))) else {
| `- error: cannot convert value of type 'Expression.ID' (aka 'UUID') to expected argument type 'Int'
339 | throw CatalogError.expressionID(expressionUUID)
340 | }
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/SQLiteCatalog.swift:345:119: error: cannot convert value of type 'Expression.ID' (aka 'UUID') to expected argument type 'Int'
343 | return try entities.map({ try $0.translation(with: expressionEntity.uuid) })
344 | case TranslationQuery.havingOnly(let expressionId, let language), GenericTranslationQuery.havingOnly(let expressionId, let language):
345 | guard let expressionEntity = try db.expressionEntity(statement: renderStatement(.selectExpression(withID: expressionId))) else {
| `- error: cannot convert value of type 'Expression.ID' (aka 'UUID') to expected argument type 'Int'
346 | throw CatalogError.expressionID(expressionId)
347 | }
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/SQLiteCatalog.swift:352:119: error: cannot convert value of type 'Expression.ID' (aka 'UUID') to expected argument type 'Int'
350 | return try entities.map({ try $0.translation(with: expressionEntity.uuid) })
351 | case TranslationQuery.having(let expressionId, let language, let script, let region), GenericTranslationQuery.having(let expressionId, let language, let script, let region):
352 | guard let expressionEntity = try db.expressionEntity(statement: renderStatement(.selectExpression(withID: expressionId))) else {
| `- error: cannot convert value of type 'Expression.ID' (aka 'UUID') to expected argument type 'Int'
353 | throw CatalogError.expressionID(expressionId)
354 | }
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/SQLiteCatalog.swift:382:113: error: cannot convert value of type 'Expression.ID' (aka 'UUID') to expected argument type 'Int'
380 | entity = _entity
381 | case GenericTranslationQuery.having(let expressionId, let languageCode, let scriptCode, let regionCode):
382 | guard let expression = try db.expressionEntity(statement: renderStatement(.selectExpression(withID: expressionId))) else {
| `- error: cannot convert value of type 'Expression.ID' (aka 'UUID') to expected argument type 'Int'
383 | throw CatalogError.expressionID(expressionId)
384 | }
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/SQLiteCatalog.swift:418:121: error: cannot convert value of type 'Expression.ID' (aka 'UUID') to expected argument type 'Int'
416 | }
417 |
418 | guard let expression = try db.expressionEntity(statement: renderStatement(.selectExpression(withID: translation.expressionID))) else {
| `- error: cannot convert value of type 'Expression.ID' (aka 'UUID') to expected argument type 'Int'
419 | throw CatalogError.expressionID(translation.expressionID)
420 | }
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/SQLiteCatalog.swift:507:113: error: cannot convert value of type 'UUID' to expected argument type 'Int'
505 | func insertAndLinkExpression(_ expression: TranslationCatalog.Expression, projectID: Int) throws {
506 | // Link Only
507 | if let entity = try db.expressionEntity(statement: renderStatement(.selectExpression(withID: expression.id))) {
| `- error: cannot convert value of type 'UUID' to expected argument type 'Int'
508 | try linkProject(projectID, expressionID: entity.id)
509 | return
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/SQLiteCatalog.swift:514:105: error: cannot convert value of type 'Expression.ID' (aka 'UUID') to expected argument type 'Int'
512 | // Create & Link
513 | let uuid = try createExpression(expression)
514 | guard let entity = try db.expressionEntity(statement: renderStatement(.selectExpression(withID: uuid))) else {
| `- error: cannot convert value of type 'Expression.ID' (aka 'UUID') to expected argument type 'Int'
515 | throw CatalogError.expressionID(uuid)
516 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[300/325] Compiling TranslationCatalogIO ExpressionImporter.swift
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/Entities/ProjectExpressionEntity.swift:15:16: warning: static property 'entity' is not concurrency-safe because non-'Sendable' type 'ProjectExpressionEntity' may have shared mutable state; this is an error in the Swift 6 language mode
2 | import TranslationCatalog
3 |
4 | struct ProjectExpressionEntity: Entity {
| `- note: consider making struct 'ProjectExpressionEntity' conform to the 'Sendable' protocol
5 |
6 | static let identifier: String = "project_expression"
:
13 |
14 | extension ProjectExpressionEntity {
15 | static let entity = ProjectExpressionEntity()
| |- warning: static property 'entity' is not concurrency-safe because non-'Sendable' type 'ProjectExpressionEntity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'entity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static var projectID: Attribute { entity["project_id"]! }
17 | static var expressionID: Attribute { entity["expression_id"]! }
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/Entities/TranslationEntity.swift:27:16: warning: static property 'entity' is not concurrency-safe because non-'Sendable' type 'TranslationEntity' may have shared mutable state; this is an error in the Swift 6 language mode
4 | import Foundation
5 |
6 | struct TranslationEntity: Entity {
| `- note: consider making struct 'TranslationEntity' conform to the 'Sendable' protocol
7 |
8 | static let identifier: String = "translation"
:
25 |
26 | extension TranslationEntity {
27 | static let entity = TranslationEntity()
| |- warning: static property 'entity' is not concurrency-safe because non-'Sendable' type 'TranslationEntity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'entity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | static var id: Attribute { entity["id"]! }
29 | static var uuid: Attribute { entity["uuid"]! }
[301/325] Compiling TranslationCatalogIO ExpressionRenderer.swift
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/Entities/ProjectExpressionEntity.swift:15:16: warning: static property 'entity' is not concurrency-safe because non-'Sendable' type 'ProjectExpressionEntity' may have shared mutable state; this is an error in the Swift 6 language mode
2 | import TranslationCatalog
3 |
4 | struct ProjectExpressionEntity: Entity {
| `- note: consider making struct 'ProjectExpressionEntity' conform to the 'Sendable' protocol
5 |
6 | static let identifier: String = "project_expression"
:
13 |
14 | extension ProjectExpressionEntity {
15 | static let entity = ProjectExpressionEntity()
| |- warning: static property 'entity' is not concurrency-safe because non-'Sendable' type 'ProjectExpressionEntity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'entity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static var projectID: Attribute { entity["project_id"]! }
17 | static var expressionID: Attribute { entity["expression_id"]! }
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/Entities/TranslationEntity.swift:27:16: warning: static property 'entity' is not concurrency-safe because non-'Sendable' type 'TranslationEntity' may have shared mutable state; this is an error in the Swift 6 language mode
4 | import Foundation
5 |
6 | struct TranslationEntity: Entity {
| `- note: consider making struct 'TranslationEntity' conform to the 'Sendable' protocol
7 |
8 | static let identifier: String = "translation"
:
25 |
26 | extension TranslationEntity {
27 | static let entity = TranslationEntity()
| |- warning: static property 'entity' is not concurrency-safe because non-'Sendable' type 'TranslationEntity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'entity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | static var id: Attribute { entity["id"]! }
29 | static var uuid: Attribute { entity["uuid"]! }
[302/325] Emitting module TranslationCatalogSQLite
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/Entities/ExpressionEntity.swift:36:24: error: 'Expression' is ambiguous for type lookup in this context
34 | static var feature: Attribute { entity["feature"]! }
35 |
36 | init(_ expression: Expression) {
| `- error: 'Expression' is ambiguous for type lookup in this context
37 | uuid = expression.uuid.uuidString
38 | key = expression.key
/Users/admin/builder/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
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/Entities/ExpressionEntity.swift:27:16: warning: static property 'entity' is not concurrency-safe because non-'Sendable' type 'ExpressionEntity' may have shared mutable state; this is an error in the Swift 6 language mode
4 | import Foundation
5 |
6 | struct ExpressionEntity: Entity {
| `- note: consider making struct 'ExpressionEntity' conform to the 'Sendable' protocol
7 |
8 | static let identifier: String = "expression"
:
25 |
26 | extension ExpressionEntity {
27 | static let entity = ExpressionEntity()
| |- warning: static property 'entity' is not concurrency-safe because non-'Sendable' type 'ExpressionEntity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'entity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | static var id: Attribute { entity["id"]! }
29 | static var uuid: Attribute { entity["uuid"]! }
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/Entities/ExpressionEntity.swift:45:89: error: 'Expression' is ambiguous for type lookup in this context
43 | }
44 |
45 | func expression(with translations: [TranslationCatalog.Translation] = []) throws -> Expression {
| `- error: 'Expression' is ambiguous for type lookup in this context
46 | guard let id = UUID(uuidString: uuid) else {
47 | throw CatalogError.dataTypeConversion("Invalid UUID '\(uuid)'")
/Users/admin/builder/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
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/Entities/ProjectEntity.swift:18:16: warning: static property 'entity' is not concurrency-safe because non-'Sendable' type 'ProjectEntity' may have shared mutable state; this is an error in the Swift 6 language mode
3 | import Foundation
4 |
5 | struct ProjectEntity: Entity, Identifiable {
| `- note: consider making struct 'ProjectEntity' conform to the 'Sendable' protocol
6 |
7 | static let identifier: String = "project"
:
16 |
17 | extension ProjectEntity {
18 | static let entity = ProjectEntity()
| |- warning: static property 'entity' is not concurrency-safe because non-'Sendable' type 'ProjectEntity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'entity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | static var id: Attribute { entity["id"]! }
20 | static var uuid: Attribute { entity["uuid"]! }
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/Entities/ProjectEntity.swift:28:37: error: 'Expression' is ambiguous for type lookup in this context
26 | }
27 |
28 | func project(with expressions: [Expression] = []) throws -> Project {
| `- error: 'Expression' is ambiguous for type lookup in this context
29 | guard let id = UUID(uuidString: uuid) else {
30 | throw CatalogError.dataTypeConversion("Invalid UUID '\(uuid)'")
/Users/admin/builder/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
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/Entities/ProjectExpressionEntity.swift:15:16: warning: static property 'entity' is not concurrency-safe because non-'Sendable' type 'ProjectExpressionEntity' may have shared mutable state; this is an error in the Swift 6 language mode
2 | import TranslationCatalog
3 |
4 | struct ProjectExpressionEntity: Entity {
| `- note: consider making struct 'ProjectExpressionEntity' conform to the 'Sendable' protocol
5 |
6 | static let identifier: String = "project_expression"
:
13 |
14 | extension ProjectExpressionEntity {
15 | static let entity = ProjectExpressionEntity()
| |- warning: static property 'entity' is not concurrency-safe because non-'Sendable' type 'ProjectExpressionEntity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'entity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static var projectID: Attribute { entity["project_id"]! }
17 | static var expressionID: Attribute { entity["expression_id"]! }
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/Entities/TranslationEntity.swift:27:16: warning: static property 'entity' is not concurrency-safe because non-'Sendable' type 'TranslationEntity' may have shared mutable state; this is an error in the Swift 6 language mode
4 | import Foundation
5 |
6 | struct TranslationEntity: Entity {
| `- note: consider making struct 'TranslationEntity' conform to the 'Sendable' protocol
7 |
8 | static let identifier: String = "translation"
:
25 |
26 | extension TranslationEntity {
27 | static let entity = TranslationEntity()
| |- warning: static property 'entity' is not concurrency-safe because non-'Sendable' type 'TranslationEntity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'entity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | static var id: Attribute { entity["id"]! }
29 | static var uuid: Attribute { entity["uuid"]! }
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/SQLiteCatalog+AssociatedTypes.swift:18:34: error: 'Expression' is ambiguous for type lookup in this context
16 | case invalidProjectID(Project.ID)
17 | @available(*, deprecated, renamed: "CatalogError.expressionID()")
18 | case invalidExpressionID(Expression.ID)
| `- error: 'Expression' is ambiguous for type lookup in this context
19 | @available(*, deprecated, renamed: "CatalogError.translationID()")
20 | case invalidTranslationID(TranslationCatalog.Translation.ID)
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/SQLiteCatalog+AssociatedTypes.swift:22:39: error: 'Expression' is ambiguous for type lookup in this context
20 | case invalidTranslationID(TranslationCatalog.Translation.ID)
21 | @available(*, deprecated, renamed: "CatalogError.expressionExistingWithID()")
22 | case existingExpressionWithID(Expression.ID)
| `- error: 'Expression' is ambiguous for type lookup in this context
23 | @available(*, deprecated, renamed: "CatalogError.expressionExistingWithKey()")
24 | case existingExpressionWithKey(String)
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/SQLiteCatalog+AssociatedTypes.swift:12:14: warning: associated value 'invalidAction' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any CatalogUpdate'; this is an error in the Swift 6 language mode
10 |
11 | @available(*, deprecated, renamed: "CatalogError.unhandledUpdate()")
12 | case invalidAction(CatalogUpdate)
| `- warning: associated value 'invalidAction' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any CatalogUpdate'; this is an error in the Swift 6 language mode
13 | @available(*, deprecated, renamed: "CatalogError.badQuery()")
14 | case invalidQuery(CatalogQuery)
/Users/admin/builder/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 {
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/SQLiteCatalog+AssociatedTypes.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'TranslationCatalog'
1 | import Foundation
2 | import LocaleSupport
3 | import TranslationCatalog
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'TranslationCatalog'
4 |
5 | public extension SQLiteCatalog {
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/SQLiteCatalog+AssociatedTypes.swift:14:14: warning: associated value 'invalidQuery' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any CatalogQuery'; this is an error in the Swift 6 language mode
12 | case invalidAction(CatalogUpdate)
13 | @available(*, deprecated, renamed: "CatalogError.badQuery()")
14 | case invalidQuery(CatalogQuery)
| `- warning: associated value 'invalidQuery' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any CatalogQuery'; this is an error in the Swift 6 language mode
15 | @available(*, deprecated, renamed: "CatalogError.projectID()")
16 | case invalidProjectID(Project.ID)
/Users/admin/builder/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 {
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/SQLiteCatalog+AssociatedTypes.swift:28:14: warning: associated value 'unhandledAction' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any CatalogUpdate'; this is an error in the Swift 6 language mode
26 | case existingTranslationWithID(TranslationCatalog.Translation.ID)
27 | @available(*, deprecated, renamed: "CatalogError.unhandledUpdate()")
28 | case unhandledAction(CatalogUpdate)
| `- warning: associated value 'unhandledAction' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any CatalogUpdate'; this is an error in the Swift 6 language mode
29 | @available(*, deprecated, renamed: "CatalogError.dataTypeConversion()")
30 | case unhandledConversion
/Users/admin/builder/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 {
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/SQLiteCatalog+AssociatedTypes.swift:32:14: warning: associated value 'unhandledQuery' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any CatalogQuery'; this is an error in the Swift 6 language mode
30 | case unhandledConversion
31 | @available(*, deprecated, renamed: "CatalogError.unhandledQuery()")
32 | case unhandledQuery(CatalogQuery)
| `- warning: associated value 'unhandledQuery' of 'Sendable'-conforming enum 'Error' has non-sendable type 'any CatalogQuery'; this is an error in the Swift 6 language mode
33 | }
34 |
/Users/admin/builder/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 {
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/SQLiteCatalog+AssociatedTypes.swift:50:17: error: 'Expression' is ambiguous for type lookup in this context
48 |
49 | @available(*, deprecated, renamed: "GenericExpressionQuery.id")
50 | case id(Expression.ID)
| `- error: 'Expression' is ambiguous for type lookup in this context
51 | @available(*, deprecated, renamed: "GenericExpressionQuery.projectID")
52 | case projectID(Project.ID)
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/SQLiteCatalog+AssociatedTypes.swift:71:27: error: 'Expression' is ambiguous for type lookup in this context
69 | case id(TranslationCatalog.Translation.ID)
70 | @available(*, deprecated, renamed: "GenericTranslationQuery.expressionID")
71 | case expressionID(Expression.ID)
| `- error: 'Expression' is ambiguous for type lookup in this context
72 | /// Translations that match all of the provided parameters
73 | @available(*, deprecated, renamed: "GenericTranslationQuery.having")
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/SQLiteCatalog+AssociatedTypes.swift:74:21: error: 'Expression' is ambiguous for type lookup in this context
72 | /// Translations that match all of the provided parameters
73 | @available(*, deprecated, renamed: "GenericTranslationQuery.having")
74 | case having(Expression.ID, LanguageCode, ScriptCode?, RegionCode?)
| `- error: 'Expression' is ambiguous for type lookup in this context
75 | /// Translations that match only the given parameters (Script == Null & Region == Null)
76 | @available(*, deprecated, renamed: "GenericTranslationQuery.havingOnly")
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/SQLiteCatalog+AssociatedTypes.swift:77:25: error: 'Expression' is ambiguous for type lookup in this context
75 | /// Translations that match only the given parameters (Script == Null & Region == Null)
76 | @available(*, deprecated, renamed: "GenericTranslationQuery.havingOnly")
77 | case havingOnly(Expression.ID, LanguageCode)
| `- error: 'Expression' is ambiguous for type lookup in this context
78 | }
79 |
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/SQLiteCatalog+AssociatedTypes.swift:84:29: error: 'Expression' is ambiguous for type lookup in this context
82 | case name(String)
83 | @available(*, deprecated, renamed: "GenericProjectUpdate.linkExpression")
84 | case linkExpression(Expression.ID)
| `- error: 'Expression' is ambiguous for type lookup in this context
85 | @available(*, deprecated, renamed: "GenericProjectUpdate.unlinkExpression")
86 | case unlinkExpression(Expression.ID)
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/SQLiteCatalog+AssociatedTypes.swift:86:31: error: 'Expression' is ambiguous for type lookup in this context
84 | case linkExpression(Expression.ID)
85 | @available(*, deprecated, renamed: "GenericProjectUpdate.unlinkExpression")
86 | case unlinkExpression(Expression.ID)
| `- error: 'Expression' is ambiguous for type lookup in this context
87 | }
88 |
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/SQLiteStatement+Expression.swift:167:45: error: 'Expression' is ambiguous for type lookup in this context
165 | }
166 |
167 | static func selectExpression(withID id: Expression.ID) -> Self {
| `- error: 'Expression' is ambiguous for type lookup in this context
168 | .init(
169 | .SELECT(
/Users/admin/builder/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
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
[303/325] Compiling TranslationCatalogIO Dictionary+AppleStrings.swift
[304/325] Compiling TranslationCatalogIO Expression+IO.swift
[305/325] Compiling TranslationCatalogIO ExpressionDecoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/Entities/ExpressionEntity.swift:36:24: error: 'Expression' is ambiguous for type lookup in this context
34 | static var feature: Attribute { entity["feature"]! }
35 |
36 | init(_ expression: Expression) {
| `- error: 'Expression' is ambiguous for type lookup in this context
37 | uuid = expression.uuid.uuidString
38 | key = expression.key
/Users/admin/builder/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
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/Entities/ExpressionEntity.swift:27:16: warning: static property 'entity' is not concurrency-safe because non-'Sendable' type 'ExpressionEntity' may have shared mutable state; this is an error in the Swift 6 language mode
4 | import Foundation
5 |
6 | struct ExpressionEntity: Entity {
| `- note: consider making struct 'ExpressionEntity' conform to the 'Sendable' protocol
7 |
8 | static let identifier: String = "expression"
:
25 |
26 | extension ExpressionEntity {
27 | static let entity = ExpressionEntity()
| |- warning: static property 'entity' is not concurrency-safe because non-'Sendable' type 'ExpressionEntity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'entity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | static var id: Attribute { entity["id"]! }
29 | static var uuid: Attribute { entity["uuid"]! }
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/Entities/ExpressionEntity.swift:45:89: error: 'Expression' is ambiguous for type lookup in this context
43 | }
44 |
45 | func expression(with translations: [TranslationCatalog.Translation] = []) throws -> Expression {
| `- error: 'Expression' is ambiguous for type lookup in this context
46 | guard let id = UUID(uuidString: uuid) else {
47 | throw CatalogError.dataTypeConversion("Invalid UUID '\(uuid)'")
/Users/admin/builder/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
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/Entities/ProjectEntity.swift:18:16: warning: static property 'entity' is not concurrency-safe because non-'Sendable' type 'ProjectEntity' may have shared mutable state; this is an error in the Swift 6 language mode
3 | import Foundation
4 |
5 | struct ProjectEntity: Entity, Identifiable {
| `- note: consider making struct 'ProjectEntity' conform to the 'Sendable' protocol
6 |
7 | static let identifier: String = "project"
:
16 |
17 | extension ProjectEntity {
18 | static let entity = ProjectEntity()
| |- warning: static property 'entity' is not concurrency-safe because non-'Sendable' type 'ProjectEntity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'entity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | static var id: Attribute { entity["id"]! }
20 | static var uuid: Attribute { entity["uuid"]! }
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/Entities/ProjectEntity.swift:28:37: error: 'Expression' is ambiguous for type lookup in this context
26 | }
27 |
28 | func project(with expressions: [Expression] = []) throws -> Project {
| `- error: 'Expression' is ambiguous for type lookup in this context
29 | guard let id = UUID(uuidString: uuid) else {
30 | throw CatalogError.dataTypeConversion("Invalid UUID '\(uuid)'")
/Users/admin/builder/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
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
[306/325] Compiling TranslationCatalogIO ExpressionEncoder.swift
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/Entities/ExpressionEntity.swift:36:24: error: 'Expression' is ambiguous for type lookup in this context
34 | static var feature: Attribute { entity["feature"]! }
35 |
36 | init(_ expression: Expression) {
| `- error: 'Expression' is ambiguous for type lookup in this context
37 | uuid = expression.uuid.uuidString
38 | key = expression.key
/Users/admin/builder/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
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/Entities/ExpressionEntity.swift:27:16: warning: static property 'entity' is not concurrency-safe because non-'Sendable' type 'ExpressionEntity' may have shared mutable state; this is an error in the Swift 6 language mode
4 | import Foundation
5 |
6 | struct ExpressionEntity: Entity {
| `- note: consider making struct 'ExpressionEntity' conform to the 'Sendable' protocol
7 |
8 | static let identifier: String = "expression"
:
25 |
26 | extension ExpressionEntity {
27 | static let entity = ExpressionEntity()
| |- warning: static property 'entity' is not concurrency-safe because non-'Sendable' type 'ExpressionEntity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'entity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | static var id: Attribute { entity["id"]! }
29 | static var uuid: Attribute { entity["uuid"]! }
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/Entities/ExpressionEntity.swift:45:89: error: 'Expression' is ambiguous for type lookup in this context
43 | }
44 |
45 | func expression(with translations: [TranslationCatalog.Translation] = []) throws -> Expression {
| `- error: 'Expression' is ambiguous for type lookup in this context
46 | guard let id = UUID(uuidString: uuid) else {
47 | throw CatalogError.dataTypeConversion("Invalid UUID '\(uuid)'")
/Users/admin/builder/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
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/Entities/ProjectEntity.swift:18:16: warning: static property 'entity' is not concurrency-safe because non-'Sendable' type 'ProjectEntity' may have shared mutable state; this is an error in the Swift 6 language mode
3 | import Foundation
4 |
5 | struct ProjectEntity: Entity, Identifiable {
| `- note: consider making struct 'ProjectEntity' conform to the 'Sendable' protocol
6 |
7 | static let identifier: String = "project"
:
16 |
17 | extension ProjectEntity {
18 | static let entity = ProjectEntity()
| |- warning: static property 'entity' is not concurrency-safe because non-'Sendable' type 'ProjectEntity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'entity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | static var id: Attribute { entity["id"]! }
20 | static var uuid: Attribute { entity["uuid"]! }
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/Entities/ProjectEntity.swift:28:37: error: 'Expression' is ambiguous for type lookup in this context
26 | }
27 |
28 | func project(with expressions: [Expression] = []) throws -> Project {
| `- error: 'Expression' is ambiguous for type lookup in this context
29 | guard let id = UUID(uuidString: uuid) else {
30 | throw CatalogError.dataTypeConversion("Invalid UUID '\(uuid)'")
/Users/admin/builder/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
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
[307/325] Compiling TranslationCatalogSQLite SQLiteStmt+Entities.swift
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/SQLiteStmt+Entities.swift:51:75: 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
49 |
50 | func languageCode(position: Int) -> LanguageCode {
51 | return LanguageCode(rawValue: columnText(position: position)) ?? .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
52 | }
53 |
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/TranslationCatalogSQLite/Entities/ExpressionEntity.swift:36:24: error: 'Expression' is ambiguous for type lookup in this context
34 | static var feature: Attribute { entity["feature"]! }
35 |
36 | init(_ expression: Expression) {
| `- error: 'Expression' is ambiguous for type lookup in this context
37 | uuid = expression.uuid.uuidString
38 | key = expression.key
/Users/admin/builder/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
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
[308/325] Compiling TranslationCatalogFilesystem Document.swift
[309/325] Compiling TranslationCatalogFilesystem ExpressionDocument.swift
/Users/admin/builder/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(
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[310/325] Emitting module TranslationCatalogFilesystem
/Users/admin/builder/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(
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/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,
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/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
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/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):
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/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 | }
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/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 | }
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/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 |
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/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) {
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/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) {
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/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)
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/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)
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
[311/325] Compiling TranslationCatalogIO Plot+IO.swift
[312/325] Compiling TranslationCatalogIO Translation+IO.swift
/Users/admin/builder/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
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/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):
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/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 | }
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/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 | }
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/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 |
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/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) {
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/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) {
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/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)
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/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)
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/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,
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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 |
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/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 {
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/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 | }
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/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(
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/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 {
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/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?,
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/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)
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/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] = []
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/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 ?? ""] }
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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 |
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
/Users/admin/builder/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 |
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/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 {
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/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 | }
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/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(
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/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 {
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/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?,
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/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)
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/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] = []
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/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 ?? ""] }
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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 |
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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(
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/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,
/Users/admin/builder/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 |
/Users/admin/builder/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) }
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/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
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/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)
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/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 |
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/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 |
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/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(
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/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,
/Users/admin/builder/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 |
/Users/admin/builder/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) }
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/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
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/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)
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/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 |
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/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 |
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
[317/325] Emitting module TranslationCatalogIO
/Users/admin/builder/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 |
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/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 {
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/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?,
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/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)
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/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] = []
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/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 ?? ""] }
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/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)
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/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)
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/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)
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/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 {
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/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)
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/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
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/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(
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/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,
/Users/admin/builder/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 |
/Users/admin/builder/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) }
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/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
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/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)
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/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 |
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/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,
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
Foundation.Expression:2:15: note: found this candidate
1 | @available(macOS 15, iOS 18, tvOS 18, watchOS 11, *)
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>)
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
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/alexisakers/HTMLString.git
Fetching https://github.com/richardpiazza/Statement.git
Fetching https://github.com/richardpiazza/LocaleSupport.git
Fetching https://github.com/apple/swift-argument-parser
[1/1631] Fetching htmlstring
[34/11642] Fetching htmlstring, xmlcoder
[68/12328] Fetching htmlstring, xmlcoder, localesupport
[158/13073] Fetching htmlstring, xmlcoder, localesupport, statement
[293/15159] Fetching htmlstring, xmlcoder, localesupport, statement, plot
[2222/24696] Fetching htmlstring, xmlcoder, localesupport, statement, plot, sqlite.swift
[4132/36865] Fetching htmlstring, xmlcoder, localesupport, statement, plot, sqlite.swift, swift-argument-parser
Fetched https://github.com/JohnSundell/Plot.git from cache (1.24s)
Fetched https://github.com/CoreOffice/XMLCoder.git from cache (1.24s)
[7704/24768] Fetching htmlstring, localesupport, statement, sqlite.swift, swift-argument-parser
Fetching https://github.com/richardpiazza/AsyncPlus.git
Fetched https://github.com/richardpiazza/Statement.git from cache (1.66s)
Fetched https://github.com/stephencelis/SQLite.swift.git from cache (1.66s)
Fetched https://github.com/alexisakers/HTMLString.git from cache (1.66s)
Fetched https://github.com/richardpiazza/LocaleSupport.git from cache (1.66s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.66s)
[1/124] Fetching asyncplus
Fetched https://github.com/richardpiazza/AsyncPlus.git from cache (0.68s)
Computing version for https://github.com/stephencelis/SQLite.swift.git
Computed https://github.com/stephencelis/SQLite.swift.git at 0.14.1 (0.80s)
Computing version for https://github.com/alexisakers/HTMLString.git
Computed https://github.com/alexisakers/HTMLString.git at 6.0.1 (0.67s)
Computing version for https://github.com/JohnSundell/Plot.git
Computed https://github.com/JohnSundell/Plot.git at 0.11.0 (0.67s)
Computing version for https://github.com/CoreOffice/XMLCoder.git
Computed https://github.com/CoreOffice/XMLCoder.git at 0.17.1 (0.68s)
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.70s)
Computing version for https://github.com/richardpiazza/Statement.git
Computed https://github.com/richardpiazza/Statement.git at 0.7.2 (0.66s)
Computing version for https://github.com/richardpiazza/AsyncPlus.git
Computed https://github.com/richardpiazza/AsyncPlus.git at 0.1.0 (0.65s)
Computing version for https://github.com/richardpiazza/LocaleSupport.git
Computed https://github.com/richardpiazza/LocaleSupport.git at 0.4.3 (0.63s)
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/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/richardpiazza/Statement.git
Working copy of https://github.com/richardpiazza/Statement.git resolved at 0.7.2
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/JohnSundell/Plot.git
Working copy of https://github.com/JohnSundell/Plot.git resolved at 0.11.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.2.0
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/richardpiazza/LocaleSupport.git
Working copy of https://github.com/richardpiazza/LocaleSupport.git resolved at 0.4.3
BUILD FAILURE 6.0 macosSpm