Build Information
Successful build of swift-blade, reference 0.1.5 (66d37c
), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 18:41:25 UTC.
Swift 6 data race errors: 16
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
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
:
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",
[207/243] Compiling BladePlugin Binding.swift
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
[208/243] Compiling BladePlugin NamedAttribute.swift
[209/243] Compiling BladePlugin ProviderAttribute.swift
[210/243] Compiling BladePlugin ProviderFunctionBinding.swift
[211/243] Compiling BladePlugin Scope.swift
[212/243] Emitting module BladePlugin
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
[213/243] Compiling BladePlugin ComponentInitializer.swift
[214/243] Compiling BladePlugin FunctionAttributes.swift
[215/243] Compiling BladePlugin InitializerBinding.swift
[216/243] Compiling BladePlugin ModuleAttribute.swift
[217/243] Compiling BladePlugin ModuleAttributeParser.swift
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
[218/243] Compiling BladePlugin ProviderAttributeParser.swift
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
[219/243] Compiling BladePlugin ProviderFunctionBindingParser.swift
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
[220/243] Compiling BladePlugin VisibilityParser.swift
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
[221/243] Compiling BladePlugin ComponentInitializerParser.swift
[222/243] Compiling BladePlugin FunctionAttributeListParser.swift
[223/243] Compiling BladePlugin InitializerBindingParser.swift
[224/243] Compiling BladePlugin MetatypeParser.swift
[225/243] Compiling BladePlugin BindingParameter.swift
[226/243] Compiling BladePlugin BindingParameterAttributes.swift
[227/243] Compiling BladePlugin ComponentAttribute.swift
[228/243] Compiling BladePlugin ComponentEntryPoint.swift
[229/243] Compiling BladePlugin BladePlugin.swift
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
[230/243] Compiling BladePlugin BladeDiagnosticMessage.swift
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
[231/243] Compiling BladePlugin Sequence.swift
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
[232/243] Compiling BladePlugin String.swift
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
[233/243] Compiling BladePlugin ClassDeclSyntax.swift
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
[234/243] Compiling BladePlugin Visibility.swift
[235/243] Compiling BladePlugin ComponentGenerator.swift
[236/243] Compiling BladePlugin DependencyProviderGenerator.swift
[237/243] Compiling BladePlugin ModuleGenerator.swift
[238/243] Compiling BladePlugin BindingParameterAttributesParser.swift
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
[239/243] Compiling BladePlugin BindingParameterParser.swift
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
[240/243] Compiling BladePlugin ComponentAttributeParser.swift
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
[241/243] Compiling BladePlugin ComponentEntryPointParser.swift
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
/Users/admin/builder/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",
[241/243] Write Objects.LinkFileList
[242/243] Linking BladePlugin-tool
[244/254] Compiling Blade Lazy.swift
[245/254] Compiling Blade InstanceProvider.swift
[246/254] Compiling Blade DependencyProviderResolver.swift
[247/254] Compiling Blade DependencyProvider.swift
[248/254] Compiling Blade UnfairLock.swift
[249/255] Compiling Blade Provider.swift
[250/255] Compiling Blade Module.swift
[251/255] Compiling Blade Named.swift
[252/255] Compiling Blade Component.swift
[253/255] Compiling Blade DependencyKey.swift
[254/255] Emitting module Blade
[255/255] Compiling Blade Scope.swift
Build complete! (65.18s)
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" : "/Users/admin/builder/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"
}
Done.