Build Information
Failed to build OBSwiftSocket, reference 1.0.2 (3223d9
), with Swift 6.1 for macOS (SPM) on 28 Apr 2025 12:56:17 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 --target OBSwiftSocket
Build Log
148 | public static let top = Alignment(rawValue: 1 << 2)
| |- warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'OBSRequests.Subtypes.Transform.Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'top' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
149 | // 8
150 | public static let bottom = Alignment(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Subtypes/Transform.swift:150:31: warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'OBSRequests.Subtypes.Transform.Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
126 | }
127 |
128 | public struct Alignment: OptionSet, Codable {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
129 | public static var allCases: [Self] {
130 | [
:
148 | public static let top = Alignment(rawValue: 1 << 2)
149 | // 8
150 | public static let bottom = Alignment(rawValue: 1 << 3)
| |- warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'OBSRequests.Subtypes.Transform.Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bottom' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 | public static let topLeft: Alignment = [.top, .left]
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Subtypes/Transform.swift:152:31: warning: static property 'topLeft' is not concurrency-safe because non-'Sendable' type 'OBSRequests.Subtypes.Transform.Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
126 | }
127 |
128 | public struct Alignment: OptionSet, Codable {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
129 | public static var allCases: [Self] {
130 | [
:
150 | public static let bottom = Alignment(rawValue: 1 << 3)
151 |
152 | public static let topLeft: Alignment = [.top, .left]
| |- warning: static property 'topLeft' is not concurrency-safe because non-'Sendable' type 'OBSRequests.Subtypes.Transform.Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'topLeft' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
153 | public static let topRight: Alignment = [.top, .right]
154 | public static let bottomLeft: Alignment = [.bottom, .left]
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Subtypes/Transform.swift:153:31: warning: static property 'topRight' is not concurrency-safe because non-'Sendable' type 'OBSRequests.Subtypes.Transform.Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
126 | }
127 |
128 | public struct Alignment: OptionSet, Codable {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
129 | public static var allCases: [Self] {
130 | [
:
151 |
152 | public static let topLeft: Alignment = [.top, .left]
153 | public static let topRight: Alignment = [.top, .right]
| |- warning: static property 'topRight' is not concurrency-safe because non-'Sendable' type 'OBSRequests.Subtypes.Transform.Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'topRight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 | public static let bottomLeft: Alignment = [.bottom, .left]
155 | public static let bottomRight: Alignment = [.bottom, .right]
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Subtypes/Transform.swift:154:31: warning: static property 'bottomLeft' is not concurrency-safe because non-'Sendable' type 'OBSRequests.Subtypes.Transform.Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
126 | }
127 |
128 | public struct Alignment: OptionSet, Codable {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
129 | public static var allCases: [Self] {
130 | [
:
152 | public static let topLeft: Alignment = [.top, .left]
153 | public static let topRight: Alignment = [.top, .right]
154 | public static let bottomLeft: Alignment = [.bottom, .left]
| |- warning: static property 'bottomLeft' is not concurrency-safe because non-'Sendable' type 'OBSRequests.Subtypes.Transform.Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bottomLeft' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
155 | public static let bottomRight: Alignment = [.bottom, .right]
156 | }
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Subtypes/Transform.swift:155:31: warning: static property 'bottomRight' is not concurrency-safe because non-'Sendable' type 'OBSRequests.Subtypes.Transform.Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
126 | }
127 |
128 | public struct Alignment: OptionSet, Codable {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
129 | public static var allCases: [Self] {
130 | [
:
153 | public static let topRight: Alignment = [.top, .right]
154 | public static let bottomLeft: Alignment = [.bottom, .left]
155 | public static let bottomRight: Alignment = [.bottom, .right]
| |- warning: static property 'bottomRight' is not concurrency-safe because non-'Sendable' type 'OBSRequests.Subtypes.Transform.Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bottomRight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 | }
157 |
[123/130] Compiling OBSwiftSocket Transform.swift
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Subtypes/Transform.swift:142:31: warning: static property 'center' is not concurrency-safe because non-'Sendable' type 'OBSRequests.Subtypes.Transform.Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
126 | }
127 |
128 | public struct Alignment: OptionSet, Codable {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
129 | public static var allCases: [Self] {
130 | [
:
140 |
141 | // 0
142 | public static let center = Alignment(rawValue: 0 << 0)
| |- warning: static property 'center' is not concurrency-safe because non-'Sendable' type 'OBSRequests.Subtypes.Transform.Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'center' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
143 | // 1
144 | public static let left = Alignment(rawValue: 1 << 0)
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Subtypes/Transform.swift:144:31: warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'OBSRequests.Subtypes.Transform.Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
126 | }
127 |
128 | public struct Alignment: OptionSet, Codable {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
129 | public static var allCases: [Self] {
130 | [
:
142 | public static let center = Alignment(rawValue: 0 << 0)
143 | // 1
144 | public static let left = Alignment(rawValue: 1 << 0)
| |- warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'OBSRequests.Subtypes.Transform.Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'left' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
145 | // 2
146 | public static let right = Alignment(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Subtypes/Transform.swift:146:31: warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'OBSRequests.Subtypes.Transform.Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
126 | }
127 |
128 | public struct Alignment: OptionSet, Codable {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
129 | public static var allCases: [Self] {
130 | [
:
144 | public static let left = Alignment(rawValue: 1 << 0)
145 | // 2
146 | public static let right = Alignment(rawValue: 1 << 1)
| |- warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'OBSRequests.Subtypes.Transform.Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'right' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 | // 4
148 | public static let top = Alignment(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Subtypes/Transform.swift:148:31: warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'OBSRequests.Subtypes.Transform.Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
126 | }
127 |
128 | public struct Alignment: OptionSet, Codable {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
129 | public static var allCases: [Self] {
130 | [
:
146 | public static let right = Alignment(rawValue: 1 << 1)
147 | // 4
148 | public static let top = Alignment(rawValue: 1 << 2)
| |- warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'OBSRequests.Subtypes.Transform.Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'top' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
149 | // 8
150 | public static let bottom = Alignment(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Subtypes/Transform.swift:150:31: warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'OBSRequests.Subtypes.Transform.Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
126 | }
127 |
128 | public struct Alignment: OptionSet, Codable {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
129 | public static var allCases: [Self] {
130 | [
:
148 | public static let top = Alignment(rawValue: 1 << 2)
149 | // 8
150 | public static let bottom = Alignment(rawValue: 1 << 3)
| |- warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'OBSRequests.Subtypes.Transform.Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bottom' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 | public static let topLeft: Alignment = [.top, .left]
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Subtypes/Transform.swift:152:31: warning: static property 'topLeft' is not concurrency-safe because non-'Sendable' type 'OBSRequests.Subtypes.Transform.Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
126 | }
127 |
128 | public struct Alignment: OptionSet, Codable {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
129 | public static var allCases: [Self] {
130 | [
:
150 | public static let bottom = Alignment(rawValue: 1 << 3)
151 |
152 | public static let topLeft: Alignment = [.top, .left]
| |- warning: static property 'topLeft' is not concurrency-safe because non-'Sendable' type 'OBSRequests.Subtypes.Transform.Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'topLeft' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
153 | public static let topRight: Alignment = [.top, .right]
154 | public static let bottomLeft: Alignment = [.bottom, .left]
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Subtypes/Transform.swift:153:31: warning: static property 'topRight' is not concurrency-safe because non-'Sendable' type 'OBSRequests.Subtypes.Transform.Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
126 | }
127 |
128 | public struct Alignment: OptionSet, Codable {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
129 | public static var allCases: [Self] {
130 | [
:
151 |
152 | public static let topLeft: Alignment = [.top, .left]
153 | public static let topRight: Alignment = [.top, .right]
| |- warning: static property 'topRight' is not concurrency-safe because non-'Sendable' type 'OBSRequests.Subtypes.Transform.Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'topRight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 | public static let bottomLeft: Alignment = [.bottom, .left]
155 | public static let bottomRight: Alignment = [.bottom, .right]
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Subtypes/Transform.swift:154:31: warning: static property 'bottomLeft' is not concurrency-safe because non-'Sendable' type 'OBSRequests.Subtypes.Transform.Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
126 | }
127 |
128 | public struct Alignment: OptionSet, Codable {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
129 | public static var allCases: [Self] {
130 | [
:
152 | public static let topLeft: Alignment = [.top, .left]
153 | public static let topRight: Alignment = [.top, .right]
154 | public static let bottomLeft: Alignment = [.bottom, .left]
| |- warning: static property 'bottomLeft' is not concurrency-safe because non-'Sendable' type 'OBSRequests.Subtypes.Transform.Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bottomLeft' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
155 | public static let bottomRight: Alignment = [.bottom, .right]
156 | }
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Subtypes/Transform.swift:155:31: warning: static property 'bottomRight' is not concurrency-safe because non-'Sendable' type 'OBSRequests.Subtypes.Transform.Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
126 | }
127 |
128 | public struct Alignment: OptionSet, Codable {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
129 | public static var allCases: [Self] {
130 | [
:
153 | public static let topRight: Alignment = [.top, .right]
154 | public static let bottomLeft: Alignment = [.bottom, .left]
155 | public static let bottomRight: Alignment = [.bottom, .right]
| |- warning: static property 'bottomRight' is not concurrency-safe because non-'Sendable' type 'OBSRequests.Subtypes.Transform.Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bottomRight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 | }
157 |
[124/130] Emitting module OBSwiftSocket
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Extensions/Misc Extensions.swift:16:10: warning: associated value 'failedToDecodeObject' of 'Sendable'-conforming enum 'CodingErrors' has non-sendable type 'OBSSessionManager.ConnectionData.MessageEncoding'; this is an error in the Swift 6 language mode
14 | /// Custom errors pertaining to decoding/encoding.
15 | enum CodingErrors: Error {
16 | case failedToDecodeObject(OBSSessionManager.ConnectionData.MessageEncoding)
| `- warning: associated value 'failedToDecodeObject' of 'Sendable'-conforming enum 'CodingErrors' has non-sendable type 'OBSSessionManager.ConnectionData.MessageEncoding'; this is an error in the Swift 6 language mode
17 | case failedToEncodeObject(OBSSessionManager.ConnectionData.MessageEncoding)
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/SessionManager.swift:806:21: note: consider making enum 'MessageEncoding' conform to the 'Sendable' protocol
804 |
805 | /// Mode for encoding messages.
806 | public enum MessageEncoding: String, Codable {
| `- note: consider making enum 'MessageEncoding' conform to the 'Sendable' protocol
807 | /// JSON over text frames
808 | case json = "obswebsocket.json"
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Extensions/Misc Extensions.swift:17:10: warning: associated value 'failedToEncodeObject' of 'Sendable'-conforming enum 'CodingErrors' has non-sendable type 'OBSSessionManager.ConnectionData.MessageEncoding'; this is an error in the Swift 6 language mode
15 | enum CodingErrors: Error {
16 | case failedToDecodeObject(OBSSessionManager.ConnectionData.MessageEncoding)
17 | case failedToEncodeObject(OBSSessionManager.ConnectionData.MessageEncoding)
| `- warning: associated value 'failedToEncodeObject' of 'Sendable'-conforming enum 'CodingErrors' has non-sendable type 'OBSSessionManager.ConnectionData.MessageEncoding'; this is an error in the Swift 6 language mode
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/SessionManager.swift:806:21: note: consider making enum 'MessageEncoding' conform to the 'Sendable' protocol
804 |
805 | /// Mode for encoding messages.
806 | public enum MessageEncoding: String, Codable {
| `- note: consider making enum 'MessageEncoding' conform to the 'Sendable' protocol
807 | /// JSON over text frames
808 | case json = "obswebsocket.json"
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Extensions/Misc Extensions.swift:104:25: warning: static property 'connectionData' is not concurrency-safe because non-'Sendable' type 'UserDefaults.Key' may have shared mutable state; this is an error in the Swift 6 language mode
91 | extension UserDefaults {
92 | /// A type to create static `UserDefaults` keys to add safety.
93 | public struct Key: RawRepresentable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
94 | public typealias RawValue = String
95 | public var rawValue: RawValue
:
102 |
103 | extension UserDefaults.Key {
104 | internal static let connectionData = Self(rawValue: "connectionData")
| |- warning: static property 'connectionData' is not concurrency-safe because non-'Sendable' type 'UserDefaults.Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'connectionData' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | }
106 |
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Extensions/SessionManager Extensions.swift:340:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
338 | private struct StudioModeStateKey: PublisherStoreKey {
339 | typealias Value = AnyPublisher<Bool, Error>?
340 | static var defaultValue: Value = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
341 | }
342 |
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Extensions/SessionManager Extensions.swift:352:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
350 | private struct CurrentSceneNamePairKey: PublisherStoreKey {
351 | typealias Value = AnyPublisher<OBSSessionManager.SceneNamePair, Error>?
352 | static var defaultValue: Value = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
353 | }
354 |
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Extensions/SessionManager Extensions.swift:364:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
362 | private struct SceneListKey: PublisherStoreKey {
363 | typealias Value = AnyPublisher<[OBSRequests.Subtypes.Scene], Error>?
364 | static var defaultValue: Value = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
365 | }
366 |
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Extensions/SessionManager Extensions.swift:376:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
374 | private struct SceneItemListKey: PublisherStoreKey {
375 | typealias Value = [String: AnyPublisher<[OBSRequests.Subtypes.SceneItem], Error>]
376 | static var defaultValue: Value = [:]
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
377 | }
378 |
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Extensions/SessionManager Extensions.swift:388:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
386 | private struct ActiveSceneItemListKey: PublisherStoreKey {
387 | typealias Value = AnyPublisher<[OBSRequests.Subtypes.SceneItem], Error>?
388 | static var defaultValue: Value = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
389 | }
390 |
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Extensions/SessionManager Extensions.swift:400:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
398 | private struct SceneItemStateKey: PublisherStoreKey {
399 | typealias Value = [String: AnyPublisher<OBSSessionManager.SceneItemStatePair, Error>]
400 | static var defaultValue: Value = [:]
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
401 | }
402 |
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Generated/Types.swift:29:27: warning: static property 'general' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | public enum OBSEnums {
15 | public struct EventSubscription: OptionSet, Codable {
| `- note: consider making struct 'EventSubscription' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 | public init(rawValue: Int) {
:
27 | /// - Version: Latest Supported RPC Version - `1`
28 | /// - Since: Added in v5.0.0
29 | public static let general = EventSubscription(rawValue: 1 << 0)
| |- warning: static property 'general' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'general' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | /// Subscription value to receive events in the `Config` category.
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Generated/Types.swift:34:27: warning: static property 'config' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | public enum OBSEnums {
15 | public struct EventSubscription: OptionSet, Codable {
| `- note: consider making struct 'EventSubscription' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 | public init(rawValue: Int) {
:
32 | /// - Version: Latest Supported RPC Version - `1`
33 | /// - Since: Added in v5.0.0
34 | public static let config = EventSubscription(rawValue: 1 << 1)
| |- warning: static property 'config' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'config' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// Subscription value to receive events in the `Scenes` category.
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Generated/Types.swift:39:27: warning: static property 'scenes' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | public enum OBSEnums {
15 | public struct EventSubscription: OptionSet, Codable {
| `- note: consider making struct 'EventSubscription' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 | public init(rawValue: Int) {
:
37 | /// - Version: Latest Supported RPC Version - `1`
38 | /// - Since: Added in v5.0.0
39 | public static let scenes = EventSubscription(rawValue: 1 << 2)
| |- warning: static property 'scenes' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'scenes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// Subscription value to receive events in the `Inputs` category.
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Generated/Types.swift:44:27: warning: static property 'inputs' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | public enum OBSEnums {
15 | public struct EventSubscription: OptionSet, Codable {
| `- note: consider making struct 'EventSubscription' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 | public init(rawValue: Int) {
:
42 | /// - Version: Latest Supported RPC Version - `1`
43 | /// - Since: Added in v5.0.0
44 | public static let inputs = EventSubscription(rawValue: 1 << 3)
| |- warning: static property 'inputs' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'inputs' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 |
46 | /// Subscription value to receive events in the `Transitions` category.
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Generated/Types.swift:49:27: warning: static property 'transitions' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | public enum OBSEnums {
15 | public struct EventSubscription: OptionSet, Codable {
| `- note: consider making struct 'EventSubscription' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 | public init(rawValue: Int) {
:
47 | /// - Version: Latest Supported RPC Version - `1`
48 | /// - Since: Added in v5.0.0
49 | public static let transitions = EventSubscription(rawValue: 1 << 4)
| |- warning: static property 'transitions' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'transitions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | /// Subscription value to receive events in the `Filters` category.
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Generated/Types.swift:54:27: warning: static property 'filters' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | public enum OBSEnums {
15 | public struct EventSubscription: OptionSet, Codable {
| `- note: consider making struct 'EventSubscription' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 | public init(rawValue: Int) {
:
52 | /// - Version: Latest Supported RPC Version - `1`
53 | /// - Since: Added in v5.0.0
54 | public static let filters = EventSubscription(rawValue: 1 << 5)
| |- warning: static property 'filters' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'filters' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 |
56 | /// Subscription value to receive events in the `Outputs` category.
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Generated/Types.swift:59:27: warning: static property 'outputs' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | public enum OBSEnums {
15 | public struct EventSubscription: OptionSet, Codable {
| `- note: consider making struct 'EventSubscription' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 | public init(rawValue: Int) {
:
57 | /// - Version: Latest Supported RPC Version - `1`
58 | /// - Since: Added in v5.0.0
59 | public static let outputs = EventSubscription(rawValue: 1 << 6)
| |- warning: static property 'outputs' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'outputs' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | /// Subscription value to receive events in the `SceneItems` category.
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Generated/Types.swift:64:27: warning: static property 'sceneItems' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | public enum OBSEnums {
15 | public struct EventSubscription: OptionSet, Codable {
| `- note: consider making struct 'EventSubscription' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 | public init(rawValue: Int) {
:
62 | /// - Version: Latest Supported RPC Version - `1`
63 | /// - Since: Added in v5.0.0
64 | public static let sceneItems = EventSubscription(rawValue: 1 << 7)
| |- warning: static property 'sceneItems' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sceneItems' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | /// Subscription value to receive events in the `MediaInputs` category.
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Generated/Types.swift:69:27: warning: static property 'mediaInputs' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | public enum OBSEnums {
15 | public struct EventSubscription: OptionSet, Codable {
| `- note: consider making struct 'EventSubscription' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 | public init(rawValue: Int) {
:
67 | /// - Version: Latest Supported RPC Version - `1`
68 | /// - Since: Added in v5.0.0
69 | public static let mediaInputs = EventSubscription(rawValue: 1 << 8)
| |- warning: static property 'mediaInputs' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mediaInputs' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 |
71 | /// Subscription value to receive the ``OBSEvents/VendorEvent`` event.
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Generated/Types.swift:74:27: warning: static property 'vendors' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | public enum OBSEnums {
15 | public struct EventSubscription: OptionSet, Codable {
| `- note: consider making struct 'EventSubscription' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 | public init(rawValue: Int) {
:
72 | /// - Version: Latest Supported RPC Version - `1`
73 | /// - Since: Added in v5.0.0
74 | public static let vendors = EventSubscription(rawValue: 1 << 9)
| |- warning: static property 'vendors' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'vendors' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |
76 | /// Subscription value to receive events in the `Ui` category.
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Generated/Types.swift:79:27: warning: static property 'ui' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | public enum OBSEnums {
15 | public struct EventSubscription: OptionSet, Codable {
| `- note: consider making struct 'EventSubscription' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 | public init(rawValue: Int) {
:
77 | /// - Version: Latest Supported RPC Version - `1`
78 | /// - Since: Added in v5.0.0
79 | public static let ui = EventSubscription(rawValue: 1 << 10)
| |- warning: static property 'ui' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ui' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 |
81 | /// Helper to receive all non-high-volume events.
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Generated/Types.swift:84:27: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | public enum OBSEnums {
15 | public struct EventSubscription: OptionSet, Codable {
| `- note: consider making struct 'EventSubscription' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 | public init(rawValue: Int) {
:
82 | /// - Version: Latest Supported RPC Version - `1`
83 | /// - Since: Added in v5.0.0
84 | public static let all: EventSubscription = [.general, .config, .scenes, .inputs, .transitions, .filters, .outputs, .sceneItems, .mediaInputs, .vendors, .ui]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 |
86 | /// Subscription value to receive the ``OBSEvents/InputVolumeMeters`` high-volume event.
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Generated/Types.swift:89:27: warning: static property 'inputVolumeMeters' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | public enum OBSEnums {
15 | public struct EventSubscription: OptionSet, Codable {
| `- note: consider making struct 'EventSubscription' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 | public init(rawValue: Int) {
:
87 | /// - Version: Latest Supported RPC Version - `1`
88 | /// - Since: Added in v5.0.0
89 | public static let inputVolumeMeters = EventSubscription(rawValue: 1 << 16)
| |- warning: static property 'inputVolumeMeters' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'inputVolumeMeters' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 |
91 | /// Subscription value to receive the ``OBSEvents/InputActiveStateChanged`` high-volume event.
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Generated/Types.swift:94:27: warning: static property 'inputActiveStateChanged' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | public enum OBSEnums {
15 | public struct EventSubscription: OptionSet, Codable {
| `- note: consider making struct 'EventSubscription' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 | public init(rawValue: Int) {
:
92 | /// - Version: Latest Supported RPC Version - `1`
93 | /// - Since: Added in v5.0.0
94 | public static let inputActiveStateChanged = EventSubscription(rawValue: 1 << 17)
| |- warning: static property 'inputActiveStateChanged' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'inputActiveStateChanged' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 |
96 | /// Subscription value to receive the ``OBSEvents/InputShowStateChanged`` high-volume event.
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Generated/Types.swift:99:27: warning: static property 'inputShowStateChanged' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | public enum OBSEnums {
15 | public struct EventSubscription: OptionSet, Codable {
| `- note: consider making struct 'EventSubscription' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 | public init(rawValue: Int) {
:
97 | /// - Version: Latest Supported RPC Version - `1`
98 | /// - Since: Added in v5.0.0
99 | public static let inputShowStateChanged = EventSubscription(rawValue: 1 << 18)
| |- warning: static property 'inputShowStateChanged' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'inputShowStateChanged' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 |
101 | /// Subscription value to receive the ``OBSEvents/SceneItemTransformChanged`` high-volume event.
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Generated/Types.swift:104:27: warning: static property 'sceneItemTransformChanged' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | public enum OBSEnums {
15 | public struct EventSubscription: OptionSet, Codable {
| `- note: consider making struct 'EventSubscription' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 | public init(rawValue: Int) {
:
102 | /// - Version: Latest Supported RPC Version - `1`
103 | /// - Since: Added in v5.0.0
104 | public static let sceneItemTransformChanged = EventSubscription(rawValue: 1 << 19)
| |- warning: static property 'sceneItemTransformChanged' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sceneItemTransformChanged' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | }
106 |
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/OBS-WS Base Types.swift:71:14: warning: associated value 'unableToCastBody(operation:)' of 'Sendable'-conforming enum 'Errors' has non-sendable type 'OBSEnums.OpCode'; this is an error in the Swift 6 language mode
69 | public enum Errors: Error {
70 | /// Thrown when unable to cast message body successfully.
71 | case unableToCastBody(operation: OBSEnums.OpCode)
| `- warning: associated value 'unableToCastBody(operation:)' of 'Sendable'-conforming enum 'Errors' has non-sendable type 'OBSEnums.OpCode'; this is an error in the Swift 6 language mode
72 | }
73 | }
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Generated/Types.swift:458:17: note: consider making enum 'OpCode' conform to the 'Sendable' protocol
456 | }
457 |
458 | public enum OpCode: Int, Codable {
| `- note: consider making enum 'OpCode' conform to the 'Sendable' protocol
459 | /// The initial message sent by obs-websocket to newly connected clients.
460 | /// - Version: Latest Supported RPC Version - `1`
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/OBS-WS Base Types.swift:160:27: warning: static property 'opCode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
158 | /// - term Sent To: Freshly connected websocket client
159 | public struct Hello: OBSOpData {
160 | public static var opCode: OBSEnums.OpCode = .hello
| |- warning: static property 'opCode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'opCode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'opCode' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
161 |
162 | public var obsWebSocketVersion: String
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/OBS-WS Base Types.swift:225:27: warning: static property 'opCode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
223 | /// - term Sent To: `obs-websocket`
224 | public struct Identify: OBSOpData {
225 | public static var opCode: OBSEnums.OpCode = .identify
| |- warning: static property 'opCode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'opCode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'opCode' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
226 |
227 | /// `rpcVersion` is the version number that the client would like the `obs-websocket` server to use.
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/OBS-WS Base Types.swift:245:27: warning: static property 'opCode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
243 | /// - term Sent To: Freshly identified client
244 | public struct Identified: OBSOpData {
245 | public static var opCode: OBSEnums.OpCode = .identified
| |- warning: static property 'opCode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'opCode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'opCode' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
246 |
247 | public var negotiatedRpcVersion: Int
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/OBS-WS Base Types.swift:257:27: warning: static property 'opCode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
255 | /// - term Sent To: `obs-websocket`
256 | public struct Reidentify: OBSOpData {
257 | public static var opCode: OBSEnums.OpCode = .reidentify
| |- warning: static property 'opCode' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'opCode' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'opCode' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
258 |
259 | public var eventSubscriptions: OBSEnums.EventSubscription?
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/SessionManager.swift:829:14: warning: associated value 'disconnected' of 'Sendable'-conforming enum 'Errors' has non-sendable type 'OBSEnums.CloseCode'; this is an error in the Swift 6 language mode
827 |
828 | /// Thrown when a connection has been closed.
829 | case disconnected(_ closeCode: OBSEnums.CloseCode?, _ reason: String?)
| `- warning: associated value 'disconnected' of 'Sendable'-conforming enum 'Errors' has non-sendable type 'OBSEnums.CloseCode'; this is an error in the Swift 6 language mode
830 |
831 | /// Thrown during authentication process when OBS requires a password, but the user didn't supply one.
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Generated/Types.swift:389:17: note: consider making enum 'CloseCode' conform to the 'Sendable' protocol
387 | }
388 |
389 | public enum CloseCode: Int, Codable {
| `- note: consider making enum 'CloseCode' conform to the 'Sendable' protocol
390 | /// For internal use only to tell the request handler not to perform any close action.
391 | /// - Version: Latest Supported RPC Version - `1`
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/SessionManager.swift:836:14: warning: associated value 'requestResponseNotSuccess' of 'Sendable'-conforming enum 'Errors' has non-sendable type 'OpDataTypes.RequestResponse.Status'; this is an error in the Swift 6 language mode
834 | /// Thrown when an ``OBSRequestResponse`` is received with a status that is
835 | /// not ``OBSEnums/RequestStatus/success`` (`100`).
836 | case requestResponseNotSuccess(OpDataTypes.RequestResponse.Status)
| `- warning: associated value 'requestResponseNotSuccess' of 'Sendable'-conforming enum 'Errors' has non-sendable type 'OpDataTypes.RequestResponse.Status'; this is an error in the Swift 6 language mode
837 |
838 | /// Thrown when an error occurs while building an ``OBSRequest`` message body.
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/OBS-WS Base Types.swift:324:23: note: consider making struct 'Status' conform to the 'Sendable' protocol
322 | public var data: JSONValue?
323 |
324 | public struct Status: Codable {
| `- note: consider making struct 'Status' conform to the 'Sendable' protocol
325 | /// `result` is `true` if the request resulted in ``OBSEnums/RequestStatus/success`` (100).
326 | /// `false` if otherwise.
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/SessionManager.swift:877:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
875 | private struct ResponsePublishersKey: PublisherStoreKey {
876 | typealias Value = [String: AnyPublisher<OBSRequestResponse, Error>]
877 | static var defaultValue: Value = [:]
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
878 | }
879 |
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/SessionManager.swift:889:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
887 | private struct BatchResponsePublishersKey: PublisherStoreKey {
888 | typealias Value = [String: AnyPublisher<OpDataTypes.RequestBatchResponse, Error>]
889 | static var defaultValue: Value = [:]
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
890 | }
891 |
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/SessionManager.swift:901:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
899 | private struct EventPublishersKey: PublisherStoreKey {
900 | typealias Value = [OBSEvents.AllTypes: AnyPublisher<OBSEvent, Error>]
901 | static var defaultValue: Value = [:]
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
902 | }
903 |
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/SessionManager.swift:913:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
911 | private struct EventGroupPublishersKey: PublisherStoreKey {
912 | typealias Value = [String: AnyPublisher<OBSEvent, Error>]
913 | static var defaultValue: Value = [:]
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
914 | }
915 |
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/SessionManager.swift:925:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
923 | private struct AllMessagesOfTypeKey: PublisherStoreKey {
924 | typealias Value = [OBSEnums.OpCode: AnyPublisher<OBSOpData, Error>]
925 | static var defaultValue: Value = [:]
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
926 | }
927 |
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/SessionManager.swift:939:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
937 | private struct AnyOpCodeKey: PublisherStoreKey {
938 | typealias Value = AnyPublisher<UntypedMessage, Error>?
939 | static var defaultValue: Value = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
940 | }
941 |
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/SessionManager.swift:951:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
949 | private struct AnyOpCodeDataKey: PublisherStoreKey {
950 | typealias Value = AnyPublisher<OBSOpData, Error>?
951 | static var defaultValue: Value = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
952 | }
953 |
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Subtypes/Input Settings/TextSource.swift:75:31: warning: static property 'type' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
73 | /// text_gdiplus_v2 (windows)
74 | public struct GDIPlus: InputSettingsProtocol {
75 | public static var type: String = "text_gdiplus_v2"
| |- warning: static property 'type' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'type' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'type' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | public static var systemImageName: String? {
77 | if #available(iOS 14.5, *) {
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Subtypes/Transform.swift:142:31: warning: static property 'center' is not concurrency-safe because non-'Sendable' type 'OBSRequests.Subtypes.Transform.Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
126 | }
127 |
128 | public struct Alignment: OptionSet, Codable {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
129 | public static var allCases: [Self] {
130 | [
:
140 |
141 | // 0
142 | public static let center = Alignment(rawValue: 0 << 0)
| |- warning: static property 'center' is not concurrency-safe because non-'Sendable' type 'OBSRequests.Subtypes.Transform.Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'center' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
143 | // 1
144 | public static let left = Alignment(rawValue: 1 << 0)
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Subtypes/Transform.swift:144:31: warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'OBSRequests.Subtypes.Transform.Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
126 | }
127 |
128 | public struct Alignment: OptionSet, Codable {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
129 | public static var allCases: [Self] {
130 | [
:
142 | public static let center = Alignment(rawValue: 0 << 0)
143 | // 1
144 | public static let left = Alignment(rawValue: 1 << 0)
| |- warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'OBSRequests.Subtypes.Transform.Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'left' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
145 | // 2
146 | public static let right = Alignment(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Subtypes/Transform.swift:146:31: warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'OBSRequests.Subtypes.Transform.Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
126 | }
127 |
128 | public struct Alignment: OptionSet, Codable {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
129 | public static var allCases: [Self] {
130 | [
:
144 | public static let left = Alignment(rawValue: 1 << 0)
145 | // 2
146 | public static let right = Alignment(rawValue: 1 << 1)
| |- warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'OBSRequests.Subtypes.Transform.Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'right' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 | // 4
148 | public static let top = Alignment(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Subtypes/Transform.swift:148:31: warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'OBSRequests.Subtypes.Transform.Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
126 | }
127 |
128 | public struct Alignment: OptionSet, Codable {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
129 | public static var allCases: [Self] {
130 | [
:
146 | public static let right = Alignment(rawValue: 1 << 1)
147 | // 4
148 | public static let top = Alignment(rawValue: 1 << 2)
| |- warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'OBSRequests.Subtypes.Transform.Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'top' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
149 | // 8
150 | public static let bottom = Alignment(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Subtypes/Transform.swift:150:31: warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'OBSRequests.Subtypes.Transform.Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
126 | }
127 |
128 | public struct Alignment: OptionSet, Codable {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
129 | public static var allCases: [Self] {
130 | [
:
148 | public static let top = Alignment(rawValue: 1 << 2)
149 | // 8
150 | public static let bottom = Alignment(rawValue: 1 << 3)
| |- warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'OBSRequests.Subtypes.Transform.Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bottom' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 |
152 | public static let topLeft: Alignment = [.top, .left]
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Subtypes/Transform.swift:152:31: warning: static property 'topLeft' is not concurrency-safe because non-'Sendable' type 'OBSRequests.Subtypes.Transform.Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
126 | }
127 |
128 | public struct Alignment: OptionSet, Codable {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
129 | public static var allCases: [Self] {
130 | [
:
150 | public static let bottom = Alignment(rawValue: 1 << 3)
151 |
152 | public static let topLeft: Alignment = [.top, .left]
| |- warning: static property 'topLeft' is not concurrency-safe because non-'Sendable' type 'OBSRequests.Subtypes.Transform.Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'topLeft' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
153 | public static let topRight: Alignment = [.top, .right]
154 | public static let bottomLeft: Alignment = [.bottom, .left]
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Subtypes/Transform.swift:153:31: warning: static property 'topRight' is not concurrency-safe because non-'Sendable' type 'OBSRequests.Subtypes.Transform.Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
126 | }
127 |
128 | public struct Alignment: OptionSet, Codable {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
129 | public static var allCases: [Self] {
130 | [
:
151 |
152 | public static let topLeft: Alignment = [.top, .left]
153 | public static let topRight: Alignment = [.top, .right]
| |- warning: static property 'topRight' is not concurrency-safe because non-'Sendable' type 'OBSRequests.Subtypes.Transform.Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'topRight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
154 | public static let bottomLeft: Alignment = [.bottom, .left]
155 | public static let bottomRight: Alignment = [.bottom, .right]
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Subtypes/Transform.swift:154:31: warning: static property 'bottomLeft' is not concurrency-safe because non-'Sendable' type 'OBSRequests.Subtypes.Transform.Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
126 | }
127 |
128 | public struct Alignment: OptionSet, Codable {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
129 | public static var allCases: [Self] {
130 | [
:
152 | public static let topLeft: Alignment = [.top, .left]
153 | public static let topRight: Alignment = [.top, .right]
154 | public static let bottomLeft: Alignment = [.bottom, .left]
| |- warning: static property 'bottomLeft' is not concurrency-safe because non-'Sendable' type 'OBSRequests.Subtypes.Transform.Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bottomLeft' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
155 | public static let bottomRight: Alignment = [.bottom, .right]
156 | }
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Subtypes/Transform.swift:155:31: warning: static property 'bottomRight' is not concurrency-safe because non-'Sendable' type 'OBSRequests.Subtypes.Transform.Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
126 | }
127 |
128 | public struct Alignment: OptionSet, Codable {
| `- note: consider making struct 'Alignment' conform to the 'Sendable' protocol
129 | public static var allCases: [Self] {
130 | [
:
153 | public static let topRight: Alignment = [.top, .right]
154 | public static let bottomLeft: Alignment = [.bottom, .left]
155 | public static let bottomRight: Alignment = [.bottom, .right]
| |- warning: static property 'bottomRight' is not concurrency-safe because non-'Sendable' type 'OBSRequests.Subtypes.Transform.Alignment' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'bottomRight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 | }
157 |
[125/130] Compiling OBSwiftSocket Misc Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Extensions/Misc Extensions.swift:16:10: warning: associated value 'failedToDecodeObject' of 'Sendable'-conforming enum 'CodingErrors' has non-sendable type 'OBSSessionManager.ConnectionData.MessageEncoding'; this is an error in the Swift 6 language mode
14 | /// Custom errors pertaining to decoding/encoding.
15 | enum CodingErrors: Error {
16 | case failedToDecodeObject(OBSSessionManager.ConnectionData.MessageEncoding)
| `- warning: associated value 'failedToDecodeObject' of 'Sendable'-conforming enum 'CodingErrors' has non-sendable type 'OBSSessionManager.ConnectionData.MessageEncoding'; this is an error in the Swift 6 language mode
17 | case failedToEncodeObject(OBSSessionManager.ConnectionData.MessageEncoding)
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/SessionManager.swift:806:21: note: consider making enum 'MessageEncoding' conform to the 'Sendable' protocol
804 |
805 | /// Mode for encoding messages.
806 | public enum MessageEncoding: String, Codable {
| `- note: consider making enum 'MessageEncoding' conform to the 'Sendable' protocol
807 | /// JSON over text frames
808 | case json = "obswebsocket.json"
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Extensions/Misc Extensions.swift:17:10: warning: associated value 'failedToEncodeObject' of 'Sendable'-conforming enum 'CodingErrors' has non-sendable type 'OBSSessionManager.ConnectionData.MessageEncoding'; this is an error in the Swift 6 language mode
15 | enum CodingErrors: Error {
16 | case failedToDecodeObject(OBSSessionManager.ConnectionData.MessageEncoding)
17 | case failedToEncodeObject(OBSSessionManager.ConnectionData.MessageEncoding)
| `- warning: associated value 'failedToEncodeObject' of 'Sendable'-conforming enum 'CodingErrors' has non-sendable type 'OBSSessionManager.ConnectionData.MessageEncoding'; this is an error in the Swift 6 language mode
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/SessionManager.swift:806:21: note: consider making enum 'MessageEncoding' conform to the 'Sendable' protocol
804 |
805 | /// Mode for encoding messages.
806 | public enum MessageEncoding: String, Codable {
| `- note: consider making enum 'MessageEncoding' conform to the 'Sendable' protocol
807 | /// JSON over text frames
808 | case json = "obswebsocket.json"
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Extensions/Misc Extensions.swift:104:25: warning: static property 'connectionData' is not concurrency-safe because non-'Sendable' type 'UserDefaults.Key' may have shared mutable state; this is an error in the Swift 6 language mode
91 | extension UserDefaults {
92 | /// A type to create static `UserDefaults` keys to add safety.
93 | public struct Key: RawRepresentable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
94 | public typealias RawValue = String
95 | public var rawValue: RawValue
:
102 |
103 | extension UserDefaults.Key {
104 | internal static let connectionData = Self(rawValue: "connectionData")
| |- warning: static property 'connectionData' is not concurrency-safe because non-'Sendable' type 'UserDefaults.Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'connectionData' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | }
106 |
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Extensions/SessionManager Extensions.swift:340:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
338 | private struct StudioModeStateKey: PublisherStoreKey {
339 | typealias Value = AnyPublisher<Bool, Error>?
340 | static var defaultValue: Value = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
341 | }
342 |
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Extensions/SessionManager Extensions.swift:352:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
350 | private struct CurrentSceneNamePairKey: PublisherStoreKey {
351 | typealias Value = AnyPublisher<OBSSessionManager.SceneNamePair, Error>?
352 | static var defaultValue: Value = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
353 | }
354 |
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Extensions/SessionManager Extensions.swift:364:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
362 | private struct SceneListKey: PublisherStoreKey {
363 | typealias Value = AnyPublisher<[OBSRequests.Subtypes.Scene], Error>?
364 | static var defaultValue: Value = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
365 | }
366 |
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Extensions/SessionManager Extensions.swift:376:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
374 | private struct SceneItemListKey: PublisherStoreKey {
375 | typealias Value = [String: AnyPublisher<[OBSRequests.Subtypes.SceneItem], Error>]
376 | static var defaultValue: Value = [:]
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
377 | }
378 |
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Extensions/SessionManager Extensions.swift:388:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
386 | private struct ActiveSceneItemListKey: PublisherStoreKey {
387 | typealias Value = AnyPublisher<[OBSRequests.Subtypes.SceneItem], Error>?
388 | static var defaultValue: Value = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
389 | }
390 |
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Extensions/SessionManager Extensions.swift:400:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
398 | private struct SceneItemStateKey: PublisherStoreKey {
399 | typealias Value = [String: AnyPublisher<OBSSessionManager.SceneItemStatePair, Error>]
400 | static var defaultValue: Value = [:]
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
401 | }
402 |
[126/130] Compiling OBSwiftSocket PropertyWrappers.swift
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Extensions/Misc Extensions.swift:16:10: warning: associated value 'failedToDecodeObject' of 'Sendable'-conforming enum 'CodingErrors' has non-sendable type 'OBSSessionManager.ConnectionData.MessageEncoding'; this is an error in the Swift 6 language mode
14 | /// Custom errors pertaining to decoding/encoding.
15 | enum CodingErrors: Error {
16 | case failedToDecodeObject(OBSSessionManager.ConnectionData.MessageEncoding)
| `- warning: associated value 'failedToDecodeObject' of 'Sendable'-conforming enum 'CodingErrors' has non-sendable type 'OBSSessionManager.ConnectionData.MessageEncoding'; this is an error in the Swift 6 language mode
17 | case failedToEncodeObject(OBSSessionManager.ConnectionData.MessageEncoding)
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/SessionManager.swift:806:21: note: consider making enum 'MessageEncoding' conform to the 'Sendable' protocol
804 |
805 | /// Mode for encoding messages.
806 | public enum MessageEncoding: String, Codable {
| `- note: consider making enum 'MessageEncoding' conform to the 'Sendable' protocol
807 | /// JSON over text frames
808 | case json = "obswebsocket.json"
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Extensions/Misc Extensions.swift:17:10: warning: associated value 'failedToEncodeObject' of 'Sendable'-conforming enum 'CodingErrors' has non-sendable type 'OBSSessionManager.ConnectionData.MessageEncoding'; this is an error in the Swift 6 language mode
15 | enum CodingErrors: Error {
16 | case failedToDecodeObject(OBSSessionManager.ConnectionData.MessageEncoding)
17 | case failedToEncodeObject(OBSSessionManager.ConnectionData.MessageEncoding)
| `- warning: associated value 'failedToEncodeObject' of 'Sendable'-conforming enum 'CodingErrors' has non-sendable type 'OBSSessionManager.ConnectionData.MessageEncoding'; this is an error in the Swift 6 language mode
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/SessionManager.swift:806:21: note: consider making enum 'MessageEncoding' conform to the 'Sendable' protocol
804 |
805 | /// Mode for encoding messages.
806 | public enum MessageEncoding: String, Codable {
| `- note: consider making enum 'MessageEncoding' conform to the 'Sendable' protocol
807 | /// JSON over text frames
808 | case json = "obswebsocket.json"
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Extensions/Misc Extensions.swift:104:25: warning: static property 'connectionData' is not concurrency-safe because non-'Sendable' type 'UserDefaults.Key' may have shared mutable state; this is an error in the Swift 6 language mode
91 | extension UserDefaults {
92 | /// A type to create static `UserDefaults` keys to add safety.
93 | public struct Key: RawRepresentable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
94 | public typealias RawValue = String
95 | public var rawValue: RawValue
:
102 |
103 | extension UserDefaults.Key {
104 | internal static let connectionData = Self(rawValue: "connectionData")
| |- warning: static property 'connectionData' is not concurrency-safe because non-'Sendable' type 'UserDefaults.Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'connectionData' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | }
106 |
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Extensions/SessionManager Extensions.swift:340:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
338 | private struct StudioModeStateKey: PublisherStoreKey {
339 | typealias Value = AnyPublisher<Bool, Error>?
340 | static var defaultValue: Value = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
341 | }
342 |
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Extensions/SessionManager Extensions.swift:352:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
350 | private struct CurrentSceneNamePairKey: PublisherStoreKey {
351 | typealias Value = AnyPublisher<OBSSessionManager.SceneNamePair, Error>?
352 | static var defaultValue: Value = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
353 | }
354 |
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Extensions/SessionManager Extensions.swift:364:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
362 | private struct SceneListKey: PublisherStoreKey {
363 | typealias Value = AnyPublisher<[OBSRequests.Subtypes.Scene], Error>?
364 | static var defaultValue: Value = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
365 | }
366 |
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Extensions/SessionManager Extensions.swift:376:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
374 | private struct SceneItemListKey: PublisherStoreKey {
375 | typealias Value = [String: AnyPublisher<[OBSRequests.Subtypes.SceneItem], Error>]
376 | static var defaultValue: Value = [:]
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
377 | }
378 |
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Extensions/SessionManager Extensions.swift:388:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
386 | private struct ActiveSceneItemListKey: PublisherStoreKey {
387 | typealias Value = AnyPublisher<[OBSRequests.Subtypes.SceneItem], Error>?
388 | static var defaultValue: Value = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
389 | }
390 |
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Extensions/SessionManager Extensions.swift:400:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
398 | private struct SceneItemStateKey: PublisherStoreKey {
399 | typealias Value = [String: AnyPublisher<OBSSessionManager.SceneItemStatePair, Error>]
400 | static var defaultValue: Value = [:]
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
401 | }
402 |
[127/130] Compiling OBSwiftSocket SessionManager Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Extensions/Misc Extensions.swift:16:10: warning: associated value 'failedToDecodeObject' of 'Sendable'-conforming enum 'CodingErrors' has non-sendable type 'OBSSessionManager.ConnectionData.MessageEncoding'; this is an error in the Swift 6 language mode
14 | /// Custom errors pertaining to decoding/encoding.
15 | enum CodingErrors: Error {
16 | case failedToDecodeObject(OBSSessionManager.ConnectionData.MessageEncoding)
| `- warning: associated value 'failedToDecodeObject' of 'Sendable'-conforming enum 'CodingErrors' has non-sendable type 'OBSSessionManager.ConnectionData.MessageEncoding'; this is an error in the Swift 6 language mode
17 | case failedToEncodeObject(OBSSessionManager.ConnectionData.MessageEncoding)
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/SessionManager.swift:806:21: note: consider making enum 'MessageEncoding' conform to the 'Sendable' protocol
804 |
805 | /// Mode for encoding messages.
806 | public enum MessageEncoding: String, Codable {
| `- note: consider making enum 'MessageEncoding' conform to the 'Sendable' protocol
807 | /// JSON over text frames
808 | case json = "obswebsocket.json"
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Extensions/Misc Extensions.swift:17:10: warning: associated value 'failedToEncodeObject' of 'Sendable'-conforming enum 'CodingErrors' has non-sendable type 'OBSSessionManager.ConnectionData.MessageEncoding'; this is an error in the Swift 6 language mode
15 | enum CodingErrors: Error {
16 | case failedToDecodeObject(OBSSessionManager.ConnectionData.MessageEncoding)
17 | case failedToEncodeObject(OBSSessionManager.ConnectionData.MessageEncoding)
| `- warning: associated value 'failedToEncodeObject' of 'Sendable'-conforming enum 'CodingErrors' has non-sendable type 'OBSSessionManager.ConnectionData.MessageEncoding'; this is an error in the Swift 6 language mode
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/SessionManager.swift:806:21: note: consider making enum 'MessageEncoding' conform to the 'Sendable' protocol
804 |
805 | /// Mode for encoding messages.
806 | public enum MessageEncoding: String, Codable {
| `- note: consider making enum 'MessageEncoding' conform to the 'Sendable' protocol
807 | /// JSON over text frames
808 | case json = "obswebsocket.json"
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Extensions/Misc Extensions.swift:104:25: warning: static property 'connectionData' is not concurrency-safe because non-'Sendable' type 'UserDefaults.Key' may have shared mutable state; this is an error in the Swift 6 language mode
91 | extension UserDefaults {
92 | /// A type to create static `UserDefaults` keys to add safety.
93 | public struct Key: RawRepresentable {
| `- note: consider making struct 'Key' conform to the 'Sendable' protocol
94 | public typealias RawValue = String
95 | public var rawValue: RawValue
:
102 |
103 | extension UserDefaults.Key {
104 | internal static let connectionData = Self(rawValue: "connectionData")
| |- warning: static property 'connectionData' is not concurrency-safe because non-'Sendable' type 'UserDefaults.Key' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'connectionData' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | }
106 |
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Extensions/SessionManager Extensions.swift:340:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
338 | private struct StudioModeStateKey: PublisherStoreKey {
339 | typealias Value = AnyPublisher<Bool, Error>?
340 | static var defaultValue: Value = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
341 | }
342 |
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Extensions/SessionManager Extensions.swift:352:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
350 | private struct CurrentSceneNamePairKey: PublisherStoreKey {
351 | typealias Value = AnyPublisher<OBSSessionManager.SceneNamePair, Error>?
352 | static var defaultValue: Value = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
353 | }
354 |
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Extensions/SessionManager Extensions.swift:364:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
362 | private struct SceneListKey: PublisherStoreKey {
363 | typealias Value = AnyPublisher<[OBSRequests.Subtypes.Scene], Error>?
364 | static var defaultValue: Value = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
365 | }
366 |
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Extensions/SessionManager Extensions.swift:376:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
374 | private struct SceneItemListKey: PublisherStoreKey {
375 | typealias Value = [String: AnyPublisher<[OBSRequests.Subtypes.SceneItem], Error>]
376 | static var defaultValue: Value = [:]
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
377 | }
378 |
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Extensions/SessionManager Extensions.swift:388:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
386 | private struct ActiveSceneItemListKey: PublisherStoreKey {
387 | typealias Value = AnyPublisher<[OBSRequests.Subtypes.SceneItem], Error>?
388 | static var defaultValue: Value = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
389 | }
390 |
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Extensions/SessionManager Extensions.swift:400:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
398 | private struct SceneItemStateKey: PublisherStoreKey {
399 | typealias Value = [String: AnyPublisher<OBSSessionManager.SceneItemStatePair, Error>]
400 | static var defaultValue: Value = [:]
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
401 | }
402 |
[128/130] Compiling OBSwiftSocket WSPublisher Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Extensions/WSPublisher Extensions.swift:34:20: warning: no calls to throwing functions occur within 'try' expression
32 | .eraseToAnyPublisher()
33 | }
34 | return try send(json)
| `- warning: no calls to throwing functions occur within 'try' expression
35 |
36 | case .msgPack:
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Extensions/WSPublisher Extensions.swift:41:20: warning: no calls to throwing functions occur within 'try' expression
39 | .eraseToAnyPublisher()
40 | }
41 | return try send(msgData)
| `- warning: no calls to throwing functions occur within 'try' expression
42 | }
43 | }
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Generated/Types.swift:29:27: warning: static property 'general' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | public enum OBSEnums {
15 | public struct EventSubscription: OptionSet, Codable {
| `- note: consider making struct 'EventSubscription' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 | public init(rawValue: Int) {
:
27 | /// - Version: Latest Supported RPC Version - `1`
28 | /// - Since: Added in v5.0.0
29 | public static let general = EventSubscription(rawValue: 1 << 0)
| |- warning: static property 'general' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'general' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | /// Subscription value to receive events in the `Config` category.
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Generated/Types.swift:34:27: warning: static property 'config' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | public enum OBSEnums {
15 | public struct EventSubscription: OptionSet, Codable {
| `- note: consider making struct 'EventSubscription' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 | public init(rawValue: Int) {
:
32 | /// - Version: Latest Supported RPC Version - `1`
33 | /// - Since: Added in v5.0.0
34 | public static let config = EventSubscription(rawValue: 1 << 1)
| |- warning: static property 'config' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'config' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// Subscription value to receive events in the `Scenes` category.
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Generated/Types.swift:39:27: warning: static property 'scenes' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | public enum OBSEnums {
15 | public struct EventSubscription: OptionSet, Codable {
| `- note: consider making struct 'EventSubscription' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 | public init(rawValue: Int) {
:
37 | /// - Version: Latest Supported RPC Version - `1`
38 | /// - Since: Added in v5.0.0
39 | public static let scenes = EventSubscription(rawValue: 1 << 2)
| |- warning: static property 'scenes' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'scenes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// Subscription value to receive events in the `Inputs` category.
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Generated/Types.swift:44:27: warning: static property 'inputs' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | public enum OBSEnums {
15 | public struct EventSubscription: OptionSet, Codable {
| `- note: consider making struct 'EventSubscription' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 | public init(rawValue: Int) {
:
42 | /// - Version: Latest Supported RPC Version - `1`
43 | /// - Since: Added in v5.0.0
44 | public static let inputs = EventSubscription(rawValue: 1 << 3)
| |- warning: static property 'inputs' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'inputs' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 |
46 | /// Subscription value to receive events in the `Transitions` category.
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Generated/Types.swift:49:27: warning: static property 'transitions' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | public enum OBSEnums {
15 | public struct EventSubscription: OptionSet, Codable {
| `- note: consider making struct 'EventSubscription' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 | public init(rawValue: Int) {
:
47 | /// - Version: Latest Supported RPC Version - `1`
48 | /// - Since: Added in v5.0.0
49 | public static let transitions = EventSubscription(rawValue: 1 << 4)
| |- warning: static property 'transitions' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'transitions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | /// Subscription value to receive events in the `Filters` category.
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Generated/Types.swift:54:27: warning: static property 'filters' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | public enum OBSEnums {
15 | public struct EventSubscription: OptionSet, Codable {
| `- note: consider making struct 'EventSubscription' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 | public init(rawValue: Int) {
:
52 | /// - Version: Latest Supported RPC Version - `1`
53 | /// - Since: Added in v5.0.0
54 | public static let filters = EventSubscription(rawValue: 1 << 5)
| |- warning: static property 'filters' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'filters' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 |
56 | /// Subscription value to receive events in the `Outputs` category.
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Generated/Types.swift:59:27: warning: static property 'outputs' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | public enum OBSEnums {
15 | public struct EventSubscription: OptionSet, Codable {
| `- note: consider making struct 'EventSubscription' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 | public init(rawValue: Int) {
:
57 | /// - Version: Latest Supported RPC Version - `1`
58 | /// - Since: Added in v5.0.0
59 | public static let outputs = EventSubscription(rawValue: 1 << 6)
| |- warning: static property 'outputs' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'outputs' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | /// Subscription value to receive events in the `SceneItems` category.
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Generated/Types.swift:64:27: warning: static property 'sceneItems' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | public enum OBSEnums {
15 | public struct EventSubscription: OptionSet, Codable {
| `- note: consider making struct 'EventSubscription' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 | public init(rawValue: Int) {
:
62 | /// - Version: Latest Supported RPC Version - `1`
63 | /// - Since: Added in v5.0.0
64 | public static let sceneItems = EventSubscription(rawValue: 1 << 7)
| |- warning: static property 'sceneItems' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sceneItems' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | /// Subscription value to receive events in the `MediaInputs` category.
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Generated/Types.swift:69:27: warning: static property 'mediaInputs' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | public enum OBSEnums {
15 | public struct EventSubscription: OptionSet, Codable {
| `- note: consider making struct 'EventSubscription' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 | public init(rawValue: Int) {
:
67 | /// - Version: Latest Supported RPC Version - `1`
68 | /// - Since: Added in v5.0.0
69 | public static let mediaInputs = EventSubscription(rawValue: 1 << 8)
| |- warning: static property 'mediaInputs' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mediaInputs' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 |
71 | /// Subscription value to receive the ``OBSEvents/VendorEvent`` event.
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Generated/Types.swift:74:27: warning: static property 'vendors' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | public enum OBSEnums {
15 | public struct EventSubscription: OptionSet, Codable {
| `- note: consider making struct 'EventSubscription' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 | public init(rawValue: Int) {
:
72 | /// - Version: Latest Supported RPC Version - `1`
73 | /// - Since: Added in v5.0.0
74 | public static let vendors = EventSubscription(rawValue: 1 << 9)
| |- warning: static property 'vendors' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'vendors' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |
76 | /// Subscription value to receive events in the `Ui` category.
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Generated/Types.swift:79:27: warning: static property 'ui' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | public enum OBSEnums {
15 | public struct EventSubscription: OptionSet, Codable {
| `- note: consider making struct 'EventSubscription' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 | public init(rawValue: Int) {
:
77 | /// - Version: Latest Supported RPC Version - `1`
78 | /// - Since: Added in v5.0.0
79 | public static let ui = EventSubscription(rawValue: 1 << 10)
| |- warning: static property 'ui' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ui' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 |
81 | /// Helper to receive all non-high-volume events.
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Generated/Types.swift:84:27: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | public enum OBSEnums {
15 | public struct EventSubscription: OptionSet, Codable {
| `- note: consider making struct 'EventSubscription' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 | public init(rawValue: Int) {
:
82 | /// - Version: Latest Supported RPC Version - `1`
83 | /// - Since: Added in v5.0.0
84 | public static let all: EventSubscription = [.general, .config, .scenes, .inputs, .transitions, .filters, .outputs, .sceneItems, .mediaInputs, .vendors, .ui]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 |
86 | /// Subscription value to receive the ``OBSEvents/InputVolumeMeters`` high-volume event.
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Generated/Types.swift:89:27: warning: static property 'inputVolumeMeters' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | public enum OBSEnums {
15 | public struct EventSubscription: OptionSet, Codable {
| `- note: consider making struct 'EventSubscription' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 | public init(rawValue: Int) {
:
87 | /// - Version: Latest Supported RPC Version - `1`
88 | /// - Since: Added in v5.0.0
89 | public static let inputVolumeMeters = EventSubscription(rawValue: 1 << 16)
| |- warning: static property 'inputVolumeMeters' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'inputVolumeMeters' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 |
91 | /// Subscription value to receive the ``OBSEvents/InputActiveStateChanged`` high-volume event.
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Generated/Types.swift:94:27: warning: static property 'inputActiveStateChanged' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | public enum OBSEnums {
15 | public struct EventSubscription: OptionSet, Codable {
| `- note: consider making struct 'EventSubscription' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 | public init(rawValue: Int) {
:
92 | /// - Version: Latest Supported RPC Version - `1`
93 | /// - Since: Added in v5.0.0
94 | public static let inputActiveStateChanged = EventSubscription(rawValue: 1 << 17)
| |- warning: static property 'inputActiveStateChanged' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'inputActiveStateChanged' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 |
96 | /// Subscription value to receive the ``OBSEvents/InputShowStateChanged`` high-volume event.
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Generated/Types.swift:99:27: warning: static property 'inputShowStateChanged' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | public enum OBSEnums {
15 | public struct EventSubscription: OptionSet, Codable {
| `- note: consider making struct 'EventSubscription' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 | public init(rawValue: Int) {
:
97 | /// - Version: Latest Supported RPC Version - `1`
98 | /// - Since: Added in v5.0.0
99 | public static let inputShowStateChanged = EventSubscription(rawValue: 1 << 18)
| |- warning: static property 'inputShowStateChanged' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'inputShowStateChanged' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 |
101 | /// Subscription value to receive the ``OBSEvents/SceneItemTransformChanged`` high-volume event.
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Generated/Types.swift:104:27: warning: static property 'sceneItemTransformChanged' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | public enum OBSEnums {
15 | public struct EventSubscription: OptionSet, Codable {
| `- note: consider making struct 'EventSubscription' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 | public init(rawValue: Int) {
:
102 | /// - Version: Latest Supported RPC Version - `1`
103 | /// - Since: Added in v5.0.0
104 | public static let sceneItemTransformChanged = EventSubscription(rawValue: 1 << 19)
| |- warning: static property 'sceneItemTransformChanged' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sceneItemTransformChanged' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | }
106 |
[129/130] Compiling OBSwiftSocket Types.swift
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Extensions/WSPublisher Extensions.swift:34:20: warning: no calls to throwing functions occur within 'try' expression
32 | .eraseToAnyPublisher()
33 | }
34 | return try send(json)
| `- warning: no calls to throwing functions occur within 'try' expression
35 |
36 | case .msgPack:
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Extensions/WSPublisher Extensions.swift:41:20: warning: no calls to throwing functions occur within 'try' expression
39 | .eraseToAnyPublisher()
40 | }
41 | return try send(msgData)
| `- warning: no calls to throwing functions occur within 'try' expression
42 | }
43 | }
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Generated/Types.swift:29:27: warning: static property 'general' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | public enum OBSEnums {
15 | public struct EventSubscription: OptionSet, Codable {
| `- note: consider making struct 'EventSubscription' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 | public init(rawValue: Int) {
:
27 | /// - Version: Latest Supported RPC Version - `1`
28 | /// - Since: Added in v5.0.0
29 | public static let general = EventSubscription(rawValue: 1 << 0)
| |- warning: static property 'general' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'general' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | /// Subscription value to receive events in the `Config` category.
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Generated/Types.swift:34:27: warning: static property 'config' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | public enum OBSEnums {
15 | public struct EventSubscription: OptionSet, Codable {
| `- note: consider making struct 'EventSubscription' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 | public init(rawValue: Int) {
:
32 | /// - Version: Latest Supported RPC Version - `1`
33 | /// - Since: Added in v5.0.0
34 | public static let config = EventSubscription(rawValue: 1 << 1)
| |- warning: static property 'config' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'config' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// Subscription value to receive events in the `Scenes` category.
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Generated/Types.swift:39:27: warning: static property 'scenes' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | public enum OBSEnums {
15 | public struct EventSubscription: OptionSet, Codable {
| `- note: consider making struct 'EventSubscription' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 | public init(rawValue: Int) {
:
37 | /// - Version: Latest Supported RPC Version - `1`
38 | /// - Since: Added in v5.0.0
39 | public static let scenes = EventSubscription(rawValue: 1 << 2)
| |- warning: static property 'scenes' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'scenes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// Subscription value to receive events in the `Inputs` category.
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Generated/Types.swift:44:27: warning: static property 'inputs' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | public enum OBSEnums {
15 | public struct EventSubscription: OptionSet, Codable {
| `- note: consider making struct 'EventSubscription' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 | public init(rawValue: Int) {
:
42 | /// - Version: Latest Supported RPC Version - `1`
43 | /// - Since: Added in v5.0.0
44 | public static let inputs = EventSubscription(rawValue: 1 << 3)
| |- warning: static property 'inputs' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'inputs' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 |
46 | /// Subscription value to receive events in the `Transitions` category.
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Generated/Types.swift:49:27: warning: static property 'transitions' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | public enum OBSEnums {
15 | public struct EventSubscription: OptionSet, Codable {
| `- note: consider making struct 'EventSubscription' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 | public init(rawValue: Int) {
:
47 | /// - Version: Latest Supported RPC Version - `1`
48 | /// - Since: Added in v5.0.0
49 | public static let transitions = EventSubscription(rawValue: 1 << 4)
| |- warning: static property 'transitions' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'transitions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | /// Subscription value to receive events in the `Filters` category.
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Generated/Types.swift:54:27: warning: static property 'filters' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | public enum OBSEnums {
15 | public struct EventSubscription: OptionSet, Codable {
| `- note: consider making struct 'EventSubscription' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 | public init(rawValue: Int) {
:
52 | /// - Version: Latest Supported RPC Version - `1`
53 | /// - Since: Added in v5.0.0
54 | public static let filters = EventSubscription(rawValue: 1 << 5)
| |- warning: static property 'filters' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'filters' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 |
56 | /// Subscription value to receive events in the `Outputs` category.
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Generated/Types.swift:59:27: warning: static property 'outputs' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | public enum OBSEnums {
15 | public struct EventSubscription: OptionSet, Codable {
| `- note: consider making struct 'EventSubscription' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 | public init(rawValue: Int) {
:
57 | /// - Version: Latest Supported RPC Version - `1`
58 | /// - Since: Added in v5.0.0
59 | public static let outputs = EventSubscription(rawValue: 1 << 6)
| |- warning: static property 'outputs' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'outputs' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | /// Subscription value to receive events in the `SceneItems` category.
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Generated/Types.swift:64:27: warning: static property 'sceneItems' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | public enum OBSEnums {
15 | public struct EventSubscription: OptionSet, Codable {
| `- note: consider making struct 'EventSubscription' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 | public init(rawValue: Int) {
:
62 | /// - Version: Latest Supported RPC Version - `1`
63 | /// - Since: Added in v5.0.0
64 | public static let sceneItems = EventSubscription(rawValue: 1 << 7)
| |- warning: static property 'sceneItems' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sceneItems' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | /// Subscription value to receive events in the `MediaInputs` category.
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Generated/Types.swift:69:27: warning: static property 'mediaInputs' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | public enum OBSEnums {
15 | public struct EventSubscription: OptionSet, Codable {
| `- note: consider making struct 'EventSubscription' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 | public init(rawValue: Int) {
:
67 | /// - Version: Latest Supported RPC Version - `1`
68 | /// - Since: Added in v5.0.0
69 | public static let mediaInputs = EventSubscription(rawValue: 1 << 8)
| |- warning: static property 'mediaInputs' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mediaInputs' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 |
71 | /// Subscription value to receive the ``OBSEvents/VendorEvent`` event.
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Generated/Types.swift:74:27: warning: static property 'vendors' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | public enum OBSEnums {
15 | public struct EventSubscription: OptionSet, Codable {
| `- note: consider making struct 'EventSubscription' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 | public init(rawValue: Int) {
:
72 | /// - Version: Latest Supported RPC Version - `1`
73 | /// - Since: Added in v5.0.0
74 | public static let vendors = EventSubscription(rawValue: 1 << 9)
| |- warning: static property 'vendors' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'vendors' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |
76 | /// Subscription value to receive events in the `Ui` category.
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Generated/Types.swift:79:27: warning: static property 'ui' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | public enum OBSEnums {
15 | public struct EventSubscription: OptionSet, Codable {
| `- note: consider making struct 'EventSubscription' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 | public init(rawValue: Int) {
:
77 | /// - Version: Latest Supported RPC Version - `1`
78 | /// - Since: Added in v5.0.0
79 | public static let ui = EventSubscription(rawValue: 1 << 10)
| |- warning: static property 'ui' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ui' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 |
81 | /// Helper to receive all non-high-volume events.
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Generated/Types.swift:84:27: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | public enum OBSEnums {
15 | public struct EventSubscription: OptionSet, Codable {
| `- note: consider making struct 'EventSubscription' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 | public init(rawValue: Int) {
:
82 | /// - Version: Latest Supported RPC Version - `1`
83 | /// - Since: Added in v5.0.0
84 | public static let all: EventSubscription = [.general, .config, .scenes, .inputs, .transitions, .filters, .outputs, .sceneItems, .mediaInputs, .vendors, .ui]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 |
86 | /// Subscription value to receive the ``OBSEvents/InputVolumeMeters`` high-volume event.
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Generated/Types.swift:89:27: warning: static property 'inputVolumeMeters' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | public enum OBSEnums {
15 | public struct EventSubscription: OptionSet, Codable {
| `- note: consider making struct 'EventSubscription' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 | public init(rawValue: Int) {
:
87 | /// - Version: Latest Supported RPC Version - `1`
88 | /// - Since: Added in v5.0.0
89 | public static let inputVolumeMeters = EventSubscription(rawValue: 1 << 16)
| |- warning: static property 'inputVolumeMeters' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'inputVolumeMeters' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 |
91 | /// Subscription value to receive the ``OBSEvents/InputActiveStateChanged`` high-volume event.
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Generated/Types.swift:94:27: warning: static property 'inputActiveStateChanged' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | public enum OBSEnums {
15 | public struct EventSubscription: OptionSet, Codable {
| `- note: consider making struct 'EventSubscription' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 | public init(rawValue: Int) {
:
92 | /// - Version: Latest Supported RPC Version - `1`
93 | /// - Since: Added in v5.0.0
94 | public static let inputActiveStateChanged = EventSubscription(rawValue: 1 << 17)
| |- warning: static property 'inputActiveStateChanged' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'inputActiveStateChanged' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 |
96 | /// Subscription value to receive the ``OBSEvents/InputShowStateChanged`` high-volume event.
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Generated/Types.swift:99:27: warning: static property 'inputShowStateChanged' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | public enum OBSEnums {
15 | public struct EventSubscription: OptionSet, Codable {
| `- note: consider making struct 'EventSubscription' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 | public init(rawValue: Int) {
:
97 | /// - Version: Latest Supported RPC Version - `1`
98 | /// - Since: Added in v5.0.0
99 | public static let inputShowStateChanged = EventSubscription(rawValue: 1 << 18)
| |- warning: static property 'inputShowStateChanged' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'inputShowStateChanged' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 |
101 | /// Subscription value to receive the ``OBSEvents/SceneItemTransformChanged`` high-volume event.
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Generated/Types.swift:104:27: warning: static property 'sceneItemTransformChanged' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | public enum OBSEnums {
15 | public struct EventSubscription: OptionSet, Codable {
| `- note: consider making struct 'EventSubscription' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 | public init(rawValue: Int) {
:
102 | /// - Version: Latest Supported RPC Version - `1`
103 | /// - Since: Added in v5.0.0
104 | public static let sceneItemTransformChanged = EventSubscription(rawValue: 1 << 19)
| |- warning: static property 'sceneItemTransformChanged' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sceneItemTransformChanged' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | }
106 |
[130/130] Compiling OBSwiftSocket ColorComponents.swift
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Extensions/WSPublisher Extensions.swift:34:20: warning: no calls to throwing functions occur within 'try' expression
32 | .eraseToAnyPublisher()
33 | }
34 | return try send(json)
| `- warning: no calls to throwing functions occur within 'try' expression
35 |
36 | case .msgPack:
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Extensions/WSPublisher Extensions.swift:41:20: warning: no calls to throwing functions occur within 'try' expression
39 | .eraseToAnyPublisher()
40 | }
41 | return try send(msgData)
| `- warning: no calls to throwing functions occur within 'try' expression
42 | }
43 | }
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Generated/Types.swift:29:27: warning: static property 'general' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | public enum OBSEnums {
15 | public struct EventSubscription: OptionSet, Codable {
| `- note: consider making struct 'EventSubscription' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 | public init(rawValue: Int) {
:
27 | /// - Version: Latest Supported RPC Version - `1`
28 | /// - Since: Added in v5.0.0
29 | public static let general = EventSubscription(rawValue: 1 << 0)
| |- warning: static property 'general' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'general' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | /// Subscription value to receive events in the `Config` category.
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Generated/Types.swift:34:27: warning: static property 'config' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | public enum OBSEnums {
15 | public struct EventSubscription: OptionSet, Codable {
| `- note: consider making struct 'EventSubscription' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 | public init(rawValue: Int) {
:
32 | /// - Version: Latest Supported RPC Version - `1`
33 | /// - Since: Added in v5.0.0
34 | public static let config = EventSubscription(rawValue: 1 << 1)
| |- warning: static property 'config' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'config' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | /// Subscription value to receive events in the `Scenes` category.
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Generated/Types.swift:39:27: warning: static property 'scenes' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | public enum OBSEnums {
15 | public struct EventSubscription: OptionSet, Codable {
| `- note: consider making struct 'EventSubscription' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 | public init(rawValue: Int) {
:
37 | /// - Version: Latest Supported RPC Version - `1`
38 | /// - Since: Added in v5.0.0
39 | public static let scenes = EventSubscription(rawValue: 1 << 2)
| |- warning: static property 'scenes' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'scenes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | /// Subscription value to receive events in the `Inputs` category.
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Generated/Types.swift:44:27: warning: static property 'inputs' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | public enum OBSEnums {
15 | public struct EventSubscription: OptionSet, Codable {
| `- note: consider making struct 'EventSubscription' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 | public init(rawValue: Int) {
:
42 | /// - Version: Latest Supported RPC Version - `1`
43 | /// - Since: Added in v5.0.0
44 | public static let inputs = EventSubscription(rawValue: 1 << 3)
| |- warning: static property 'inputs' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'inputs' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 |
46 | /// Subscription value to receive events in the `Transitions` category.
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Generated/Types.swift:49:27: warning: static property 'transitions' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | public enum OBSEnums {
15 | public struct EventSubscription: OptionSet, Codable {
| `- note: consider making struct 'EventSubscription' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 | public init(rawValue: Int) {
:
47 | /// - Version: Latest Supported RPC Version - `1`
48 | /// - Since: Added in v5.0.0
49 | public static let transitions = EventSubscription(rawValue: 1 << 4)
| |- warning: static property 'transitions' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'transitions' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | /// Subscription value to receive events in the `Filters` category.
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Generated/Types.swift:54:27: warning: static property 'filters' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | public enum OBSEnums {
15 | public struct EventSubscription: OptionSet, Codable {
| `- note: consider making struct 'EventSubscription' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 | public init(rawValue: Int) {
:
52 | /// - Version: Latest Supported RPC Version - `1`
53 | /// - Since: Added in v5.0.0
54 | public static let filters = EventSubscription(rawValue: 1 << 5)
| |- warning: static property 'filters' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'filters' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 |
56 | /// Subscription value to receive events in the `Outputs` category.
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Generated/Types.swift:59:27: warning: static property 'outputs' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | public enum OBSEnums {
15 | public struct EventSubscription: OptionSet, Codable {
| `- note: consider making struct 'EventSubscription' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 | public init(rawValue: Int) {
:
57 | /// - Version: Latest Supported RPC Version - `1`
58 | /// - Since: Added in v5.0.0
59 | public static let outputs = EventSubscription(rawValue: 1 << 6)
| |- warning: static property 'outputs' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'outputs' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 |
61 | /// Subscription value to receive events in the `SceneItems` category.
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Generated/Types.swift:64:27: warning: static property 'sceneItems' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | public enum OBSEnums {
15 | public struct EventSubscription: OptionSet, Codable {
| `- note: consider making struct 'EventSubscription' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 | public init(rawValue: Int) {
:
62 | /// - Version: Latest Supported RPC Version - `1`
63 | /// - Since: Added in v5.0.0
64 | public static let sceneItems = EventSubscription(rawValue: 1 << 7)
| |- warning: static property 'sceneItems' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sceneItems' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
65 |
66 | /// Subscription value to receive events in the `MediaInputs` category.
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Generated/Types.swift:69:27: warning: static property 'mediaInputs' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | public enum OBSEnums {
15 | public struct EventSubscription: OptionSet, Codable {
| `- note: consider making struct 'EventSubscription' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 | public init(rawValue: Int) {
:
67 | /// - Version: Latest Supported RPC Version - `1`
68 | /// - Since: Added in v5.0.0
69 | public static let mediaInputs = EventSubscription(rawValue: 1 << 8)
| |- warning: static property 'mediaInputs' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mediaInputs' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 |
71 | /// Subscription value to receive the ``OBSEvents/VendorEvent`` event.
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Generated/Types.swift:74:27: warning: static property 'vendors' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | public enum OBSEnums {
15 | public struct EventSubscription: OptionSet, Codable {
| `- note: consider making struct 'EventSubscription' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 | public init(rawValue: Int) {
:
72 | /// - Version: Latest Supported RPC Version - `1`
73 | /// - Since: Added in v5.0.0
74 | public static let vendors = EventSubscription(rawValue: 1 << 9)
| |- warning: static property 'vendors' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'vendors' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |
76 | /// Subscription value to receive events in the `Ui` category.
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Generated/Types.swift:79:27: warning: static property 'ui' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | public enum OBSEnums {
15 | public struct EventSubscription: OptionSet, Codable {
| `- note: consider making struct 'EventSubscription' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 | public init(rawValue: Int) {
:
77 | /// - Version: Latest Supported RPC Version - `1`
78 | /// - Since: Added in v5.0.0
79 | public static let ui = EventSubscription(rawValue: 1 << 10)
| |- warning: static property 'ui' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ui' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 |
81 | /// Helper to receive all non-high-volume events.
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Generated/Types.swift:84:27: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | public enum OBSEnums {
15 | public struct EventSubscription: OptionSet, Codable {
| `- note: consider making struct 'EventSubscription' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 | public init(rawValue: Int) {
:
82 | /// - Version: Latest Supported RPC Version - `1`
83 | /// - Since: Added in v5.0.0
84 | public static let all: EventSubscription = [.general, .config, .scenes, .inputs, .transitions, .filters, .outputs, .sceneItems, .mediaInputs, .vendors, .ui]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 |
86 | /// Subscription value to receive the ``OBSEvents/InputVolumeMeters`` high-volume event.
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Generated/Types.swift:89:27: warning: static property 'inputVolumeMeters' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | public enum OBSEnums {
15 | public struct EventSubscription: OptionSet, Codable {
| `- note: consider making struct 'EventSubscription' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 | public init(rawValue: Int) {
:
87 | /// - Version: Latest Supported RPC Version - `1`
88 | /// - Since: Added in v5.0.0
89 | public static let inputVolumeMeters = EventSubscription(rawValue: 1 << 16)
| |- warning: static property 'inputVolumeMeters' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'inputVolumeMeters' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 |
91 | /// Subscription value to receive the ``OBSEvents/InputActiveStateChanged`` high-volume event.
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Generated/Types.swift:94:27: warning: static property 'inputActiveStateChanged' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | public enum OBSEnums {
15 | public struct EventSubscription: OptionSet, Codable {
| `- note: consider making struct 'EventSubscription' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 | public init(rawValue: Int) {
:
92 | /// - Version: Latest Supported RPC Version - `1`
93 | /// - Since: Added in v5.0.0
94 | public static let inputActiveStateChanged = EventSubscription(rawValue: 1 << 17)
| |- warning: static property 'inputActiveStateChanged' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'inputActiveStateChanged' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 |
96 | /// Subscription value to receive the ``OBSEvents/InputShowStateChanged`` high-volume event.
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Generated/Types.swift:99:27: warning: static property 'inputShowStateChanged' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | public enum OBSEnums {
15 | public struct EventSubscription: OptionSet, Codable {
| `- note: consider making struct 'EventSubscription' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 | public init(rawValue: Int) {
:
97 | /// - Version: Latest Supported RPC Version - `1`
98 | /// - Since: Added in v5.0.0
99 | public static let inputShowStateChanged = EventSubscription(rawValue: 1 << 18)
| |- warning: static property 'inputShowStateChanged' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'inputShowStateChanged' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 |
101 | /// Subscription value to receive the ``OBSEvents/SceneItemTransformChanged`` high-volume event.
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Generated/Types.swift:104:27: warning: static property 'sceneItemTransformChanged' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | public enum OBSEnums {
15 | public struct EventSubscription: OptionSet, Codable {
| `- note: consider making struct 'EventSubscription' conform to the 'Sendable' protocol
16 | public let rawValue: Int
17 | public init(rawValue: Int) {
:
102 | /// - Version: Latest Supported RPC Version - `1`
103 | /// - Since: Added in v5.0.0
104 | public static let sceneItemTransformChanged = EventSubscription(rawValue: 1 << 19)
| |- warning: static property 'sceneItemTransformChanged' is not concurrency-safe because non-'Sendable' type 'OBSEnums.EventSubscription' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sceneItemTransformChanged' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | }
106 |
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 --target OBSwiftSocket
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/74] Compiling CombineExtensions ReplaySubject.swift
[3/74] Compiling CombineExtensions Publisher+weakAssign.swift
[4/74] Compiling CombineExtensions Publisher+tryFlatMap.swift
[5/74] Compiling HTTPTypes HTTPField.swift
[6/74] Emitting module HTTPTypes
[7/74] Compiling CombineExtensions Publisher+flatMapZip.swift
[8/74] Compiling CombineExtensions Publisher+replaceErrorWith.swift
[9/74] Compiling HTTPTypes NIOLock.swift
[10/74] Emitting module JSONValue
[11/74] Compiling CombineExtensions Publisher+asyncMap.swift
[12/74] Compiling CombineExtensions Publisher+asVoid.swift
[13/74] Compiling CombineExtensions Future+initWithValue.swift
[14/74] Compiling CombineExtensions Publisher+filterByKeyPath.swift
[15/74] Emitting module CombineExtensions
[16/74] Compiling HTTPTypes ISOLatin1String.swift
[17/74] Compiling JSONValue JSONValue+Merging.swift
[18/74] Compiling JSONValue JSONValue+Subscripts.swift
[19/74] Compiling JSONValue JSONValue+Errors.swift
[20/74] Compiling JSONValue JSONValue+Codable.swift
[21/74] Compiling JSONValue JSONValue+Convenience.swift
[22/74] Compiling JSONValue JSONValue+ExpressibleByLiteral.swift
[23/74] Compiling JSONValue JSONInterpolatable.swift
[24/74] Compiling MessagePacker Float+.swift
[25/74] Compiling MessagePacker Int+.swift
[26/74] Compiling MessagePacker Int16+.swift
[27/74] Compiling MessagePacker Int32+.swift
[28/78] Compiling JSONValue JSONValue.swift
[29/78] Compiling JSONValue JSONConvertible.swift
[30/78] Compiling MessagePacker Int64+.swift
[31/78] Compiling MessagePacker Int8+.swift
[32/78] Compiling MessagePacker SingleValueDecodingContainer+.swift
[33/78] Compiling MessagePacker SingleValueEncodingContainer+.swift
[34/78] Emitting module AsyncCompatibilityKit
[35/78] Compiling AsyncCompatibilityKit Future+Async.swift
[36/78] Compiling AsyncCompatibilityKit Publisher+Async.swift
[37/78] Compiling MessagePacker Bool+.swift
[38/78] Compiling MessagePacker ClosedRange+.swift
[39/78] Compiling MessagePacker Data+.swift
[40/78] Compiling MessagePacker Date+.swift
[41/78] Compiling MessagePacker Double+.swift
[42/78] Compiling AsyncCompatibilityKit View+Async.swift
[43/78] Compiling HTTPTypes HTTPParsedFields.swift
[44/78] Compiling AsyncCompatibilityKit URLSession+Async.swift
[45/78] Compiling AsyncCompatibilityKit Publisher+firstValue.swift
[46/78] Emitting module MessagePacker
[47/78] Compiling MessagePacker MessagePackType+DoubleType.swift
[48/78] Compiling MessagePacker MessagePackType+ExtensionType.swift
[49/78] Compiling MessagePacker MessagePackType+FixIntType.swift
[50/78] Compiling MessagePacker MessagePackType+FloatType.swift
[51/78] Compiling MessagePacker MessagePackType+MapType.swift
[52/78] Compiling MessagePacker MessagePackType+NilType.swift
[53/78] Compiling MessagePacker MessagePackType+SignedIntegerType.swift
[54/78] Compiling MessagePacker MessagePackType+StringType.swift
[55/78] Compiling MessagePacker MessagePackTimestamp.swift
[56/78] Compiling MessagePacker MessagePackType+ArrayType.swift
[57/78] Compiling MessagePacker MessagePackType+BinaryType.swift
[58/78] Compiling MessagePacker MessagePackType+BooleanType.swift
[59/78] Compiling MessagePacker MessagePackError.swift
[60/78] Compiling MessagePacker MessagePackExtension.swift
[61/78] Compiling MessagePacker MessagePackKey.swift
[62/78] Compiling MessagePacker MessagePackStorage.swift
[63/78] Compiling HTTPTypes HTTPRequest.swift
[64/78] Compiling HTTPTypes HTTPResponse.swift
[65/78] Compiling HTTPTypes HTTPFieldName.swift
[66/78] Compiling HTTPTypes HTTPFields.swift
[67/78] Compiling MessagePacker MessagePackType+UnsignedIntegerType.swift
[68/78] Compiling MessagePacker MessagePackType.swift
[69/78] Compiling MessagePacker MessagePackable.swift
[70/78] Compiling MessagePacker Utils.swift
[71/84] Compiling MessagePacker String+.swift
[72/84] Compiling MessagePacker UInt+.swift
[73/84] Compiling MessagePacker UInt16+.swift
[74/84] Compiling MessagePacker UInt32+.swift
[75/84] Compiling MessagePacker UInt64+.swift
[76/84] Compiling MessagePacker UInt8+.swift
[77/84] Compiling MessagePacker MessagePackDecoder.swift
[78/84] Compiling MessagePacker MessagePackEncoder.swift
[79/84] Compiling HTTPTypesFoundation URLRequest+HTTPTypes.swift
[80/84] Compiling HTTPTypesFoundation HTTPTypes+ISOLatin1.swift
[81/84] Compiling HTTPTypesFoundation URLResponse+HTTPTypes.swift
[82/84] Compiling HTTPTypesFoundation URLSession+HTTPTypes.swift
[83/84] Emitting module HTTPTypesFoundation
[84/84] Compiling HTTPTypesFoundation HTTPRequest+URL.swift
[85/94] Compiling WSPublisher URLSessionWebSocketTask+Async.swift
[86/95] Compiling WSPublisher URLSessionWebSocketTask+Combine.swift
[87/95] Compiling WSPublisher WebSocketPublisher+Errors.swift
[88/95] Compiling WSPublisher WebSocketPublisher+URLSessionDelegate.swift
[89/95] Compiling WSPublisher URLSessionWebSocketTaskMessage+Hashable.swift
[90/95] Compiling WSPublisher WebSocketPublisher+Event.swift
[91/95] Compiling WSPublisher URLSessionWebSocketTaskCloseCode+StringConvertible.swift
[92/95] Compiling WSPublisher WSPublisher+SwiftUI.swift
[93/95] Emitting module WSPublisher
[94/95] Compiling WSPublisher WebSocketPublisher+Async.swift
[95/95] Compiling WSPublisher WebSocketPublisher.swift
[96/120] Compiling OBSwiftSocket StateManager.swift
[97/120] Compiling OBSwiftSocket Event Subtypes.swift
[98/120] Compiling OBSwiftSocket General Input Settings.swift
[99/122] Compiling OBSwiftSocket DisplayCapture.swift
[100/122] Compiling OBSwiftSocket GameCapture.swift
[101/122] Compiling OBSwiftSocket ImageSource.swift
[102/122] Compiling OBSwiftSocket Misc Extensions.swift
[103/122] Compiling OBSwiftSocket PropertyWrappers.swift
[104/122] Compiling OBSwiftSocket SessionManager Extensions.swift
[105/122] Compiling OBSwiftSocket Request Subtypes.swift
[106/122] Compiling OBSwiftSocket Transform.swift
[107/122] Emitting module OBSwiftSocket
[108/122] Compiling OBSwiftSocket VideoInput.swift
[109/122] Compiling OBSwiftSocket WindowCapture.swift
[110/122] Compiling OBSwiftSocket MediaSource.swift
[111/122] Compiling OBSwiftSocket Slideshow.swift
[112/122] Compiling OBSwiftSocket AudioCapture.swift
[113/122] Compiling OBSwiftSocket BrowserSource.swift
[114/122] Compiling OBSwiftSocket ColorSource.swift
[115/122] Compiling OBSwiftSocket WSPublisher Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Extensions/WSPublisher Extensions.swift:34:20: warning: no calls to throwing functions occur within 'try' expression
32 | .eraseToAnyPublisher()
33 | }
34 | return try send(json)
| `- warning: no calls to throwing functions occur within 'try' expression
35 |
36 | case .msgPack:
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Extensions/WSPublisher Extensions.swift:41:20: warning: no calls to throwing functions occur within 'try' expression
39 | .eraseToAnyPublisher()
40 | }
41 | return try send(msgData)
| `- warning: no calls to throwing functions occur within 'try' expression
42 | }
43 | }
[116/122] Compiling OBSwiftSocket Types.swift
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Extensions/WSPublisher Extensions.swift:34:20: warning: no calls to throwing functions occur within 'try' expression
32 | .eraseToAnyPublisher()
33 | }
34 | return try send(json)
| `- warning: no calls to throwing functions occur within 'try' expression
35 |
36 | case .msgPack:
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Extensions/WSPublisher Extensions.swift:41:20: warning: no calls to throwing functions occur within 'try' expression
39 | .eraseToAnyPublisher()
40 | }
41 | return try send(msgData)
| `- warning: no calls to throwing functions occur within 'try' expression
42 | }
43 | }
[117/122] Compiling OBSwiftSocket ColorComponents.swift
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Extensions/WSPublisher Extensions.swift:34:20: warning: no calls to throwing functions occur within 'try' expression
32 | .eraseToAnyPublisher()
33 | }
34 | return try send(json)
| `- warning: no calls to throwing functions occur within 'try' expression
35 |
36 | case .msgPack:
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/Extensions/WSPublisher Extensions.swift:41:20: warning: no calls to throwing functions occur within 'try' expression
39 | .eraseToAnyPublisher()
40 | }
41 | return try send(msgData)
| `- warning: no calls to throwing functions occur within 'try' expression
42 | }
43 | }
[118/122] Compiling OBSwiftSocket TextSource.swift
[119/122] Compiling OBSwiftSocket VLCSource.swift
[120/122] Compiling OBSwiftSocket OBS-WS Base Types.swift
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/OBS-WS Base Types.swift:49:59: error: extraneous argument label 'dynamicMember:' in subscript
47 | case .request:
48 | // Get name of request
49 | guard case .string(let requestTypeName) = data[dynamicMember: OpDataTypes.Request.CodingKeys.type.rawValue],
| `- error: extraneous argument label 'dynamicMember:' in subscript
50 | let requestType = OBSRequests.AllTypes(rawValue: requestTypeName),
51 | case .string(let id) = data[dynamicMember: OpDataTypes.Request.CodingKeys.id.rawValue],
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/OBS-WS Base Types.swift:51:46: error: extraneous argument label 'dynamicMember:' in subscript
49 | guard case .string(let requestTypeName) = data[dynamicMember: OpDataTypes.Request.CodingKeys.type.rawValue],
50 | let requestType = OBSRequests.AllTypes(rawValue: requestTypeName),
51 | case .string(let id) = data[dynamicMember: OpDataTypes.Request.CodingKeys.id.rawValue],
| `- error: extraneous argument label 'dynamicMember:' in subscript
52 | let data = data[dynamicMember: OpDataTypes.Request.CodingKeys.data.rawValue]
53 | else { casted = nil; break }
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/OBS-WS Base Types.swift:52:34: error: extraneous argument label 'dynamicMember:' in subscript
50 | let requestType = OBSRequests.AllTypes(rawValue: requestTypeName),
51 | case .string(let id) = data[dynamicMember: OpDataTypes.Request.CodingKeys.id.rawValue],
52 | let data = data[dynamicMember: OpDataTypes.Request.CodingKeys.data.rawValue]
| `- error: extraneous argument label 'dynamicMember:' in subscript
53 | else { casted = nil; break }
54 |
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/SessionManager.swift:89:38: warning: 'WSErrors' is deprecated: WSErrors has been renamed to `Errors` for the sake of brevity.
87 | public func checkForConnection() throws {
88 | if !isWebSocketConnected {
89 | throw WebSocketPublisher.WSErrors.noActiveConnection
| |- warning: 'WSErrors' is deprecated: WSErrors has been renamed to `Errors` for the sake of brevity.
| `- note: use 'Errors' instead
90 | }
91 | }
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/SessionManager.swift:393:23: error: tuple pattern has the wrong length for tuple type 'WebSocketPublisher.Event.Disconnect'
391 | .tryFilter { event throws -> Bool in
392 | switch event {
393 | case .disconnected(let wsCloseCode, let reason):
| `- error: tuple pattern has the wrong length for tuple type 'WebSocketPublisher.Event.Disconnect'
394 | let obsCloseCode = OBSEnums.CloseCode(rawValue: wsCloseCode.rawValue)
395 | self.connectionState = .disconnected
[121/122] Compiling OBSwiftSocket PublisherStore.swift
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/OBS-WS Base Types.swift:49:59: error: extraneous argument label 'dynamicMember:' in subscript
47 | case .request:
48 | // Get name of request
49 | guard case .string(let requestTypeName) = data[dynamicMember: OpDataTypes.Request.CodingKeys.type.rawValue],
| `- error: extraneous argument label 'dynamicMember:' in subscript
50 | let requestType = OBSRequests.AllTypes(rawValue: requestTypeName),
51 | case .string(let id) = data[dynamicMember: OpDataTypes.Request.CodingKeys.id.rawValue],
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/OBS-WS Base Types.swift:51:46: error: extraneous argument label 'dynamicMember:' in subscript
49 | guard case .string(let requestTypeName) = data[dynamicMember: OpDataTypes.Request.CodingKeys.type.rawValue],
50 | let requestType = OBSRequests.AllTypes(rawValue: requestTypeName),
51 | case .string(let id) = data[dynamicMember: OpDataTypes.Request.CodingKeys.id.rawValue],
| `- error: extraneous argument label 'dynamicMember:' in subscript
52 | let data = data[dynamicMember: OpDataTypes.Request.CodingKeys.data.rawValue]
53 | else { casted = nil; break }
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/OBS-WS Base Types.swift:52:34: error: extraneous argument label 'dynamicMember:' in subscript
50 | let requestType = OBSRequests.AllTypes(rawValue: requestTypeName),
51 | case .string(let id) = data[dynamicMember: OpDataTypes.Request.CodingKeys.id.rawValue],
52 | let data = data[dynamicMember: OpDataTypes.Request.CodingKeys.data.rawValue]
| `- error: extraneous argument label 'dynamicMember:' in subscript
53 | else { casted = nil; break }
54 |
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/SessionManager.swift:89:38: warning: 'WSErrors' is deprecated: WSErrors has been renamed to `Errors` for the sake of brevity.
87 | public func checkForConnection() throws {
88 | if !isWebSocketConnected {
89 | throw WebSocketPublisher.WSErrors.noActiveConnection
| |- warning: 'WSErrors' is deprecated: WSErrors has been renamed to `Errors` for the sake of brevity.
| `- note: use 'Errors' instead
90 | }
91 | }
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/SessionManager.swift:393:23: error: tuple pattern has the wrong length for tuple type 'WebSocketPublisher.Event.Disconnect'
391 | .tryFilter { event throws -> Bool in
392 | switch event {
393 | case .disconnected(let wsCloseCode, let reason):
| `- error: tuple pattern has the wrong length for tuple type 'WebSocketPublisher.Event.Disconnect'
394 | let obsCloseCode = OBSEnums.CloseCode(rawValue: wsCloseCode.rawValue)
395 | self.connectionState = .disconnected
[122/122] Compiling OBSwiftSocket SessionManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/OBS-WS Base Types.swift:49:59: error: extraneous argument label 'dynamicMember:' in subscript
47 | case .request:
48 | // Get name of request
49 | guard case .string(let requestTypeName) = data[dynamicMember: OpDataTypes.Request.CodingKeys.type.rawValue],
| `- error: extraneous argument label 'dynamicMember:' in subscript
50 | let requestType = OBSRequests.AllTypes(rawValue: requestTypeName),
51 | case .string(let id) = data[dynamicMember: OpDataTypes.Request.CodingKeys.id.rawValue],
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/OBS-WS Base Types.swift:51:46: error: extraneous argument label 'dynamicMember:' in subscript
49 | guard case .string(let requestTypeName) = data[dynamicMember: OpDataTypes.Request.CodingKeys.type.rawValue],
50 | let requestType = OBSRequests.AllTypes(rawValue: requestTypeName),
51 | case .string(let id) = data[dynamicMember: OpDataTypes.Request.CodingKeys.id.rawValue],
| `- error: extraneous argument label 'dynamicMember:' in subscript
52 | let data = data[dynamicMember: OpDataTypes.Request.CodingKeys.data.rawValue]
53 | else { casted = nil; break }
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/OBS-WS Base Types.swift:52:34: error: extraneous argument label 'dynamicMember:' in subscript
50 | let requestType = OBSRequests.AllTypes(rawValue: requestTypeName),
51 | case .string(let id) = data[dynamicMember: OpDataTypes.Request.CodingKeys.id.rawValue],
52 | let data = data[dynamicMember: OpDataTypes.Request.CodingKeys.data.rawValue]
| `- error: extraneous argument label 'dynamicMember:' in subscript
53 | else { casted = nil; break }
54 |
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/SessionManager.swift:89:38: warning: 'WSErrors' is deprecated: WSErrors has been renamed to `Errors` for the sake of brevity.
87 | public func checkForConnection() throws {
88 | if !isWebSocketConnected {
89 | throw WebSocketPublisher.WSErrors.noActiveConnection
| |- warning: 'WSErrors' is deprecated: WSErrors has been renamed to `Errors` for the sake of brevity.
| `- note: use 'Errors' instead
90 | }
91 | }
/Users/admin/builder/spi-builder-workspace/Sources/OBSwiftSocket/SessionManager.swift:393:23: error: tuple pattern has the wrong length for tuple type 'WebSocketPublisher.Event.Disconnect'
391 | .tryFilter { event throws -> Bool in
392 | switch event {
393 | case .disconnected(let wsCloseCode, let reason):
| `- error: tuple pattern has the wrong length for tuple type 'WebSocketPublisher.Event.Disconnect'
394 | let obsCloseCode = OBSEnums.CloseCode(rawValue: wsCloseCode.rawValue)
395 | self.connectionState = .disconnected
BUILD FAILURE 6.1 macosSpm