Build Information
Failed to build OBSwiftSocket, reference 1.0.2 (3223d9
), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 19:15:48 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 --target OBSwiftSocket -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
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: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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
952 | }
953 |
/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/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: annotate 'connectionData' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | }
106 |
/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/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: annotate 'connectionData' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | }
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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
401 | }
402 |
[123/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: annotate 'connectionData' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | }
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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
401 | }
402 |
[124/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: annotate 'connectionData' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | }
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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
401 | }
402 |
[125/130] Compiling OBSwiftSocket Request Subtypes.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: annotate 'center' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'left' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'right' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'top' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'bottom' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'topLeft' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'topRight' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'bottomLeft' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'bottomRight' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 | }
157 |
[126/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: annotate 'center' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'left' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'right' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'top' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'bottom' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'topLeft' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'topRight' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'bottomLeft' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'bottomRight' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 | }
157 |
[127/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: annotate 'connectionData' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | }
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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'general' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'config' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'scenes' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'inputs' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 |
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: annotate 'transitions' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'filters' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'outputs' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'sceneItems' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'mediaInputs' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'vendors' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |
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: annotate 'ui' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'inputVolumeMeters' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'inputActiveStateChanged' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'inputShowStateChanged' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'sceneItemTransformChanged' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | }
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: annotate 'opCode' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'opCode' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'opCode' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'opCode' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'type' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'center' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'left' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'right' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'top' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'bottom' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'topLeft' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'topRight' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'bottomLeft' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'bottomRight' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
156 | }
157 |
[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: annotate 'general' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'config' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'scenes' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'inputs' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 |
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: annotate 'transitions' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'filters' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'outputs' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'sceneItems' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'mediaInputs' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'vendors' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |
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: annotate 'ui' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'inputVolumeMeters' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'inputActiveStateChanged' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'inputShowStateChanged' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'sceneItemTransformChanged' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | }
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: annotate 'general' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'config' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'scenes' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'inputs' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 |
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: annotate 'transitions' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'filters' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'outputs' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'sceneItems' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'mediaInputs' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'vendors' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |
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: annotate 'ui' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'inputVolumeMeters' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'inputActiveStateChanged' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'inputShowStateChanged' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'sceneItemTransformChanged' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | }
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: annotate 'general' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'config' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'scenes' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'inputs' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 |
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: annotate 'transitions' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'filters' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'outputs' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'sceneItems' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'mediaInputs' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'vendors' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |
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: annotate 'ui' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'inputVolumeMeters' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'inputActiveStateChanged' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'inputShowStateChanged' with '@MainActor' if property should only be accessed from the main actor
| `- 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: annotate 'sceneItemTransformChanged' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
105 | }
106 |
BUILD FAILURE 6.0 macosSpm