Build Information
Successful build of swift-blade, reference master (66d37c
), with Swift 6.0 for Linux on 5 Nov 2024 18:32:45 UTC.
Swift 6 data race errors: 16
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
54 | )
55 |
56 | static let invalidModuleSubmodulesSyntax = BladeDiagnosticMessage(
| |- warning: static property 'invalidModuleSubmodulesSyntax' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidModuleSubmodulesSyntax' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | message: "The submodule list must be an array literal",
58 | id: "invalid_module_includes_syntax",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:80:16: warning: static property 'invalidScope' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
78 | )
79 |
80 | static let invalidScope = BladeDiagnosticMessage(
| |- warning: static property 'invalidScope' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidScope' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | message: "A scope must be defined as a Scope literal",
82 | id: "invalid_scope",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:110:16: warning: static property 'unnecessaryProviderFunctionReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
108 | )
109 |
110 | static let unnecessaryProviderFunctionReturnType = BladeDiagnosticMessage(
| |- warning: static property 'unnecessaryProviderFunctionReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unnecessaryProviderFunctionReturnType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 | message: "Specifying the provided type is only necessary for initializer-based @Providers",
112 | id: "unnecessary_provider_function_binding_return_type",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:74:16: warning: static property 'invalidProviderFunctionModifier' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
72 | )
73 |
74 | static let invalidProviderFunctionModifier = BladeDiagnosticMessage(
| |- warning: static property 'invalidProviderFunctionModifier' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidProviderFunctionModifier' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | message: "@Provider functions must be static",
76 | id: "invalid_provider_function_modifier",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:92:16: warning: static property 'missingProviderFunctionReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
90 | )
91 |
92 | static let missingProviderFunctionReturnType = BladeDiagnosticMessage(
| |- warning: static property 'missingProviderFunctionReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'missingProviderFunctionReturnType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | message: "@Provider functions must return a non-Void type",
94 | id: "missing_provider_function_binding_return_type",
[246/268] Compiling BladePlugin ModuleAttributeParser.swift
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:50:16: warning: static property 'invalidModuleProvidesSyntax' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
48 | )
49 |
50 | static let invalidModuleProvidesSyntax = BladeDiagnosticMessage(
| |- warning: static property 'invalidModuleProvidesSyntax' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidModuleProvidesSyntax' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | message: "The provides list must be an array literal",
52 | id: "invalid_module_provides_syntax",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:56:16: warning: static property 'invalidModuleSubmodulesSyntax' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
54 | )
55 |
56 | static let invalidModuleSubmodulesSyntax = BladeDiagnosticMessage(
| |- warning: static property 'invalidModuleSubmodulesSyntax' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidModuleSubmodulesSyntax' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | message: "The submodule list must be an array literal",
58 | id: "invalid_module_includes_syntax",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:80:16: warning: static property 'invalidScope' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
78 | )
79 |
80 | static let invalidScope = BladeDiagnosticMessage(
| |- warning: static property 'invalidScope' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidScope' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | message: "A scope must be defined as a Scope literal",
82 | id: "invalid_scope",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:110:16: warning: static property 'unnecessaryProviderFunctionReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
108 | )
109 |
110 | static let unnecessaryProviderFunctionReturnType = BladeDiagnosticMessage(
| |- warning: static property 'unnecessaryProviderFunctionReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unnecessaryProviderFunctionReturnType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 | message: "Specifying the provided type is only necessary for initializer-based @Providers",
112 | id: "unnecessary_provider_function_binding_return_type",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:74:16: warning: static property 'invalidProviderFunctionModifier' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
72 | )
73 |
74 | static let invalidProviderFunctionModifier = BladeDiagnosticMessage(
| |- warning: static property 'invalidProviderFunctionModifier' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidProviderFunctionModifier' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | message: "@Provider functions must be static",
76 | id: "invalid_provider_function_modifier",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:92:16: warning: static property 'missingProviderFunctionReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
90 | )
91 |
92 | static let missingProviderFunctionReturnType = BladeDiagnosticMessage(
| |- warning: static property 'missingProviderFunctionReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'missingProviderFunctionReturnType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | message: "@Provider functions must return a non-Void type",
94 | id: "missing_provider_function_binding_return_type",
[247/268] Compiling BladePlugin ProviderAttributeParser.swift
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:50:16: warning: static property 'invalidModuleProvidesSyntax' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
48 | )
49 |
50 | static let invalidModuleProvidesSyntax = BladeDiagnosticMessage(
| |- warning: static property 'invalidModuleProvidesSyntax' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidModuleProvidesSyntax' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | message: "The provides list must be an array literal",
52 | id: "invalid_module_provides_syntax",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:56:16: warning: static property 'invalidModuleSubmodulesSyntax' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
54 | )
55 |
56 | static let invalidModuleSubmodulesSyntax = BladeDiagnosticMessage(
| |- warning: static property 'invalidModuleSubmodulesSyntax' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidModuleSubmodulesSyntax' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | message: "The submodule list must be an array literal",
58 | id: "invalid_module_includes_syntax",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:80:16: warning: static property 'invalidScope' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
78 | )
79 |
80 | static let invalidScope = BladeDiagnosticMessage(
| |- warning: static property 'invalidScope' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidScope' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | message: "A scope must be defined as a Scope literal",
82 | id: "invalid_scope",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:110:16: warning: static property 'unnecessaryProviderFunctionReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
108 | )
109 |
110 | static let unnecessaryProviderFunctionReturnType = BladeDiagnosticMessage(
| |- warning: static property 'unnecessaryProviderFunctionReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unnecessaryProviderFunctionReturnType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 | message: "Specifying the provided type is only necessary for initializer-based @Providers",
112 | id: "unnecessary_provider_function_binding_return_type",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:74:16: warning: static property 'invalidProviderFunctionModifier' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
72 | )
73 |
74 | static let invalidProviderFunctionModifier = BladeDiagnosticMessage(
| |- warning: static property 'invalidProviderFunctionModifier' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidProviderFunctionModifier' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | message: "@Provider functions must be static",
76 | id: "invalid_provider_function_modifier",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:92:16: warning: static property 'missingProviderFunctionReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
90 | )
91 |
92 | static let missingProviderFunctionReturnType = BladeDiagnosticMessage(
| |- warning: static property 'missingProviderFunctionReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'missingProviderFunctionReturnType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | message: "@Provider functions must return a non-Void type",
94 | id: "missing_provider_function_binding_return_type",
[248/268] Compiling BladePlugin ProviderFunctionBindingParser.swift
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:50:16: warning: static property 'invalidModuleProvidesSyntax' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
48 | )
49 |
50 | static let invalidModuleProvidesSyntax = BladeDiagnosticMessage(
| |- warning: static property 'invalidModuleProvidesSyntax' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidModuleProvidesSyntax' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | message: "The provides list must be an array literal",
52 | id: "invalid_module_provides_syntax",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:56:16: warning: static property 'invalidModuleSubmodulesSyntax' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
54 | )
55 |
56 | static let invalidModuleSubmodulesSyntax = BladeDiagnosticMessage(
| |- warning: static property 'invalidModuleSubmodulesSyntax' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidModuleSubmodulesSyntax' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | message: "The submodule list must be an array literal",
58 | id: "invalid_module_includes_syntax",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:80:16: warning: static property 'invalidScope' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
78 | )
79 |
80 | static let invalidScope = BladeDiagnosticMessage(
| |- warning: static property 'invalidScope' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidScope' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | message: "A scope must be defined as a Scope literal",
82 | id: "invalid_scope",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:110:16: warning: static property 'unnecessaryProviderFunctionReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
108 | )
109 |
110 | static let unnecessaryProviderFunctionReturnType = BladeDiagnosticMessage(
| |- warning: static property 'unnecessaryProviderFunctionReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unnecessaryProviderFunctionReturnType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 | message: "Specifying the provided type is only necessary for initializer-based @Providers",
112 | id: "unnecessary_provider_function_binding_return_type",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:74:16: warning: static property 'invalidProviderFunctionModifier' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
72 | )
73 |
74 | static let invalidProviderFunctionModifier = BladeDiagnosticMessage(
| |- warning: static property 'invalidProviderFunctionModifier' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidProviderFunctionModifier' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | message: "@Provider functions must be static",
76 | id: "invalid_provider_function_modifier",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:92:16: warning: static property 'missingProviderFunctionReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
90 | )
91 |
92 | static let missingProviderFunctionReturnType = BladeDiagnosticMessage(
| |- warning: static property 'missingProviderFunctionReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'missingProviderFunctionReturnType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | message: "@Provider functions must return a non-Void type",
94 | id: "missing_provider_function_binding_return_type",
[249/268] Compiling BladePlugin VisibilityParser.swift
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:50:16: warning: static property 'invalidModuleProvidesSyntax' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
48 | )
49 |
50 | static let invalidModuleProvidesSyntax = BladeDiagnosticMessage(
| |- warning: static property 'invalidModuleProvidesSyntax' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidModuleProvidesSyntax' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | message: "The provides list must be an array literal",
52 | id: "invalid_module_provides_syntax",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:56:16: warning: static property 'invalidModuleSubmodulesSyntax' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
54 | )
55 |
56 | static let invalidModuleSubmodulesSyntax = BladeDiagnosticMessage(
| |- warning: static property 'invalidModuleSubmodulesSyntax' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidModuleSubmodulesSyntax' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | message: "The submodule list must be an array literal",
58 | id: "invalid_module_includes_syntax",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:80:16: warning: static property 'invalidScope' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
78 | )
79 |
80 | static let invalidScope = BladeDiagnosticMessage(
| |- warning: static property 'invalidScope' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidScope' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | message: "A scope must be defined as a Scope literal",
82 | id: "invalid_scope",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:110:16: warning: static property 'unnecessaryProviderFunctionReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
108 | )
109 |
110 | static let unnecessaryProviderFunctionReturnType = BladeDiagnosticMessage(
| |- warning: static property 'unnecessaryProviderFunctionReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unnecessaryProviderFunctionReturnType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 | message: "Specifying the provided type is only necessary for initializer-based @Providers",
112 | id: "unnecessary_provider_function_binding_return_type",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:74:16: warning: static property 'invalidProviderFunctionModifier' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
72 | )
73 |
74 | static let invalidProviderFunctionModifier = BladeDiagnosticMessage(
| |- warning: static property 'invalidProviderFunctionModifier' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidProviderFunctionModifier' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | message: "@Provider functions must be static",
76 | id: "invalid_provider_function_modifier",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:92:16: warning: static property 'missingProviderFunctionReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
90 | )
91 |
92 | static let missingProviderFunctionReturnType = BladeDiagnosticMessage(
| |- warning: static property 'missingProviderFunctionReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'missingProviderFunctionReturnType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | message: "@Provider functions must return a non-Void type",
94 | id: "missing_provider_function_binding_return_type",
[250/268] Compiling BladePlugin BladePlugin.swift
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:20:16: warning: static property 'invalidComponentModulesSyntax' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
18 |
19 | extension BladeDiagnosticMessage {
20 | static let invalidComponentModulesSyntax = BladeDiagnosticMessage(
| |- warning: static property 'invalidComponentModulesSyntax' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidComponentModulesSyntax' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | message: "The module list must be an array literal",
22 | id: "invalid_component_modules_syntax",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:26:16: warning: static property 'invalidComponentType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
24 | )
25 |
26 | static let invalidComponentType = BladeDiagnosticMessage(
| |- warning: static property 'invalidComponentType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidComponentType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | message: "@Component can only be attached to a protocol",
28 | id: "invalid_component_type",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:32:16: warning: static property 'invalidComponentInitializerCount' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
30 | )
31 |
32 | static let invalidComponentInitializerCount = BladeDiagnosticMessage(
| |- warning: static property 'invalidComponentInitializerCount' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidComponentInitializerCount' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | message: "Components can have at most 1 initializer",
34 | id: "invalid_component_initializer_count",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:38:16: warning: static property 'invalidEntryPointFunctionParameters' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
36 | )
37 |
38 | static let invalidEntryPointFunctionParameters = BladeDiagnosticMessage(
| |- warning: static property 'invalidEntryPointFunctionParameters' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidEntryPointFunctionParameters' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | message: "Entry point functions must be parameterless",
40 | id: "invalid_entry_point_function_parameters",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:44:16: warning: static property 'invalidEntryPointFunctionReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
42 | )
43 |
44 | static let invalidEntryPointFunctionReturnType = BladeDiagnosticMessage(
| |- warning: static property 'invalidEntryPointFunctionReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidEntryPointFunctionReturnType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | message: "Entry point functions must return a type",
46 | id: "invalid_entry_point_function_return_type",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:50:16: warning: static property 'invalidModuleProvidesSyntax' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
48 | )
49 |
50 | static let invalidModuleProvidesSyntax = BladeDiagnosticMessage(
| |- warning: static property 'invalidModuleProvidesSyntax' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidModuleProvidesSyntax' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | message: "The provides list must be an array literal",
52 | id: "invalid_module_provides_syntax",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:56:16: warning: static property 'invalidModuleSubmodulesSyntax' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
54 | )
55 |
56 | static let invalidModuleSubmodulesSyntax = BladeDiagnosticMessage(
| |- warning: static property 'invalidModuleSubmodulesSyntax' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidModuleSubmodulesSyntax' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | message: "The submodule list must be an array literal",
58 | id: "invalid_module_includes_syntax",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:62:16: warning: static property 'invalidModuleType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
60 | )
61 |
62 | static let invalidModuleType = BladeDiagnosticMessage(
| |- warning: static property 'invalidModuleType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidModuleType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | message: "@Module can only be attached to an empty enum",
64 | id: "invalid_module_type",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:68:16: warning: static property 'invalidProviderPeer' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
66 | )
67 |
68 | static let invalidProviderPeer = BladeDiagnosticMessage(
| |- warning: static property 'invalidProviderPeer' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidProviderPeer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | message: "@Provider must be attached to either an initializer, or a static function within a module",
70 | id: "invalid_provider_peer",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:74:16: warning: static property 'invalidProviderFunctionModifier' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
72 | )
73 |
74 | static let invalidProviderFunctionModifier = BladeDiagnosticMessage(
| |- warning: static property 'invalidProviderFunctionModifier' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidProviderFunctionModifier' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | message: "@Provider functions must be static",
76 | id: "invalid_provider_function_modifier",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:80:16: warning: static property 'invalidScope' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
78 | )
79 |
80 | static let invalidScope = BladeDiagnosticMessage(
| |- warning: static property 'invalidScope' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidScope' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | message: "A scope must be defined as a Scope literal",
82 | id: "invalid_scope",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:86:16: warning: static property 'missingProviderInitializerReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
84 | )
85 |
86 | static let missingProviderInitializerReturnType = BladeDiagnosticMessage(
| |- warning: static property 'missingProviderInitializerReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'missingProviderInitializerReturnType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | message: "An initializer-based @Provider must have its provided type specified via the @Provider attributes `of` parameter",
88 | id: "missing_provider_initializer_return_type",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:92:16: warning: static property 'missingProviderFunctionReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
90 | )
91 |
92 | static let missingProviderFunctionReturnType = BladeDiagnosticMessage(
| |- warning: static property 'missingProviderFunctionReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'missingProviderFunctionReturnType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | message: "@Provider functions must return a non-Void type",
94 | id: "missing_provider_function_binding_return_type",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:98:16: warning: static property 'namedProviderNotPermitted' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
96 | )
97 |
98 | static let namedProviderNotPermitted = BladeDiagnosticMessage(
| |- warning: static property 'namedProviderNotPermitted' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'namedProviderNotPermitted' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 | message: "Named @Providers can't be used with initializers",
100 | id: "named_provider_not_permitted",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:104:16: warning: static property 'unexpectedParameterType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
102 | )
103 |
104 | static let unexpectedParameterType = BladeDiagnosticMessage(
| |- warning: static property 'unexpectedParameterType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unexpectedParameterType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | message: "Unexpected parameter type",
106 | id: "unexpected_parameter_type",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:110:16: warning: static property 'unnecessaryProviderFunctionReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
108 | )
109 |
110 | static let unnecessaryProviderFunctionReturnType = BladeDiagnosticMessage(
| |- warning: static property 'unnecessaryProviderFunctionReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unnecessaryProviderFunctionReturnType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 | message: "Specifying the provided type is only necessary for initializer-based @Providers",
112 | id: "unnecessary_provider_function_binding_return_type",
[251/268] Compiling BladePlugin BladeDiagnosticMessage.swift
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:20:16: warning: static property 'invalidComponentModulesSyntax' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
18 |
19 | extension BladeDiagnosticMessage {
20 | static let invalidComponentModulesSyntax = BladeDiagnosticMessage(
| |- warning: static property 'invalidComponentModulesSyntax' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidComponentModulesSyntax' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | message: "The module list must be an array literal",
22 | id: "invalid_component_modules_syntax",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:26:16: warning: static property 'invalidComponentType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
24 | )
25 |
26 | static let invalidComponentType = BladeDiagnosticMessage(
| |- warning: static property 'invalidComponentType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidComponentType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | message: "@Component can only be attached to a protocol",
28 | id: "invalid_component_type",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:32:16: warning: static property 'invalidComponentInitializerCount' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
30 | )
31 |
32 | static let invalidComponentInitializerCount = BladeDiagnosticMessage(
| |- warning: static property 'invalidComponentInitializerCount' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidComponentInitializerCount' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | message: "Components can have at most 1 initializer",
34 | id: "invalid_component_initializer_count",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:38:16: warning: static property 'invalidEntryPointFunctionParameters' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
36 | )
37 |
38 | static let invalidEntryPointFunctionParameters = BladeDiagnosticMessage(
| |- warning: static property 'invalidEntryPointFunctionParameters' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidEntryPointFunctionParameters' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | message: "Entry point functions must be parameterless",
40 | id: "invalid_entry_point_function_parameters",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:44:16: warning: static property 'invalidEntryPointFunctionReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
42 | )
43 |
44 | static let invalidEntryPointFunctionReturnType = BladeDiagnosticMessage(
| |- warning: static property 'invalidEntryPointFunctionReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidEntryPointFunctionReturnType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | message: "Entry point functions must return a type",
46 | id: "invalid_entry_point_function_return_type",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:50:16: warning: static property 'invalidModuleProvidesSyntax' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
48 | )
49 |
50 | static let invalidModuleProvidesSyntax = BladeDiagnosticMessage(
| |- warning: static property 'invalidModuleProvidesSyntax' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidModuleProvidesSyntax' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | message: "The provides list must be an array literal",
52 | id: "invalid_module_provides_syntax",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:56:16: warning: static property 'invalidModuleSubmodulesSyntax' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
54 | )
55 |
56 | static let invalidModuleSubmodulesSyntax = BladeDiagnosticMessage(
| |- warning: static property 'invalidModuleSubmodulesSyntax' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidModuleSubmodulesSyntax' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | message: "The submodule list must be an array literal",
58 | id: "invalid_module_includes_syntax",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:62:16: warning: static property 'invalidModuleType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
60 | )
61 |
62 | static let invalidModuleType = BladeDiagnosticMessage(
| |- warning: static property 'invalidModuleType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidModuleType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | message: "@Module can only be attached to an empty enum",
64 | id: "invalid_module_type",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:68:16: warning: static property 'invalidProviderPeer' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
66 | )
67 |
68 | static let invalidProviderPeer = BladeDiagnosticMessage(
| |- warning: static property 'invalidProviderPeer' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidProviderPeer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | message: "@Provider must be attached to either an initializer, or a static function within a module",
70 | id: "invalid_provider_peer",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:74:16: warning: static property 'invalidProviderFunctionModifier' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
72 | )
73 |
74 | static let invalidProviderFunctionModifier = BladeDiagnosticMessage(
| |- warning: static property 'invalidProviderFunctionModifier' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidProviderFunctionModifier' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | message: "@Provider functions must be static",
76 | id: "invalid_provider_function_modifier",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:80:16: warning: static property 'invalidScope' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
78 | )
79 |
80 | static let invalidScope = BladeDiagnosticMessage(
| |- warning: static property 'invalidScope' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidScope' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | message: "A scope must be defined as a Scope literal",
82 | id: "invalid_scope",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:86:16: warning: static property 'missingProviderInitializerReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
84 | )
85 |
86 | static let missingProviderInitializerReturnType = BladeDiagnosticMessage(
| |- warning: static property 'missingProviderInitializerReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'missingProviderInitializerReturnType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | message: "An initializer-based @Provider must have its provided type specified via the @Provider attributes `of` parameter",
88 | id: "missing_provider_initializer_return_type",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:92:16: warning: static property 'missingProviderFunctionReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
90 | )
91 |
92 | static let missingProviderFunctionReturnType = BladeDiagnosticMessage(
| |- warning: static property 'missingProviderFunctionReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'missingProviderFunctionReturnType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | message: "@Provider functions must return a non-Void type",
94 | id: "missing_provider_function_binding_return_type",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:98:16: warning: static property 'namedProviderNotPermitted' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
96 | )
97 |
98 | static let namedProviderNotPermitted = BladeDiagnosticMessage(
| |- warning: static property 'namedProviderNotPermitted' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'namedProviderNotPermitted' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 | message: "Named @Providers can't be used with initializers",
100 | id: "named_provider_not_permitted",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:104:16: warning: static property 'unexpectedParameterType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
102 | )
103 |
104 | static let unexpectedParameterType = BladeDiagnosticMessage(
| |- warning: static property 'unexpectedParameterType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unexpectedParameterType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | message: "Unexpected parameter type",
106 | id: "unexpected_parameter_type",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:110:16: warning: static property 'unnecessaryProviderFunctionReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
108 | )
109 |
110 | static let unnecessaryProviderFunctionReturnType = BladeDiagnosticMessage(
| |- warning: static property 'unnecessaryProviderFunctionReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unnecessaryProviderFunctionReturnType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 | message: "Specifying the provided type is only necessary for initializer-based @Providers",
112 | id: "unnecessary_provider_function_binding_return_type",
[252/268] Compiling BladePlugin Sequence.swift
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:20:16: warning: static property 'invalidComponentModulesSyntax' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
18 |
19 | extension BladeDiagnosticMessage {
20 | static let invalidComponentModulesSyntax = BladeDiagnosticMessage(
| |- warning: static property 'invalidComponentModulesSyntax' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidComponentModulesSyntax' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | message: "The module list must be an array literal",
22 | id: "invalid_component_modules_syntax",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:26:16: warning: static property 'invalidComponentType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
24 | )
25 |
26 | static let invalidComponentType = BladeDiagnosticMessage(
| |- warning: static property 'invalidComponentType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidComponentType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | message: "@Component can only be attached to a protocol",
28 | id: "invalid_component_type",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:32:16: warning: static property 'invalidComponentInitializerCount' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
30 | )
31 |
32 | static let invalidComponentInitializerCount = BladeDiagnosticMessage(
| |- warning: static property 'invalidComponentInitializerCount' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidComponentInitializerCount' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | message: "Components can have at most 1 initializer",
34 | id: "invalid_component_initializer_count",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:38:16: warning: static property 'invalidEntryPointFunctionParameters' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
36 | )
37 |
38 | static let invalidEntryPointFunctionParameters = BladeDiagnosticMessage(
| |- warning: static property 'invalidEntryPointFunctionParameters' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidEntryPointFunctionParameters' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | message: "Entry point functions must be parameterless",
40 | id: "invalid_entry_point_function_parameters",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:44:16: warning: static property 'invalidEntryPointFunctionReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
42 | )
43 |
44 | static let invalidEntryPointFunctionReturnType = BladeDiagnosticMessage(
| |- warning: static property 'invalidEntryPointFunctionReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidEntryPointFunctionReturnType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | message: "Entry point functions must return a type",
46 | id: "invalid_entry_point_function_return_type",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:50:16: warning: static property 'invalidModuleProvidesSyntax' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
48 | )
49 |
50 | static let invalidModuleProvidesSyntax = BladeDiagnosticMessage(
| |- warning: static property 'invalidModuleProvidesSyntax' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidModuleProvidesSyntax' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | message: "The provides list must be an array literal",
52 | id: "invalid_module_provides_syntax",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:56:16: warning: static property 'invalidModuleSubmodulesSyntax' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
54 | )
55 |
56 | static let invalidModuleSubmodulesSyntax = BladeDiagnosticMessage(
| |- warning: static property 'invalidModuleSubmodulesSyntax' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidModuleSubmodulesSyntax' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | message: "The submodule list must be an array literal",
58 | id: "invalid_module_includes_syntax",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:62:16: warning: static property 'invalidModuleType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
60 | )
61 |
62 | static let invalidModuleType = BladeDiagnosticMessage(
| |- warning: static property 'invalidModuleType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidModuleType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | message: "@Module can only be attached to an empty enum",
64 | id: "invalid_module_type",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:68:16: warning: static property 'invalidProviderPeer' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
66 | )
67 |
68 | static let invalidProviderPeer = BladeDiagnosticMessage(
| |- warning: static property 'invalidProviderPeer' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidProviderPeer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | message: "@Provider must be attached to either an initializer, or a static function within a module",
70 | id: "invalid_provider_peer",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:74:16: warning: static property 'invalidProviderFunctionModifier' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
72 | )
73 |
74 | static let invalidProviderFunctionModifier = BladeDiagnosticMessage(
| |- warning: static property 'invalidProviderFunctionModifier' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidProviderFunctionModifier' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | message: "@Provider functions must be static",
76 | id: "invalid_provider_function_modifier",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:80:16: warning: static property 'invalidScope' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
78 | )
79 |
80 | static let invalidScope = BladeDiagnosticMessage(
| |- warning: static property 'invalidScope' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidScope' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | message: "A scope must be defined as a Scope literal",
82 | id: "invalid_scope",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:86:16: warning: static property 'missingProviderInitializerReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
84 | )
85 |
86 | static let missingProviderInitializerReturnType = BladeDiagnosticMessage(
| |- warning: static property 'missingProviderInitializerReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'missingProviderInitializerReturnType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | message: "An initializer-based @Provider must have its provided type specified via the @Provider attributes `of` parameter",
88 | id: "missing_provider_initializer_return_type",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:92:16: warning: static property 'missingProviderFunctionReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
90 | )
91 |
92 | static let missingProviderFunctionReturnType = BladeDiagnosticMessage(
| |- warning: static property 'missingProviderFunctionReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'missingProviderFunctionReturnType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | message: "@Provider functions must return a non-Void type",
94 | id: "missing_provider_function_binding_return_type",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:98:16: warning: static property 'namedProviderNotPermitted' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
96 | )
97 |
98 | static let namedProviderNotPermitted = BladeDiagnosticMessage(
| |- warning: static property 'namedProviderNotPermitted' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'namedProviderNotPermitted' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 | message: "Named @Providers can't be used with initializers",
100 | id: "named_provider_not_permitted",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:104:16: warning: static property 'unexpectedParameterType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
102 | )
103 |
104 | static let unexpectedParameterType = BladeDiagnosticMessage(
| |- warning: static property 'unexpectedParameterType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unexpectedParameterType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | message: "Unexpected parameter type",
106 | id: "unexpected_parameter_type",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:110:16: warning: static property 'unnecessaryProviderFunctionReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
108 | )
109 |
110 | static let unnecessaryProviderFunctionReturnType = BladeDiagnosticMessage(
| |- warning: static property 'unnecessaryProviderFunctionReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unnecessaryProviderFunctionReturnType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 | message: "Specifying the provided type is only necessary for initializer-based @Providers",
112 | id: "unnecessary_provider_function_binding_return_type",
[253/268] Compiling BladePlugin String.swift
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:20:16: warning: static property 'invalidComponentModulesSyntax' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
18 |
19 | extension BladeDiagnosticMessage {
20 | static let invalidComponentModulesSyntax = BladeDiagnosticMessage(
| |- warning: static property 'invalidComponentModulesSyntax' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidComponentModulesSyntax' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | message: "The module list must be an array literal",
22 | id: "invalid_component_modules_syntax",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:26:16: warning: static property 'invalidComponentType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
24 | )
25 |
26 | static let invalidComponentType = BladeDiagnosticMessage(
| |- warning: static property 'invalidComponentType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidComponentType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | message: "@Component can only be attached to a protocol",
28 | id: "invalid_component_type",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:32:16: warning: static property 'invalidComponentInitializerCount' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
30 | )
31 |
32 | static let invalidComponentInitializerCount = BladeDiagnosticMessage(
| |- warning: static property 'invalidComponentInitializerCount' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidComponentInitializerCount' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | message: "Components can have at most 1 initializer",
34 | id: "invalid_component_initializer_count",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:38:16: warning: static property 'invalidEntryPointFunctionParameters' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
36 | )
37 |
38 | static let invalidEntryPointFunctionParameters = BladeDiagnosticMessage(
| |- warning: static property 'invalidEntryPointFunctionParameters' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidEntryPointFunctionParameters' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | message: "Entry point functions must be parameterless",
40 | id: "invalid_entry_point_function_parameters",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:44:16: warning: static property 'invalidEntryPointFunctionReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
42 | )
43 |
44 | static let invalidEntryPointFunctionReturnType = BladeDiagnosticMessage(
| |- warning: static property 'invalidEntryPointFunctionReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidEntryPointFunctionReturnType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | message: "Entry point functions must return a type",
46 | id: "invalid_entry_point_function_return_type",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:50:16: warning: static property 'invalidModuleProvidesSyntax' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
48 | )
49 |
50 | static let invalidModuleProvidesSyntax = BladeDiagnosticMessage(
| |- warning: static property 'invalidModuleProvidesSyntax' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidModuleProvidesSyntax' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | message: "The provides list must be an array literal",
52 | id: "invalid_module_provides_syntax",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:56:16: warning: static property 'invalidModuleSubmodulesSyntax' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
54 | )
55 |
56 | static let invalidModuleSubmodulesSyntax = BladeDiagnosticMessage(
| |- warning: static property 'invalidModuleSubmodulesSyntax' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidModuleSubmodulesSyntax' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | message: "The submodule list must be an array literal",
58 | id: "invalid_module_includes_syntax",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:62:16: warning: static property 'invalidModuleType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
60 | )
61 |
62 | static let invalidModuleType = BladeDiagnosticMessage(
| |- warning: static property 'invalidModuleType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidModuleType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | message: "@Module can only be attached to an empty enum",
64 | id: "invalid_module_type",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:68:16: warning: static property 'invalidProviderPeer' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
66 | )
67 |
68 | static let invalidProviderPeer = BladeDiagnosticMessage(
| |- warning: static property 'invalidProviderPeer' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidProviderPeer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | message: "@Provider must be attached to either an initializer, or a static function within a module",
70 | id: "invalid_provider_peer",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:74:16: warning: static property 'invalidProviderFunctionModifier' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
72 | )
73 |
74 | static let invalidProviderFunctionModifier = BladeDiagnosticMessage(
| |- warning: static property 'invalidProviderFunctionModifier' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidProviderFunctionModifier' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | message: "@Provider functions must be static",
76 | id: "invalid_provider_function_modifier",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:80:16: warning: static property 'invalidScope' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
78 | )
79 |
80 | static let invalidScope = BladeDiagnosticMessage(
| |- warning: static property 'invalidScope' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidScope' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | message: "A scope must be defined as a Scope literal",
82 | id: "invalid_scope",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:86:16: warning: static property 'missingProviderInitializerReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
84 | )
85 |
86 | static let missingProviderInitializerReturnType = BladeDiagnosticMessage(
| |- warning: static property 'missingProviderInitializerReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'missingProviderInitializerReturnType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | message: "An initializer-based @Provider must have its provided type specified via the @Provider attributes `of` parameter",
88 | id: "missing_provider_initializer_return_type",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:92:16: warning: static property 'missingProviderFunctionReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
90 | )
91 |
92 | static let missingProviderFunctionReturnType = BladeDiagnosticMessage(
| |- warning: static property 'missingProviderFunctionReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'missingProviderFunctionReturnType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | message: "@Provider functions must return a non-Void type",
94 | id: "missing_provider_function_binding_return_type",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:98:16: warning: static property 'namedProviderNotPermitted' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
96 | )
97 |
98 | static let namedProviderNotPermitted = BladeDiagnosticMessage(
| |- warning: static property 'namedProviderNotPermitted' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'namedProviderNotPermitted' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 | message: "Named @Providers can't be used with initializers",
100 | id: "named_provider_not_permitted",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:104:16: warning: static property 'unexpectedParameterType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
102 | )
103 |
104 | static let unexpectedParameterType = BladeDiagnosticMessage(
| |- warning: static property 'unexpectedParameterType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unexpectedParameterType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | message: "Unexpected parameter type",
106 | id: "unexpected_parameter_type",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:110:16: warning: static property 'unnecessaryProviderFunctionReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
108 | )
109 |
110 | static let unnecessaryProviderFunctionReturnType = BladeDiagnosticMessage(
| |- warning: static property 'unnecessaryProviderFunctionReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unnecessaryProviderFunctionReturnType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 | message: "Specifying the provided type is only necessary for initializer-based @Providers",
112 | id: "unnecessary_provider_function_binding_return_type",
[254/268] Compiling BladePlugin ClassDeclSyntax.swift
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:20:16: warning: static property 'invalidComponentModulesSyntax' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
18 |
19 | extension BladeDiagnosticMessage {
20 | static let invalidComponentModulesSyntax = BladeDiagnosticMessage(
| |- warning: static property 'invalidComponentModulesSyntax' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidComponentModulesSyntax' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | message: "The module list must be an array literal",
22 | id: "invalid_component_modules_syntax",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:26:16: warning: static property 'invalidComponentType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
24 | )
25 |
26 | static let invalidComponentType = BladeDiagnosticMessage(
| |- warning: static property 'invalidComponentType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidComponentType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | message: "@Component can only be attached to a protocol",
28 | id: "invalid_component_type",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:32:16: warning: static property 'invalidComponentInitializerCount' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
30 | )
31 |
32 | static let invalidComponentInitializerCount = BladeDiagnosticMessage(
| |- warning: static property 'invalidComponentInitializerCount' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidComponentInitializerCount' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | message: "Components can have at most 1 initializer",
34 | id: "invalid_component_initializer_count",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:38:16: warning: static property 'invalidEntryPointFunctionParameters' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
36 | )
37 |
38 | static let invalidEntryPointFunctionParameters = BladeDiagnosticMessage(
| |- warning: static property 'invalidEntryPointFunctionParameters' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidEntryPointFunctionParameters' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | message: "Entry point functions must be parameterless",
40 | id: "invalid_entry_point_function_parameters",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:44:16: warning: static property 'invalidEntryPointFunctionReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
42 | )
43 |
44 | static let invalidEntryPointFunctionReturnType = BladeDiagnosticMessage(
| |- warning: static property 'invalidEntryPointFunctionReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidEntryPointFunctionReturnType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | message: "Entry point functions must return a type",
46 | id: "invalid_entry_point_function_return_type",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:50:16: warning: static property 'invalidModuleProvidesSyntax' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
48 | )
49 |
50 | static let invalidModuleProvidesSyntax = BladeDiagnosticMessage(
| |- warning: static property 'invalidModuleProvidesSyntax' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidModuleProvidesSyntax' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | message: "The provides list must be an array literal",
52 | id: "invalid_module_provides_syntax",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:56:16: warning: static property 'invalidModuleSubmodulesSyntax' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
54 | )
55 |
56 | static let invalidModuleSubmodulesSyntax = BladeDiagnosticMessage(
| |- warning: static property 'invalidModuleSubmodulesSyntax' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidModuleSubmodulesSyntax' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | message: "The submodule list must be an array literal",
58 | id: "invalid_module_includes_syntax",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:62:16: warning: static property 'invalidModuleType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
60 | )
61 |
62 | static let invalidModuleType = BladeDiagnosticMessage(
| |- warning: static property 'invalidModuleType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidModuleType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | message: "@Module can only be attached to an empty enum",
64 | id: "invalid_module_type",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:68:16: warning: static property 'invalidProviderPeer' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
66 | )
67 |
68 | static let invalidProviderPeer = BladeDiagnosticMessage(
| |- warning: static property 'invalidProviderPeer' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidProviderPeer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | message: "@Provider must be attached to either an initializer, or a static function within a module",
70 | id: "invalid_provider_peer",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:74:16: warning: static property 'invalidProviderFunctionModifier' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
72 | )
73 |
74 | static let invalidProviderFunctionModifier = BladeDiagnosticMessage(
| |- warning: static property 'invalidProviderFunctionModifier' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidProviderFunctionModifier' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | message: "@Provider functions must be static",
76 | id: "invalid_provider_function_modifier",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:80:16: warning: static property 'invalidScope' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
78 | )
79 |
80 | static let invalidScope = BladeDiagnosticMessage(
| |- warning: static property 'invalidScope' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidScope' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | message: "A scope must be defined as a Scope literal",
82 | id: "invalid_scope",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:86:16: warning: static property 'missingProviderInitializerReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
84 | )
85 |
86 | static let missingProviderInitializerReturnType = BladeDiagnosticMessage(
| |- warning: static property 'missingProviderInitializerReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'missingProviderInitializerReturnType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | message: "An initializer-based @Provider must have its provided type specified via the @Provider attributes `of` parameter",
88 | id: "missing_provider_initializer_return_type",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:92:16: warning: static property 'missingProviderFunctionReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
90 | )
91 |
92 | static let missingProviderFunctionReturnType = BladeDiagnosticMessage(
| |- warning: static property 'missingProviderFunctionReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'missingProviderFunctionReturnType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | message: "@Provider functions must return a non-Void type",
94 | id: "missing_provider_function_binding_return_type",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:98:16: warning: static property 'namedProviderNotPermitted' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
96 | )
97 |
98 | static let namedProviderNotPermitted = BladeDiagnosticMessage(
| |- warning: static property 'namedProviderNotPermitted' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'namedProviderNotPermitted' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 | message: "Named @Providers can't be used with initializers",
100 | id: "named_provider_not_permitted",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:104:16: warning: static property 'unexpectedParameterType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
102 | )
103 |
104 | static let unexpectedParameterType = BladeDiagnosticMessage(
| |- warning: static property 'unexpectedParameterType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unexpectedParameterType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | message: "Unexpected parameter type",
106 | id: "unexpected_parameter_type",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:110:16: warning: static property 'unnecessaryProviderFunctionReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
108 | )
109 |
110 | static let unnecessaryProviderFunctionReturnType = BladeDiagnosticMessage(
| |- warning: static property 'unnecessaryProviderFunctionReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unnecessaryProviderFunctionReturnType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 | message: "Specifying the provided type is only necessary for initializer-based @Providers",
112 | id: "unnecessary_provider_function_binding_return_type",
[255/268] Compiling BladePlugin CodeBlockItemSyntax.swift
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:20:16: warning: static property 'invalidComponentModulesSyntax' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
18 |
19 | extension BladeDiagnosticMessage {
20 | static let invalidComponentModulesSyntax = BladeDiagnosticMessage(
| |- warning: static property 'invalidComponentModulesSyntax' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidComponentModulesSyntax' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | message: "The module list must be an array literal",
22 | id: "invalid_component_modules_syntax",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:26:16: warning: static property 'invalidComponentType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
24 | )
25 |
26 | static let invalidComponentType = BladeDiagnosticMessage(
| |- warning: static property 'invalidComponentType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidComponentType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | message: "@Component can only be attached to a protocol",
28 | id: "invalid_component_type",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:32:16: warning: static property 'invalidComponentInitializerCount' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
30 | )
31 |
32 | static let invalidComponentInitializerCount = BladeDiagnosticMessage(
| |- warning: static property 'invalidComponentInitializerCount' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidComponentInitializerCount' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | message: "Components can have at most 1 initializer",
34 | id: "invalid_component_initializer_count",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:38:16: warning: static property 'invalidEntryPointFunctionParameters' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
36 | )
37 |
38 | static let invalidEntryPointFunctionParameters = BladeDiagnosticMessage(
| |- warning: static property 'invalidEntryPointFunctionParameters' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidEntryPointFunctionParameters' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | message: "Entry point functions must be parameterless",
40 | id: "invalid_entry_point_function_parameters",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:44:16: warning: static property 'invalidEntryPointFunctionReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
42 | )
43 |
44 | static let invalidEntryPointFunctionReturnType = BladeDiagnosticMessage(
| |- warning: static property 'invalidEntryPointFunctionReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidEntryPointFunctionReturnType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | message: "Entry point functions must return a type",
46 | id: "invalid_entry_point_function_return_type",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:50:16: warning: static property 'invalidModuleProvidesSyntax' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
48 | )
49 |
50 | static let invalidModuleProvidesSyntax = BladeDiagnosticMessage(
| |- warning: static property 'invalidModuleProvidesSyntax' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidModuleProvidesSyntax' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | message: "The provides list must be an array literal",
52 | id: "invalid_module_provides_syntax",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:56:16: warning: static property 'invalidModuleSubmodulesSyntax' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
54 | )
55 |
56 | static let invalidModuleSubmodulesSyntax = BladeDiagnosticMessage(
| |- warning: static property 'invalidModuleSubmodulesSyntax' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidModuleSubmodulesSyntax' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | message: "The submodule list must be an array literal",
58 | id: "invalid_module_includes_syntax",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:62:16: warning: static property 'invalidModuleType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
60 | )
61 |
62 | static let invalidModuleType = BladeDiagnosticMessage(
| |- warning: static property 'invalidModuleType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidModuleType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 | message: "@Module can only be attached to an empty enum",
64 | id: "invalid_module_type",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:68:16: warning: static property 'invalidProviderPeer' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
66 | )
67 |
68 | static let invalidProviderPeer = BladeDiagnosticMessage(
| |- warning: static property 'invalidProviderPeer' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidProviderPeer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | message: "@Provider must be attached to either an initializer, or a static function within a module",
70 | id: "invalid_provider_peer",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:74:16: warning: static property 'invalidProviderFunctionModifier' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
72 | )
73 |
74 | static let invalidProviderFunctionModifier = BladeDiagnosticMessage(
| |- warning: static property 'invalidProviderFunctionModifier' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidProviderFunctionModifier' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | message: "@Provider functions must be static",
76 | id: "invalid_provider_function_modifier",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:80:16: warning: static property 'invalidScope' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
78 | )
79 |
80 | static let invalidScope = BladeDiagnosticMessage(
| |- warning: static property 'invalidScope' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidScope' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | message: "A scope must be defined as a Scope literal",
82 | id: "invalid_scope",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:86:16: warning: static property 'missingProviderInitializerReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
84 | )
85 |
86 | static let missingProviderInitializerReturnType = BladeDiagnosticMessage(
| |- warning: static property 'missingProviderInitializerReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'missingProviderInitializerReturnType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | message: "An initializer-based @Provider must have its provided type specified via the @Provider attributes `of` parameter",
88 | id: "missing_provider_initializer_return_type",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:92:16: warning: static property 'missingProviderFunctionReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
90 | )
91 |
92 | static let missingProviderFunctionReturnType = BladeDiagnosticMessage(
| |- warning: static property 'missingProviderFunctionReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'missingProviderFunctionReturnType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | message: "@Provider functions must return a non-Void type",
94 | id: "missing_provider_function_binding_return_type",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:98:16: warning: static property 'namedProviderNotPermitted' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
96 | )
97 |
98 | static let namedProviderNotPermitted = BladeDiagnosticMessage(
| |- warning: static property 'namedProviderNotPermitted' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'namedProviderNotPermitted' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 | message: "Named @Providers can't be used with initializers",
100 | id: "named_provider_not_permitted",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:104:16: warning: static property 'unexpectedParameterType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
102 | )
103 |
104 | static let unexpectedParameterType = BladeDiagnosticMessage(
| |- warning: static property 'unexpectedParameterType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unexpectedParameterType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | message: "Unexpected parameter type",
106 | id: "unexpected_parameter_type",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:110:16: warning: static property 'unnecessaryProviderFunctionReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
108 | )
109 |
110 | static let unnecessaryProviderFunctionReturnType = BladeDiagnosticMessage(
| |- warning: static property 'unnecessaryProviderFunctionReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unnecessaryProviderFunctionReturnType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
111 | message: "Specifying the provided type is only necessary for initializer-based @Providers",
112 | id: "unnecessary_provider_function_binding_return_type",
[256/268] Compiling BladePlugin ProviderMacro.swift
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:68:16: warning: static property 'invalidProviderPeer' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
66 | )
67 |
68 | static let invalidProviderPeer = BladeDiagnosticMessage(
| |- warning: static property 'invalidProviderPeer' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidProviderPeer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | message: "@Provider must be attached to either an initializer, or a static function within a module",
70 | id: "invalid_provider_peer",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:86:16: warning: static property 'missingProviderInitializerReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
84 | )
85 |
86 | static let missingProviderInitializerReturnType = BladeDiagnosticMessage(
| |- warning: static property 'missingProviderInitializerReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'missingProviderInitializerReturnType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | message: "An initializer-based @Provider must have its provided type specified via the @Provider attributes `of` parameter",
88 | id: "missing_provider_initializer_return_type",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:98:16: warning: static property 'namedProviderNotPermitted' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
96 | )
97 |
98 | static let namedProviderNotPermitted = BladeDiagnosticMessage(
| |- warning: static property 'namedProviderNotPermitted' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'namedProviderNotPermitted' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 | message: "Named @Providers can't be used with initializers",
100 | id: "named_provider_not_permitted",
[257/268] Compiling BladePlugin Binding.swift
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:68:16: warning: static property 'invalidProviderPeer' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
66 | )
67 |
68 | static let invalidProviderPeer = BladeDiagnosticMessage(
| |- warning: static property 'invalidProviderPeer' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidProviderPeer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | message: "@Provider must be attached to either an initializer, or a static function within a module",
70 | id: "invalid_provider_peer",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:86:16: warning: static property 'missingProviderInitializerReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
84 | )
85 |
86 | static let missingProviderInitializerReturnType = BladeDiagnosticMessage(
| |- warning: static property 'missingProviderInitializerReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'missingProviderInitializerReturnType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | message: "An initializer-based @Provider must have its provided type specified via the @Provider attributes `of` parameter",
88 | id: "missing_provider_initializer_return_type",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:98:16: warning: static property 'namedProviderNotPermitted' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
96 | )
97 |
98 | static let namedProviderNotPermitted = BladeDiagnosticMessage(
| |- warning: static property 'namedProviderNotPermitted' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'namedProviderNotPermitted' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 | message: "Named @Providers can't be used with initializers",
100 | id: "named_provider_not_permitted",
[258/268] Compiling BladePlugin BindingParameter.swift
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:68:16: warning: static property 'invalidProviderPeer' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
66 | )
67 |
68 | static let invalidProviderPeer = BladeDiagnosticMessage(
| |- warning: static property 'invalidProviderPeer' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidProviderPeer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | message: "@Provider must be attached to either an initializer, or a static function within a module",
70 | id: "invalid_provider_peer",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:86:16: warning: static property 'missingProviderInitializerReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
84 | )
85 |
86 | static let missingProviderInitializerReturnType = BladeDiagnosticMessage(
| |- warning: static property 'missingProviderInitializerReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'missingProviderInitializerReturnType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | message: "An initializer-based @Provider must have its provided type specified via the @Provider attributes `of` parameter",
88 | id: "missing_provider_initializer_return_type",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:98:16: warning: static property 'namedProviderNotPermitted' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
96 | )
97 |
98 | static let namedProviderNotPermitted = BladeDiagnosticMessage(
| |- warning: static property 'namedProviderNotPermitted' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'namedProviderNotPermitted' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 | message: "Named @Providers can't be used with initializers",
100 | id: "named_provider_not_permitted",
[259/268] Compiling BladePlugin BindingParameterAttributes.swift
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:68:16: warning: static property 'invalidProviderPeer' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
66 | )
67 |
68 | static let invalidProviderPeer = BladeDiagnosticMessage(
| |- warning: static property 'invalidProviderPeer' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidProviderPeer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | message: "@Provider must be attached to either an initializer, or a static function within a module",
70 | id: "invalid_provider_peer",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:86:16: warning: static property 'missingProviderInitializerReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
84 | )
85 |
86 | static let missingProviderInitializerReturnType = BladeDiagnosticMessage(
| |- warning: static property 'missingProviderInitializerReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'missingProviderInitializerReturnType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | message: "An initializer-based @Provider must have its provided type specified via the @Provider attributes `of` parameter",
88 | id: "missing_provider_initializer_return_type",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:98:16: warning: static property 'namedProviderNotPermitted' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
96 | )
97 |
98 | static let namedProviderNotPermitted = BladeDiagnosticMessage(
| |- warning: static property 'namedProviderNotPermitted' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'namedProviderNotPermitted' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 | message: "Named @Providers can't be used with initializers",
100 | id: "named_provider_not_permitted",
[260/268] Compiling BladePlugin ComponentAttribute.swift
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:68:16: warning: static property 'invalidProviderPeer' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
66 | )
67 |
68 | static let invalidProviderPeer = BladeDiagnosticMessage(
| |- warning: static property 'invalidProviderPeer' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalidProviderPeer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | message: "@Provider must be attached to either an initializer, or a static function within a module",
70 | id: "invalid_provider_peer",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:86:16: warning: static property 'missingProviderInitializerReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
84 | )
85 |
86 | static let missingProviderInitializerReturnType = BladeDiagnosticMessage(
| |- warning: static property 'missingProviderInitializerReturnType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'missingProviderInitializerReturnType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 | message: "An initializer-based @Provider must have its provided type specified via the @Provider attributes `of` parameter",
88 | id: "missing_provider_initializer_return_type",
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:98:16: warning: static property 'namedProviderNotPermitted' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
96 | )
97 |
98 | static let namedProviderNotPermitted = BladeDiagnosticMessage(
| |- warning: static property 'namedProviderNotPermitted' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'namedProviderNotPermitted' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
99 | message: "Named @Providers can't be used with initializers",
100 | id: "named_provider_not_permitted",
[261/268] Compiling BladePlugin ComponentGenerator.swift
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:104:16: warning: static property 'unexpectedParameterType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
102 | )
103 |
104 | static let unexpectedParameterType = BladeDiagnosticMessage(
| |- warning: static property 'unexpectedParameterType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unexpectedParameterType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | message: "Unexpected parameter type",
106 | id: "unexpected_parameter_type",
[262/268] Compiling BladePlugin DependencyProviderGenerator.swift
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:104:16: warning: static property 'unexpectedParameterType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
102 | )
103 |
104 | static let unexpectedParameterType = BladeDiagnosticMessage(
| |- warning: static property 'unexpectedParameterType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unexpectedParameterType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | message: "Unexpected parameter type",
106 | id: "unexpected_parameter_type",
[263/268] Compiling BladePlugin ModuleGenerator.swift
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:104:16: warning: static property 'unexpectedParameterType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
102 | )
103 |
104 | static let unexpectedParameterType = BladeDiagnosticMessage(
| |- warning: static property 'unexpectedParameterType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unexpectedParameterType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | message: "Unexpected parameter type",
106 | id: "unexpected_parameter_type",
[264/268] Compiling BladePlugin BindingParameterAttributesParser.swift
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:104:16: warning: static property 'unexpectedParameterType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
102 | )
103 |
104 | static let unexpectedParameterType = BladeDiagnosticMessage(
| |- warning: static property 'unexpectedParameterType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unexpectedParameterType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | message: "Unexpected parameter type",
106 | id: "unexpected_parameter_type",
[265/268] Compiling BladePlugin BindingParameterParser.swift
/host/spi-builder-workspace/Sources/BladePlugin/Diagnostics/BladeDiagnosticMessage.swift:104:16: warning: static property 'unexpectedParameterType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
5 | private let domain = "io.shackley.blade"
6 |
7 | struct BladeDiagnosticMessage: DiagnosticMessage {
| `- note: consider making struct 'BladeDiagnosticMessage' conform to the 'Sendable' protocol
8 | let message: String
9 | let diagnosticID: MessageID
:
102 | )
103 |
104 | static let unexpectedParameterType = BladeDiagnosticMessage(
| |- warning: static property 'unexpectedParameterType' is not concurrency-safe because non-'Sendable' type 'BladeDiagnosticMessage' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unexpectedParameterType' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | message: "Unexpected parameter type",
106 | id: "unexpected_parameter_type",
[266/269] Wrapping AST for BladePlugin for debugging
[267/269] Write Objects.LinkFileList
[268/269] Linking BladePlugin-tool
[270/280] Compiling Blade Lazy.swift
[271/281] Compiling Blade Module.swift
[272/281] Compiling Blade Named.swift
[273/281] Compiling Blade Provider.swift
[274/281] Compiling Blade Component.swift
[275/281] Compiling Blade DependencyKey.swift
[276/281] Compiling Blade InstanceProvider.swift
[277/281] Compiling Blade UnfairLock.swift
[278/281] Compiling Blade DependencyProvider.swift
[279/281] Compiling Blade DependencyProviderResolver.swift
[280/281] Emitting module Blade
[281/281] Compiling Blade Scope.swift
Build complete! (110.27s)
Build complete.
{
"dependencies" : [
{
"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"
},
{
"identity" : "swift-syntax",
"requirement" : {
"range" : [
{
"lower_bound" : "509.0.0",
"upper_bound" : "510.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-syntax.git"
}
],
"manifest_display_name" : "swift-blade",
"name" : "swift-blade",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "maccatalyst",
"version" : "13.0"
}
],
"products" : [
{
"name" : "Blade",
"targets" : [
"Blade"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "BladePlugin",
"targets" : [
"BladePlugin"
],
"type" : {
"macro" : null
}
}
],
"targets" : [
{
"c99name" : "BladeTests",
"module_type" : "SwiftTarget",
"name" : "BladeTests",
"path" : "Tests/BladeTests",
"sources" : [
"BladeTests.swift"
],
"target_dependencies" : [
"Blade"
],
"type" : "test"
},
{
"c99name" : "BladePluginTests",
"module_type" : "SwiftTarget",
"name" : "BladePluginTests",
"path" : "Tests/BladePluginTests",
"product_dependencies" : [
"SwiftSyntaxMacrosTestSupport"
],
"sources" : [
"BladePluginTests.swift"
],
"target_dependencies" : [
"BladePlugin"
],
"type" : "test"
},
{
"c99name" : "BladePlugin",
"module_type" : "SwiftTarget",
"name" : "BladePlugin",
"path" : "Sources/BladePlugin",
"product_dependencies" : [
"SwiftSyntaxMacros",
"SwiftCompilerPlugin"
],
"product_memberships" : [
"Blade",
"BladePlugin"
],
"sources" : [
"BladePlugin.swift",
"Diagnostics/BladeDiagnosticMessage.swift",
"Extensions/Foundation/Sequence.swift",
"Extensions/Foundation/String.swift",
"Extensions/SwiftSyntax/ClassDeclSyntax.swift",
"Extensions/SwiftSyntax/CodeBlockItemSyntax.swift",
"Extensions/SwiftSyntax/DeclModifierListSyntax.swift",
"Extensions/SwiftSyntax/FunctionParameterSyntax.swift",
"Extensions/SwiftSyntax/TypeAliasDeclSyntax.swift",
"Extensions/SwiftSyntax/VariableDeclSyntax.swift",
"Macros/ComponentMacro.swift",
"Macros/ModuleMacro.swift",
"Macros/ProviderMacro.swift",
"Models/Binding.swift",
"Models/BindingParameter.swift",
"Models/BindingParameterAttributes.swift",
"Models/ComponentAttribute.swift",
"Models/ComponentEntryPoint.swift",
"Models/ComponentInitializer.swift",
"Models/FunctionAttributes.swift",
"Models/InitializerBinding.swift",
"Models/ModuleAttribute.swift",
"Models/NamedAttribute.swift",
"Models/ProviderAttribute.swift",
"Models/ProviderFunctionBinding.swift",
"Models/Scope.swift",
"Models/Visibility.swift",
"SyntaxGenerators/ComponentGenerator.swift",
"SyntaxGenerators/DependencyProviderGenerator.swift",
"SyntaxGenerators/ModuleGenerator.swift",
"SyntaxParsers/BindingParameterAttributesParser.swift",
"SyntaxParsers/BindingParameterParser.swift",
"SyntaxParsers/ComponentAttributeParser.swift",
"SyntaxParsers/ComponentEntryPointParser.swift",
"SyntaxParsers/ComponentInitializerParser.swift",
"SyntaxParsers/FunctionAttributeListParser.swift",
"SyntaxParsers/InitializerBindingParser.swift",
"SyntaxParsers/MetatypeParser.swift",
"SyntaxParsers/ModuleAttributeParser.swift",
"SyntaxParsers/ProviderAttributeParser.swift",
"SyntaxParsers/ProviderFunctionBindingParser.swift",
"SyntaxParsers/VisibilityParser.swift"
],
"type" : "macro"
},
{
"c99name" : "Blade",
"module_type" : "SwiftTarget",
"name" : "Blade",
"path" : "Sources/Blade",
"product_memberships" : [
"Blade"
],
"sources" : [
"Component.swift",
"Internal/DependencyKey.swift",
"Internal/DependencyProvider.swift",
"Internal/DependencyProviderResolver.swift",
"Internal/InstanceProvider.swift",
"Internal/UnfairLock.swift",
"Lazy.swift",
"Module.swift",
"Named.swift",
"Provider.swift",
"Scope.swift"
],
"target_dependencies" : [
"BladePlugin"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
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
Done.