Build Information
Successful build of StreamDeck, reference 0.5.1 (f6d1a5
), with Swift 6.2 (beta) for macOS (SPM) on 22 Jun 2025 07:55:27 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
53 | self.lastState[action.context] = true
| `- warning: capture of non-sendable type 'A.Type' in an isolated closure
54 | action.longKeyPress(device: event.device, payload: event.payload)
55 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/LongPress.swift:54:11: warning: capture of non-sendable type 'A.Settings.Type' in an isolated closure
52 | log.log("Long key press timer has fired for \(action.context, privacy: .public)")
53 | self.lastState[action.context] = true
54 | action.longKeyPress(device: event.device, payload: event.payload)
| `- warning: capture of non-sendable type 'A.Settings.Type' in an isolated closure
55 | }
56 |
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/LongPress.swift:64:33: warning: capture of non-sendable type 'A.Type' in an isolated closure
62 | /// - action: The `Action`.
63 | /// - event: The `KeyEvent` which is passed to handler.
64 | func beginTimer<A: Action>(for action: A, event: ActionEvent<EncoderPressEvent<A.Settings>>) {
| `- warning: capture of non-sendable type 'A.Type' in an isolated closure
65 |
66 | log.log("Beginning long press timer for \(action.context, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/LongPress.swift:71:19: warning: capture of non-sendable type 'A.Type' in an isolated closure
69 | let timer = Timer(timeInterval: action.longPressDuration, repeats: false) { _ in
70 | log.log("Long dial press timer has fired for \(action.context, privacy: .public)")
71 | self.lastState[action.context] = true
| `- warning: capture of non-sendable type 'A.Type' in an isolated closure
72 | action.longDialPress(device: event.device, payload: event.payload)
73 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/LongPress.swift:72:11: warning: capture of non-sendable type 'A.Settings.Type' in an isolated closure
70 | log.log("Long dial press timer has fired for \(action.context, privacy: .public)")
71 | self.lastState[action.context] = true
72 | action.longDialPress(device: event.device, payload: event.payload)
| `- warning: capture of non-sendable type 'A.Settings.Type' in an isolated closure
73 | }
74 |
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/Extensions/URL+Argument.swift:11:1: warning: extension declares a conformance of imported type 'URL' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
9 | import ArgumentParser
10 |
11 | extension URL: ExpressibleByArgument {
| |- warning: extension declares a conformance of imported type 'URL' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
12 |
13 | /// Create a URL from a command line argument.
[392/424] Compiling StreamDeck PluginActionState.swift
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/LongPress.swift:46:33: warning: capture of non-sendable type 'A.Type' in an isolated closure
44 | /// - action: The `Action`.
45 | /// - event: The `KeyEvent` which is passed to handler.
46 | func beginTimer<A: Action>(for action: A, event: ActionEvent<KeyEvent<A.Settings>>) {
| `- warning: capture of non-sendable type 'A.Type' in an isolated closure
47 |
48 | log.log("Beginning long press timer for \(action.context, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/LongPress.swift:53:19: warning: capture of non-sendable type 'A.Type' in an isolated closure
51 | let timer = Timer(timeInterval: action.longPressDuration, repeats: false) { _ in
52 | log.log("Long key press timer has fired for \(action.context, privacy: .public)")
53 | self.lastState[action.context] = true
| `- warning: capture of non-sendable type 'A.Type' in an isolated closure
54 | action.longKeyPress(device: event.device, payload: event.payload)
55 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/LongPress.swift:54:11: warning: capture of non-sendable type 'A.Settings.Type' in an isolated closure
52 | log.log("Long key press timer has fired for \(action.context, privacy: .public)")
53 | self.lastState[action.context] = true
54 | action.longKeyPress(device: event.device, payload: event.payload)
| `- warning: capture of non-sendable type 'A.Settings.Type' in an isolated closure
55 | }
56 |
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/LongPress.swift:64:33: warning: capture of non-sendable type 'A.Type' in an isolated closure
62 | /// - action: The `Action`.
63 | /// - event: The `KeyEvent` which is passed to handler.
64 | func beginTimer<A: Action>(for action: A, event: ActionEvent<EncoderPressEvent<A.Settings>>) {
| `- warning: capture of non-sendable type 'A.Type' in an isolated closure
65 |
66 | log.log("Beginning long press timer for \(action.context, privacy: .public)")
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/LongPress.swift:71:19: warning: capture of non-sendable type 'A.Type' in an isolated closure
69 | let timer = Timer(timeInterval: action.longPressDuration, repeats: false) { _ in
70 | log.log("Long dial press timer has fired for \(action.context, privacy: .public)")
71 | self.lastState[action.context] = true
| `- warning: capture of non-sendable type 'A.Type' in an isolated closure
72 | action.longDialPress(device: event.device, payload: event.payload)
73 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/LongPress.swift:72:11: warning: capture of non-sendable type 'A.Settings.Type' in an isolated closure
70 | log.log("Long dial press timer has fired for \(action.context, privacy: .public)")
71 | self.lastState[action.context] = true
72 | action.longDialPress(device: event.device, payload: event.payload)
| `- warning: capture of non-sendable type 'A.Settings.Type' in an isolated closure
73 | }
74 |
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/Extensions/URL+Argument.swift:11:1: warning: extension declares a conformance of imported type 'URL' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
9 | import ArgumentParser
10 |
11 | extension URL: ExpressibleByArgument {
| |- warning: extension declares a conformance of imported type 'URL' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
12 |
13 | /// Create a URL from a command line argument.
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/Extensions/URL+Argument.swift:11:1: warning: extension declares a conformance of imported type 'URL' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
9 | import ArgumentParser
10 |
11 | extension URL: ExpressibleByArgument {
| |- warning: extension declares a conformance of imported type 'URL' to imported protocol 'ExpressibleByArgument'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
12 |
13 | /// Create a URL from a command line argument.
[395/424] Compiling StreamDeck SDPlugin+Sent.swift
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/StreamDeckPlugin/SDPlugin+Sent.swift:38:37: warning: capture of non-sendable type 'P.Type' in an isolated closure; this is an error in the Swift 6 language mode
36 | func setSettings<P: Encodable>(in context: String, to settings: P) {
37 | Task {
38 | await PluginCommunication.shared.sendEvent(.setSettings,
| `- warning: capture of non-sendable type 'P.Type' in an isolated closure; this is an error in the Swift 6 language mode
39 | context: context,
40 | payload: settings)
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/StreamDeckPlugin/SDPlugin+Sent.swift:36:56: warning: capture of non-sendable type 'P.Type' in an isolated closure; this is an error in the Swift 6 language mode
34 | /// - context: An opaque value identifying the instance's action or Property Inspector.
35 | /// - settings: A json object which is persistently saved for the action's instance.
36 | func setSettings<P: Encodable>(in context: String, to settings: P) {
| `- warning: capture of non-sendable type 'P.Type' in an isolated closure; this is an error in the Swift 6 language mode
37 | Task {
38 | await PluginCommunication.shared.sendEvent(.setSettings,
[398/424] Compiling StreamDeck SDPlugin+Support.swift
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/StreamDeckPlugin/SDPlugin+Sent.swift:38:37: warning: capture of non-sendable type 'P.Type' in an isolated closure; this is an error in the Swift 6 language mode
36 | func setSettings<P: Encodable>(in context: String, to settings: P) {
37 | Task {
38 | await PluginCommunication.shared.sendEvent(.setSettings,
| `- warning: capture of non-sendable type 'P.Type' in an isolated closure; this is an error in the Swift 6 language mode
39 | context: context,
40 | payload: settings)
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/StreamDeckPlugin/SDPlugin+Sent.swift:36:56: warning: capture of non-sendable type 'P.Type' in an isolated closure; this is an error in the Swift 6 language mode
34 | /// - context: An opaque value identifying the instance's action or Property Inspector.
35 | /// - settings: A json object which is persistently saved for the action's instance.
36 | func setSettings<P: Encodable>(in context: String, to settings: P) {
| `- warning: capture of non-sendable type 'P.Type' in an isolated closure; this is an error in the Swift 6 language mode
37 | Task {
38 | await PluginCommunication.shared.sendEvent(.setSettings,
[400/424] Compiling StreamDeck StreamDeckPlugin.swift
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/StreamDeckPlugin/SDPlugin+Sent.swift:38:37: warning: capture of non-sendable type 'P.Type' in an isolated closure; this is an error in the Swift 6 language mode
36 | func setSettings<P: Encodable>(in context: String, to settings: P) {
37 | Task {
38 | await PluginCommunication.shared.sendEvent(.setSettings,
| `- warning: capture of non-sendable type 'P.Type' in an isolated closure; this is an error in the Swift 6 language mode
39 | context: context,
40 | payload: settings)
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/StreamDeckPlugin/SDPlugin+Sent.swift:36:56: warning: capture of non-sendable type 'P.Type' in an isolated closure; this is an error in the Swift 6 language mode
34 | /// - context: An opaque value identifying the instance's action or Property Inspector.
35 | /// - settings: A json object which is persistently saved for the action's instance.
36 | func setSettings<P: Encodable>(in context: String, to settings: P) {
| `- warning: capture of non-sendable type 'P.Type' in an isolated closure; this is an error in the Swift 6 language mode
37 | Task {
38 | await PluginCommunication.shared.sendEvent(.setSettings,
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/StreamDeckPlugin/SDPlugin+Sent.swift:38:37: warning: capture of non-sendable type 'P.Type' in an isolated closure; this is an error in the Swift 6 language mode
36 | func setSettings<P: Encodable>(in context: String, to settings: P) {
37 | Task {
38 | await PluginCommunication.shared.sendEvent(.setSettings,
| `- warning: capture of non-sendable type 'P.Type' in an isolated closure; this is an error in the Swift 6 language mode
39 | context: context,
40 | payload: settings)
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/StreamDeckPlugin/SDPlugin+Sent.swift:36:56: warning: capture of non-sendable type 'P.Type' in an isolated closure; this is an error in the Swift 6 language mode
34 | /// - context: An opaque value identifying the instance's action or Property Inspector.
35 | /// - settings: A json object which is persistently saved for the action's instance.
36 | func setSettings<P: Encodable>(in context: String, to settings: P) {
| `- warning: capture of non-sendable type 'P.Type' in an isolated closure; this is an error in the Swift 6 language mode
37 | Task {
38 | await PluginCommunication.shared.sendEvent(.setSettings,
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:27:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
25 | Task {
26 | await PluginCommunication.shared.sendEvent(.setSettings,
27 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
28 | payload: settings)
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:24:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
22 | /// - settings: A json object which is persistently saved for the action's instance.
23 | @available(*, deprecated, message: "Use the Settings API.")
24 | func setSettings(to settings: [String: Any]) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
25 | Task {
26 | await PluginCommunication.shared.sendEvent(.setSettings,
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:38:37: warning: capture of non-sendable type 'Self.Settings.Type' in an isolated closure; this is an error in the Swift 6 language mode
36 | func setSettings(to settings: Settings) {
37 | Task {
38 | await PluginCommunication.shared.sendEvent(.setSettings,
| `- warning: capture of non-sendable type 'Self.Settings.Type' in an isolated closure; this is an error in the Swift 6 language mode
39 | context: context,
40 | payload: settings)
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:39:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
37 | Task {
38 | await PluginCommunication.shared.sendEvent(.setSettings,
39 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
40 | payload: settings)
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:36:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
34 | /// - context: An opaque value identifying the instance's action or Property Inspector.
35 | /// - settings: A json object which is persistently saved for the action's instance.
36 | func setSettings(to settings: Settings) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
37 | Task {
38 | await PluginCommunication.shared.sendEvent(.setSettings,
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:49:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
47 | Task {
48 | await PluginCommunication.shared.sendEvent(.getSettings,
49 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
50 | payload: nil)
51 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:46:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
44 | /// Request the persistent data for the action's instance.
45 | /// - context: An opaque value identifying the instance's action or Property Inspector.
46 | func getSettings() {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
47 | Task {
48 | await PluginCommunication.shared.sendEvent(.getSettings,
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:100:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
98 |
99 | await PluginCommunication.shared.sendEvent(.setTitle,
100 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
101 | payload: payload)
102 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:91:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
89 | /// - target: Specify if you want to display the title on hardware, software, or both.
90 | /// - state: A 0-based integer value representing the state of an action with multiple states. This is an optional parameter. If not specified, the title is set to all states.
91 | func setTitle(to title: String?, target: Target? = nil, state: Int? = nil) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
92 | Task {
93 | var payload: [String: Any] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:124:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
122 |
123 | await PluginCommunication.shared.sendEvent(.setImage,
124 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
125 | payload: payload)
126 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:114:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
112 | /// - target: Specify if you want to display the title on hardware, software, or both.
113 | /// - state: A 0-based integer value representing the state of an action with multiple states. This is an optional parameter. If not specified, the image is set to all states.
114 | func setImage(to image: NSImage?, target: Target? = nil, state: Int? = nil) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
115 | Task {
116 | var payload: [String: Any] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:177:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
175 |
176 | await PluginCommunication.shared.sendEvent(.setImage,
177 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
178 | payload: payload)
179 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:164:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
162 | /// - target: Specify if you want to display the title on hardware, software, or both.
163 | /// - state: A 0-based integer value representing the state of an action with multiple states. This is an optional parameter. If not specified, the image is set to all states.
164 | func setImage(toSVG svg: String?, target: Target? = nil, state: Int? = nil) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
165 | Task {
166 | var payload: [String: Any] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:186:68: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
184 | func showAlert() {
185 | Task {
186 | await PluginCommunication.shared.sendEvent(.showAlert, context: context, payload: nil)
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
187 | }
188 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:184:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
182 | /// Temporarily show an alert icon on the image displayed by an instance of an action.
183 | /// - Parameter context: An opaque value identifying the instance's action or Property Inspector.
184 | func showAlert() {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
185 | Task {
186 | await PluginCommunication.shared.sendEvent(.showAlert, context: context, payload: nil)
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:194:65: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
192 | func showOk() {
193 | Task {
194 | await PluginCommunication.shared.sendEvent(.showOK, context: context, payload: nil)
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
195 | }
196 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:192:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
190 | /// Temporarily show an OK checkmark icon on the image displayed by an instance of an action.
191 | /// - Parameter context: An opaque value identifying the instance's action or Property Inspector.
192 | func showOk() {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
193 | Task {
194 | await PluginCommunication.shared.sendEvent(.showOK, context: context, payload: nil)
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:207:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
205 | Task {
206 | await PluginCommunication.shared.sendEvent(.setState,
207 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
208 | payload: payload)
209 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:202:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
200 | /// - context: An opaque value identifying the instance's action or Property Inspector.
201 | /// - state: A 0-based integer value representing the state of an action with multiple states.
202 | func setState(to state: Int) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
203 | let payload: [String: Any] = ["state": state]
204 |
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:220:25: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
218 | Task {
219 | await PluginCommunication.shared.sendEvent(.sendToPropertyInspector,
220 | action: uuid,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
221 | context: context,
222 | payload: payload)
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:217:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
215 | /// - action: The action unique identifier.
216 | /// - payload: A json object that will be received by the Property Inspector.
217 | func sendToPropertyInspector(payload: [String: Any]) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
218 | Task {
219 | await PluginCommunication.shared.sendEvent(.sendToPropertyInspector,
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:231:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
229 | Task {
230 | await PluginCommunication.shared.sendEvent(.setFeedback,
231 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
232 | payload: payload)
233 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:228:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
226 |
227 | /// The plugin can send a `setFeedback` event to the Stream Deck application to dynamically change properties of items on the Stream Deck + touch display layout.
228 | func setFeedback(_ payload: [String: Any]) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
229 | Task {
230 | await PluginCommunication.shared.sendEvent(.setFeedback,
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:245:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
243 | Task {
244 | await PluginCommunication.shared.sendEvent(.setFeedbackLayout,
245 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
246 | payload: payload)
247 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:240:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
238 | /// `setFeedbackLayout` can use the `id` of a built-in layout or a relative path to a custom layout JSON file.
239 | /// - Parameter layout: The layout to set.
240 | func setFeedbackLayout(_ layout: LayoutName) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
241 | let payload: [String: Any] = ["layout": layout.id]
242 |
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:260:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
258 | Task {
259 | await PluginCommunication.shared.sendEvent(.setTriggerDescription,
260 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
261 | payload: triggerDescription)
262 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:257:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
255 | /// To reset the descriptions to the default values defined within the manifest, an empty payload can be sent as part of the event.
256 | /// - Parameter triggerDescription: The new `TriggerDescription` or `nil` to reset.
257 | func setTriggerDescription(_ triggerDescription: TriggerDescription?) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
258 | Task {
259 | await PluginCommunication.shared.sendEvent(.setTriggerDescription,
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:27:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
25 | Task {
26 | await PluginCommunication.shared.sendEvent(.setSettings,
27 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
28 | payload: settings)
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:24:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
22 | /// - settings: A json object which is persistently saved for the action's instance.
23 | @available(*, deprecated, message: "Use the Settings API.")
24 | func setSettings(to settings: [String: Any]) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
25 | Task {
26 | await PluginCommunication.shared.sendEvent(.setSettings,
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:38:37: warning: capture of non-sendable type 'Self.Settings.Type' in an isolated closure; this is an error in the Swift 6 language mode
36 | func setSettings(to settings: Settings) {
37 | Task {
38 | await PluginCommunication.shared.sendEvent(.setSettings,
| `- warning: capture of non-sendable type 'Self.Settings.Type' in an isolated closure; this is an error in the Swift 6 language mode
39 | context: context,
40 | payload: settings)
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:39:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
37 | Task {
38 | await PluginCommunication.shared.sendEvent(.setSettings,
39 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
40 | payload: settings)
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:36:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
34 | /// - context: An opaque value identifying the instance's action or Property Inspector.
35 | /// - settings: A json object which is persistently saved for the action's instance.
36 | func setSettings(to settings: Settings) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
37 | Task {
38 | await PluginCommunication.shared.sendEvent(.setSettings,
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:49:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
47 | Task {
48 | await PluginCommunication.shared.sendEvent(.getSettings,
49 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
50 | payload: nil)
51 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:46:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
44 | /// Request the persistent data for the action's instance.
45 | /// - context: An opaque value identifying the instance's action or Property Inspector.
46 | func getSettings() {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
47 | Task {
48 | await PluginCommunication.shared.sendEvent(.getSettings,
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:100:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
98 |
99 | await PluginCommunication.shared.sendEvent(.setTitle,
100 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
101 | payload: payload)
102 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:91:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
89 | /// - target: Specify if you want to display the title on hardware, software, or both.
90 | /// - state: A 0-based integer value representing the state of an action with multiple states. This is an optional parameter. If not specified, the title is set to all states.
91 | func setTitle(to title: String?, target: Target? = nil, state: Int? = nil) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
92 | Task {
93 | var payload: [String: Any] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:124:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
122 |
123 | await PluginCommunication.shared.sendEvent(.setImage,
124 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
125 | payload: payload)
126 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:114:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
112 | /// - target: Specify if you want to display the title on hardware, software, or both.
113 | /// - state: A 0-based integer value representing the state of an action with multiple states. This is an optional parameter. If not specified, the image is set to all states.
114 | func setImage(to image: NSImage?, target: Target? = nil, state: Int? = nil) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
115 | Task {
116 | var payload: [String: Any] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:177:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
175 |
176 | await PluginCommunication.shared.sendEvent(.setImage,
177 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
178 | payload: payload)
179 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:164:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
162 | /// - target: Specify if you want to display the title on hardware, software, or both.
163 | /// - state: A 0-based integer value representing the state of an action with multiple states. This is an optional parameter. If not specified, the image is set to all states.
164 | func setImage(toSVG svg: String?, target: Target? = nil, state: Int? = nil) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
165 | Task {
166 | var payload: [String: Any] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:186:68: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
184 | func showAlert() {
185 | Task {
186 | await PluginCommunication.shared.sendEvent(.showAlert, context: context, payload: nil)
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
187 | }
188 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:184:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
182 | /// Temporarily show an alert icon on the image displayed by an instance of an action.
183 | /// - Parameter context: An opaque value identifying the instance's action or Property Inspector.
184 | func showAlert() {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
185 | Task {
186 | await PluginCommunication.shared.sendEvent(.showAlert, context: context, payload: nil)
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:194:65: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
192 | func showOk() {
193 | Task {
194 | await PluginCommunication.shared.sendEvent(.showOK, context: context, payload: nil)
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
195 | }
196 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:192:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
190 | /// Temporarily show an OK checkmark icon on the image displayed by an instance of an action.
191 | /// - Parameter context: An opaque value identifying the instance's action or Property Inspector.
192 | func showOk() {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
193 | Task {
194 | await PluginCommunication.shared.sendEvent(.showOK, context: context, payload: nil)
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:207:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
205 | Task {
206 | await PluginCommunication.shared.sendEvent(.setState,
207 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
208 | payload: payload)
209 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:202:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
200 | /// - context: An opaque value identifying the instance's action or Property Inspector.
201 | /// - state: A 0-based integer value representing the state of an action with multiple states.
202 | func setState(to state: Int) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
203 | let payload: [String: Any] = ["state": state]
204 |
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:220:25: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
218 | Task {
219 | await PluginCommunication.shared.sendEvent(.sendToPropertyInspector,
220 | action: uuid,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
221 | context: context,
222 | payload: payload)
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:217:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
215 | /// - action: The action unique identifier.
216 | /// - payload: A json object that will be received by the Property Inspector.
217 | func sendToPropertyInspector(payload: [String: Any]) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
218 | Task {
219 | await PluginCommunication.shared.sendEvent(.sendToPropertyInspector,
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:231:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
229 | Task {
230 | await PluginCommunication.shared.sendEvent(.setFeedback,
231 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
232 | payload: payload)
233 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:228:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
226 |
227 | /// The plugin can send a `setFeedback` event to the Stream Deck application to dynamically change properties of items on the Stream Deck + touch display layout.
228 | func setFeedback(_ payload: [String: Any]) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
229 | Task {
230 | await PluginCommunication.shared.sendEvent(.setFeedback,
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:245:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
243 | Task {
244 | await PluginCommunication.shared.sendEvent(.setFeedbackLayout,
245 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
246 | payload: payload)
247 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:240:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
238 | /// `setFeedbackLayout` can use the `id` of a built-in layout or a relative path to a custom layout JSON file.
239 | /// - Parameter layout: The layout to set.
240 | func setFeedbackLayout(_ layout: LayoutName) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
241 | let payload: [String: Any] = ["layout": layout.id]
242 |
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:260:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
258 | Task {
259 | await PluginCommunication.shared.sendEvent(.setTriggerDescription,
260 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
261 | payload: triggerDescription)
262 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:257:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
255 | /// To reset the descriptions to the default values defined within the manifest, an empty payload can be sent as part of the event.
256 | /// - Parameter triggerDescription: The new `TriggerDescription` or `nil` to reset.
257 | func setTriggerDescription(_ triggerDescription: TriggerDescription?) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
258 | Task {
259 | await PluginCommunication.shared.sendEvent(.setTriggerDescription,
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:27:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
25 | Task {
26 | await PluginCommunication.shared.sendEvent(.setSettings,
27 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
28 | payload: settings)
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:24:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
22 | /// - settings: A json object which is persistently saved for the action's instance.
23 | @available(*, deprecated, message: "Use the Settings API.")
24 | func setSettings(to settings: [String: Any]) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
25 | Task {
26 | await PluginCommunication.shared.sendEvent(.setSettings,
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:38:37: warning: capture of non-sendable type 'Self.Settings.Type' in an isolated closure; this is an error in the Swift 6 language mode
36 | func setSettings(to settings: Settings) {
37 | Task {
38 | await PluginCommunication.shared.sendEvent(.setSettings,
| `- warning: capture of non-sendable type 'Self.Settings.Type' in an isolated closure; this is an error in the Swift 6 language mode
39 | context: context,
40 | payload: settings)
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:39:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
37 | Task {
38 | await PluginCommunication.shared.sendEvent(.setSettings,
39 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
40 | payload: settings)
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:36:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
34 | /// - context: An opaque value identifying the instance's action or Property Inspector.
35 | /// - settings: A json object which is persistently saved for the action's instance.
36 | func setSettings(to settings: Settings) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
37 | Task {
38 | await PluginCommunication.shared.sendEvent(.setSettings,
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:49:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
47 | Task {
48 | await PluginCommunication.shared.sendEvent(.getSettings,
49 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
50 | payload: nil)
51 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:46:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
44 | /// Request the persistent data for the action's instance.
45 | /// - context: An opaque value identifying the instance's action or Property Inspector.
46 | func getSettings() {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
47 | Task {
48 | await PluginCommunication.shared.sendEvent(.getSettings,
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:100:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
98 |
99 | await PluginCommunication.shared.sendEvent(.setTitle,
100 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
101 | payload: payload)
102 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:91:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
89 | /// - target: Specify if you want to display the title on hardware, software, or both.
90 | /// - state: A 0-based integer value representing the state of an action with multiple states. This is an optional parameter. If not specified, the title is set to all states.
91 | func setTitle(to title: String?, target: Target? = nil, state: Int? = nil) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
92 | Task {
93 | var payload: [String: Any] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:124:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
122 |
123 | await PluginCommunication.shared.sendEvent(.setImage,
124 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
125 | payload: payload)
126 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:114:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
112 | /// - target: Specify if you want to display the title on hardware, software, or both.
113 | /// - state: A 0-based integer value representing the state of an action with multiple states. This is an optional parameter. If not specified, the image is set to all states.
114 | func setImage(to image: NSImage?, target: Target? = nil, state: Int? = nil) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
115 | Task {
116 | var payload: [String: Any] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:177:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
175 |
176 | await PluginCommunication.shared.sendEvent(.setImage,
177 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
178 | payload: payload)
179 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:164:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
162 | /// - target: Specify if you want to display the title on hardware, software, or both.
163 | /// - state: A 0-based integer value representing the state of an action with multiple states. This is an optional parameter. If not specified, the image is set to all states.
164 | func setImage(toSVG svg: String?, target: Target? = nil, state: Int? = nil) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
165 | Task {
166 | var payload: [String: Any] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:186:68: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
184 | func showAlert() {
185 | Task {
186 | await PluginCommunication.shared.sendEvent(.showAlert, context: context, payload: nil)
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
187 | }
188 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:184:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
182 | /// Temporarily show an alert icon on the image displayed by an instance of an action.
183 | /// - Parameter context: An opaque value identifying the instance's action or Property Inspector.
184 | func showAlert() {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
185 | Task {
186 | await PluginCommunication.shared.sendEvent(.showAlert, context: context, payload: nil)
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:194:65: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
192 | func showOk() {
193 | Task {
194 | await PluginCommunication.shared.sendEvent(.showOK, context: context, payload: nil)
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
195 | }
196 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:192:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
190 | /// Temporarily show an OK checkmark icon on the image displayed by an instance of an action.
191 | /// - Parameter context: An opaque value identifying the instance's action or Property Inspector.
192 | func showOk() {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
193 | Task {
194 | await PluginCommunication.shared.sendEvent(.showOK, context: context, payload: nil)
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:207:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
205 | Task {
206 | await PluginCommunication.shared.sendEvent(.setState,
207 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
208 | payload: payload)
209 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:202:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
200 | /// - context: An opaque value identifying the instance's action or Property Inspector.
201 | /// - state: A 0-based integer value representing the state of an action with multiple states.
202 | func setState(to state: Int) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
203 | let payload: [String: Any] = ["state": state]
204 |
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:220:25: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
218 | Task {
219 | await PluginCommunication.shared.sendEvent(.sendToPropertyInspector,
220 | action: uuid,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
221 | context: context,
222 | payload: payload)
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:217:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
215 | /// - action: The action unique identifier.
216 | /// - payload: A json object that will be received by the Property Inspector.
217 | func sendToPropertyInspector(payload: [String: Any]) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
218 | Task {
219 | await PluginCommunication.shared.sendEvent(.sendToPropertyInspector,
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:231:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
229 | Task {
230 | await PluginCommunication.shared.sendEvent(.setFeedback,
231 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
232 | payload: payload)
233 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:228:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
226 |
227 | /// The plugin can send a `setFeedback` event to the Stream Deck application to dynamically change properties of items on the Stream Deck + touch display layout.
228 | func setFeedback(_ payload: [String: Any]) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
229 | Task {
230 | await PluginCommunication.shared.sendEvent(.setFeedback,
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:245:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
243 | Task {
244 | await PluginCommunication.shared.sendEvent(.setFeedbackLayout,
245 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
246 | payload: payload)
247 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:240:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
238 | /// `setFeedbackLayout` can use the `id` of a built-in layout or a relative path to a custom layout JSON file.
239 | /// - Parameter layout: The layout to set.
240 | func setFeedbackLayout(_ layout: LayoutName) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
241 | let payload: [String: Any] = ["layout": layout.id]
242 |
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:260:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
258 | Task {
259 | await PluginCommunication.shared.sendEvent(.setTriggerDescription,
260 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
261 | payload: triggerDescription)
262 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:257:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
255 | /// To reset the descriptions to the default values defined within the manifest, an empty payload can be sent as part of the event.
256 | /// - Parameter triggerDescription: The new `TriggerDescription` or `nil` to reset.
257 | func setTriggerDescription(_ triggerDescription: TriggerDescription?) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
258 | Task {
259 | await PluginCommunication.shared.sendEvent(.setTriggerDescription,
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:27:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
25 | Task {
26 | await PluginCommunication.shared.sendEvent(.setSettings,
27 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
28 | payload: settings)
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:24:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
22 | /// - settings: A json object which is persistently saved for the action's instance.
23 | @available(*, deprecated, message: "Use the Settings API.")
24 | func setSettings(to settings: [String: Any]) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
25 | Task {
26 | await PluginCommunication.shared.sendEvent(.setSettings,
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:38:37: warning: capture of non-sendable type 'Self.Settings.Type' in an isolated closure; this is an error in the Swift 6 language mode
36 | func setSettings(to settings: Settings) {
37 | Task {
38 | await PluginCommunication.shared.sendEvent(.setSettings,
| `- warning: capture of non-sendable type 'Self.Settings.Type' in an isolated closure; this is an error in the Swift 6 language mode
39 | context: context,
40 | payload: settings)
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:39:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
37 | Task {
38 | await PluginCommunication.shared.sendEvent(.setSettings,
39 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
40 | payload: settings)
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:36:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
34 | /// - context: An opaque value identifying the instance's action or Property Inspector.
35 | /// - settings: A json object which is persistently saved for the action's instance.
36 | func setSettings(to settings: Settings) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
37 | Task {
38 | await PluginCommunication.shared.sendEvent(.setSettings,
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:49:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
47 | Task {
48 | await PluginCommunication.shared.sendEvent(.getSettings,
49 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
50 | payload: nil)
51 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:46:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
44 | /// Request the persistent data for the action's instance.
45 | /// - context: An opaque value identifying the instance's action or Property Inspector.
46 | func getSettings() {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
47 | Task {
48 | await PluginCommunication.shared.sendEvent(.getSettings,
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:100:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
98 |
99 | await PluginCommunication.shared.sendEvent(.setTitle,
100 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
101 | payload: payload)
102 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:91:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
89 | /// - target: Specify if you want to display the title on hardware, software, or both.
90 | /// - state: A 0-based integer value representing the state of an action with multiple states. This is an optional parameter. If not specified, the title is set to all states.
91 | func setTitle(to title: String?, target: Target? = nil, state: Int? = nil) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
92 | Task {
93 | var payload: [String: Any] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:124:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
122 |
123 | await PluginCommunication.shared.sendEvent(.setImage,
124 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
125 | payload: payload)
126 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:114:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
112 | /// - target: Specify if you want to display the title on hardware, software, or both.
113 | /// - state: A 0-based integer value representing the state of an action with multiple states. This is an optional parameter. If not specified, the image is set to all states.
114 | func setImage(to image: NSImage?, target: Target? = nil, state: Int? = nil) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
115 | Task {
116 | var payload: [String: Any] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:177:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
175 |
176 | await PluginCommunication.shared.sendEvent(.setImage,
177 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
178 | payload: payload)
179 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:164:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
162 | /// - target: Specify if you want to display the title on hardware, software, or both.
163 | /// - state: A 0-based integer value representing the state of an action with multiple states. This is an optional parameter. If not specified, the image is set to all states.
164 | func setImage(toSVG svg: String?, target: Target? = nil, state: Int? = nil) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
165 | Task {
166 | var payload: [String: Any] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:186:68: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
184 | func showAlert() {
185 | Task {
186 | await PluginCommunication.shared.sendEvent(.showAlert, context: context, payload: nil)
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
187 | }
188 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:184:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
182 | /// Temporarily show an alert icon on the image displayed by an instance of an action.
183 | /// - Parameter context: An opaque value identifying the instance's action or Property Inspector.
184 | func showAlert() {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
185 | Task {
186 | await PluginCommunication.shared.sendEvent(.showAlert, context: context, payload: nil)
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:194:65: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
192 | func showOk() {
193 | Task {
194 | await PluginCommunication.shared.sendEvent(.showOK, context: context, payload: nil)
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
195 | }
196 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:192:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
190 | /// Temporarily show an OK checkmark icon on the image displayed by an instance of an action.
191 | /// - Parameter context: An opaque value identifying the instance's action or Property Inspector.
192 | func showOk() {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
193 | Task {
194 | await PluginCommunication.shared.sendEvent(.showOK, context: context, payload: nil)
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:207:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
205 | Task {
206 | await PluginCommunication.shared.sendEvent(.setState,
207 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
208 | payload: payload)
209 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:202:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
200 | /// - context: An opaque value identifying the instance's action or Property Inspector.
201 | /// - state: A 0-based integer value representing the state of an action with multiple states.
202 | func setState(to state: Int) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
203 | let payload: [String: Any] = ["state": state]
204 |
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:220:25: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
218 | Task {
219 | await PluginCommunication.shared.sendEvent(.sendToPropertyInspector,
220 | action: uuid,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
221 | context: context,
222 | payload: payload)
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:217:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
215 | /// - action: The action unique identifier.
216 | /// - payload: A json object that will be received by the Property Inspector.
217 | func sendToPropertyInspector(payload: [String: Any]) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
218 | Task {
219 | await PluginCommunication.shared.sendEvent(.sendToPropertyInspector,
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:231:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
229 | Task {
230 | await PluginCommunication.shared.sendEvent(.setFeedback,
231 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
232 | payload: payload)
233 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:228:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
226 |
227 | /// The plugin can send a `setFeedback` event to the Stream Deck application to dynamically change properties of items on the Stream Deck + touch display layout.
228 | func setFeedback(_ payload: [String: Any]) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
229 | Task {
230 | await PluginCommunication.shared.sendEvent(.setFeedback,
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:245:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
243 | Task {
244 | await PluginCommunication.shared.sendEvent(.setFeedbackLayout,
245 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
246 | payload: payload)
247 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:240:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
238 | /// `setFeedbackLayout` can use the `id` of a built-in layout or a relative path to a custom layout JSON file.
239 | /// - Parameter layout: The layout to set.
240 | func setFeedbackLayout(_ layout: LayoutName) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
241 | let payload: [String: Any] = ["layout": layout.id]
242 |
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:260:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
258 | Task {
259 | await PluginCommunication.shared.sendEvent(.setTriggerDescription,
260 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
261 | payload: triggerDescription)
262 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:257:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
255 | /// To reset the descriptions to the default values defined within the manifest, an empty payload can be sent as part of the event.
256 | /// - Parameter triggerDescription: The new `TriggerDescription` or `nil` to reset.
257 | func setTriggerDescription(_ triggerDescription: TriggerDescription?) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
258 | Task {
259 | await PluginCommunication.shared.sendEvent(.setTriggerDescription,
[415/424] Compiling StreamDeck SettingsMacros.swift
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:27:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
25 | Task {
26 | await PluginCommunication.shared.sendEvent(.setSettings,
27 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
28 | payload: settings)
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:24:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
22 | /// - settings: A json object which is persistently saved for the action's instance.
23 | @available(*, deprecated, message: "Use the Settings API.")
24 | func setSettings(to settings: [String: Any]) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
25 | Task {
26 | await PluginCommunication.shared.sendEvent(.setSettings,
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:38:37: warning: capture of non-sendable type 'Self.Settings.Type' in an isolated closure; this is an error in the Swift 6 language mode
36 | func setSettings(to settings: Settings) {
37 | Task {
38 | await PluginCommunication.shared.sendEvent(.setSettings,
| `- warning: capture of non-sendable type 'Self.Settings.Type' in an isolated closure; this is an error in the Swift 6 language mode
39 | context: context,
40 | payload: settings)
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:39:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
37 | Task {
38 | await PluginCommunication.shared.sendEvent(.setSettings,
39 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
40 | payload: settings)
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:36:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
34 | /// - context: An opaque value identifying the instance's action or Property Inspector.
35 | /// - settings: A json object which is persistently saved for the action's instance.
36 | func setSettings(to settings: Settings) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
37 | Task {
38 | await PluginCommunication.shared.sendEvent(.setSettings,
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:49:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
47 | Task {
48 | await PluginCommunication.shared.sendEvent(.getSettings,
49 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
50 | payload: nil)
51 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:46:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
44 | /// Request the persistent data for the action's instance.
45 | /// - context: An opaque value identifying the instance's action or Property Inspector.
46 | func getSettings() {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
47 | Task {
48 | await PluginCommunication.shared.sendEvent(.getSettings,
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:100:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
98 |
99 | await PluginCommunication.shared.sendEvent(.setTitle,
100 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
101 | payload: payload)
102 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:91:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
89 | /// - target: Specify if you want to display the title on hardware, software, or both.
90 | /// - state: A 0-based integer value representing the state of an action with multiple states. This is an optional parameter. If not specified, the title is set to all states.
91 | func setTitle(to title: String?, target: Target? = nil, state: Int? = nil) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
92 | Task {
93 | var payload: [String: Any] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:124:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
122 |
123 | await PluginCommunication.shared.sendEvent(.setImage,
124 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
125 | payload: payload)
126 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:114:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
112 | /// - target: Specify if you want to display the title on hardware, software, or both.
113 | /// - state: A 0-based integer value representing the state of an action with multiple states. This is an optional parameter. If not specified, the image is set to all states.
114 | func setImage(to image: NSImage?, target: Target? = nil, state: Int? = nil) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
115 | Task {
116 | var payload: [String: Any] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:177:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
175 |
176 | await PluginCommunication.shared.sendEvent(.setImage,
177 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
178 | payload: payload)
179 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:164:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
162 | /// - target: Specify if you want to display the title on hardware, software, or both.
163 | /// - state: A 0-based integer value representing the state of an action with multiple states. This is an optional parameter. If not specified, the image is set to all states.
164 | func setImage(toSVG svg: String?, target: Target? = nil, state: Int? = nil) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
165 | Task {
166 | var payload: [String: Any] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:186:68: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
184 | func showAlert() {
185 | Task {
186 | await PluginCommunication.shared.sendEvent(.showAlert, context: context, payload: nil)
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
187 | }
188 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:184:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
182 | /// Temporarily show an alert icon on the image displayed by an instance of an action.
183 | /// - Parameter context: An opaque value identifying the instance's action or Property Inspector.
184 | func showAlert() {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
185 | Task {
186 | await PluginCommunication.shared.sendEvent(.showAlert, context: context, payload: nil)
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:194:65: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
192 | func showOk() {
193 | Task {
194 | await PluginCommunication.shared.sendEvent(.showOK, context: context, payload: nil)
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
195 | }
196 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:192:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
190 | /// Temporarily show an OK checkmark icon on the image displayed by an instance of an action.
191 | /// - Parameter context: An opaque value identifying the instance's action or Property Inspector.
192 | func showOk() {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
193 | Task {
194 | await PluginCommunication.shared.sendEvent(.showOK, context: context, payload: nil)
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:207:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
205 | Task {
206 | await PluginCommunication.shared.sendEvent(.setState,
207 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
208 | payload: payload)
209 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:202:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
200 | /// - context: An opaque value identifying the instance's action or Property Inspector.
201 | /// - state: A 0-based integer value representing the state of an action with multiple states.
202 | func setState(to state: Int) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
203 | let payload: [String: Any] = ["state": state]
204 |
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:220:25: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
218 | Task {
219 | await PluginCommunication.shared.sendEvent(.sendToPropertyInspector,
220 | action: uuid,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
221 | context: context,
222 | payload: payload)
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:217:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
215 | /// - action: The action unique identifier.
216 | /// - payload: A json object that will be received by the Property Inspector.
217 | func sendToPropertyInspector(payload: [String: Any]) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
218 | Task {
219 | await PluginCommunication.shared.sendEvent(.sendToPropertyInspector,
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:231:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
229 | Task {
230 | await PluginCommunication.shared.sendEvent(.setFeedback,
231 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
232 | payload: payload)
233 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:228:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
226 |
227 | /// The plugin can send a `setFeedback` event to the Stream Deck application to dynamically change properties of items on the Stream Deck + touch display layout.
228 | func setFeedback(_ payload: [String: Any]) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
229 | Task {
230 | await PluginCommunication.shared.sendEvent(.setFeedback,
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:245:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
243 | Task {
244 | await PluginCommunication.shared.sendEvent(.setFeedbackLayout,
245 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
246 | payload: payload)
247 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:240:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
238 | /// `setFeedbackLayout` can use the `id` of a built-in layout or a relative path to a custom layout JSON file.
239 | /// - Parameter layout: The layout to set.
240 | func setFeedbackLayout(_ layout: LayoutName) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
241 | let payload: [String: Any] = ["layout": layout.id]
242 |
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:260:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
258 | Task {
259 | await PluginCommunication.shared.sendEvent(.setTriggerDescription,
260 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
261 | payload: triggerDescription)
262 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:257:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
255 | /// To reset the descriptions to the default values defined within the manifest, an empty payload can be sent as part of the event.
256 | /// - Parameter triggerDescription: The new `TriggerDescription` or `nil` to reset.
257 | func setTriggerDescription(_ triggerDescription: TriggerDescription?) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
258 | Task {
259 | await PluginCommunication.shared.sendEvent(.setTriggerDescription,
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:27:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
25 | Task {
26 | await PluginCommunication.shared.sendEvent(.setSettings,
27 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
28 | payload: settings)
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:24:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
22 | /// - settings: A json object which is persistently saved for the action's instance.
23 | @available(*, deprecated, message: "Use the Settings API.")
24 | func setSettings(to settings: [String: Any]) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
25 | Task {
26 | await PluginCommunication.shared.sendEvent(.setSettings,
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:38:37: warning: capture of non-sendable type 'Self.Settings.Type' in an isolated closure; this is an error in the Swift 6 language mode
36 | func setSettings(to settings: Settings) {
37 | Task {
38 | await PluginCommunication.shared.sendEvent(.setSettings,
| `- warning: capture of non-sendable type 'Self.Settings.Type' in an isolated closure; this is an error in the Swift 6 language mode
39 | context: context,
40 | payload: settings)
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:39:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
37 | Task {
38 | await PluginCommunication.shared.sendEvent(.setSettings,
39 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
40 | payload: settings)
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:36:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
34 | /// - context: An opaque value identifying the instance's action or Property Inspector.
35 | /// - settings: A json object which is persistently saved for the action's instance.
36 | func setSettings(to settings: Settings) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
37 | Task {
38 | await PluginCommunication.shared.sendEvent(.setSettings,
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:49:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
47 | Task {
48 | await PluginCommunication.shared.sendEvent(.getSettings,
49 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
50 | payload: nil)
51 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:46:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
44 | /// Request the persistent data for the action's instance.
45 | /// - context: An opaque value identifying the instance's action or Property Inspector.
46 | func getSettings() {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
47 | Task {
48 | await PluginCommunication.shared.sendEvent(.getSettings,
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:100:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
98 |
99 | await PluginCommunication.shared.sendEvent(.setTitle,
100 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
101 | payload: payload)
102 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:91:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
89 | /// - target: Specify if you want to display the title on hardware, software, or both.
90 | /// - state: A 0-based integer value representing the state of an action with multiple states. This is an optional parameter. If not specified, the title is set to all states.
91 | func setTitle(to title: String?, target: Target? = nil, state: Int? = nil) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
92 | Task {
93 | var payload: [String: Any] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:124:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
122 |
123 | await PluginCommunication.shared.sendEvent(.setImage,
124 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
125 | payload: payload)
126 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:114:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
112 | /// - target: Specify if you want to display the title on hardware, software, or both.
113 | /// - state: A 0-based integer value representing the state of an action with multiple states. This is an optional parameter. If not specified, the image is set to all states.
114 | func setImage(to image: NSImage?, target: Target? = nil, state: Int? = nil) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
115 | Task {
116 | var payload: [String: Any] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:177:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
175 |
176 | await PluginCommunication.shared.sendEvent(.setImage,
177 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
178 | payload: payload)
179 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:164:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
162 | /// - target: Specify if you want to display the title on hardware, software, or both.
163 | /// - state: A 0-based integer value representing the state of an action with multiple states. This is an optional parameter. If not specified, the image is set to all states.
164 | func setImage(toSVG svg: String?, target: Target? = nil, state: Int? = nil) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
165 | Task {
166 | var payload: [String: Any] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:186:68: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
184 | func showAlert() {
185 | Task {
186 | await PluginCommunication.shared.sendEvent(.showAlert, context: context, payload: nil)
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
187 | }
188 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:184:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
182 | /// Temporarily show an alert icon on the image displayed by an instance of an action.
183 | /// - Parameter context: An opaque value identifying the instance's action or Property Inspector.
184 | func showAlert() {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
185 | Task {
186 | await PluginCommunication.shared.sendEvent(.showAlert, context: context, payload: nil)
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:194:65: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
192 | func showOk() {
193 | Task {
194 | await PluginCommunication.shared.sendEvent(.showOK, context: context, payload: nil)
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
195 | }
196 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:192:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
190 | /// Temporarily show an OK checkmark icon on the image displayed by an instance of an action.
191 | /// - Parameter context: An opaque value identifying the instance's action or Property Inspector.
192 | func showOk() {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
193 | Task {
194 | await PluginCommunication.shared.sendEvent(.showOK, context: context, payload: nil)
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:207:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
205 | Task {
206 | await PluginCommunication.shared.sendEvent(.setState,
207 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
208 | payload: payload)
209 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:202:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
200 | /// - context: An opaque value identifying the instance's action or Property Inspector.
201 | /// - state: A 0-based integer value representing the state of an action with multiple states.
202 | func setState(to state: Int) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
203 | let payload: [String: Any] = ["state": state]
204 |
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:220:25: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
218 | Task {
219 | await PluginCommunication.shared.sendEvent(.sendToPropertyInspector,
220 | action: uuid,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
221 | context: context,
222 | payload: payload)
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:217:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
215 | /// - action: The action unique identifier.
216 | /// - payload: A json object that will be received by the Property Inspector.
217 | func sendToPropertyInspector(payload: [String: Any]) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
218 | Task {
219 | await PluginCommunication.shared.sendEvent(.sendToPropertyInspector,
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:231:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
229 | Task {
230 | await PluginCommunication.shared.sendEvent(.setFeedback,
231 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
232 | payload: payload)
233 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:228:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
226 |
227 | /// The plugin can send a `setFeedback` event to the Stream Deck application to dynamically change properties of items on the Stream Deck + touch display layout.
228 | func setFeedback(_ payload: [String: Any]) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
229 | Task {
230 | await PluginCommunication.shared.sendEvent(.setFeedback,
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:245:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
243 | Task {
244 | await PluginCommunication.shared.sendEvent(.setFeedbackLayout,
245 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
246 | payload: payload)
247 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:240:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
238 | /// `setFeedbackLayout` can use the `id` of a built-in layout or a relative path to a custom layout JSON file.
239 | /// - Parameter layout: The layout to set.
240 | func setFeedbackLayout(_ layout: LayoutName) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
241 | let payload: [String: Any] = ["layout": layout.id]
242 |
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:260:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
258 | Task {
259 | await PluginCommunication.shared.sendEvent(.setTriggerDescription,
260 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
261 | payload: triggerDescription)
262 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:257:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
255 | /// To reset the descriptions to the default values defined within the manifest, an empty payload can be sent as part of the event.
256 | /// - Parameter triggerDescription: The new `TriggerDescription` or `nil` to reset.
257 | func setTriggerDescription(_ triggerDescription: TriggerDescription?) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
258 | Task {
259 | await PluginCommunication.shared.sendEvent(.setTriggerDescription,
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/StreamDeckPlugin/SDPlugin+Sent.swift:38:37: warning: capture of non-sendable type 'P.Type' in an isolated closure; this is an error in the Swift 6 language mode
36 | func setSettings<P: Encodable>(in context: String, to settings: P) {
37 | Task {
38 | await PluginCommunication.shared.sendEvent(.setSettings,
| `- warning: capture of non-sendable type 'P.Type' in an isolated closure; this is an error in the Swift 6 language mode
39 | context: context,
40 | payload: settings)
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/StreamDeckPlugin/SDPlugin+Sent.swift:36:56: warning: capture of non-sendable type 'P.Type' in an isolated closure; this is an error in the Swift 6 language mode
34 | /// - context: An opaque value identifying the instance's action or Property Inspector.
35 | /// - settings: A json object which is persistently saved for the action's instance.
36 | func setSettings<P: Encodable>(in context: String, to settings: P) {
| `- warning: capture of non-sendable type 'P.Type' in an isolated closure; this is an error in the Swift 6 language mode
37 | Task {
38 | await PluginCommunication.shared.sendEvent(.setSettings,
[418/424] Compiling StreamDeck Action+Received.swift
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:27:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
25 | Task {
26 | await PluginCommunication.shared.sendEvent(.setSettings,
27 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
28 | payload: settings)
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:24:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
22 | /// - settings: A json object which is persistently saved for the action's instance.
23 | @available(*, deprecated, message: "Use the Settings API.")
24 | func setSettings(to settings: [String: Any]) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
25 | Task {
26 | await PluginCommunication.shared.sendEvent(.setSettings,
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:38:37: warning: capture of non-sendable type 'Self.Settings.Type' in an isolated closure; this is an error in the Swift 6 language mode
36 | func setSettings(to settings: Settings) {
37 | Task {
38 | await PluginCommunication.shared.sendEvent(.setSettings,
| `- warning: capture of non-sendable type 'Self.Settings.Type' in an isolated closure; this is an error in the Swift 6 language mode
39 | context: context,
40 | payload: settings)
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:39:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
37 | Task {
38 | await PluginCommunication.shared.sendEvent(.setSettings,
39 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
40 | payload: settings)
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:36:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
34 | /// - context: An opaque value identifying the instance's action or Property Inspector.
35 | /// - settings: A json object which is persistently saved for the action's instance.
36 | func setSettings(to settings: Settings) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
37 | Task {
38 | await PluginCommunication.shared.sendEvent(.setSettings,
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:49:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
47 | Task {
48 | await PluginCommunication.shared.sendEvent(.getSettings,
49 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
50 | payload: nil)
51 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:46:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
44 | /// Request the persistent data for the action's instance.
45 | /// - context: An opaque value identifying the instance's action or Property Inspector.
46 | func getSettings() {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
47 | Task {
48 | await PluginCommunication.shared.sendEvent(.getSettings,
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:100:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
98 |
99 | await PluginCommunication.shared.sendEvent(.setTitle,
100 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
101 | payload: payload)
102 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:91:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
89 | /// - target: Specify if you want to display the title on hardware, software, or both.
90 | /// - state: A 0-based integer value representing the state of an action with multiple states. This is an optional parameter. If not specified, the title is set to all states.
91 | func setTitle(to title: String?, target: Target? = nil, state: Int? = nil) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
92 | Task {
93 | var payload: [String: Any] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:124:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
122 |
123 | await PluginCommunication.shared.sendEvent(.setImage,
124 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
125 | payload: payload)
126 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:114:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
112 | /// - target: Specify if you want to display the title on hardware, software, or both.
113 | /// - state: A 0-based integer value representing the state of an action with multiple states. This is an optional parameter. If not specified, the image is set to all states.
114 | func setImage(to image: NSImage?, target: Target? = nil, state: Int? = nil) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
115 | Task {
116 | var payload: [String: Any] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:177:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
175 |
176 | await PluginCommunication.shared.sendEvent(.setImage,
177 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
178 | payload: payload)
179 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:164:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
162 | /// - target: Specify if you want to display the title on hardware, software, or both.
163 | /// - state: A 0-based integer value representing the state of an action with multiple states. This is an optional parameter. If not specified, the image is set to all states.
164 | func setImage(toSVG svg: String?, target: Target? = nil, state: Int? = nil) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
165 | Task {
166 | var payload: [String: Any] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:186:68: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
184 | func showAlert() {
185 | Task {
186 | await PluginCommunication.shared.sendEvent(.showAlert, context: context, payload: nil)
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
187 | }
188 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:184:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
182 | /// Temporarily show an alert icon on the image displayed by an instance of an action.
183 | /// - Parameter context: An opaque value identifying the instance's action or Property Inspector.
184 | func showAlert() {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
185 | Task {
186 | await PluginCommunication.shared.sendEvent(.showAlert, context: context, payload: nil)
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:194:65: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
192 | func showOk() {
193 | Task {
194 | await PluginCommunication.shared.sendEvent(.showOK, context: context, payload: nil)
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
195 | }
196 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:192:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
190 | /// Temporarily show an OK checkmark icon on the image displayed by an instance of an action.
191 | /// - Parameter context: An opaque value identifying the instance's action or Property Inspector.
192 | func showOk() {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
193 | Task {
194 | await PluginCommunication.shared.sendEvent(.showOK, context: context, payload: nil)
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:207:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
205 | Task {
206 | await PluginCommunication.shared.sendEvent(.setState,
207 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
208 | payload: payload)
209 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:202:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
200 | /// - context: An opaque value identifying the instance's action or Property Inspector.
201 | /// - state: A 0-based integer value representing the state of an action with multiple states.
202 | func setState(to state: Int) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
203 | let payload: [String: Any] = ["state": state]
204 |
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:220:25: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
218 | Task {
219 | await PluginCommunication.shared.sendEvent(.sendToPropertyInspector,
220 | action: uuid,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
221 | context: context,
222 | payload: payload)
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:217:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
215 | /// - action: The action unique identifier.
216 | /// - payload: A json object that will be received by the Property Inspector.
217 | func sendToPropertyInspector(payload: [String: Any]) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
218 | Task {
219 | await PluginCommunication.shared.sendEvent(.sendToPropertyInspector,
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:231:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
229 | Task {
230 | await PluginCommunication.shared.sendEvent(.setFeedback,
231 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
232 | payload: payload)
233 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:228:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
226 |
227 | /// The plugin can send a `setFeedback` event to the Stream Deck application to dynamically change properties of items on the Stream Deck + touch display layout.
228 | func setFeedback(_ payload: [String: Any]) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
229 | Task {
230 | await PluginCommunication.shared.sendEvent(.setFeedback,
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:245:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
243 | Task {
244 | await PluginCommunication.shared.sendEvent(.setFeedbackLayout,
245 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
246 | payload: payload)
247 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:240:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
238 | /// `setFeedbackLayout` can use the `id` of a built-in layout or a relative path to a custom layout JSON file.
239 | /// - Parameter layout: The layout to set.
240 | func setFeedbackLayout(_ layout: LayoutName) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
241 | let payload: [String: Any] = ["layout": layout.id]
242 |
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:260:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
258 | Task {
259 | await PluginCommunication.shared.sendEvent(.setTriggerDescription,
260 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
261 | payload: triggerDescription)
262 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:257:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
255 | /// To reset the descriptions to the default values defined within the manifest, an empty payload can be sent as part of the event.
256 | /// - Parameter triggerDescription: The new `TriggerDescription` or `nil` to reset.
257 | func setTriggerDescription(_ triggerDescription: TriggerDescription?) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
258 | Task {
259 | await PluginCommunication.shared.sendEvent(.setTriggerDescription,
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/StreamDeckPlugin/SDPlugin+Sent.swift:38:37: warning: capture of non-sendable type 'P.Type' in an isolated closure; this is an error in the Swift 6 language mode
36 | func setSettings<P: Encodable>(in context: String, to settings: P) {
37 | Task {
38 | await PluginCommunication.shared.sendEvent(.setSettings,
| `- warning: capture of non-sendable type 'P.Type' in an isolated closure; this is an error in the Swift 6 language mode
39 | context: context,
40 | payload: settings)
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/StreamDeckPlugin/SDPlugin+Sent.swift:36:56: warning: capture of non-sendable type 'P.Type' in an isolated closure; this is an error in the Swift 6 language mode
34 | /// - context: An opaque value identifying the instance's action or Property Inspector.
35 | /// - settings: A json object which is persistently saved for the action's instance.
36 | func setSettings<P: Encodable>(in context: String, to settings: P) {
| `- warning: capture of non-sendable type 'P.Type' in an isolated closure; this is an error in the Swift 6 language mode
37 | Task {
38 | await PluginCommunication.shared.sendEvent(.setSettings,
[420/424] Compiling StreamDeck Action+Sent.swift
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/StreamDeckPlugin/SDPlugin+Sent.swift:38:37: warning: capture of non-sendable type 'P.Type' in an isolated closure; this is an error in the Swift 6 language mode
36 | func setSettings<P: Encodable>(in context: String, to settings: P) {
37 | Task {
38 | await PluginCommunication.shared.sendEvent(.setSettings,
| `- warning: capture of non-sendable type 'P.Type' in an isolated closure; this is an error in the Swift 6 language mode
39 | context: context,
40 | payload: settings)
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/StreamDeckPlugin/SDPlugin+Sent.swift:36:56: warning: capture of non-sendable type 'P.Type' in an isolated closure; this is an error in the Swift 6 language mode
34 | /// - context: An opaque value identifying the instance's action or Property Inspector.
35 | /// - settings: A json object which is persistently saved for the action's instance.
36 | func setSettings<P: Encodable>(in context: String, to settings: P) {
| `- warning: capture of non-sendable type 'P.Type' in an isolated closure; this is an error in the Swift 6 language mode
37 | Task {
38 | await PluginCommunication.shared.sendEvent(.setSettings,
[421/424] Compiling StreamDeck Action+Support.swift
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/StreamDeckPlugin/SDPlugin+Sent.swift:38:37: warning: capture of non-sendable type 'P.Type' in an isolated closure; this is an error in the Swift 6 language mode
36 | func setSettings<P: Encodable>(in context: String, to settings: P) {
37 | Task {
38 | await PluginCommunication.shared.sendEvent(.setSettings,
| `- warning: capture of non-sendable type 'P.Type' in an isolated closure; this is an error in the Swift 6 language mode
39 | context: context,
40 | payload: settings)
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/StreamDeckPlugin/SDPlugin+Sent.swift:36:56: warning: capture of non-sendable type 'P.Type' in an isolated closure; this is an error in the Swift 6 language mode
34 | /// - context: An opaque value identifying the instance's action or Property Inspector.
35 | /// - settings: A json object which is persistently saved for the action's instance.
36 | func setSettings<P: Encodable>(in context: String, to settings: P) {
| `- warning: capture of non-sendable type 'P.Type' in an isolated closure; this is an error in the Swift 6 language mode
37 | Task {
38 | await PluginCommunication.shared.sendEvent(.setSettings,
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:27:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
25 | Task {
26 | await PluginCommunication.shared.sendEvent(.setSettings,
27 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
28 | payload: settings)
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:24:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
22 | /// - settings: A json object which is persistently saved for the action's instance.
23 | @available(*, deprecated, message: "Use the Settings API.")
24 | func setSettings(to settings: [String: Any]) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
25 | Task {
26 | await PluginCommunication.shared.sendEvent(.setSettings,
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:38:37: warning: capture of non-sendable type 'Self.Settings.Type' in an isolated closure; this is an error in the Swift 6 language mode
36 | func setSettings(to settings: Settings) {
37 | Task {
38 | await PluginCommunication.shared.sendEvent(.setSettings,
| `- warning: capture of non-sendable type 'Self.Settings.Type' in an isolated closure; this is an error in the Swift 6 language mode
39 | context: context,
40 | payload: settings)
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:39:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
37 | Task {
38 | await PluginCommunication.shared.sendEvent(.setSettings,
39 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
40 | payload: settings)
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:36:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
34 | /// - context: An opaque value identifying the instance's action or Property Inspector.
35 | /// - settings: A json object which is persistently saved for the action's instance.
36 | func setSettings(to settings: Settings) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
37 | Task {
38 | await PluginCommunication.shared.sendEvent(.setSettings,
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:49:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
47 | Task {
48 | await PluginCommunication.shared.sendEvent(.getSettings,
49 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
50 | payload: nil)
51 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:46:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
44 | /// Request the persistent data for the action's instance.
45 | /// - context: An opaque value identifying the instance's action or Property Inspector.
46 | func getSettings() {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
47 | Task {
48 | await PluginCommunication.shared.sendEvent(.getSettings,
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:100:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
98 |
99 | await PluginCommunication.shared.sendEvent(.setTitle,
100 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
101 | payload: payload)
102 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:91:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
89 | /// - target: Specify if you want to display the title on hardware, software, or both.
90 | /// - state: A 0-based integer value representing the state of an action with multiple states. This is an optional parameter. If not specified, the title is set to all states.
91 | func setTitle(to title: String?, target: Target? = nil, state: Int? = nil) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
92 | Task {
93 | var payload: [String: Any] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:124:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
122 |
123 | await PluginCommunication.shared.sendEvent(.setImage,
124 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
125 | payload: payload)
126 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:114:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
112 | /// - target: Specify if you want to display the title on hardware, software, or both.
113 | /// - state: A 0-based integer value representing the state of an action with multiple states. This is an optional parameter. If not specified, the image is set to all states.
114 | func setImage(to image: NSImage?, target: Target? = nil, state: Int? = nil) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
115 | Task {
116 | var payload: [String: Any] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:177:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
175 |
176 | await PluginCommunication.shared.sendEvent(.setImage,
177 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
178 | payload: payload)
179 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:164:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
162 | /// - target: Specify if you want to display the title on hardware, software, or both.
163 | /// - state: A 0-based integer value representing the state of an action with multiple states. This is an optional parameter. If not specified, the image is set to all states.
164 | func setImage(toSVG svg: String?, target: Target? = nil, state: Int? = nil) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
165 | Task {
166 | var payload: [String: Any] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:186:68: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
184 | func showAlert() {
185 | Task {
186 | await PluginCommunication.shared.sendEvent(.showAlert, context: context, payload: nil)
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
187 | }
188 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:184:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
182 | /// Temporarily show an alert icon on the image displayed by an instance of an action.
183 | /// - Parameter context: An opaque value identifying the instance's action or Property Inspector.
184 | func showAlert() {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
185 | Task {
186 | await PluginCommunication.shared.sendEvent(.showAlert, context: context, payload: nil)
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:194:65: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
192 | func showOk() {
193 | Task {
194 | await PluginCommunication.shared.sendEvent(.showOK, context: context, payload: nil)
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
195 | }
196 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:192:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
190 | /// Temporarily show an OK checkmark icon on the image displayed by an instance of an action.
191 | /// - Parameter context: An opaque value identifying the instance's action or Property Inspector.
192 | func showOk() {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
193 | Task {
194 | await PluginCommunication.shared.sendEvent(.showOK, context: context, payload: nil)
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:207:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
205 | Task {
206 | await PluginCommunication.shared.sendEvent(.setState,
207 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
208 | payload: payload)
209 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:202:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
200 | /// - context: An opaque value identifying the instance's action or Property Inspector.
201 | /// - state: A 0-based integer value representing the state of an action with multiple states.
202 | func setState(to state: Int) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
203 | let payload: [String: Any] = ["state": state]
204 |
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:220:25: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
218 | Task {
219 | await PluginCommunication.shared.sendEvent(.sendToPropertyInspector,
220 | action: uuid,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
221 | context: context,
222 | payload: payload)
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:217:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
215 | /// - action: The action unique identifier.
216 | /// - payload: A json object that will be received by the Property Inspector.
217 | func sendToPropertyInspector(payload: [String: Any]) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
218 | Task {
219 | await PluginCommunication.shared.sendEvent(.sendToPropertyInspector,
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:231:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
229 | Task {
230 | await PluginCommunication.shared.sendEvent(.setFeedback,
231 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
232 | payload: payload)
233 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:228:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
226 |
227 | /// The plugin can send a `setFeedback` event to the Stream Deck application to dynamically change properties of items on the Stream Deck + touch display layout.
228 | func setFeedback(_ payload: [String: Any]) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
229 | Task {
230 | await PluginCommunication.shared.sendEvent(.setFeedback,
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:245:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
243 | Task {
244 | await PluginCommunication.shared.sendEvent(.setFeedbackLayout,
245 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
246 | payload: payload)
247 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:240:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
238 | /// `setFeedbackLayout` can use the `id` of a built-in layout or a relative path to a custom layout JSON file.
239 | /// - Parameter layout: The layout to set.
240 | func setFeedbackLayout(_ layout: LayoutName) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
241 | let payload: [String: Any] = ["layout": layout.id]
242 |
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:260:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
258 | Task {
259 | await PluginCommunication.shared.sendEvent(.setTriggerDescription,
260 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
261 | payload: triggerDescription)
262 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:257:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
255 | /// To reset the descriptions to the default values defined within the manifest, an empty payload can be sent as part of the event.
256 | /// - Parameter triggerDescription: The new `TriggerDescription` or `nil` to reset.
257 | func setTriggerDescription(_ triggerDescription: TriggerDescription?) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
258 | Task {
259 | await PluginCommunication.shared.sendEvent(.setTriggerDescription,
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:27:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
25 | Task {
26 | await PluginCommunication.shared.sendEvent(.setSettings,
27 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
28 | payload: settings)
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:24:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
22 | /// - settings: A json object which is persistently saved for the action's instance.
23 | @available(*, deprecated, message: "Use the Settings API.")
24 | func setSettings(to settings: [String: Any]) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
25 | Task {
26 | await PluginCommunication.shared.sendEvent(.setSettings,
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:38:37: warning: capture of non-sendable type 'Self.Settings.Type' in an isolated closure; this is an error in the Swift 6 language mode
36 | func setSettings(to settings: Settings) {
37 | Task {
38 | await PluginCommunication.shared.sendEvent(.setSettings,
| `- warning: capture of non-sendable type 'Self.Settings.Type' in an isolated closure; this is an error in the Swift 6 language mode
39 | context: context,
40 | payload: settings)
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:39:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
37 | Task {
38 | await PluginCommunication.shared.sendEvent(.setSettings,
39 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
40 | payload: settings)
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:36:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
34 | /// - context: An opaque value identifying the instance's action or Property Inspector.
35 | /// - settings: A json object which is persistently saved for the action's instance.
36 | func setSettings(to settings: Settings) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
37 | Task {
38 | await PluginCommunication.shared.sendEvent(.setSettings,
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:49:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
47 | Task {
48 | await PluginCommunication.shared.sendEvent(.getSettings,
49 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
50 | payload: nil)
51 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:46:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
44 | /// Request the persistent data for the action's instance.
45 | /// - context: An opaque value identifying the instance's action or Property Inspector.
46 | func getSettings() {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
47 | Task {
48 | await PluginCommunication.shared.sendEvent(.getSettings,
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:100:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
98 |
99 | await PluginCommunication.shared.sendEvent(.setTitle,
100 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
101 | payload: payload)
102 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:91:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
89 | /// - target: Specify if you want to display the title on hardware, software, or both.
90 | /// - state: A 0-based integer value representing the state of an action with multiple states. This is an optional parameter. If not specified, the title is set to all states.
91 | func setTitle(to title: String?, target: Target? = nil, state: Int? = nil) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
92 | Task {
93 | var payload: [String: Any] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:124:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
122 |
123 | await PluginCommunication.shared.sendEvent(.setImage,
124 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
125 | payload: payload)
126 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:114:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
112 | /// - target: Specify if you want to display the title on hardware, software, or both.
113 | /// - state: A 0-based integer value representing the state of an action with multiple states. This is an optional parameter. If not specified, the image is set to all states.
114 | func setImage(to image: NSImage?, target: Target? = nil, state: Int? = nil) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
115 | Task {
116 | var payload: [String: Any] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:177:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
175 |
176 | await PluginCommunication.shared.sendEvent(.setImage,
177 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
178 | payload: payload)
179 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:164:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
162 | /// - target: Specify if you want to display the title on hardware, software, or both.
163 | /// - state: A 0-based integer value representing the state of an action with multiple states. This is an optional parameter. If not specified, the image is set to all states.
164 | func setImage(toSVG svg: String?, target: Target? = nil, state: Int? = nil) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
165 | Task {
166 | var payload: [String: Any] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:186:68: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
184 | func showAlert() {
185 | Task {
186 | await PluginCommunication.shared.sendEvent(.showAlert, context: context, payload: nil)
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
187 | }
188 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:184:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
182 | /// Temporarily show an alert icon on the image displayed by an instance of an action.
183 | /// - Parameter context: An opaque value identifying the instance's action or Property Inspector.
184 | func showAlert() {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
185 | Task {
186 | await PluginCommunication.shared.sendEvent(.showAlert, context: context, payload: nil)
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:194:65: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
192 | func showOk() {
193 | Task {
194 | await PluginCommunication.shared.sendEvent(.showOK, context: context, payload: nil)
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
195 | }
196 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:192:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
190 | /// Temporarily show an OK checkmark icon on the image displayed by an instance of an action.
191 | /// - Parameter context: An opaque value identifying the instance's action or Property Inspector.
192 | func showOk() {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
193 | Task {
194 | await PluginCommunication.shared.sendEvent(.showOK, context: context, payload: nil)
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:207:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
205 | Task {
206 | await PluginCommunication.shared.sendEvent(.setState,
207 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
208 | payload: payload)
209 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:202:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
200 | /// - context: An opaque value identifying the instance's action or Property Inspector.
201 | /// - state: A 0-based integer value representing the state of an action with multiple states.
202 | func setState(to state: Int) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
203 | let payload: [String: Any] = ["state": state]
204 |
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:220:25: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
218 | Task {
219 | await PluginCommunication.shared.sendEvent(.sendToPropertyInspector,
220 | action: uuid,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
221 | context: context,
222 | payload: payload)
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:217:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
215 | /// - action: The action unique identifier.
216 | /// - payload: A json object that will be received by the Property Inspector.
217 | func sendToPropertyInspector(payload: [String: Any]) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
218 | Task {
219 | await PluginCommunication.shared.sendEvent(.sendToPropertyInspector,
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:231:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
229 | Task {
230 | await PluginCommunication.shared.sendEvent(.setFeedback,
231 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
232 | payload: payload)
233 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:228:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
226 |
227 | /// The plugin can send a `setFeedback` event to the Stream Deck application to dynamically change properties of items on the Stream Deck + touch display layout.
228 | func setFeedback(_ payload: [String: Any]) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
229 | Task {
230 | await PluginCommunication.shared.sendEvent(.setFeedback,
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:245:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
243 | Task {
244 | await PluginCommunication.shared.sendEvent(.setFeedbackLayout,
245 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
246 | payload: payload)
247 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:240:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
238 | /// `setFeedbackLayout` can use the `id` of a built-in layout or a relative path to a custom layout JSON file.
239 | /// - Parameter layout: The layout to set.
240 | func setFeedbackLayout(_ layout: LayoutName) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
241 | let payload: [String: Any] = ["layout": layout.id]
242 |
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:260:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
258 | Task {
259 | await PluginCommunication.shared.sendEvent(.setTriggerDescription,
260 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
261 | payload: triggerDescription)
262 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:257:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
255 | /// To reset the descriptions to the default values defined within the manifest, an empty payload can be sent as part of the event.
256 | /// - Parameter triggerDescription: The new `TriggerDescription` or `nil` to reset.
257 | func setTriggerDescription(_ triggerDescription: TriggerDescription?) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
258 | Task {
259 | await PluginCommunication.shared.sendEvent(.setTriggerDescription,
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:27:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
25 | Task {
26 | await PluginCommunication.shared.sendEvent(.setSettings,
27 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
28 | payload: settings)
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:24:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
22 | /// - settings: A json object which is persistently saved for the action's instance.
23 | @available(*, deprecated, message: "Use the Settings API.")
24 | func setSettings(to settings: [String: Any]) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
25 | Task {
26 | await PluginCommunication.shared.sendEvent(.setSettings,
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:38:37: warning: capture of non-sendable type 'Self.Settings.Type' in an isolated closure; this is an error in the Swift 6 language mode
36 | func setSettings(to settings: Settings) {
37 | Task {
38 | await PluginCommunication.shared.sendEvent(.setSettings,
| `- warning: capture of non-sendable type 'Self.Settings.Type' in an isolated closure; this is an error in the Swift 6 language mode
39 | context: context,
40 | payload: settings)
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:39:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
37 | Task {
38 | await PluginCommunication.shared.sendEvent(.setSettings,
39 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
40 | payload: settings)
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:36:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
34 | /// - context: An opaque value identifying the instance's action or Property Inspector.
35 | /// - settings: A json object which is persistently saved for the action's instance.
36 | func setSettings(to settings: Settings) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
37 | Task {
38 | await PluginCommunication.shared.sendEvent(.setSettings,
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:49:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
47 | Task {
48 | await PluginCommunication.shared.sendEvent(.getSettings,
49 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
50 | payload: nil)
51 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:46:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
44 | /// Request the persistent data for the action's instance.
45 | /// - context: An opaque value identifying the instance's action or Property Inspector.
46 | func getSettings() {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
47 | Task {
48 | await PluginCommunication.shared.sendEvent(.getSettings,
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:100:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
98 |
99 | await PluginCommunication.shared.sendEvent(.setTitle,
100 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
101 | payload: payload)
102 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:91:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
89 | /// - target: Specify if you want to display the title on hardware, software, or both.
90 | /// - state: A 0-based integer value representing the state of an action with multiple states. This is an optional parameter. If not specified, the title is set to all states.
91 | func setTitle(to title: String?, target: Target? = nil, state: Int? = nil) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
92 | Task {
93 | var payload: [String: Any] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:124:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
122 |
123 | await PluginCommunication.shared.sendEvent(.setImage,
124 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
125 | payload: payload)
126 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:114:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
112 | /// - target: Specify if you want to display the title on hardware, software, or both.
113 | /// - state: A 0-based integer value representing the state of an action with multiple states. This is an optional parameter. If not specified, the image is set to all states.
114 | func setImage(to image: NSImage?, target: Target? = nil, state: Int? = nil) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
115 | Task {
116 | var payload: [String: Any] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:177:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
175 |
176 | await PluginCommunication.shared.sendEvent(.setImage,
177 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
178 | payload: payload)
179 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:164:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
162 | /// - target: Specify if you want to display the title on hardware, software, or both.
163 | /// - state: A 0-based integer value representing the state of an action with multiple states. This is an optional parameter. If not specified, the image is set to all states.
164 | func setImage(toSVG svg: String?, target: Target? = nil, state: Int? = nil) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
165 | Task {
166 | var payload: [String: Any] = [:]
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:186:68: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
184 | func showAlert() {
185 | Task {
186 | await PluginCommunication.shared.sendEvent(.showAlert, context: context, payload: nil)
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
187 | }
188 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:184:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
182 | /// Temporarily show an alert icon on the image displayed by an instance of an action.
183 | /// - Parameter context: An opaque value identifying the instance's action or Property Inspector.
184 | func showAlert() {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
185 | Task {
186 | await PluginCommunication.shared.sendEvent(.showAlert, context: context, payload: nil)
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:194:65: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
192 | func showOk() {
193 | Task {
194 | await PluginCommunication.shared.sendEvent(.showOK, context: context, payload: nil)
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
195 | }
196 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:192:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
190 | /// Temporarily show an OK checkmark icon on the image displayed by an instance of an action.
191 | /// - Parameter context: An opaque value identifying the instance's action or Property Inspector.
192 | func showOk() {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
193 | Task {
194 | await PluginCommunication.shared.sendEvent(.showOK, context: context, payload: nil)
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:207:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
205 | Task {
206 | await PluginCommunication.shared.sendEvent(.setState,
207 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
208 | payload: payload)
209 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:202:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
200 | /// - context: An opaque value identifying the instance's action or Property Inspector.
201 | /// - state: A 0-based integer value representing the state of an action with multiple states.
202 | func setState(to state: Int) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
203 | let payload: [String: Any] = ["state": state]
204 |
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:220:25: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
218 | Task {
219 | await PluginCommunication.shared.sendEvent(.sendToPropertyInspector,
220 | action: uuid,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
221 | context: context,
222 | payload: payload)
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:217:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
215 | /// - action: The action unique identifier.
216 | /// - payload: A json object that will be received by the Property Inspector.
217 | func sendToPropertyInspector(payload: [String: Any]) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
218 | Task {
219 | await PluginCommunication.shared.sendEvent(.sendToPropertyInspector,
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:231:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
229 | Task {
230 | await PluginCommunication.shared.sendEvent(.setFeedback,
231 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
232 | payload: payload)
233 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:228:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
226 |
227 | /// The plugin can send a `setFeedback` event to the Stream Deck application to dynamically change properties of items on the Stream Deck + touch display layout.
228 | func setFeedback(_ payload: [String: Any]) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
229 | Task {
230 | await PluginCommunication.shared.sendEvent(.setFeedback,
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:245:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
243 | Task {
244 | await PluginCommunication.shared.sendEvent(.setFeedbackLayout,
245 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
246 | payload: payload)
247 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:240:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
238 | /// `setFeedbackLayout` can use the `id` of a built-in layout or a relative path to a custom layout JSON file.
239 | /// - Parameter layout: The layout to set.
240 | func setFeedbackLayout(_ layout: LayoutName) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
241 | let payload: [String: Any] = ["layout": layout.id]
242 |
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:260:26: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
258 | Task {
259 | await PluginCommunication.shared.sendEvent(.setTriggerDescription,
260 | context: context,
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
261 | payload: triggerDescription)
262 | }
/Users/admin/builder/spi-builder-workspace/Sources/StreamDeck/StreamDeck Plugin/Action/Action+Sent.swift:257:7: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
255 | /// To reset the descriptions to the default values defined within the manifest, an empty payload can be sent as part of the event.
256 | /// - Parameter triggerDescription: The new `TriggerDescription` or `nil` to reset.
257 | func setTriggerDescription(_ triggerDescription: TriggerDescription?) {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
258 | Task {
259 | await PluginCommunication.shared.sendEvent(.setTriggerDescription,
Build complete! (56.61s)
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-docc-plugin
[1/2082] Fetching swift-docc-plugin
[251/17462] Fetching swift-docc-plugin, swift-argument-parser
[17463/88386] Fetching swift-docc-plugin, swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (3.12s)
Fetched https://github.com/apple/swift-docc-plugin from cache (3.12s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (3.12s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (3.60s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.1.1 (2.49s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.4 (0.52s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3414] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.06s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.64s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.4
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 509.1.1
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.1
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Build complete.
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.5.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
},
{
"identity" : "swift-syntax",
"requirement" : {
"range" : [
{
"lower_bound" : "509.0.0",
"upper_bound" : "510.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-syntax.git"
},
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "StreamDeck",
"name" : "StreamDeck",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "StreamDeck",
"targets" : [
"StreamDeck"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "StreamDeckMacros",
"targets" : [
"StreamDeckMacros"
],
"type" : {
"macro" : null
}
}
],
"targets" : [
{
"c99name" : "StreamDeckPluginTests",
"module_type" : "SwiftTarget",
"name" : "StreamDeckPluginTests",
"path" : "Tests/StreamDeckPluginTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/StreamDeckPluginTests/Support/Test Events",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"PluginEventTests.swift",
"PluginManifestTests.swift",
"PluginRegistrationTests.swift",
"StreamDeckPluginTests.swift",
"Support/TestEvents.swift",
"Support/TestPlugin.swift"
],
"target_dependencies" : [
"StreamDeck"
],
"type" : "test"
},
{
"c99name" : "StreamDeckMacrosTests",
"module_type" : "SwiftTarget",
"name" : "StreamDeckMacrosTests",
"path" : "Tests/StreamDeckMacrosTests",
"product_dependencies" : [
"SwiftSyntaxMacrosTestSupport"
],
"sources" : [
"SettingsMacroTests.swift"
],
"target_dependencies" : [
"StreamDeckMacros"
],
"type" : "test"
},
{
"c99name" : "StreamDeckMacros",
"module_type" : "SwiftTarget",
"name" : "StreamDeckMacros",
"path" : "Sources/StreamDeckMacros",
"product_dependencies" : [
"SwiftSyntaxMacros",
"SwiftCompilerPlugin"
],
"product_memberships" : [
"StreamDeck",
"StreamDeckMacros"
],
"sources" : [
"KeyMacros.swift",
"Plugin.swift",
"SharedKeyMacro.swift"
],
"type" : "macro"
},
{
"c99name" : "StreamDeck",
"module_type" : "SwiftTarget",
"name" : "StreamDeck",
"path" : "Sources/StreamDeck",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"StreamDeck"
],
"sources" : [
"Builders/ActionBuilder.swift",
"Command Line/ExportCommand.swift",
"Command Line/PluginCommand.swift",
"Command Line/StreamDeckCommand.swift",
"Command Line/StreamDeckKey.swift",
"Events/EventProtocols.swift",
"Events/Events.swift",
"Extensions/CharSet+DNS.swift",
"Extensions/NSImage+Base64.swift",
"Extensions/URL+Argument.swift",
"Macros/SettingsMacros.swift",
"StreamDeck Plugin/Action/Action+Received.swift",
"StreamDeck Plugin/Action/Action+Sent.swift",
"StreamDeck Plugin/Action/Action+Support.swift",
"StreamDeck Plugin/Action/Action.swift",
"StreamDeck Plugin/Action/LongPress.swift",
"StreamDeck Plugin/PluginCommunication.swift",
"StreamDeck Plugin/StreamDeckError.swift",
"StreamDeck Plugin/StreamDeckPlugin/SDPlugin+Received.swift",
"StreamDeck Plugin/StreamDeckPlugin/SDPlugin+Sent.swift",
"StreamDeck Plugin/StreamDeckPlugin/SDPlugin+Support.swift",
"StreamDeck Plugin/StreamDeckPlugin/StreamDeckPlugin.swift",
"Support Models/ActionControllerRegistry.swift",
"Support Models/Environment/EnvironmentKey.swift",
"Support Models/Environment/EnvironmentValues.swift",
"Support Models/Environment/EnvironmentWrapper.swift",
"Support Models/PluginManifest/ApplicationsToMonitor.swift",
"Support Models/PluginManifest/Coordinates.swift",
"Support Models/PluginManifest/Fonts.swift",
"Support Models/PluginManifest/Hardware.swift",
"Support Models/PluginManifest/PluginAction.swift",
"Support Models/PluginManifest/PluginActionState.swift",
"Support Models/PluginManifest/PluginInfo.swift",
"Support Models/PluginManifest/PluginManifest.swift",
"Support Models/PluginManifest/PluginOS.swift",
"Support Models/PluginManifest/PluginProfile.swift",
"Support Models/PluginManifest/PluginSoftware.swift",
"Support Models/RotaryEncoder/RotaryEncoder.swift",
"Support Models/RotaryEncoder/TriggerDescription.swift",
"Support Models/Settings/GlobalSettings.swift",
"Support Models/Settings/GlobalSettingsKey.swift",
"Support Models/Settings/SettingsWrapper.swift",
"Support Models/State.swift"
],
"target_dependencies" : [
"StreamDeckMacros",
"SDPlusLayout"
],
"type" : "library"
},
{
"c99name" : "SDPlusLayoutTests",
"module_type" : "SwiftTarget",
"name" : "SDPlusLayoutTests",
"path" : "Tests/SDPlusLayoutTests",
"sources" : [
"LayoutTests.swift"
],
"target_dependencies" : [
"SDPlusLayout"
],
"type" : "test"
},
{
"c99name" : "SDPlusLayout",
"module_type" : "SwiftTarget",
"name" : "SDPlusLayout",
"path" : "Sources/SDPlusLayout",
"product_memberships" : [
"StreamDeck"
],
"sources" : [
"BarLayoutItem.swift",
"Color/Color+ExpressibleByStringLiteral.swift",
"Color/Color+FormatStyle.swift",
"Color/Color.swift",
"Color/ColorStyle.swift",
"Color/Gradient.swift",
"Elements/Bar.swift",
"Elements/Image.swift",
"Elements/Slider.swift",
"Elements/Text.swift",
"Extensions/Clamped.swift",
"Layout.swift",
"LayoutItem.swift",
"LayoutName.swift",
"ModifiedItem.swift",
"Properties.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.