Build Information
Failed to build SwiftLI, reference 0.4.1 (46e7b1
), with Swift 6.0 for Linux on 6 Dec 2024 19:46:19 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.58.5
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/KC-2001MS/SwiftLI.git
Reference: 0.4.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/KC-2001MS/SwiftLI
* tag 0.4.1 -> FETCH_HEAD
HEAD is now at 46e7b10 Add init
Cloned https://github.com/KC-2001MS/SwiftLI.git
Revision (git rev-parse @):
46e7b10aab0bcafd61de197142c4c6a39bc026da
SUCCESS checkout https://github.com/KC-2001MS/SwiftLI.git at 0.4.1
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/KC-2001MS/SwiftLI.git
https://github.com/KC-2001MS/SwiftLI.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.5.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin.git"
},
{
"identity" : "swift-testing",
"requirement" : {
"range" : [
{
"lower_bound" : "0.10.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-testing.git"
}
],
"manifest_display_name" : "SwiftLI",
"name" : "SwiftLI",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "SwiftLI",
"targets" : [
"SwiftLI"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "sclt",
"targets" : [
"sclt"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "sclt",
"module_type" : "SwiftTarget",
"name" : "sclt",
"path" : "Sources/sclt",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"sclt"
],
"sources" : [
"Subcommands/Break.swift",
"Subcommands/Group.swift",
"Subcommands/HDivider.swift",
"Subcommands/Label.swift",
"Subcommands/Spacer.swift",
"Subcommands/SwiftLogo.swift",
"Subcommands/Text.swift",
"SwiftLI.swift"
],
"target_dependencies" : [
"SwiftLI"
],
"type" : "executable"
},
{
"c99name" : "SwiftLITests",
"module_type" : "SwiftTarget",
"name" : "SwiftLITests",
"path" : "Tests/SwiftLITests",
"product_dependencies" : [
"Testing"
],
"sources" : [
"SwiftLITests.swift"
],
"target_dependencies" : [
"SwiftLI"
],
"type" : "test"
},
{
"c99name" : "SwiftLI",
"module_type" : "SwiftTarget",
"name" : "SwiftLI",
"path" : "Sources/SwiftLI",
"product_memberships" : [
"SwiftLI",
"sclt"
],
"sources" : [
"CLI Basic Components/Break.swift",
"CLI Basic Components/Clear.swift",
"CLI Basic Components/Group.swift",
"CLI Basic Components/HDivider.swift",
"CLI Basic Components/Label.swift",
"CLI Basic Components/Spacer.swift",
"CLT Expansion Components/Emoticon.swift",
"CLT Expansion Components/SwiftLogo.swift",
"LocalizedStringKey.swift",
"Style/BlinkStyle.swift",
"Style/Color.swift",
"Style/LabelStyle.swift",
"Style/LineStyle.swift",
"Style/Weight.swift",
"View.swift",
"ViewBuilder.swift"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-docc-plugin.git
Fetching https://github.com/apple/swift-testing.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/2044] Fetching swift-docc-plugin
[2045/18521] Fetching swift-docc-plugin, swift-testing
Fetched https://github.com/apple/swift-docc-plugin.git from cache (0.36s)
[2637/16477] Fetching swift-testing
[15160/28873] Fetching swift-testing, swift-argument-parser
Fetched https://github.com/apple/swift-testing.git from cache (0.79s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.79s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (0.47s)
Computing version for https://github.com/apple/swift-testing.git
Computed https://github.com/apple/swift-testing.git at 0.99.0 (0.60s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/66935] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (4.34s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (2.20s)
Computing version for https://github.com/apple/swift-docc-plugin.git
Computed https://github.com/apple/swift-docc-plugin.git at 1.4.3 (0.49s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3203] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.34s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.53s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin.git
Working copy of https://github.com/apple/swift-docc-plugin.git resolved at 1.4.3
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-testing.git
Working copy of https://github.com/apple/swift-testing.git resolved at 0.99.0
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.1
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin Swift-DocC Preview
Building for debugging...
[3/14] Write sources
[7/14] Write swift-version-24593BA9C3E375BF.txt
[9/31] Emitting module ArgumentParserToolInfo
[10/31] Compiling ArgumentParserToolInfo ToolInfo.swift
[11/32] Compiling SwiftLI LineStyle.swift
[12/32] Compiling SwiftLI Weight.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/34] Emitting module SwiftLI
/host/spi-builder-workspace/Sources/SwiftLI/LocalizedStringKey.swift:13:35: error: 'LocalizationValue' is not a member type of struct 'Swift.String'
11 | @frozen
12 | public struct LocalizedStringKey: Equatable {
13 | var localizationValue: String.LocalizationValue
| `- error: 'LocalizationValue' is not a member type of struct 'Swift.String'
14 |
15 | /// Creates a localized string key from the given string value.
Swift.String:1:23: note: 'String' declared here
1 | @frozen public struct String {
| `- note: 'String' declared here
2 | public var _guts: _StringGuts
3 | @inlinable public init()
/host/spi-builder-workspace/Sources/SwiftLI/LocalizedStringKey.swift:12:15: error: type 'LocalizedStringKey' does not conform to protocol 'Equatable'
10 | /// The key used to look up an entry in a strings file or strings dictionary file.
11 | @frozen
12 | public struct LocalizedStringKey: Equatable {
| `- error: type 'LocalizedStringKey' does not conform to protocol 'Equatable'
13 | var localizationValue: String.LocalizationValue
| `- note: stored property type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'LocalizedStringKey' to 'Equatable'
14 |
15 | /// Creates a localized string key from the given string value.
Swift.==:1:24: note: candidate would match if 'LocalizedStringKey' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
| `- note: candidate would match if 'LocalizedStringKey' conformed to 'RawRepresentable'
Swift.FloatingPoint:2:24: note: candidate would match if 'LocalizedStringKey' conformed to 'FloatingPoint'
1 | extension FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool
| `- note: candidate would match if 'LocalizedStringKey' conformed to 'FloatingPoint'
3 | public static func < (lhs: Self, rhs: Self) -> Bool
4 | public static func <= (lhs: Self, rhs: Self) -> Bool
Swift.BinaryInteger:2:24: note: candidate would match if 'LocalizedStringKey' conformed to 'BinaryInteger'
1 | extension BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger
| `- note: candidate would match if 'LocalizedStringKey' conformed to 'BinaryInteger'
3 | public static func != <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger
4 | public static func < <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger
Swift._Pointer:2:24: note: candidate would match if 'LocalizedStringKey' conformed to '_Pointer'
1 | extension _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool
| `- note: candidate would match if 'LocalizedStringKey' conformed to '_Pointer'
3 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer
| `- note: candidate would match if 'LocalizedStringKey' conformed to '_Pointer'
4 | @inlinable public static func != <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer
5 | }
Swift.Strideable:3:35: note: candidate would match if 'LocalizedStringKey' conformed to 'Strideable'
1 | extension Strideable {
2 | @inlinable public static func < (x: Self, y: Self) -> Bool
3 | @inlinable public static func == (x: Self, y: Self) -> Bool
| `- note: candidate would match if 'LocalizedStringKey' conformed to 'Strideable'
4 | }
Swift.StringProtocol:2:35: note: candidate would match if 'LocalizedStringKey' conformed to 'StringProtocol'
1 | extension StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol
| `- note: candidate would match if 'LocalizedStringKey' conformed to 'StringProtocol'
3 | @inlinable public static func != <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol
4 | @inlinable public static func < <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol
Swift.SIMD:4:24: note: candidate would match if 'LocalizedStringKey' conformed to 'SIMD'
2 | public var indices: Range<Int> { get }
3 | public init(repeating value: Self.Scalar)
4 | public static func == (a: Self, b: Self) -> Bool
| `- note: candidate would match if 'LocalizedStringKey' conformed to 'SIMD'
5 | @inlinable public func hash(into hasher: inout Hasher)
6 | public func encode(to encoder: any Encoder) throws
Foundation.__BridgedNSError:2:24: note: candidate would match if 'LocalizedStringKey' conformed to '__BridgedNSError'
1 | extension __BridgedNSError where Self : RawRepresentable, Self.RawValue : FixedWidthInteger {
2 | public static func == (lhs: Self, rhs: Self) -> Bool
| `- note: candidate would match if 'LocalizedStringKey' conformed to '__BridgedNSError'
3 | }
Foundation._BridgedStoredNSError:2:24: note: candidate would match if 'LocalizedStringKey' conformed to '_BridgedStoredNSError'
1 | extension _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool
| `- note: candidate would match if 'LocalizedStringKey' conformed to '_BridgedStoredNSError'
3 | }
FoundationEssentials.AttributedStringProtocol:3:24: note: candidate would match if 'LocalizedStringKey' conformed to 'AttributedStringProtocol'
1 | @available(macOS 12, iOS 15, tvOS 15, watchOS 8, *)
2 | extension AttributedStringProtocol {
3 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol
| `- note: candidate would match if 'LocalizedStringKey' conformed to 'AttributedStringProtocol'
4 | public func hash(into hasher: inout Hasher)
5 | }
Swift.Equatable:2:17: note: protocol requires function '==' with type '(LocalizedStringKey, LocalizedStringKey) -> Bool'
1 | public protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool
| `- note: protocol requires function '==' with type '(LocalizedStringKey, LocalizedStringKey) -> Bool'
3 | }
[14/34] Wrapping AST for ArgumentParserToolInfo for debugging
[16/34] Compiling SwiftLI Color.swift
[17/34] Compiling SwiftLI LabelStyle.swift
[18/72] Compiling ArgumentParser OptionGroup.swift
[19/72] Compiling ArgumentParser AsyncParsableCommand.swift
[20/72] Compiling ArgumentParser CommandConfiguration.swift
[21/72] Compiling ArgumentParser CommandGroup.swift
[22/72] Compiling ArgumentParser EnumerableFlag.swift
[23/77] Compiling ArgumentParser ParsableArgumentsValidation.swift
/host/spi-builder-workspace/Sources/SwiftLI/LocalizedStringKey.swift:13:35: error: 'LocalizationValue' is not a member type of struct 'Swift.String'
11 | @frozen
12 | public struct LocalizedStringKey: Equatable {
13 | var localizationValue: String.LocalizationValue
| `- error: 'LocalizationValue' is not a member type of struct 'Swift.String'
14 |
15 | /// Creates a localized string key from the given string value.
Swift.String:1:23: note: 'String' declared here
1 | @frozen public struct String {
| `- note: 'String' declared here
2 | public var _guts: _StringGuts
3 | @inlinable public init()
/host/spi-builder-workspace/Sources/SwiftLI/View.swift:46:32: error: extra arguments at positions #3, #4 in call
44 | ) {
45 | self.header = ""
46 | self.contents = [String(localized: key.localizationValue, table: tableName, bundle: bundle, comment: comment)]
| `- error: extra arguments at positions #3, #4 in call
47 | self.footer = false
48 | }
Foundation.String:19:12: note: 'init(format:locale:_:)' declared here
17 | public init(format: __shared String, _ arguments: any CVarArg...)
18 | public init(format: __shared String, arguments: __shared [any CVarArg])
19 | public init(format: __shared String, locale: __shared Locale?, _ args: any CVarArg...)
| `- note: 'init(format:locale:_:)' declared here
20 | public init(format: __shared String, locale: __shared Locale?, arguments: __shared [any CVarArg])
21 | public init(_ cocoaString: NSString)
/host/spi-builder-workspace/Sources/SwiftLI/View.swift:46:33: error: missing argument for parameter 'format' in call
44 | ) {
45 | self.header = ""
46 | self.contents = [String(localized: key.localizationValue, table: tableName, bundle: bundle, comment: comment)]
| `- error: missing argument for parameter 'format' in call
47 | self.footer = false
48 | }
Foundation.String:19:12: note: 'init(format:locale:_:)' declared here
17 | public init(format: __shared String, _ arguments: any CVarArg...)
18 | public init(format: __shared String, arguments: __shared [any CVarArg])
19 | public init(format: __shared String, locale: __shared Locale?, _ args: any CVarArg...)
| `- note: 'init(format:locale:_:)' declared here
20 | public init(format: __shared String, locale: __shared Locale?, arguments: __shared [any CVarArg])
21 | public init(_ cocoaString: NSString)
/host/spi-builder-workspace/Sources/SwiftLI/View.swift:46:74: error: value of optional type 'String?' must be unwrapped to a value of type 'String'
44 | ) {
45 | self.header = ""
46 | self.contents = [String(localized: key.localizationValue, table: tableName, bundle: bundle, comment: comment)]
| |- error: value of optional type 'String?' must be unwrapped to a value of type 'String'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
47 | self.footer = false
48 | }
[24/77] Compiling ArgumentParser ParsableCommand.swift
/host/spi-builder-workspace/Sources/SwiftLI/LocalizedStringKey.swift:13:35: error: 'LocalizationValue' is not a member type of struct 'Swift.String'
11 | @frozen
12 | public struct LocalizedStringKey: Equatable {
13 | var localizationValue: String.LocalizationValue
| `- error: 'LocalizationValue' is not a member type of struct 'Swift.String'
14 |
15 | /// Creates a localized string key from the given string value.
Swift.String:1:23: note: 'String' declared here
1 | @frozen public struct String {
| `- note: 'String' declared here
2 | public var _guts: _StringGuts
3 | @inlinable public init()
/host/spi-builder-workspace/Sources/SwiftLI/View.swift:46:32: error: extra arguments at positions #3, #4 in call
44 | ) {
45 | self.header = ""
46 | self.contents = [String(localized: key.localizationValue, table: tableName, bundle: bundle, comment: comment)]
| `- error: extra arguments at positions #3, #4 in call
47 | self.footer = false
48 | }
Foundation.String:19:12: note: 'init(format:locale:_:)' declared here
17 | public init(format: __shared String, _ arguments: any CVarArg...)
18 | public init(format: __shared String, arguments: __shared [any CVarArg])
19 | public init(format: __shared String, locale: __shared Locale?, _ args: any CVarArg...)
| `- note: 'init(format:locale:_:)' declared here
20 | public init(format: __shared String, locale: __shared Locale?, arguments: __shared [any CVarArg])
21 | public init(_ cocoaString: NSString)
/host/spi-builder-workspace/Sources/SwiftLI/View.swift:46:33: error: missing argument for parameter 'format' in call
44 | ) {
45 | self.header = ""
46 | self.contents = [String(localized: key.localizationValue, table: tableName, bundle: bundle, comment: comment)]
| `- error: missing argument for parameter 'format' in call
47 | self.footer = false
48 | }
Foundation.String:19:12: note: 'init(format:locale:_:)' declared here
17 | public init(format: __shared String, _ arguments: any CVarArg...)
18 | public init(format: __shared String, arguments: __shared [any CVarArg])
19 | public init(format: __shared String, locale: __shared Locale?, _ args: any CVarArg...)
| `- note: 'init(format:locale:_:)' declared here
20 | public init(format: __shared String, locale: __shared Locale?, arguments: __shared [any CVarArg])
21 | public init(_ cocoaString: NSString)
/host/spi-builder-workspace/Sources/SwiftLI/View.swift:46:74: error: value of optional type 'String?' must be unwrapped to a value of type 'String'
44 | ) {
45 | self.header = ""
46 | self.contents = [String(localized: key.localizationValue, table: tableName, bundle: bundle, comment: comment)]
| |- error: value of optional type 'String?' must be unwrapped to a value of type 'String'
| |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
| `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
47 | self.footer = false
48 | }
[25/77] Compiling ArgumentParser FishCompletionsGenerator.swift
[26/77] Compiling ArgumentParser ZshCompletionsGenerator.swift
[27/77] Compiling ArgumentParser ArgumentVisibility.swift
[28/77] Compiling ArgumentParser CompletionKind.swift
[29/77] Compiling ArgumentParser NameSpecification.swift
/host/spi-builder-workspace/Sources/SwiftLI/LocalizedStringKey.swift:13:35: error: 'LocalizationValue' is not a member type of struct 'Swift.String'
11 | @frozen
12 | public struct LocalizedStringKey: Equatable {
13 | var localizationValue: String.LocalizationValue
| `- error: 'LocalizationValue' is not a member type of struct 'Swift.String'
14 |
15 | /// Creates a localized string key from the given string value.
Swift.String:1:23: note: 'String' declared here
1 | @frozen public struct String {
| `- note: 'String' declared here
2 | public var _guts: _StringGuts
3 | @inlinable public init()
/host/spi-builder-workspace/Sources/SwiftLI/CLI Basic Components/Label.swift:56:22: error: no exact matches in call to initializer
54 | self.header = ""
55 | self.image = image
56 | self.title = String(localized: title.localizationValue)
| `- error: no exact matches in call to initializer
57 | self.footer = false
58 | self.style = .automatic
Swift.String:2:23: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | extension String {
2 | @inlinable public init(_ c: Character)
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 | }
Swift.String:3:23: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | extension String : _ExpressibleByBuiltinUnicodeScalarLiteral {
2 | @inlinable public init(_builtinUnicodeScalarLiteral value: Builtin.Int32)
3 | @inlinable public init(_ scalar: Unicode.Scalar)
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
4 | }
Swift.String:2:23: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | extension String {
2 | @inlinable public init(_ unicodeScalars: String.UnicodeScalarView)
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 | public typealias UnicodeScalarIndex = String.UnicodeScalarView.Index
4 | @inlinable public var unicodeScalars: String.UnicodeScalarView { get set }
Swift.String:4:23: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
2 | @inlinable public var utf16: String.UTF16View { get set }
3 | @available(swift 4.0)
4 | @inlinable public init(_ utf16: String.UTF16View)
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
5 | }
Swift.String:5:23: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 | public var utf8CString: ContiguousArray<CChar> { get }
4 | @available(swift, introduced: 4.0, message: "Please use failable String.init?(_:UTF8View) when in Swift 3.2 mode")
5 | @inlinable public init(_ utf8: String.UTF8View)
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
6 | }
Swift.String:2:23: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | extension String {
2 | @inlinable public init(_ substring: __shared Substring)
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 | }
Swift.String:2:12: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | extension String {
2 | public init(_ content: Substring.UnicodeScalarView)
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 | }
_FoundationCollections.String:3:12: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | @available(macOS 13.3, iOS 16.4, watchOS 9.4, tvOS 16.4, *)
2 | extension String {
3 | public init(_ big: BigString)
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
4 | public init(_ big: BigSubstring)
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
5 | public init(_ big: BigString.UnicodeScalarView)
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
6 | public init(_ big: BigSubstring.UnicodeScalarView)
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
7 | }
FoundationEssentials.String:3:12: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | extension String {
2 | @available(macOS 12, iOS 15, tvOS 15, watchOS 8, *)
3 | public init(_ characters: Slice<AttributedString.CharacterView>)
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
4 | }
Foundation.String:21:12: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
19 | public init(format: __shared String, locale: __shared Locale?, _ args: any CVarArg...)
20 | public init(format: __shared String, locale: __shared Locale?, arguments: __shared [any CVarArg])
21 | public init(_ cocoaString: NSString)
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
22 | }
/host/spi-builder-workspace/Sources/SwiftLI/CLI Basic Components/Label.swift:71:22: error: no exact matches in call to initializer
69 | self.header = ""
70 | self.image = image
71 | self.title = String(localized: title.localizationValue)
| `- error: no exact matches in call to initializer
72 | self.footer = false
73 | self.style = .automatic
Swift.String:2:23: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | extension String {
2 | @inlinable public init(_ c: Character)
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 | }
Swift.String:3:23: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | extension String : _ExpressibleByBuiltinUnicodeScalarLiteral {
2 | @inlinable public init(_builtinUnicodeScalarLiteral value: Builtin.Int32)
3 | @inlinable public init(_ scalar: Unicode.Scalar)
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
4 | }
Swift.String:2:23: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | extension String {
2 | @inlinable public init(_ unicodeScalars: String.UnicodeScalarView)
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 | public typealias UnicodeScalarIndex = String.UnicodeScalarView.Index
4 | @inlinable public var unicodeScalars: String.UnicodeScalarView { get set }
Swift.String:4:23: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
2 | @inlinable public var utf16: String.UTF16View { get set }
3 | @available(swift 4.0)
4 | @inlinable public init(_ utf16: String.UTF16View)
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
5 | }
Swift.String:5:23: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 | public var utf8CString: ContiguousArray<CChar> { get }
4 | @available(swift, introduced: 4.0, message: "Please use failable String.init?(_:UTF8View) when in Swift 3.2 mode")
5 | @inlinable public init(_ utf8: String.UTF8View)
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
6 | }
Swift.String:2:23: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | extension String {
2 | @inlinable public init(_ substring: __shared Substring)
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 | }
Swift.String:2:12: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | extension String {
2 | public init(_ content: Substring.UnicodeScalarView)
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 | }
_FoundationCollections.String:3:12: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | @available(macOS 13.3, iOS 16.4, watchOS 9.4, tvOS 16.4, *)
2 | extension String {
3 | public init(_ big: BigString)
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
4 | public init(_ big: BigSubstring)
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
5 | public init(_ big: BigString.UnicodeScalarView)
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
6 | public init(_ big: BigSubstring.UnicodeScalarView)
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
7 | }
FoundationEssentials.String:3:12: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | extension String {
2 | @available(macOS 12, iOS 15, tvOS 15, watchOS 8, *)
3 | public init(_ characters: Slice<AttributedString.CharacterView>)
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
4 | }
Foundation.String:21:12: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
19 | public init(format: __shared String, locale: __shared Locale?, _ args: any CVarArg...)
20 | public init(format: __shared String, locale: __shared Locale?, arguments: __shared [any CVarArg])
21 | public init(_ cocoaString: NSString)
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
22 | }
[30/77] Compiling ArgumentParser Option.swift
/host/spi-builder-workspace/Sources/SwiftLI/LocalizedStringKey.swift:13:35: error: 'LocalizationValue' is not a member type of struct 'Swift.String'
11 | @frozen
12 | public struct LocalizedStringKey: Equatable {
13 | var localizationValue: String.LocalizationValue
| `- error: 'LocalizationValue' is not a member type of struct 'Swift.String'
14 |
15 | /// Creates a localized string key from the given string value.
Swift.String:1:23: note: 'String' declared here
1 | @frozen public struct String {
| `- note: 'String' declared here
2 | public var _guts: _StringGuts
3 | @inlinable public init()
/host/spi-builder-workspace/Sources/SwiftLI/CLI Basic Components/Label.swift:56:22: error: no exact matches in call to initializer
54 | self.header = ""
55 | self.image = image
56 | self.title = String(localized: title.localizationValue)
| `- error: no exact matches in call to initializer
57 | self.footer = false
58 | self.style = .automatic
Swift.String:2:23: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | extension String {
2 | @inlinable public init(_ c: Character)
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 | }
Swift.String:3:23: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | extension String : _ExpressibleByBuiltinUnicodeScalarLiteral {
2 | @inlinable public init(_builtinUnicodeScalarLiteral value: Builtin.Int32)
3 | @inlinable public init(_ scalar: Unicode.Scalar)
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
4 | }
Swift.String:2:23: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | extension String {
2 | @inlinable public init(_ unicodeScalars: String.UnicodeScalarView)
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 | public typealias UnicodeScalarIndex = String.UnicodeScalarView.Index
4 | @inlinable public var unicodeScalars: String.UnicodeScalarView { get set }
Swift.String:4:23: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
2 | @inlinable public var utf16: String.UTF16View { get set }
3 | @available(swift 4.0)
4 | @inlinable public init(_ utf16: String.UTF16View)
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
5 | }
Swift.String:5:23: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 | public var utf8CString: ContiguousArray<CChar> { get }
4 | @available(swift, introduced: 4.0, message: "Please use failable String.init?(_:UTF8View) when in Swift 3.2 mode")
5 | @inlinable public init(_ utf8: String.UTF8View)
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
6 | }
Swift.String:2:23: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | extension String {
2 | @inlinable public init(_ substring: __shared Substring)
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 | }
Swift.String:2:12: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | extension String {
2 | public init(_ content: Substring.UnicodeScalarView)
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 | }
_FoundationCollections.String:3:12: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | @available(macOS 13.3, iOS 16.4, watchOS 9.4, tvOS 16.4, *)
2 | extension String {
3 | public init(_ big: BigString)
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
4 | public init(_ big: BigSubstring)
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
5 | public init(_ big: BigString.UnicodeScalarView)
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
6 | public init(_ big: BigSubstring.UnicodeScalarView)
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
7 | }
FoundationEssentials.String:3:12: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | extension String {
2 | @available(macOS 12, iOS 15, tvOS 15, watchOS 8, *)
3 | public init(_ characters: Slice<AttributedString.CharacterView>)
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
4 | }
Foundation.String:21:12: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
19 | public init(format: __shared String, locale: __shared Locale?, _ args: any CVarArg...)
20 | public init(format: __shared String, locale: __shared Locale?, arguments: __shared [any CVarArg])
21 | public init(_ cocoaString: NSString)
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
22 | }
/host/spi-builder-workspace/Sources/SwiftLI/CLI Basic Components/Label.swift:71:22: error: no exact matches in call to initializer
69 | self.header = ""
70 | self.image = image
71 | self.title = String(localized: title.localizationValue)
| `- error: no exact matches in call to initializer
72 | self.footer = false
73 | self.style = .automatic
Swift.String:2:23: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | extension String {
2 | @inlinable public init(_ c: Character)
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 | }
Swift.String:3:23: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | extension String : _ExpressibleByBuiltinUnicodeScalarLiteral {
2 | @inlinable public init(_builtinUnicodeScalarLiteral value: Builtin.Int32)
3 | @inlinable public init(_ scalar: Unicode.Scalar)
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
4 | }
Swift.String:2:23: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | extension String {
2 | @inlinable public init(_ unicodeScalars: String.UnicodeScalarView)
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 | public typealias UnicodeScalarIndex = String.UnicodeScalarView.Index
4 | @inlinable public var unicodeScalars: String.UnicodeScalarView { get set }
Swift.String:4:23: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
2 | @inlinable public var utf16: String.UTF16View { get set }
3 | @available(swift 4.0)
4 | @inlinable public init(_ utf16: String.UTF16View)
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
5 | }
Swift.String:5:23: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 | public var utf8CString: ContiguousArray<CChar> { get }
4 | @available(swift, introduced: 4.0, message: "Please use failable String.init?(_:UTF8View) when in Swift 3.2 mode")
5 | @inlinable public init(_ utf8: String.UTF8View)
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
6 | }
Swift.String:2:23: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | extension String {
2 | @inlinable public init(_ substring: __shared Substring)
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 | }
Swift.String:2:12: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | extension String {
2 | public init(_ content: Substring.UnicodeScalarView)
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 | }
_FoundationCollections.String:3:12: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | @available(macOS 13.3, iOS 16.4, watchOS 9.4, tvOS 16.4, *)
2 | extension String {
3 | public init(_ big: BigString)
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
4 | public init(_ big: BigSubstring)
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
5 | public init(_ big: BigString.UnicodeScalarView)
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
6 | public init(_ big: BigSubstring.UnicodeScalarView)
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
7 | }
FoundationEssentials.String:3:12: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | extension String {
2 | @available(macOS 12, iOS 15, tvOS 15, watchOS 8, *)
3 | public init(_ characters: Slice<AttributedString.CharacterView>)
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
4 | }
Foundation.String:21:12: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
19 | public init(format: __shared String, locale: __shared Locale?, _ args: any CVarArg...)
20 | public init(format: __shared String, locale: __shared Locale?, arguments: __shared [any CVarArg])
21 | public init(_ cocoaString: NSString)
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
22 | }
[31/77] Compiling ArgumentParser BashCompletionsGenerator.swift
[32/77] Compiling ArgumentParser CompletionsGenerator.swift
[33/77] Compiling ArgumentParser Errors.swift
/host/spi-builder-workspace/Sources/SwiftLI/LocalizedStringKey.swift:13:35: error: 'LocalizationValue' is not a member type of struct 'Swift.String'
11 | @frozen
12 | public struct LocalizedStringKey: Equatable {
13 | var localizationValue: String.LocalizationValue
| `- error: 'LocalizationValue' is not a member type of struct 'Swift.String'
14 |
15 | /// Creates a localized string key from the given string value.
Swift.String:1:23: note: 'String' declared here
1 | @frozen public struct String {
| `- note: 'String' declared here
2 | public var _guts: _StringGuts
3 | @inlinable public init()
/host/spi-builder-workspace/Sources/SwiftLI/LocalizedStringKey.swift:12:15: error: type 'LocalizedStringKey' does not conform to protocol 'Equatable'
10 | /// The key used to look up an entry in a strings file or strings dictionary file.
11 | @frozen
12 | public struct LocalizedStringKey: Equatable {
| `- error: type 'LocalizedStringKey' does not conform to protocol 'Equatable'
13 | var localizationValue: String.LocalizationValue
| `- note: stored property type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'LocalizedStringKey' to 'Equatable'
14 |
15 | /// Creates a localized string key from the given string value.
Swift.==:1:24: note: candidate would match if 'LocalizedStringKey' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
| `- note: candidate would match if 'LocalizedStringKey' conformed to 'RawRepresentable'
Swift.FloatingPoint:2:24: note: candidate would match if 'LocalizedStringKey' conformed to 'FloatingPoint'
1 | extension FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool
| `- note: candidate would match if 'LocalizedStringKey' conformed to 'FloatingPoint'
3 | public static func < (lhs: Self, rhs: Self) -> Bool
4 | public static func <= (lhs: Self, rhs: Self) -> Bool
Swift.BinaryInteger:2:24: note: candidate would match if 'LocalizedStringKey' conformed to 'BinaryInteger'
1 | extension BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger
| `- note: candidate would match if 'LocalizedStringKey' conformed to 'BinaryInteger'
3 | public static func != <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger
4 | public static func < <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger
Swift._Pointer:2:24: note: candidate would match if 'LocalizedStringKey' conformed to '_Pointer'
1 | extension _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool
| `- note: candidate would match if 'LocalizedStringKey' conformed to '_Pointer'
3 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer
| `- note: candidate would match if 'LocalizedStringKey' conformed to '_Pointer'
4 | @inlinable public static func != <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer
5 | }
Swift.Strideable:3:35: note: candidate would match if 'LocalizedStringKey' conformed to 'Strideable'
1 | extension Strideable {
2 | @inlinable public static func < (x: Self, y: Self) -> Bool
3 | @inlinable public static func == (x: Self, y: Self) -> Bool
| `- note: candidate would match if 'LocalizedStringKey' conformed to 'Strideable'
4 | }
Swift.StringProtocol:2:35: note: candidate would match if 'LocalizedStringKey' conformed to 'StringProtocol'
1 | extension StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol
| `- note: candidate would match if 'LocalizedStringKey' conformed to 'StringProtocol'
3 | @inlinable public static func != <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol
4 | @inlinable public static func < <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol
Swift.SIMD:4:24: note: candidate would match if 'LocalizedStringKey' conformed to 'SIMD'
2 | public var indices: Range<Int> { get }
3 | public init(repeating value: Self.Scalar)
4 | public static func == (a: Self, b: Self) -> Bool
| `- note: candidate would match if 'LocalizedStringKey' conformed to 'SIMD'
5 | @inlinable public func hash(into hasher: inout Hasher)
6 | public func encode(to encoder: any Encoder) throws
Foundation.__BridgedNSError:2:24: note: candidate would match if 'LocalizedStringKey' conformed to '__BridgedNSError'
1 | extension __BridgedNSError where Self : RawRepresentable, Self.RawValue : FixedWidthInteger {
2 | public static func == (lhs: Self, rhs: Self) -> Bool
| `- note: candidate would match if 'LocalizedStringKey' conformed to '__BridgedNSError'
3 | }
Foundation._BridgedStoredNSError:2:24: note: candidate would match if 'LocalizedStringKey' conformed to '_BridgedStoredNSError'
1 | extension _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool
| `- note: candidate would match if 'LocalizedStringKey' conformed to '_BridgedStoredNSError'
3 | }
FoundationEssentials.AttributedStringProtocol:3:24: note: candidate would match if 'LocalizedStringKey' conformed to 'AttributedStringProtocol'
1 | @available(macOS 12, iOS 15, tvOS 15, watchOS 8, *)
2 | extension AttributedStringProtocol {
3 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol
| `- note: candidate would match if 'LocalizedStringKey' conformed to 'AttributedStringProtocol'
4 | public func hash(into hasher: inout Hasher)
5 | }
Swift.Equatable:2:17: note: protocol requires function '==' with type '(LocalizedStringKey, LocalizedStringKey) -> Bool'
1 | public protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool
| `- note: protocol requires function '==' with type '(LocalizedStringKey, LocalizedStringKey) -> Bool'
3 | }
/host/spi-builder-workspace/Sources/SwiftLI/LocalizedStringKey.swift:18:41: error: type 'String' has no member 'LocalizationValue'
16 | /// - Parameter value: The string to use as a localization key.
17 | public init(_ value: String) {
18 | self.localizationValue = String.LocalizationValue(value)
| `- error: type 'String' has no member 'LocalizationValue'
19 | }
20 | }
/host/spi-builder-workspace/Sources/SwiftLI/LocalizedStringKey.swift:24:41: error: type 'String' has no member 'LocalizationValue'
22 | extension LocalizedStringKey: ExpressibleByExtendedGraphemeClusterLiteral {
23 | public init(extendedGraphemeClusterLiteral value: String) {
24 | self.localizationValue = String.LocalizationValue(value)
| `- error: type 'String' has no member 'LocalizationValue'
25 | }
26 | }
/host/spi-builder-workspace/Sources/SwiftLI/LocalizedStringKey.swift:38:41: error: type 'String' has no member 'LocalizationValue'
36 | extension LocalizedStringKey: ExpressibleByUnicodeScalarLiteral {
37 | public init(unicodeScalarLiteral value: UnicodeScalar) {
38 | self.localizationValue = String.LocalizationValue(String(value))
| `- error: type 'String' has no member 'LocalizationValue'
39 | }
40 | }
[34/77] Compiling ArgumentParser Flag.swift
/host/spi-builder-workspace/Sources/SwiftLI/LocalizedStringKey.swift:13:35: error: 'LocalizationValue' is not a member type of struct 'Swift.String'
11 | @frozen
12 | public struct LocalizedStringKey: Equatable {
13 | var localizationValue: String.LocalizationValue
| `- error: 'LocalizationValue' is not a member type of struct 'Swift.String'
14 |
15 | /// Creates a localized string key from the given string value.
Swift.String:1:23: note: 'String' declared here
1 | @frozen public struct String {
| `- note: 'String' declared here
2 | public var _guts: _StringGuts
3 | @inlinable public init()
/host/spi-builder-workspace/Sources/SwiftLI/LocalizedStringKey.swift:12:15: error: type 'LocalizedStringKey' does not conform to protocol 'Equatable'
10 | /// The key used to look up an entry in a strings file or strings dictionary file.
11 | @frozen
12 | public struct LocalizedStringKey: Equatable {
| `- error: type 'LocalizedStringKey' does not conform to protocol 'Equatable'
13 | var localizationValue: String.LocalizationValue
| `- note: stored property type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'LocalizedStringKey' to 'Equatable'
14 |
15 | /// Creates a localized string key from the given string value.
Swift.==:1:24: note: candidate would match if 'LocalizedStringKey' conformed to 'RawRepresentable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
| `- note: candidate would match if 'LocalizedStringKey' conformed to 'RawRepresentable'
Swift.FloatingPoint:2:24: note: candidate would match if 'LocalizedStringKey' conformed to 'FloatingPoint'
1 | extension FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool
| `- note: candidate would match if 'LocalizedStringKey' conformed to 'FloatingPoint'
3 | public static func < (lhs: Self, rhs: Self) -> Bool
4 | public static func <= (lhs: Self, rhs: Self) -> Bool
Swift.BinaryInteger:2:24: note: candidate would match if 'LocalizedStringKey' conformed to 'BinaryInteger'
1 | extension BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger
| `- note: candidate would match if 'LocalizedStringKey' conformed to 'BinaryInteger'
3 | public static func != <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger
4 | public static func < <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger
Swift._Pointer:2:24: note: candidate would match if 'LocalizedStringKey' conformed to '_Pointer'
1 | extension _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool
| `- note: candidate would match if 'LocalizedStringKey' conformed to '_Pointer'
3 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer
| `- note: candidate would match if 'LocalizedStringKey' conformed to '_Pointer'
4 | @inlinable public static func != <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer
5 | }
Swift.Strideable:3:35: note: candidate would match if 'LocalizedStringKey' conformed to 'Strideable'
1 | extension Strideable {
2 | @inlinable public static func < (x: Self, y: Self) -> Bool
3 | @inlinable public static func == (x: Self, y: Self) -> Bool
| `- note: candidate would match if 'LocalizedStringKey' conformed to 'Strideable'
4 | }
Swift.StringProtocol:2:35: note: candidate would match if 'LocalizedStringKey' conformed to 'StringProtocol'
1 | extension StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol
| `- note: candidate would match if 'LocalizedStringKey' conformed to 'StringProtocol'
3 | @inlinable public static func != <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol
4 | @inlinable public static func < <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol
Swift.SIMD:4:24: note: candidate would match if 'LocalizedStringKey' conformed to 'SIMD'
2 | public var indices: Range<Int> { get }
3 | public init(repeating value: Self.Scalar)
4 | public static func == (a: Self, b: Self) -> Bool
| `- note: candidate would match if 'LocalizedStringKey' conformed to 'SIMD'
5 | @inlinable public func hash(into hasher: inout Hasher)
6 | public func encode(to encoder: any Encoder) throws
Foundation.__BridgedNSError:2:24: note: candidate would match if 'LocalizedStringKey' conformed to '__BridgedNSError'
1 | extension __BridgedNSError where Self : RawRepresentable, Self.RawValue : FixedWidthInteger {
2 | public static func == (lhs: Self, rhs: Self) -> Bool
| `- note: candidate would match if 'LocalizedStringKey' conformed to '__BridgedNSError'
3 | }
Foundation._BridgedStoredNSError:2:24: note: candidate would match if 'LocalizedStringKey' conformed to '_BridgedStoredNSError'
1 | extension _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool
| `- note: candidate would match if 'LocalizedStringKey' conformed to '_BridgedStoredNSError'
3 | }
FoundationEssentials.AttributedStringProtocol:3:24: note: candidate would match if 'LocalizedStringKey' conformed to 'AttributedStringProtocol'
1 | @available(macOS 12, iOS 15, tvOS 15, watchOS 8, *)
2 | extension AttributedStringProtocol {
3 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol
| `- note: candidate would match if 'LocalizedStringKey' conformed to 'AttributedStringProtocol'
4 | public func hash(into hasher: inout Hasher)
5 | }
Swift.Equatable:2:17: note: protocol requires function '==' with type '(LocalizedStringKey, LocalizedStringKey) -> Bool'
1 | public protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool
| `- note: protocol requires function '==' with type '(LocalizedStringKey, LocalizedStringKey) -> Bool'
3 | }
/host/spi-builder-workspace/Sources/SwiftLI/LocalizedStringKey.swift:18:41: error: type 'String' has no member 'LocalizationValue'
16 | /// - Parameter value: The string to use as a localization key.
17 | public init(_ value: String) {
18 | self.localizationValue = String.LocalizationValue(value)
| `- error: type 'String' has no member 'LocalizationValue'
19 | }
20 | }
/host/spi-builder-workspace/Sources/SwiftLI/LocalizedStringKey.swift:24:41: error: type 'String' has no member 'LocalizationValue'
22 | extension LocalizedStringKey: ExpressibleByExtendedGraphemeClusterLiteral {
23 | public init(extendedGraphemeClusterLiteral value: String) {
24 | self.localizationValue = String.LocalizationValue(value)
| `- error: type 'String' has no member 'LocalizationValue'
25 | }
26 | }
/host/spi-builder-workspace/Sources/SwiftLI/LocalizedStringKey.swift:38:41: error: type 'String' has no member 'LocalizationValue'
36 | extension LocalizedStringKey: ExpressibleByUnicodeScalarLiteral {
37 | public init(unicodeScalarLiteral value: UnicodeScalar) {
38 | self.localizationValue = String.LocalizationValue(String(value))
| `- error: type 'String' has no member 'LocalizationValue'
39 | }
40 | }
[35/77] Emitting module ArgumentParser
[42/77] Compiling ArgumentParser Name.swift
[43/77] Compiling ArgumentParser Parsed.swift
[44/77] Compiling ArgumentParser ParsedValues.swift
[45/77] Compiling ArgumentParser ParserError.swift
[46/77] Compiling ArgumentParser SplitArguments.swift
BUILD FAILURE 6.0 linux