Build Information
Failed to build SwiftLI, reference 0.4.1 (46e7b1
), with Swift 6.1 for Linux on 30 Apr 2025 02:02:59 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.1
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.1
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-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/apple/swift-testing.git
Fetching https://github.com/apple/swift-docc-plugin.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/2049] Fetching swift-docc-plugin
[1866/24274] Fetching swift-docc-plugin, swift-testing
[2939/39224] Fetching swift-docc-plugin, swift-testing, swift-argument-parser
Fetched https://github.com/apple/swift-docc-plugin.git from cache (0.99s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.00s)
Fetched https://github.com/apple/swift-testing.git from cache (1.00s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (1.59s)
Computing version for https://github.com/apple/swift-testing.git
Computed https://github.com/apple/swift-testing.git at 0.99.0 (0.71s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/70245] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (5.15s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (7.63s)
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.97s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3376] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.61s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (2.67s)
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 Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/14] Write sources
[7/14] Write swift-version-24593BA9C3E375BF.txt
[9/31] Compiling SwiftLI Color.swift
[10/31] Compiling SwiftLI LabelStyle.swift
[11/33] Emitting module ArgumentParserToolInfo
[12/33] Compiling ArgumentParserToolInfo ToolInfo.swift
[14/34] Compiling SwiftLI LineStyle.swift
[15/34] Compiling SwiftLI Weight.swift
[16/34] Compiling SwiftLI Label.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.init:2:19: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | @inlinable public init(_ c: Character)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
Swift.String.init:2:19: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | @inlinable public init(_ scalar: Unicode.Scalar)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
Swift.String.init:2:19: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | @inlinable public init(_ unicodeScalars: String.UnicodeScalarView)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
Swift.String.init:3:21: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | @available(swift 4.0)
3 | @inlinable public init(_ utf16: String.UTF16View)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
4 |
Swift.String.init:3:21: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | @available(swift, introduced: 4.0, message: "Please use failable String.init?(_:UTF8View) when in Swift 3.2 mode")
3 | @inlinable public init(_ utf8: String.UTF8View)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
4 |
Swift.String.init:2:19: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | @inlinable public init(_ substring: __shared Substring)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
Swift.String.init:2:8: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | public init(_ content: Substring.UnicodeScalarView)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
_FoundationCollections.String.init:2:8: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | public init(_ big: BigString)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
_FoundationCollections.String.init:2:8: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | public init(_ big: BigSubstring)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
_FoundationCollections.String.init:2:8: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | public init(_ big: BigString.UnicodeScalarView)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
_FoundationCollections.String.init:2:8: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | public init(_ big: BigSubstring.UnicodeScalarView)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
FoundationEssentials.String.init:3:10: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct 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.init:2:8: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | public init(_ cocoaString: NSString)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
/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.init:2:19: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | @inlinable public init(_ c: Character)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
Swift.String.init:2:19: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | @inlinable public init(_ scalar: Unicode.Scalar)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
Swift.String.init:2:19: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | @inlinable public init(_ unicodeScalars: String.UnicodeScalarView)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
Swift.String.init:3:21: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | @available(swift 4.0)
3 | @inlinable public init(_ utf16: String.UTF16View)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
4 |
Swift.String.init:3:21: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | @available(swift, introduced: 4.0, message: "Please use failable String.init?(_:UTF8View) when in Swift 3.2 mode")
3 | @inlinable public init(_ utf8: String.UTF8View)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
4 |
Swift.String.init:2:19: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | @inlinable public init(_ substring: __shared Substring)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
Swift.String.init:2:8: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | public init(_ content: Substring.UnicodeScalarView)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
_FoundationCollections.String.init:2:8: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | public init(_ big: BigString)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
_FoundationCollections.String.init:2:8: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | public init(_ big: BigSubstring)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
_FoundationCollections.String.init:2:8: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | public init(_ big: BigString.UnicodeScalarView)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
_FoundationCollections.String.init:2:8: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | public init(_ big: BigSubstring.UnicodeScalarView)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
FoundationEssentials.String.init:3:10: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct 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.init:2:8: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | public init(_ cocoaString: NSString)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
[17/34] Compiling SwiftLI Spacer.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.init:2:19: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | @inlinable public init(_ c: Character)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
Swift.String.init:2:19: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | @inlinable public init(_ scalar: Unicode.Scalar)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
Swift.String.init:2:19: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | @inlinable public init(_ unicodeScalars: String.UnicodeScalarView)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
Swift.String.init:3:21: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | @available(swift 4.0)
3 | @inlinable public init(_ utf16: String.UTF16View)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
4 |
Swift.String.init:3:21: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | @available(swift, introduced: 4.0, message: "Please use failable String.init?(_:UTF8View) when in Swift 3.2 mode")
3 | @inlinable public init(_ utf8: String.UTF8View)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
4 |
Swift.String.init:2:19: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | @inlinable public init(_ substring: __shared Substring)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
Swift.String.init:2:8: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | public init(_ content: Substring.UnicodeScalarView)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
_FoundationCollections.String.init:2:8: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | public init(_ big: BigString)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
_FoundationCollections.String.init:2:8: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | public init(_ big: BigSubstring)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
_FoundationCollections.String.init:2:8: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | public init(_ big: BigString.UnicodeScalarView)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
_FoundationCollections.String.init:2:8: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | public init(_ big: BigSubstring.UnicodeScalarView)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
FoundationEssentials.String.init:3:10: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct 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.init:2:8: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | public init(_ cocoaString: NSString)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
/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.init:2:19: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | @inlinable public init(_ c: Character)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
Swift.String.init:2:19: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | @inlinable public init(_ scalar: Unicode.Scalar)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
Swift.String.init:2:19: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | @inlinable public init(_ unicodeScalars: String.UnicodeScalarView)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
Swift.String.init:3:21: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | @available(swift 4.0)
3 | @inlinable public init(_ utf16: String.UTF16View)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
4 |
Swift.String.init:3:21: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | @available(swift, introduced: 4.0, message: "Please use failable String.init?(_:UTF8View) when in Swift 3.2 mode")
3 | @inlinable public init(_ utf8: String.UTF8View)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
4 |
Swift.String.init:2:19: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | @inlinable public init(_ substring: __shared Substring)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
Swift.String.init:2:8: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | public init(_ content: Substring.UnicodeScalarView)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
_FoundationCollections.String.init:2:8: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | public init(_ big: BigString)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
_FoundationCollections.String.init:2:8: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | public init(_ big: BigSubstring)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
_FoundationCollections.String.init:2:8: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | public init(_ big: BigString.UnicodeScalarView)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
_FoundationCollections.String.init:2:8: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | public init(_ big: BigSubstring.UnicodeScalarView)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
FoundationEssentials.String.init:3:10: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct 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.init:2:8: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | public init(_ cocoaString: NSString)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
[17/34] Wrapping AST for ArgumentParserToolInfo for debugging
[19/72] 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/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.init:2:8: note: 'init(format:locale:_:)' declared here
1 | struct String {
2 | public init(format: __shared String, locale: __shared Locale?, _ args: any CVarArg...)}
| `- note: 'init(format:locale:_:)' declared here
3 |
/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.init:2:8: note: 'init(format:locale:_:)' declared here
1 | struct String {
2 | public init(format: __shared String, locale: __shared Locale?, _ args: any CVarArg...)}
| `- note: 'init(format:locale:_:)' declared here
3 |
/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 | }
[20/72] 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/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.init:2:8: note: 'init(format:locale:_:)' declared here
1 | struct String {
2 | public init(format: __shared String, locale: __shared Locale?, _ args: any CVarArg...)}
| `- note: 'init(format:locale:_:)' declared here
3 |
/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.init:2:8: note: 'init(format:locale:_:)' declared here
1 | struct String {
2 | public init(format: __shared String, locale: __shared Locale?, _ args: any CVarArg...)}
| `- note: 'init(format:locale:_:)' declared here
3 |
/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 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/72] Compiling ArgumentParser InputOrigin.swift
[22/72] Compiling ArgumentParser Name.swift
[23/72] Compiling ArgumentParser CommandParser.swift
[24/72] Compiling ArgumentParser InputKey.swift
[25/72] Compiling ArgumentParser ArgumentDefinition.swift
[26/72] Compiling ArgumentParser ArgumentSet.swift
[27/72] 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'
| `- note: add stubs for conformance
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:20: note: candidate would match if 'LocalizedStringKey' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'LocalizedStringKey' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'LocalizedStringKey' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
| `- note: candidate would match if 'LocalizedStringKey' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'LocalizedStringKey' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'LocalizedStringKey' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'LocalizedStringKey' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
| `- note: candidate would match if 'LocalizedStringKey' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'LocalizedStringKey' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
| `- note: candidate would match if 'LocalizedStringKey' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'LocalizedStringKey' conformed to 'StringProtocol'
1 | protocol 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 |
Swift.SIMD.==:2:20: note: candidate would match if 'LocalizedStringKey' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
| `- note: candidate would match if 'LocalizedStringKey' conformed to 'SIMD'
3 |
Foundation.__BridgedNSError.==:2:20: note: candidate would match if 'LocalizedStringKey' conformed to '__BridgedNSError'
1 | protocol __BridgedNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'LocalizedStringKey' conformed to '__BridgedNSError'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'LocalizedStringKey' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'LocalizedStringKey' conformed to '_BridgedStoredNSError'
3 |
FoundationEssentials.AttributedStringProtocol.==:2:20: note: candidate would match if 'LocalizedStringKey' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
| `- note: candidate would match if 'LocalizedStringKey' conformed to 'AttributedStringProtocol'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(LocalizedStringKey, LocalizedStringKey) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: protocol requires function '==' with type '(LocalizedStringKey, LocalizedStringKey) -> Bool'
3 |
[28/72] Compiling ArgumentParser ParserError.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'
| `- note: add stubs for conformance
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:20: note: candidate would match if 'LocalizedStringKey' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'LocalizedStringKey' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'LocalizedStringKey' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
| `- note: candidate would match if 'LocalizedStringKey' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'LocalizedStringKey' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'LocalizedStringKey' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'LocalizedStringKey' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
| `- note: candidate would match if 'LocalizedStringKey' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'LocalizedStringKey' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
| `- note: candidate would match if 'LocalizedStringKey' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'LocalizedStringKey' conformed to 'StringProtocol'
1 | protocol 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 |
Swift.SIMD.==:2:20: note: candidate would match if 'LocalizedStringKey' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
| `- note: candidate would match if 'LocalizedStringKey' conformed to 'SIMD'
3 |
Foundation.__BridgedNSError.==:2:20: note: candidate would match if 'LocalizedStringKey' conformed to '__BridgedNSError'
1 | protocol __BridgedNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'LocalizedStringKey' conformed to '__BridgedNSError'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'LocalizedStringKey' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'LocalizedStringKey' conformed to '_BridgedStoredNSError'
3 |
FoundationEssentials.AttributedStringProtocol.==:2:20: note: candidate would match if 'LocalizedStringKey' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
| `- note: candidate would match if 'LocalizedStringKey' conformed to 'AttributedStringProtocol'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(LocalizedStringKey, LocalizedStringKey) -> Bool'
1 | 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 | }
[29/72] Compiling ArgumentParser SplitArguments.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'
| `- note: add stubs for conformance
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:20: note: candidate would match if 'LocalizedStringKey' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'LocalizedStringKey' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'LocalizedStringKey' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
| `- note: candidate would match if 'LocalizedStringKey' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'LocalizedStringKey' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'LocalizedStringKey' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'LocalizedStringKey' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
| `- note: candidate would match if 'LocalizedStringKey' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'LocalizedStringKey' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
| `- note: candidate would match if 'LocalizedStringKey' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'LocalizedStringKey' conformed to 'StringProtocol'
1 | protocol 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 |
Swift.SIMD.==:2:20: note: candidate would match if 'LocalizedStringKey' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
| `- note: candidate would match if 'LocalizedStringKey' conformed to 'SIMD'
3 |
Foundation.__BridgedNSError.==:2:20: note: candidate would match if 'LocalizedStringKey' conformed to '__BridgedNSError'
1 | protocol __BridgedNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'LocalizedStringKey' conformed to '__BridgedNSError'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'LocalizedStringKey' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'LocalizedStringKey' conformed to '_BridgedStoredNSError'
3 |
FoundationEssentials.AttributedStringProtocol.==:2:20: note: candidate would match if 'LocalizedStringKey' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
| `- note: candidate would match if 'LocalizedStringKey' conformed to 'AttributedStringProtocol'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(LocalizedStringKey, LocalizedStringKey) -> Bool'
1 | 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 | }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/10] Write swift-version-24593BA9C3E375BF.txt
[5/27] Emitting module ArgumentParserToolInfo
[6/27] Compiling SwiftLI LineStyle.swift
[7/27] Compiling SwiftLI Weight.swift
[8/29] Compiling SwiftLI Color.swift
[9/29] Compiling SwiftLI LabelStyle.swift
[10/29] Compiling SwiftLI LocalizedStringKey.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'
| `- note: add stubs for conformance
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:20: note: candidate would match if 'LocalizedStringKey' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'LocalizedStringKey' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'LocalizedStringKey' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
| `- note: candidate would match if 'LocalizedStringKey' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'LocalizedStringKey' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'LocalizedStringKey' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'LocalizedStringKey' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
| `- note: candidate would match if 'LocalizedStringKey' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'LocalizedStringKey' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
| `- note: candidate would match if 'LocalizedStringKey' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'LocalizedStringKey' conformed to 'StringProtocol'
1 | protocol 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 |
Swift.SIMD.==:2:20: note: candidate would match if 'LocalizedStringKey' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
| `- note: candidate would match if 'LocalizedStringKey' conformed to 'SIMD'
3 |
Foundation.__BridgedNSError.==:2:20: note: candidate would match if 'LocalizedStringKey' conformed to '__BridgedNSError'
1 | protocol __BridgedNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'LocalizedStringKey' conformed to '__BridgedNSError'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'LocalizedStringKey' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'LocalizedStringKey' conformed to '_BridgedStoredNSError'
3 |
FoundationEssentials.AttributedStringProtocol.==:2:20: note: candidate would match if 'LocalizedStringKey' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
| `- note: candidate would match if 'LocalizedStringKey' conformed to 'AttributedStringProtocol'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(LocalizedStringKey, LocalizedStringKey) -> Bool'
1 | 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 | }
[11/29] Compiling SwiftLI BlinkStyle.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'
| `- note: add stubs for conformance
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:20: note: candidate would match if 'LocalizedStringKey' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'LocalizedStringKey' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'LocalizedStringKey' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
| `- note: candidate would match if 'LocalizedStringKey' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'LocalizedStringKey' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'LocalizedStringKey' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'LocalizedStringKey' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
| `- note: candidate would match if 'LocalizedStringKey' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'LocalizedStringKey' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
| `- note: candidate would match if 'LocalizedStringKey' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'LocalizedStringKey' conformed to 'StringProtocol'
1 | protocol 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 |
Swift.SIMD.==:2:20: note: candidate would match if 'LocalizedStringKey' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
| `- note: candidate would match if 'LocalizedStringKey' conformed to 'SIMD'
3 |
Foundation.__BridgedNSError.==:2:20: note: candidate would match if 'LocalizedStringKey' conformed to '__BridgedNSError'
1 | protocol __BridgedNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'LocalizedStringKey' conformed to '__BridgedNSError'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'LocalizedStringKey' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'LocalizedStringKey' conformed to '_BridgedStoredNSError'
3 |
FoundationEssentials.AttributedStringProtocol.==:2:20: note: candidate would match if 'LocalizedStringKey' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
| `- note: candidate would match if 'LocalizedStringKey' conformed to 'AttributedStringProtocol'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(LocalizedStringKey, LocalizedStringKey) -> Bool'
1 | 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 | }
[12/29] Compiling SwiftLI View.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.init:2:8: note: 'init(format:locale:_:)' declared here
1 | struct String {
2 | public init(format: __shared String, locale: __shared Locale?, _ args: any CVarArg...)}
| `- note: 'init(format:locale:_:)' declared here
3 |
/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.init:2:8: note: 'init(format:locale:_:)' declared here
1 | struct String {
2 | public init(format: __shared String, locale: __shared Locale?, _ args: any CVarArg...)}
| `- note: 'init(format:locale:_:)' declared here
3 |
/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 | }
[13/29] Compiling SwiftLI ViewBuilder.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.init:2:8: note: 'init(format:locale:_:)' declared here
1 | struct String {
2 | public init(format: __shared String, locale: __shared Locale?, _ args: any CVarArg...)}
| `- note: 'init(format:locale:_:)' declared here
3 |
/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.init:2:8: note: 'init(format:locale:_:)' declared here
1 | struct String {
2 | public init(format: __shared String, locale: __shared Locale?, _ args: any CVarArg...)}
| `- note: 'init(format:locale:_:)' declared here
3 |
/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 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/29] Compiling SwiftLI Group.swift
[15/29] Compiling SwiftLI HDivider.swift
[16/29] Compiling SwiftLI Emoticon.swift
[17/29] Compiling SwiftLI SwiftLogo.swift
[18/29] Compiling SwiftLI Break.swift
[19/29] Compiling SwiftLI Clear.swift
[20/29] 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'
| `- note: add stubs for conformance
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:20: note: candidate would match if 'LocalizedStringKey' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'LocalizedStringKey' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'LocalizedStringKey' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
| `- note: candidate would match if 'LocalizedStringKey' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'LocalizedStringKey' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'LocalizedStringKey' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'LocalizedStringKey' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
| `- note: candidate would match if 'LocalizedStringKey' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'LocalizedStringKey' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
| `- note: candidate would match if 'LocalizedStringKey' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'LocalizedStringKey' conformed to 'StringProtocol'
1 | protocol 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 |
Swift.SIMD.==:2:20: note: candidate would match if 'LocalizedStringKey' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
| `- note: candidate would match if 'LocalizedStringKey' conformed to 'SIMD'
3 |
Foundation.__BridgedNSError.==:2:20: note: candidate would match if 'LocalizedStringKey' conformed to '__BridgedNSError'
1 | protocol __BridgedNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'LocalizedStringKey' conformed to '__BridgedNSError'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'LocalizedStringKey' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'LocalizedStringKey' conformed to '_BridgedStoredNSError'
3 |
FoundationEssentials.AttributedStringProtocol.==:2:20: note: candidate would match if 'LocalizedStringKey' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
| `- note: candidate would match if 'LocalizedStringKey' conformed to 'AttributedStringProtocol'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(LocalizedStringKey, LocalizedStringKey) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: protocol requires function '==' with type '(LocalizedStringKey, LocalizedStringKey) -> Bool'
3 |
[21/29] Compiling SwiftLI Label.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.init:2:19: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | @inlinable public init(_ c: Character)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
Swift.String.init:2:19: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | @inlinable public init(_ scalar: Unicode.Scalar)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
Swift.String.init:2:19: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | @inlinable public init(_ unicodeScalars: String.UnicodeScalarView)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
Swift.String.init:3:21: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | @available(swift 4.0)
3 | @inlinable public init(_ utf16: String.UTF16View)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
4 |
Swift.String.init:3:21: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | @available(swift, introduced: 4.0, message: "Please use failable String.init?(_:UTF8View) when in Swift 3.2 mode")
3 | @inlinable public init(_ utf8: String.UTF8View)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
4 |
Swift.String.init:2:19: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | @inlinable public init(_ substring: __shared Substring)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
Swift.String.init:2:8: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | public init(_ content: Substring.UnicodeScalarView)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
_FoundationCollections.String.init:2:8: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | public init(_ big: BigString)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
_FoundationCollections.String.init:2:8: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | public init(_ big: BigSubstring)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
_FoundationCollections.String.init:2:8: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | public init(_ big: BigString.UnicodeScalarView)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
_FoundationCollections.String.init:2:8: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | public init(_ big: BigSubstring.UnicodeScalarView)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
FoundationEssentials.String.init:3:10: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct 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.init:2:8: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | public init(_ cocoaString: NSString)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
/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.init:2:19: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | @inlinable public init(_ c: Character)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
Swift.String.init:2:19: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | @inlinable public init(_ scalar: Unicode.Scalar)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
Swift.String.init:2:19: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | @inlinable public init(_ unicodeScalars: String.UnicodeScalarView)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
Swift.String.init:3:21: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | @available(swift 4.0)
3 | @inlinable public init(_ utf16: String.UTF16View)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
4 |
Swift.String.init:3:21: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | @available(swift, introduced: 4.0, message: "Please use failable String.init?(_:UTF8View) when in Swift 3.2 mode")
3 | @inlinable public init(_ utf8: String.UTF8View)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
4 |
Swift.String.init:2:19: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | @inlinable public init(_ substring: __shared Substring)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
Swift.String.init:2:8: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | public init(_ content: Substring.UnicodeScalarView)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
_FoundationCollections.String.init:2:8: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | public init(_ big: BigString)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
_FoundationCollections.String.init:2:8: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | public init(_ big: BigSubstring)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
_FoundationCollections.String.init:2:8: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | public init(_ big: BigString.UnicodeScalarView)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
_FoundationCollections.String.init:2:8: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | public init(_ big: BigSubstring.UnicodeScalarView)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
FoundationEssentials.String.init:3:10: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct 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.init:2:8: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | public init(_ cocoaString: NSString)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
[22/29] Compiling SwiftLI Spacer.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.init:2:19: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | @inlinable public init(_ c: Character)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
Swift.String.init:2:19: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | @inlinable public init(_ scalar: Unicode.Scalar)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
Swift.String.init:2:19: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | @inlinable public init(_ unicodeScalars: String.UnicodeScalarView)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
Swift.String.init:3:21: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | @available(swift 4.0)
3 | @inlinable public init(_ utf16: String.UTF16View)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
4 |
Swift.String.init:3:21: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | @available(swift, introduced: 4.0, message: "Please use failable String.init?(_:UTF8View) when in Swift 3.2 mode")
3 | @inlinable public init(_ utf8: String.UTF8View)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
4 |
Swift.String.init:2:19: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | @inlinable public init(_ substring: __shared Substring)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
Swift.String.init:2:8: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | public init(_ content: Substring.UnicodeScalarView)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
_FoundationCollections.String.init:2:8: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | public init(_ big: BigString)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
_FoundationCollections.String.init:2:8: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | public init(_ big: BigSubstring)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
_FoundationCollections.String.init:2:8: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | public init(_ big: BigString.UnicodeScalarView)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
_FoundationCollections.String.init:2:8: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | public init(_ big: BigSubstring.UnicodeScalarView)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
FoundationEssentials.String.init:3:10: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct 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.init:2:8: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | public init(_ cocoaString: NSString)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
/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.init:2:19: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | @inlinable public init(_ c: Character)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
Swift.String.init:2:19: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | @inlinable public init(_ scalar: Unicode.Scalar)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
Swift.String.init:2:19: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | @inlinable public init(_ unicodeScalars: String.UnicodeScalarView)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
Swift.String.init:3:21: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | @available(swift 4.0)
3 | @inlinable public init(_ utf16: String.UTF16View)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
4 |
Swift.String.init:3:21: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | @available(swift, introduced: 4.0, message: "Please use failable String.init?(_:UTF8View) when in Swift 3.2 mode")
3 | @inlinable public init(_ utf8: String.UTF8View)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
4 |
Swift.String.init:2:19: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | @inlinable public init(_ substring: __shared Substring)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
Swift.String.init:2:8: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | public init(_ content: Substring.UnicodeScalarView)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
_FoundationCollections.String.init:2:8: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | public init(_ big: BigString)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
_FoundationCollections.String.init:2:8: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | public init(_ big: BigSubstring)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
_FoundationCollections.String.init:2:8: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | public init(_ big: BigString.UnicodeScalarView)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
_FoundationCollections.String.init:2:8: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | public init(_ big: BigSubstring.UnicodeScalarView)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
FoundationEssentials.String.init:3:10: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct 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.init:2:8: note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
1 | struct String {
2 | public init(_ cocoaString: NSString)}
| `- note: incorrect labels for candidate (have: '(localized:)', expected: '(_:)')
3 |
BUILD FAILURE 6.1 linux