Build Information
Failed to build Atem, reference 1.1.1 (f2af19
), with Swift 6.1 for Linux on 26 Apr 2025 02:37:31 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
159 | }
160 |
161 | public struct Availability: OptionSet, SingleValueDescribable {
| `- note: consider making struct 'Availability' conform to the 'Sendable' protocol
162 | public let rawValue: UInt8
163 | public init(rawValue: UInt8) {
:
168 | public static let multiviewer = Availability(rawValue: 1 << 1)
169 | public static let superSourceArt = Availability(rawValue: 1 << 2)
170 | public static let superSourceBox = Availability(rawValue: 1 << 3)
| |- warning: static property 'superSourceBox' is not concurrency-safe because non-'Sendable' type 'VideoSource.Availability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'superSourceBox' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
171 | public static let keySources = Availability(rawValue: 1 << 4)
172 |
/host/spi-builder-workspace/Sources/Atem/VideoSource.swift:171:21: warning: static property 'keySources' is not concurrency-safe because non-'Sendable' type 'VideoSource.Availability' may have shared mutable state; this is an error in the Swift 6 language mode
159 | }
160 |
161 | public struct Availability: OptionSet, SingleValueDescribable {
| `- note: consider making struct 'Availability' conform to the 'Sendable' protocol
162 | public let rawValue: UInt8
163 | public init(rawValue: UInt8) {
:
169 | public static let superSourceArt = Availability(rawValue: 1 << 2)
170 | public static let superSourceBox = Availability(rawValue: 1 << 3)
171 | public static let keySources = Availability(rawValue: 1 << 4)
| |- warning: static property 'keySources' is not concurrency-safe because non-'Sendable' type 'VideoSource.Availability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'keySources' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
172 |
173 | public func describe() -> String? {
/host/spi-builder-workspace/Sources/Atem/VideoSource.swift:191:21: warning: static property 'me1AndFillSources' is not concurrency-safe because non-'Sendable' type 'VideoSource.MixEffects' may have shared mutable state; this is an error in the Swift 6 language mode
183 | }
184 |
185 | public struct MixEffects: OptionSet, SingleValueDescribable {
| `- note: consider making struct 'MixEffects' conform to the 'Sendable' protocol
186 | public let rawValue: UInt8
187 | public init(rawValue: UInt8) {
:
189 | }
190 |
191 | public static let me1AndFillSources = MixEffects(rawValue: 1 << 0)
| |- warning: static property 'me1AndFillSources' is not concurrency-safe because non-'Sendable' type 'VideoSource.MixEffects' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'me1AndFillSources' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
192 | public static let me2AndFillSources = MixEffects(rawValue: 1 << 1)
193 |
/host/spi-builder-workspace/Sources/Atem/VideoSource.swift:192:21: warning: static property 'me2AndFillSources' is not concurrency-safe because non-'Sendable' type 'VideoSource.MixEffects' may have shared mutable state; this is an error in the Swift 6 language mode
183 | }
184 |
185 | public struct MixEffects: OptionSet, SingleValueDescribable {
| `- note: consider making struct 'MixEffects' conform to the 'Sendable' protocol
186 | public let rawValue: UInt8
187 | public init(rawValue: UInt8) {
:
190 |
191 | public static let me1AndFillSources = MixEffects(rawValue: 1 << 0)
192 | public static let me2AndFillSources = MixEffects(rawValue: 1 << 1)
| |- warning: static property 'me2AndFillSources' is not concurrency-safe because non-'Sendable' type 'VideoSource.MixEffects' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'me2AndFillSources' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
193 |
194 | public static let none = MixEffects(rawValue: 0)
/host/spi-builder-workspace/Sources/Atem/VideoSource.swift:194:21: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'VideoSource.MixEffects' may have shared mutable state; this is an error in the Swift 6 language mode
183 | }
184 |
185 | public struct MixEffects: OptionSet, SingleValueDescribable {
| `- note: consider making struct 'MixEffects' conform to the 'Sendable' protocol
186 | public let rawValue: UInt8
187 | public init(rawValue: UInt8) {
:
192 | public static let me2AndFillSources = MixEffects(rawValue: 1 << 1)
193 |
194 | public static let none = MixEffects(rawValue: 0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'VideoSource.MixEffects' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
195 |
196 | public func describe() -> String? {
/host/spi-builder-workspace/Sources/Atem/VideoSource.swift:194:21: warning: static property 'none' produces an empty option set
192 | public static let me2AndFillSources = MixEffects(rawValue: 1 << 1)
193 |
194 | public static let none = MixEffects(rawValue: 0)
| |- warning: static property 'none' produces an empty option set
| `- note: use [] to silence this warning
195 |
196 | public func describe() -> String? {
[242/263] Compiling Atem VideoSource.swift
/host/spi-builder-workspace/Sources/Atem/Utilities/RawRepresentable+decode.swift:14:6: warning: stored property 'value' of 'Sendable'-conforming generic struct 'UnsupportedRawValue' has non-sendable type 'R.RawValue'; this is an error in the Swift 6 language mode
12 | struct UnsupportedRawValue<R: RawRepresentable>: LocalizedError {
13 | /// The value that is not supported by the `RawRepresentable`
14 | let value: R.RawValue
| `- warning: stored property 'value' of 'Sendable'-conforming generic struct 'UnsupportedRawValue' has non-sendable type 'R.RawValue'; this is an error in the Swift 6 language mode
15 |
16 | /// A textual description of the error
/host/spi-builder-workspace/Sources/Atem/VideoSource.swift:141:21: warning: static property 'sdi' is not concurrency-safe because non-'Sendable' type 'VideoSource.ExternalInterfaces' may have shared mutable state; this is an error in the Swift 6 language mode
133 | }
134 |
135 | public struct ExternalInterfaces: OptionSet, SingleValueDescribable {
| `- note: consider making struct 'ExternalInterfaces' conform to the 'Sendable' protocol
136 | public let rawValue: UInt8
137 | public init(rawValue: UInt8) {
:
139 | }
140 |
141 | public static let sdi = ExternalInterfaces(rawValue: 1 << 0)
| |- warning: static property 'sdi' is not concurrency-safe because non-'Sendable' type 'VideoSource.ExternalInterfaces' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sdi' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 | public static let hdmi = ExternalInterfaces(rawValue: 1 << 1)
143 | public static let composite = ExternalInterfaces(rawValue: 1 << 2)
/host/spi-builder-workspace/Sources/Atem/VideoSource.swift:142:21: warning: static property 'hdmi' is not concurrency-safe because non-'Sendable' type 'VideoSource.ExternalInterfaces' may have shared mutable state; this is an error in the Swift 6 language mode
133 | }
134 |
135 | public struct ExternalInterfaces: OptionSet, SingleValueDescribable {
| `- note: consider making struct 'ExternalInterfaces' conform to the 'Sendable' protocol
136 | public let rawValue: UInt8
137 | public init(rawValue: UInt8) {
:
140 |
141 | public static let sdi = ExternalInterfaces(rawValue: 1 << 0)
142 | public static let hdmi = ExternalInterfaces(rawValue: 1 << 1)
| |- warning: static property 'hdmi' is not concurrency-safe because non-'Sendable' type 'VideoSource.ExternalInterfaces' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hdmi' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
143 | public static let composite = ExternalInterfaces(rawValue: 1 << 2)
144 | public static let component = ExternalInterfaces(rawValue: 1 << 3)
/host/spi-builder-workspace/Sources/Atem/VideoSource.swift:143:21: warning: static property 'composite' is not concurrency-safe because non-'Sendable' type 'VideoSource.ExternalInterfaces' may have shared mutable state; this is an error in the Swift 6 language mode
133 | }
134 |
135 | public struct ExternalInterfaces: OptionSet, SingleValueDescribable {
| `- note: consider making struct 'ExternalInterfaces' conform to the 'Sendable' protocol
136 | public let rawValue: UInt8
137 | public init(rawValue: UInt8) {
:
141 | public static let sdi = ExternalInterfaces(rawValue: 1 << 0)
142 | public static let hdmi = ExternalInterfaces(rawValue: 1 << 1)
143 | public static let composite = ExternalInterfaces(rawValue: 1 << 2)
| |- warning: static property 'composite' is not concurrency-safe because non-'Sendable' type 'VideoSource.ExternalInterfaces' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'composite' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
144 | public static let component = ExternalInterfaces(rawValue: 1 << 3)
145 | public static let sVideo = ExternalInterfaces(rawValue: 1 << 4)
/host/spi-builder-workspace/Sources/Atem/VideoSource.swift:144:21: warning: static property 'component' is not concurrency-safe because non-'Sendable' type 'VideoSource.ExternalInterfaces' may have shared mutable state; this is an error in the Swift 6 language mode
133 | }
134 |
135 | public struct ExternalInterfaces: OptionSet, SingleValueDescribable {
| `- note: consider making struct 'ExternalInterfaces' conform to the 'Sendable' protocol
136 | public let rawValue: UInt8
137 | public init(rawValue: UInt8) {
:
142 | public static let hdmi = ExternalInterfaces(rawValue: 1 << 1)
143 | public static let composite = ExternalInterfaces(rawValue: 1 << 2)
144 | public static let component = ExternalInterfaces(rawValue: 1 << 3)
| |- warning: static property 'component' is not concurrency-safe because non-'Sendable' type 'VideoSource.ExternalInterfaces' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'component' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
145 | public static let sVideo = ExternalInterfaces(rawValue: 1 << 4)
146 |
/host/spi-builder-workspace/Sources/Atem/VideoSource.swift:145:21: warning: static property 'sVideo' is not concurrency-safe because non-'Sendable' type 'VideoSource.ExternalInterfaces' may have shared mutable state; this is an error in the Swift 6 language mode
133 | }
134 |
135 | public struct ExternalInterfaces: OptionSet, SingleValueDescribable {
| `- note: consider making struct 'ExternalInterfaces' conform to the 'Sendable' protocol
136 | public let rawValue: UInt8
137 | public init(rawValue: UInt8) {
:
143 | public static let composite = ExternalInterfaces(rawValue: 1 << 2)
144 | public static let component = ExternalInterfaces(rawValue: 1 << 3)
145 | public static let sVideo = ExternalInterfaces(rawValue: 1 << 4)
| |- warning: static property 'sVideo' is not concurrency-safe because non-'Sendable' type 'VideoSource.ExternalInterfaces' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sVideo' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
146 |
147 | public static let none = ExternalInterfaces(rawValue: 0)
/host/spi-builder-workspace/Sources/Atem/VideoSource.swift:147:21: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'VideoSource.ExternalInterfaces' may have shared mutable state; this is an error in the Swift 6 language mode
133 | }
134 |
135 | public struct ExternalInterfaces: OptionSet, SingleValueDescribable {
| `- note: consider making struct 'ExternalInterfaces' conform to the 'Sendable' protocol
136 | public let rawValue: UInt8
137 | public init(rawValue: UInt8) {
:
145 | public static let sVideo = ExternalInterfaces(rawValue: 1 << 4)
146 |
147 | public static let none = ExternalInterfaces(rawValue: 0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'VideoSource.ExternalInterfaces' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 |
149 | public func describe() -> String? {
/host/spi-builder-workspace/Sources/Atem/VideoSource.swift:147:21: warning: static property 'none' produces an empty option set
145 | public static let sVideo = ExternalInterfaces(rawValue: 1 << 4)
146 |
147 | public static let none = ExternalInterfaces(rawValue: 0)
| |- warning: static property 'none' produces an empty option set
| `- note: use [] to silence this warning
148 |
149 | public func describe() -> String? {
/host/spi-builder-workspace/Sources/Atem/VideoSource.swift:167:21: warning: static property 'auxiliary' is not concurrency-safe because non-'Sendable' type 'VideoSource.Availability' may have shared mutable state; this is an error in the Swift 6 language mode
159 | }
160 |
161 | public struct Availability: OptionSet, SingleValueDescribable {
| `- note: consider making struct 'Availability' conform to the 'Sendable' protocol
162 | public let rawValue: UInt8
163 | public init(rawValue: UInt8) {
:
165 | }
166 |
167 | public static let auxiliary = Availability(rawValue: 1 << 0)
| |- warning: static property 'auxiliary' is not concurrency-safe because non-'Sendable' type 'VideoSource.Availability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'auxiliary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
168 | public static let multiviewer = Availability(rawValue: 1 << 1)
169 | public static let superSourceArt = Availability(rawValue: 1 << 2)
/host/spi-builder-workspace/Sources/Atem/VideoSource.swift:168:21: warning: static property 'multiviewer' is not concurrency-safe because non-'Sendable' type 'VideoSource.Availability' may have shared mutable state; this is an error in the Swift 6 language mode
159 | }
160 |
161 | public struct Availability: OptionSet, SingleValueDescribable {
| `- note: consider making struct 'Availability' conform to the 'Sendable' protocol
162 | public let rawValue: UInt8
163 | public init(rawValue: UInt8) {
:
166 |
167 | public static let auxiliary = Availability(rawValue: 1 << 0)
168 | public static let multiviewer = Availability(rawValue: 1 << 1)
| |- warning: static property 'multiviewer' is not concurrency-safe because non-'Sendable' type 'VideoSource.Availability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'multiviewer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
169 | public static let superSourceArt = Availability(rawValue: 1 << 2)
170 | public static let superSourceBox = Availability(rawValue: 1 << 3)
/host/spi-builder-workspace/Sources/Atem/VideoSource.swift:169:21: warning: static property 'superSourceArt' is not concurrency-safe because non-'Sendable' type 'VideoSource.Availability' may have shared mutable state; this is an error in the Swift 6 language mode
159 | }
160 |
161 | public struct Availability: OptionSet, SingleValueDescribable {
| `- note: consider making struct 'Availability' conform to the 'Sendable' protocol
162 | public let rawValue: UInt8
163 | public init(rawValue: UInt8) {
:
167 | public static let auxiliary = Availability(rawValue: 1 << 0)
168 | public static let multiviewer = Availability(rawValue: 1 << 1)
169 | public static let superSourceArt = Availability(rawValue: 1 << 2)
| |- warning: static property 'superSourceArt' is not concurrency-safe because non-'Sendable' type 'VideoSource.Availability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'superSourceArt' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
170 | public static let superSourceBox = Availability(rawValue: 1 << 3)
171 | public static let keySources = Availability(rawValue: 1 << 4)
/host/spi-builder-workspace/Sources/Atem/VideoSource.swift:170:21: warning: static property 'superSourceBox' is not concurrency-safe because non-'Sendable' type 'VideoSource.Availability' may have shared mutable state; this is an error in the Swift 6 language mode
159 | }
160 |
161 | public struct Availability: OptionSet, SingleValueDescribable {
| `- note: consider making struct 'Availability' conform to the 'Sendable' protocol
162 | public let rawValue: UInt8
163 | public init(rawValue: UInt8) {
:
168 | public static let multiviewer = Availability(rawValue: 1 << 1)
169 | public static let superSourceArt = Availability(rawValue: 1 << 2)
170 | public static let superSourceBox = Availability(rawValue: 1 << 3)
| |- warning: static property 'superSourceBox' is not concurrency-safe because non-'Sendable' type 'VideoSource.Availability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'superSourceBox' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
171 | public static let keySources = Availability(rawValue: 1 << 4)
172 |
/host/spi-builder-workspace/Sources/Atem/VideoSource.swift:171:21: warning: static property 'keySources' is not concurrency-safe because non-'Sendable' type 'VideoSource.Availability' may have shared mutable state; this is an error in the Swift 6 language mode
159 | }
160 |
161 | public struct Availability: OptionSet, SingleValueDescribable {
| `- note: consider making struct 'Availability' conform to the 'Sendable' protocol
162 | public let rawValue: UInt8
163 | public init(rawValue: UInt8) {
:
169 | public static let superSourceArt = Availability(rawValue: 1 << 2)
170 | public static let superSourceBox = Availability(rawValue: 1 << 3)
171 | public static let keySources = Availability(rawValue: 1 << 4)
| |- warning: static property 'keySources' is not concurrency-safe because non-'Sendable' type 'VideoSource.Availability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'keySources' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
172 |
173 | public func describe() -> String? {
/host/spi-builder-workspace/Sources/Atem/VideoSource.swift:191:21: warning: static property 'me1AndFillSources' is not concurrency-safe because non-'Sendable' type 'VideoSource.MixEffects' may have shared mutable state; this is an error in the Swift 6 language mode
183 | }
184 |
185 | public struct MixEffects: OptionSet, SingleValueDescribable {
| `- note: consider making struct 'MixEffects' conform to the 'Sendable' protocol
186 | public let rawValue: UInt8
187 | public init(rawValue: UInt8) {
:
189 | }
190 |
191 | public static let me1AndFillSources = MixEffects(rawValue: 1 << 0)
| |- warning: static property 'me1AndFillSources' is not concurrency-safe because non-'Sendable' type 'VideoSource.MixEffects' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'me1AndFillSources' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
192 | public static let me2AndFillSources = MixEffects(rawValue: 1 << 1)
193 |
/host/spi-builder-workspace/Sources/Atem/VideoSource.swift:192:21: warning: static property 'me2AndFillSources' is not concurrency-safe because non-'Sendable' type 'VideoSource.MixEffects' may have shared mutable state; this is an error in the Swift 6 language mode
183 | }
184 |
185 | public struct MixEffects: OptionSet, SingleValueDescribable {
| `- note: consider making struct 'MixEffects' conform to the 'Sendable' protocol
186 | public let rawValue: UInt8
187 | public init(rawValue: UInt8) {
:
190 |
191 | public static let me1AndFillSources = MixEffects(rawValue: 1 << 0)
192 | public static let me2AndFillSources = MixEffects(rawValue: 1 << 1)
| |- warning: static property 'me2AndFillSources' is not concurrency-safe because non-'Sendable' type 'VideoSource.MixEffects' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'me2AndFillSources' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
193 |
194 | public static let none = MixEffects(rawValue: 0)
/host/spi-builder-workspace/Sources/Atem/VideoSource.swift:194:21: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'VideoSource.MixEffects' may have shared mutable state; this is an error in the Swift 6 language mode
183 | }
184 |
185 | public struct MixEffects: OptionSet, SingleValueDescribable {
| `- note: consider making struct 'MixEffects' conform to the 'Sendable' protocol
186 | public let rawValue: UInt8
187 | public init(rawValue: UInt8) {
:
192 | public static let me2AndFillSources = MixEffects(rawValue: 1 << 1)
193 |
194 | public static let none = MixEffects(rawValue: 0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'VideoSource.MixEffects' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
195 |
196 | public func describe() -> String? {
/host/spi-builder-workspace/Sources/Atem/VideoSource.swift:194:21: warning: static property 'none' produces an empty option set
192 | public static let me2AndFillSources = MixEffects(rawValue: 1 << 1)
193 |
194 | public static let none = MixEffects(rawValue: 0)
| |- warning: static property 'none' produces an empty option set
| `- note: use [] to silence this warning
195 |
196 | public func describe() -> String? {
[243/263] Emitting module Atem
/host/spi-builder-workspace/Sources/Atem/MessageHandler.swift:7:13: warning: var 'messageTypeRegister' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 | // Created by Damiaan on 26/05/18.
6 | //
7 | private var messageTypeRegister = [UInt32: Message.Type]()
| |- warning: var 'messageTypeRegister' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'messageTypeRegister' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'messageTypeRegister' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | /// A utility to interprete incoming messages and call the registered handlers and to send back the responses provided by the handlers. For more information on how to register handlers see `MessageHandlerBase.when(...)`. This class is similar to `MessageHandler`. The difference here is that the registered handlers should return zero or more (`Serializable`) responses for each incoming `Message`.
/host/spi-builder-workspace/Sources/Atem/MessageTypes.swift:14:20: warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// There are two version numbers in ATEM world: One for the ATEM Software Control application (for instance version 6.0) which is what people usually refers to and one for the firmware which is often updated with the PC/Mac application versions (for instance 2.15). The latter version number is what "_ver" gives you and a number you can not find anywhere in the application to our knowledge.
13 | public struct ProtocolVersion: Serializable {
14 | public static let title = MessageTitle(string: "_ver")
| |- warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | static let majorPosition = 0..<2
16 | static let minorPosition = 2..<4
/host/spi-builder-workspace/Sources/Atem/MessageTitle.swift:11:15: note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
9 |
10 | /// An ASCII String of exactly 4 characters. A list of available titles can be found in [Skarhoj's protocol description](http://skaarhoj.com/fileadmin/BMDPROTOCOL.html) under the column "CMD".
11 | public struct MessageTitle: CustomStringConvertible {
| `- note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
12 | /// The position of the title in a message. (Ignoring the first four bytes of a message)
13 | /// Slice `0 ..< 4`
/host/spi-builder-workspace/Sources/Atem/MessageTypes.swift:36:13: warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
34 | /// The type of atem
35 | struct AtemType: Serializable {
36 | static let title = MessageTitle(string: "_pin")
| |- warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | let string: String
38 |
/host/spi-builder-workspace/Sources/Atem/MessageTitle.swift:11:15: note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
9 |
10 | /// An ASCII String of exactly 4 characters. A list of available titles can be found in [Skarhoj's protocol description](http://skaarhoj.com/fileadmin/BMDPROTOCOL.html) under the column "CMD".
11 | public struct MessageTitle: CustomStringConvertible {
| `- note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
12 | /// The position of the title in a message. (Ignoring the first four bytes of a message)
13 | /// Slice `0 ..< 4`
/host/spi-builder-workspace/Sources/Atem/MessageTypes.swift:70:20: warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
68 | /// The resources of an atem
69 | public struct Topology: Serializable {
70 | public static let title = MessageTitle(string: "_top")
| |- warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 |
72 | public let mixEffectBanks: UInt8
/host/spi-builder-workspace/Sources/Atem/MessageTitle.swift:11:15: note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
9 |
10 | /// An ASCII String of exactly 4 characters. A list of available titles can be found in [Skarhoj's protocol description](http://skaarhoj.com/fileadmin/BMDPROTOCOL.html) under the column "CMD".
11 | public struct MessageTitle: CustomStringConvertible {
| `- note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
12 | /// The position of the title in a message. (Ignoring the first four bytes of a message)
13 | /// Slice `0 ..< 4`
/host/spi-builder-workspace/Sources/Atem/MessageTypes.swift:137:13: warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
135 | /// The message that should be sent at the end of the connection initiation. The connection initiation is the sequence of packets that is sent at the very beginning of a connection and they contain messages that represent the state of the device at the moment of conection.
136 | struct ConnectionInitiationEnd: Serializable {
137 | static let title = MessageTitle(string: "InCm")
| |- warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
138 | static let `default` = ConnectionInitiationEnd(with: [])
139 | let dataBytes = [UInt8(1), 0, 0, 0]
/host/spi-builder-workspace/Sources/Atem/MessageTitle.swift:11:15: note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
9 |
10 | /// An ASCII String of exactly 4 characters. A list of available titles can be found in [Skarhoj's protocol description](http://skaarhoj.com/fileadmin/BMDPROTOCOL.html) under the column "CMD".
11 | public struct MessageTitle: CustomStringConvertible {
| `- note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
12 | /// The position of the title in a message. (Ignoring the first four bytes of a message)
13 | /// Slice `0 ..< 4`
/host/spi-builder-workspace/Sources/Atem/MessageTypes.swift:148:20: warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
146 | /// Performs a cut on the atem
147 | public struct DoCut: Serializable {
148 | public static let title = MessageTitle(string: "DCut")
| |- warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
149 | public let debugDescription = "cut"
150 | public let atemSize: AtemSize
/host/spi-builder-workspace/Sources/Atem/MessageTitle.swift:11:15: note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
9 |
10 | /// An ASCII String of exactly 4 characters. A list of available titles can be found in [Skarhoj's protocol description](http://skaarhoj.com/fileadmin/BMDPROTOCOL.html) under the column "CMD".
11 | public struct MessageTitle: CustomStringConvertible {
| `- note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
12 | /// The position of the title in a message. (Ignoring the first four bytes of a message)
13 | /// Slice `0 ..< 4`
/host/spi-builder-workspace/Sources/Atem/MessageTypes.swift:167:20: warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
165 | /// Informs a switcher that the preview bus should be changed
166 | public struct ChangePreviewBus: Serializable {
167 | public static let title = MessageTitle(string: "CPvI")
| |- warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
168 |
169 | public let mixEffect: UInt8
/host/spi-builder-workspace/Sources/Atem/MessageTitle.swift:11:15: note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
9 |
10 | /// An ASCII String of exactly 4 characters. A list of available titles can be found in [Skarhoj's protocol description](http://skaarhoj.com/fileadmin/BMDPROTOCOL.html) under the column "CMD".
11 | public struct MessageTitle: CustomStringConvertible {
| `- note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
12 | /// The position of the title in a message. (Ignoring the first four bytes of a message)
13 | /// Slice `0 ..< 4`
/host/spi-builder-workspace/Sources/Atem/MessageTypes.swift:192:20: warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
190 | /// Informs a switcher that the program bus shoud be changed
191 | public struct ChangeProgramBus: Serializable {
192 | public static let title = MessageTitle(string: "CPgI")
| |- warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
193 |
194 | public let mixEffect: UInt8
/host/spi-builder-workspace/Sources/Atem/MessageTitle.swift:11:15: note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
9 |
10 | /// An ASCII String of exactly 4 characters. A list of available titles can be found in [Skarhoj's protocol description](http://skaarhoj.com/fileadmin/BMDPROTOCOL.html) under the column "CMD".
11 | public struct MessageTitle: CustomStringConvertible {
| `- note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
12 | /// The position of the title in a message. (Ignoring the first four bytes of a message)
13 | /// Slice `0 ..< 4`
/host/spi-builder-workspace/Sources/Atem/MessageTypes.swift:217:20: warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
215 | /// Informs a switcher that a source should be assigned to the specified auxiliary output
216 | public struct ChangeAuxiliaryOutput: Serializable {
217 | public static let title = MessageTitle(string: "CAuS")
| |- warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
218 |
219 | /// The source that should be assigned to the auxiliary output
/host/spi-builder-workspace/Sources/Atem/MessageTitle.swift:11:15: note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
9 |
10 | /// An ASCII String of exactly 4 characters. A list of available titles can be found in [Skarhoj's protocol description](http://skaarhoj.com/fileadmin/BMDPROTOCOL.html) under the column "CMD".
11 | public struct MessageTitle: CustomStringConvertible {
| `- note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
12 | /// The position of the title in a message. (Ignoring the first four bytes of a message)
13 | /// Slice `0 ..< 4`
/host/spi-builder-workspace/Sources/Atem/MessageTypes.swift:248:23: warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
246 | /// Informs a controller that a source has been routed to an auxiliary output
247 | public struct AuxiliaryOutputChanged: Serializable {
248 | public static let title = MessageTitle(string: "AuxS")
| |- warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
249 |
250 | /// The source that has been routed to the auxiliary output
/host/spi-builder-workspace/Sources/Atem/MessageTitle.swift:11:15: note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
9 |
10 | /// An ASCII String of exactly 4 characters. A list of available titles can be found in [Skarhoj's protocol description](http://skaarhoj.com/fileadmin/BMDPROTOCOL.html) under the column "CMD".
11 | public struct MessageTitle: CustomStringConvertible {
| `- note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
12 | /// The position of the title in a message. (Ignoring the first four bytes of a message)
13 | /// Slice `0 ..< 4`
/host/spi-builder-workspace/Sources/Atem/MessageTypes.swift:279:20: warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
277 | /// Informs a controller that the preview bus has changed
278 | public struct PreviewBusChanged: Serializable {
279 | public static let title = MessageTitle(string: "PrvI")
| |- warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
280 |
281 | public let mixEffect: UInt8
/host/spi-builder-workspace/Sources/Atem/MessageTitle.swift:11:15: note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
9 |
10 | /// An ASCII String of exactly 4 characters. A list of available titles can be found in [Skarhoj's protocol description](http://skaarhoj.com/fileadmin/BMDPROTOCOL.html) under the column "CMD".
11 | public struct MessageTitle: CustomStringConvertible {
| `- note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
12 | /// The position of the title in a message. (Ignoring the first four bytes of a message)
13 | /// Slice `0 ..< 4`
/host/spi-builder-workspace/Sources/Atem/MessageTypes.swift:303:20: warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
301 | /// Informs a controller that the program bus has changed
302 | public struct ProgramBusChanged: Serializable {
303 | public static let title = MessageTitle(string: "PrgI")
| |- warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
304 |
305 | public let mixEffect: UInt8
/host/spi-builder-workspace/Sources/Atem/MessageTitle.swift:11:15: note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
9 |
10 | /// An ASCII String of exactly 4 characters. A list of available titles can be found in [Skarhoj's protocol description](http://skaarhoj.com/fileadmin/BMDPROTOCOL.html) under the column "CMD".
11 | public struct MessageTitle: CustomStringConvertible {
| `- note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
12 | /// The position of the title in a message. (Ignoring the first four bytes of a message)
13 | /// Slice `0 ..< 4`
/host/spi-builder-workspace/Sources/Atem/MessageTypes.swift:329:20: warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
327 | public struct NewTimecode: Message {
328 | public typealias Timecode = (hour: UInt8, minute: UInt8, second: UInt8, frame: UInt8)
329 | public static let title = MessageTitle(string: "Time")
| |- warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
330 | public let timecode: Timecode
331 |
/host/spi-builder-workspace/Sources/Atem/MessageTitle.swift:11:15: note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
9 |
10 | /// An ASCII String of exactly 4 characters. A list of available titles can be found in [Skarhoj's protocol description](http://skaarhoj.com/fileadmin/BMDPROTOCOL.html) under the column "CMD".
11 | public struct MessageTitle: CustomStringConvertible {
| `- note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
12 | /// The position of the title in a message. (Ignoring the first four bytes of a message)
13 | /// Slice `0 ..< 4`
/host/spi-builder-workspace/Sources/Atem/MessageTypes.swift:346:20: warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
344 | /// Informs the switcher that it should update its transition position
345 | public struct ChangeTransitionPosition: Serializable {
346 | public static let title = MessageTitle(string: "CTPs")
| |- warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
347 | public let mixEffect: UInt8
348 | public let position: UInt16
/host/spi-builder-workspace/Sources/Atem/MessageTitle.swift:11:15: note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
9 |
10 | /// An ASCII String of exactly 4 characters. A list of available titles can be found in [Skarhoj's protocol description](http://skaarhoj.com/fileadmin/BMDPROTOCOL.html) under the column "CMD".
11 | public struct MessageTitle: CustomStringConvertible {
| `- note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
12 | /// The position of the title in a message. (Ignoring the first four bytes of a message)
13 | /// Slice `0 ..< 4`
/host/spi-builder-workspace/Sources/Atem/MessageTypes.swift:369:20: warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
367 | /// Informs the controller that the transition position has changed
368 | public struct TransitionPositionChanged: Serializable {
369 | public static let title = MessageTitle(string: "TrPs")
| |- warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
370 | public let mixEffect: UInt8
371 | public let position: UInt16
/host/spi-builder-workspace/Sources/Atem/MessageTitle.swift:11:15: note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
9 |
10 | /// An ASCII String of exactly 4 characters. A list of available titles can be found in [Skarhoj's protocol description](http://skaarhoj.com/fileadmin/BMDPROTOCOL.html) under the column "CMD".
11 | public struct MessageTitle: CustomStringConvertible {
| `- note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
12 | /// The position of the title in a message. (Ignoring the first four bytes of a message)
13 | /// Slice `0 ..< 4`
/host/spi-builder-workspace/Sources/Atem/MessageTypes.swift:401:20: warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
399 |
400 | public struct LockRequest: Serializable {
401 | public static let title = MessageTitle(string: "LOCK")
| |- warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
402 | public let store: UInt16
403 | public let state: UInt16
/host/spi-builder-workspace/Sources/Atem/MessageTitle.swift:11:15: note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
9 |
10 | /// An ASCII String of exactly 4 characters. A list of available titles can be found in [Skarhoj's protocol description](http://skaarhoj.com/fileadmin/BMDPROTOCOL.html) under the column "CMD".
11 | public struct MessageTitle: CustomStringConvertible {
| `- note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
12 | /// The position of the title in a message. (Ignoring the first four bytes of a message)
13 | /// Slice `0 ..< 4`
/host/spi-builder-workspace/Sources/Atem/MessageTypes.swift:418:20: warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
416 |
417 | public struct LockPositionRequest: Message {
418 | public static let title = MessageTitle(string: "PLCK")
| |- warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
419 | public let store: UInt16
420 | public let index: UInt16
/host/spi-builder-workspace/Sources/Atem/MessageTitle.swift:11:15: note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
9 |
10 | /// An ASCII String of exactly 4 characters. A list of available titles can be found in [Skarhoj's protocol description](http://skaarhoj.com/fileadmin/BMDPROTOCOL.html) under the column "CMD".
11 | public struct MessageTitle: CustomStringConvertible {
| `- note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
12 | /// The position of the title in a message. (Ignoring the first four bytes of a message)
13 | /// Slice `0 ..< 4`
/host/spi-builder-workspace/Sources/Atem/MessageTypes.swift:434:20: warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
432 |
433 | public struct LockChange: Serializable {
434 | public static let title = MessageTitle(string: "LKST")
| |- warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
435 | public let store: UInt16
436 | public let isLocked: Bool
/host/spi-builder-workspace/Sources/Atem/MessageTitle.swift:11:15: note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
9 |
10 | /// An ASCII String of exactly 4 characters. A list of available titles can be found in [Skarhoj's protocol description](http://skaarhoj.com/fileadmin/BMDPROTOCOL.html) under the column "CMD".
11 | public struct MessageTitle: CustomStringConvertible {
| `- note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
12 | /// The position of the title in a message. (Ignoring the first four bytes of a message)
13 | /// Slice `0 ..< 4`
/host/spi-builder-workspace/Sources/Atem/MessageTypes.swift:456:20: warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
454 |
455 | public struct LockObtained: Serializable {
456 | public static let title = MessageTitle(string: "LKOB")
| |- warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
457 | let store: UInt16
458 |
/host/spi-builder-workspace/Sources/Atem/MessageTitle.swift:11:15: note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
9 |
10 | /// An ASCII String of exactly 4 characters. A list of available titles can be found in [Skarhoj's protocol description](http://skaarhoj.com/fileadmin/BMDPROTOCOL.html) under the column "CMD".
11 | public struct MessageTitle: CustomStringConvertible {
| `- note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
12 | /// The position of the title in a message. (Ignoring the first four bytes of a message)
13 | /// Slice `0 ..< 4`
/host/spi-builder-workspace/Sources/Atem/MessageTypes.swift:477:21: warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
475 | /// The properties (like name and port types) of a video source
476 | public struct PropertiesChanged: Serializable {
477 | public static let title: MessageTitle = MessageTitle(string: "InPr")
| |- warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
478 | public static let shortNameLength = 4
479 | public static let longNameLength = 20
/host/spi-builder-workspace/Sources/Atem/MessageTitle.swift:11:15: note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
9 |
10 | /// An ASCII String of exactly 4 characters. A list of available titles can be found in [Skarhoj's protocol description](http://skaarhoj.com/fileadmin/BMDPROTOCOL.html) under the column "CMD".
11 | public struct MessageTitle: CustomStringConvertible {
| `- note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
12 | /// The position of the title in a message. (Ignoring the first four bytes of a message)
13 | /// Slice `0 ..< 4`
/host/spi-builder-workspace/Sources/Atem/MessageTypes.swift:553:20: warning: static property 'title' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
551 | /// Informs a controller that a connection is succesfully established.
552 | public struct InitiationComplete: Message {
553 | public static var title = MessageTitle(string: "InCm")
| |- warning: static property 'title' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'title' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
554 |
555 | public init(with bytes: ArraySlice<UInt8>) throws {
/host/spi-builder-workspace/Sources/Atem/MessageTypes.swift:565:20: warning: static property 'title' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
563 | /// Informs a controller that the some tally lights might have changed.
564 | public struct SourceTallies: Serializable {
565 | public static var title = MessageTitle(string: "TlSr")
| |- warning: static property 'title' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'title' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
566 |
567 | /// The state of the tally lights for each source of the Atem switcher
/host/spi-builder-workspace/Sources/Atem/TallyLight.swift:22:24: warning: static property 'off' is not concurrency-safe because non-'Sendable' type 'TallyLight' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// - `.preview`
14 | /// - both `.program` & `.preview`
15 | public struct TallyLight: OptionSet, CustomDebugStringConvertible {
| `- note: consider making struct 'TallyLight' conform to the 'Sendable' protocol
16 | public let rawValue: UInt8
17 |
:
20 | }
21 |
22 | public static let off = TallyLight(rawValue: 0)
| |- warning: static property 'off' is not concurrency-safe because non-'Sendable' type 'TallyLight' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'off' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let program = TallyLight(rawValue: 1)
24 | public static let preview = TallyLight(rawValue: 2)
/host/spi-builder-workspace/Sources/Atem/TallyLight.swift:22:24: warning: static property 'off' produces an empty option set
20 | }
21 |
22 | public static let off = TallyLight(rawValue: 0)
| |- warning: static property 'off' produces an empty option set
| `- note: use [] to silence this warning
23 | public static let program = TallyLight(rawValue: 1)
24 | public static let preview = TallyLight(rawValue: 2)
/host/spi-builder-workspace/Sources/Atem/TallyLight.swift:23:20: warning: static property 'program' is not concurrency-safe because non-'Sendable' type 'TallyLight' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// - `.preview`
14 | /// - both `.program` & `.preview`
15 | public struct TallyLight: OptionSet, CustomDebugStringConvertible {
| `- note: consider making struct 'TallyLight' conform to the 'Sendable' protocol
16 | public let rawValue: UInt8
17 |
:
21 |
22 | public static let off = TallyLight(rawValue: 0)
23 | public static let program = TallyLight(rawValue: 1)
| |- warning: static property 'program' is not concurrency-safe because non-'Sendable' type 'TallyLight' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'program' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let preview = TallyLight(rawValue: 2)
25 |
/host/spi-builder-workspace/Sources/Atem/TallyLight.swift:24:20: warning: static property 'preview' is not concurrency-safe because non-'Sendable' type 'TallyLight' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// - `.preview`
14 | /// - both `.program` & `.preview`
15 | public struct TallyLight: OptionSet, CustomDebugStringConvertible {
| `- note: consider making struct 'TallyLight' conform to the 'Sendable' protocol
16 | public let rawValue: UInt8
17 |
:
22 | public static let off = TallyLight(rawValue: 0)
23 | public static let program = TallyLight(rawValue: 1)
24 | public static let preview = TallyLight(rawValue: 2)
| |- warning: static property 'preview' is not concurrency-safe because non-'Sendable' type 'TallyLight' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'preview' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | public var debugDescription: String {
/host/spi-builder-workspace/Sources/Atem/Utilities/InitialSwitcherStateMessages.swift:10:5: warning: let 'inputProperties' is not concurrency-safe because non-'Sendable' type '[VideoSource.PropertiesChanged]' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | let inputProperties = try! [
| |- warning: let 'inputProperties' is not concurrency-safe because non-'Sendable' type '[VideoSource.PropertiesChanged]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'inputProperties' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | VideoSource.PropertiesChanged(
12 | source: .black,
/host/spi-builder-workspace/Sources/Atem/MessageTypes.swift:476:16: note: consider making struct 'PropertiesChanged' conform to the 'Sendable' protocol
474 | extension VideoSource {
475 | /// The properties (like name and port types) of a video source
476 | public struct PropertiesChanged: Serializable {
| `- note: consider making struct 'PropertiesChanged' conform to the 'Sendable' protocol
477 | public static let title: MessageTitle = MessageTitle(string: "InPr")
478 | public static let shortNameLength = 4
/host/spi-builder-workspace/Sources/Atem/Utilities/RawRepresentable+decode.swift:14:6: warning: stored property 'value' of 'Sendable'-conforming generic struct 'UnsupportedRawValue' has non-sendable type 'R.RawValue'; this is an error in the Swift 6 language mode
12 | struct UnsupportedRawValue<R: RawRepresentable>: LocalizedError {
13 | /// The value that is not supported by the `RawRepresentable`
14 | let value: R.RawValue
| `- warning: stored property 'value' of 'Sendable'-conforming generic struct 'UnsupportedRawValue' has non-sendable type 'R.RawValue'; this is an error in the Swift 6 language mode
15 |
16 | /// A textual description of the error
/host/spi-builder-workspace/Sources/Atem/VideoSource.swift:141:21: warning: static property 'sdi' is not concurrency-safe because non-'Sendable' type 'VideoSource.ExternalInterfaces' may have shared mutable state; this is an error in the Swift 6 language mode
133 | }
134 |
135 | public struct ExternalInterfaces: OptionSet, SingleValueDescribable {
| `- note: consider making struct 'ExternalInterfaces' conform to the 'Sendable' protocol
136 | public let rawValue: UInt8
137 | public init(rawValue: UInt8) {
:
139 | }
140 |
141 | public static let sdi = ExternalInterfaces(rawValue: 1 << 0)
| |- warning: static property 'sdi' is not concurrency-safe because non-'Sendable' type 'VideoSource.ExternalInterfaces' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sdi' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
142 | public static let hdmi = ExternalInterfaces(rawValue: 1 << 1)
143 | public static let composite = ExternalInterfaces(rawValue: 1 << 2)
/host/spi-builder-workspace/Sources/Atem/VideoSource.swift:142:21: warning: static property 'hdmi' is not concurrency-safe because non-'Sendable' type 'VideoSource.ExternalInterfaces' may have shared mutable state; this is an error in the Swift 6 language mode
133 | }
134 |
135 | public struct ExternalInterfaces: OptionSet, SingleValueDescribable {
| `- note: consider making struct 'ExternalInterfaces' conform to the 'Sendable' protocol
136 | public let rawValue: UInt8
137 | public init(rawValue: UInt8) {
:
140 |
141 | public static let sdi = ExternalInterfaces(rawValue: 1 << 0)
142 | public static let hdmi = ExternalInterfaces(rawValue: 1 << 1)
| |- warning: static property 'hdmi' is not concurrency-safe because non-'Sendable' type 'VideoSource.ExternalInterfaces' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'hdmi' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
143 | public static let composite = ExternalInterfaces(rawValue: 1 << 2)
144 | public static let component = ExternalInterfaces(rawValue: 1 << 3)
/host/spi-builder-workspace/Sources/Atem/VideoSource.swift:143:21: warning: static property 'composite' is not concurrency-safe because non-'Sendable' type 'VideoSource.ExternalInterfaces' may have shared mutable state; this is an error in the Swift 6 language mode
133 | }
134 |
135 | public struct ExternalInterfaces: OptionSet, SingleValueDescribable {
| `- note: consider making struct 'ExternalInterfaces' conform to the 'Sendable' protocol
136 | public let rawValue: UInt8
137 | public init(rawValue: UInt8) {
:
141 | public static let sdi = ExternalInterfaces(rawValue: 1 << 0)
142 | public static let hdmi = ExternalInterfaces(rawValue: 1 << 1)
143 | public static let composite = ExternalInterfaces(rawValue: 1 << 2)
| |- warning: static property 'composite' is not concurrency-safe because non-'Sendable' type 'VideoSource.ExternalInterfaces' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'composite' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
144 | public static let component = ExternalInterfaces(rawValue: 1 << 3)
145 | public static let sVideo = ExternalInterfaces(rawValue: 1 << 4)
/host/spi-builder-workspace/Sources/Atem/VideoSource.swift:144:21: warning: static property 'component' is not concurrency-safe because non-'Sendable' type 'VideoSource.ExternalInterfaces' may have shared mutable state; this is an error in the Swift 6 language mode
133 | }
134 |
135 | public struct ExternalInterfaces: OptionSet, SingleValueDescribable {
| `- note: consider making struct 'ExternalInterfaces' conform to the 'Sendable' protocol
136 | public let rawValue: UInt8
137 | public init(rawValue: UInt8) {
:
142 | public static let hdmi = ExternalInterfaces(rawValue: 1 << 1)
143 | public static let composite = ExternalInterfaces(rawValue: 1 << 2)
144 | public static let component = ExternalInterfaces(rawValue: 1 << 3)
| |- warning: static property 'component' is not concurrency-safe because non-'Sendable' type 'VideoSource.ExternalInterfaces' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'component' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
145 | public static let sVideo = ExternalInterfaces(rawValue: 1 << 4)
146 |
/host/spi-builder-workspace/Sources/Atem/VideoSource.swift:145:21: warning: static property 'sVideo' is not concurrency-safe because non-'Sendable' type 'VideoSource.ExternalInterfaces' may have shared mutable state; this is an error in the Swift 6 language mode
133 | }
134 |
135 | public struct ExternalInterfaces: OptionSet, SingleValueDescribable {
| `- note: consider making struct 'ExternalInterfaces' conform to the 'Sendable' protocol
136 | public let rawValue: UInt8
137 | public init(rawValue: UInt8) {
:
143 | public static let composite = ExternalInterfaces(rawValue: 1 << 2)
144 | public static let component = ExternalInterfaces(rawValue: 1 << 3)
145 | public static let sVideo = ExternalInterfaces(rawValue: 1 << 4)
| |- warning: static property 'sVideo' is not concurrency-safe because non-'Sendable' type 'VideoSource.ExternalInterfaces' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sVideo' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
146 |
147 | public static let none = ExternalInterfaces(rawValue: 0)
/host/spi-builder-workspace/Sources/Atem/VideoSource.swift:147:21: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'VideoSource.ExternalInterfaces' may have shared mutable state; this is an error in the Swift 6 language mode
133 | }
134 |
135 | public struct ExternalInterfaces: OptionSet, SingleValueDescribable {
| `- note: consider making struct 'ExternalInterfaces' conform to the 'Sendable' protocol
136 | public let rawValue: UInt8
137 | public init(rawValue: UInt8) {
:
145 | public static let sVideo = ExternalInterfaces(rawValue: 1 << 4)
146 |
147 | public static let none = ExternalInterfaces(rawValue: 0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'VideoSource.ExternalInterfaces' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
148 |
149 | public func describe() -> String? {
/host/spi-builder-workspace/Sources/Atem/VideoSource.swift:147:21: warning: static property 'none' produces an empty option set
145 | public static let sVideo = ExternalInterfaces(rawValue: 1 << 4)
146 |
147 | public static let none = ExternalInterfaces(rawValue: 0)
| |- warning: static property 'none' produces an empty option set
| `- note: use [] to silence this warning
148 |
149 | public func describe() -> String? {
/host/spi-builder-workspace/Sources/Atem/VideoSource.swift:167:21: warning: static property 'auxiliary' is not concurrency-safe because non-'Sendable' type 'VideoSource.Availability' may have shared mutable state; this is an error in the Swift 6 language mode
159 | }
160 |
161 | public struct Availability: OptionSet, SingleValueDescribable {
| `- note: consider making struct 'Availability' conform to the 'Sendable' protocol
162 | public let rawValue: UInt8
163 | public init(rawValue: UInt8) {
:
165 | }
166 |
167 | public static let auxiliary = Availability(rawValue: 1 << 0)
| |- warning: static property 'auxiliary' is not concurrency-safe because non-'Sendable' type 'VideoSource.Availability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'auxiliary' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
168 | public static let multiviewer = Availability(rawValue: 1 << 1)
169 | public static let superSourceArt = Availability(rawValue: 1 << 2)
/host/spi-builder-workspace/Sources/Atem/VideoSource.swift:168:21: warning: static property 'multiviewer' is not concurrency-safe because non-'Sendable' type 'VideoSource.Availability' may have shared mutable state; this is an error in the Swift 6 language mode
159 | }
160 |
161 | public struct Availability: OptionSet, SingleValueDescribable {
| `- note: consider making struct 'Availability' conform to the 'Sendable' protocol
162 | public let rawValue: UInt8
163 | public init(rawValue: UInt8) {
:
166 |
167 | public static let auxiliary = Availability(rawValue: 1 << 0)
168 | public static let multiviewer = Availability(rawValue: 1 << 1)
| |- warning: static property 'multiviewer' is not concurrency-safe because non-'Sendable' type 'VideoSource.Availability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'multiviewer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
169 | public static let superSourceArt = Availability(rawValue: 1 << 2)
170 | public static let superSourceBox = Availability(rawValue: 1 << 3)
/host/spi-builder-workspace/Sources/Atem/VideoSource.swift:169:21: warning: static property 'superSourceArt' is not concurrency-safe because non-'Sendable' type 'VideoSource.Availability' may have shared mutable state; this is an error in the Swift 6 language mode
159 | }
160 |
161 | public struct Availability: OptionSet, SingleValueDescribable {
| `- note: consider making struct 'Availability' conform to the 'Sendable' protocol
162 | public let rawValue: UInt8
163 | public init(rawValue: UInt8) {
:
167 | public static let auxiliary = Availability(rawValue: 1 << 0)
168 | public static let multiviewer = Availability(rawValue: 1 << 1)
169 | public static let superSourceArt = Availability(rawValue: 1 << 2)
| |- warning: static property 'superSourceArt' is not concurrency-safe because non-'Sendable' type 'VideoSource.Availability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'superSourceArt' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
170 | public static let superSourceBox = Availability(rawValue: 1 << 3)
171 | public static let keySources = Availability(rawValue: 1 << 4)
/host/spi-builder-workspace/Sources/Atem/VideoSource.swift:170:21: warning: static property 'superSourceBox' is not concurrency-safe because non-'Sendable' type 'VideoSource.Availability' may have shared mutable state; this is an error in the Swift 6 language mode
159 | }
160 |
161 | public struct Availability: OptionSet, SingleValueDescribable {
| `- note: consider making struct 'Availability' conform to the 'Sendable' protocol
162 | public let rawValue: UInt8
163 | public init(rawValue: UInt8) {
:
168 | public static let multiviewer = Availability(rawValue: 1 << 1)
169 | public static let superSourceArt = Availability(rawValue: 1 << 2)
170 | public static let superSourceBox = Availability(rawValue: 1 << 3)
| |- warning: static property 'superSourceBox' is not concurrency-safe because non-'Sendable' type 'VideoSource.Availability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'superSourceBox' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
171 | public static let keySources = Availability(rawValue: 1 << 4)
172 |
/host/spi-builder-workspace/Sources/Atem/VideoSource.swift:171:21: warning: static property 'keySources' is not concurrency-safe because non-'Sendable' type 'VideoSource.Availability' may have shared mutable state; this is an error in the Swift 6 language mode
159 | }
160 |
161 | public struct Availability: OptionSet, SingleValueDescribable {
| `- note: consider making struct 'Availability' conform to the 'Sendable' protocol
162 | public let rawValue: UInt8
163 | public init(rawValue: UInt8) {
:
169 | public static let superSourceArt = Availability(rawValue: 1 << 2)
170 | public static let superSourceBox = Availability(rawValue: 1 << 3)
171 | public static let keySources = Availability(rawValue: 1 << 4)
| |- warning: static property 'keySources' is not concurrency-safe because non-'Sendable' type 'VideoSource.Availability' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'keySources' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
172 |
173 | public func describe() -> String? {
/host/spi-builder-workspace/Sources/Atem/VideoSource.swift:191:21: warning: static property 'me1AndFillSources' is not concurrency-safe because non-'Sendable' type 'VideoSource.MixEffects' may have shared mutable state; this is an error in the Swift 6 language mode
183 | }
184 |
185 | public struct MixEffects: OptionSet, SingleValueDescribable {
| `- note: consider making struct 'MixEffects' conform to the 'Sendable' protocol
186 | public let rawValue: UInt8
187 | public init(rawValue: UInt8) {
:
189 | }
190 |
191 | public static let me1AndFillSources = MixEffects(rawValue: 1 << 0)
| |- warning: static property 'me1AndFillSources' is not concurrency-safe because non-'Sendable' type 'VideoSource.MixEffects' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'me1AndFillSources' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
192 | public static let me2AndFillSources = MixEffects(rawValue: 1 << 1)
193 |
/host/spi-builder-workspace/Sources/Atem/VideoSource.swift:192:21: warning: static property 'me2AndFillSources' is not concurrency-safe because non-'Sendable' type 'VideoSource.MixEffects' may have shared mutable state; this is an error in the Swift 6 language mode
183 | }
184 |
185 | public struct MixEffects: OptionSet, SingleValueDescribable {
| `- note: consider making struct 'MixEffects' conform to the 'Sendable' protocol
186 | public let rawValue: UInt8
187 | public init(rawValue: UInt8) {
:
190 |
191 | public static let me1AndFillSources = MixEffects(rawValue: 1 << 0)
192 | public static let me2AndFillSources = MixEffects(rawValue: 1 << 1)
| |- warning: static property 'me2AndFillSources' is not concurrency-safe because non-'Sendable' type 'VideoSource.MixEffects' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'me2AndFillSources' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
193 |
194 | public static let none = MixEffects(rawValue: 0)
/host/spi-builder-workspace/Sources/Atem/VideoSource.swift:194:21: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'VideoSource.MixEffects' may have shared mutable state; this is an error in the Swift 6 language mode
183 | }
184 |
185 | public struct MixEffects: OptionSet, SingleValueDescribable {
| `- note: consider making struct 'MixEffects' conform to the 'Sendable' protocol
186 | public let rawValue: UInt8
187 | public init(rawValue: UInt8) {
:
192 | public static let me2AndFillSources = MixEffects(rawValue: 1 << 1)
193 |
194 | public static let none = MixEffects(rawValue: 0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'VideoSource.MixEffects' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
195 |
196 | public func describe() -> String? {
/host/spi-builder-workspace/Sources/Atem/VideoSource.swift:194:21: warning: static property 'none' produces an empty option set
192 | public static let me2AndFillSources = MixEffects(rawValue: 1 << 1)
193 |
194 | public static let none = MixEffects(rawValue: 0)
| |- warning: static property 'none' produces an empty option set
| `- note: use [] to silence this warning
195 |
196 | public func describe() -> String? {
[244/263] Compiling Atem MessageTypes.swift
/host/spi-builder-workspace/Sources/Atem/MessageTypes.swift:14:20: warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// There are two version numbers in ATEM world: One for the ATEM Software Control application (for instance version 6.0) which is what people usually refers to and one for the firmware which is often updated with the PC/Mac application versions (for instance 2.15). The latter version number is what "_ver" gives you and a number you can not find anywhere in the application to our knowledge.
13 | public struct ProtocolVersion: Serializable {
14 | public static let title = MessageTitle(string: "_ver")
| |- warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | static let majorPosition = 0..<2
16 | static let minorPosition = 2..<4
/host/spi-builder-workspace/Sources/Atem/MessageTitle.swift:11:15: note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
9 |
10 | /// An ASCII String of exactly 4 characters. A list of available titles can be found in [Skarhoj's protocol description](http://skaarhoj.com/fileadmin/BMDPROTOCOL.html) under the column "CMD".
11 | public struct MessageTitle: CustomStringConvertible {
| `- note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
12 | /// The position of the title in a message. (Ignoring the first four bytes of a message)
13 | /// Slice `0 ..< 4`
/host/spi-builder-workspace/Sources/Atem/MessageTypes.swift:36:13: warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
34 | /// The type of atem
35 | struct AtemType: Serializable {
36 | static let title = MessageTitle(string: "_pin")
| |- warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | let string: String
38 |
/host/spi-builder-workspace/Sources/Atem/MessageTitle.swift:11:15: note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
9 |
10 | /// An ASCII String of exactly 4 characters. A list of available titles can be found in [Skarhoj's protocol description](http://skaarhoj.com/fileadmin/BMDPROTOCOL.html) under the column "CMD".
11 | public struct MessageTitle: CustomStringConvertible {
| `- note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
12 | /// The position of the title in a message. (Ignoring the first four bytes of a message)
13 | /// Slice `0 ..< 4`
/host/spi-builder-workspace/Sources/Atem/MessageTypes.swift:70:20: warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
68 | /// The resources of an atem
69 | public struct Topology: Serializable {
70 | public static let title = MessageTitle(string: "_top")
| |- warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 |
72 | public let mixEffectBanks: UInt8
/host/spi-builder-workspace/Sources/Atem/MessageTitle.swift:11:15: note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
9 |
10 | /// An ASCII String of exactly 4 characters. A list of available titles can be found in [Skarhoj's protocol description](http://skaarhoj.com/fileadmin/BMDPROTOCOL.html) under the column "CMD".
11 | public struct MessageTitle: CustomStringConvertible {
| `- note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
12 | /// The position of the title in a message. (Ignoring the first four bytes of a message)
13 | /// Slice `0 ..< 4`
/host/spi-builder-workspace/Sources/Atem/MessageTypes.swift:137:13: warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
135 | /// The message that should be sent at the end of the connection initiation. The connection initiation is the sequence of packets that is sent at the very beginning of a connection and they contain messages that represent the state of the device at the moment of conection.
136 | struct ConnectionInitiationEnd: Serializable {
137 | static let title = MessageTitle(string: "InCm")
| |- warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
138 | static let `default` = ConnectionInitiationEnd(with: [])
139 | let dataBytes = [UInt8(1), 0, 0, 0]
/host/spi-builder-workspace/Sources/Atem/MessageTitle.swift:11:15: note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
9 |
10 | /// An ASCII String of exactly 4 characters. A list of available titles can be found in [Skarhoj's protocol description](http://skaarhoj.com/fileadmin/BMDPROTOCOL.html) under the column "CMD".
11 | public struct MessageTitle: CustomStringConvertible {
| `- note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
12 | /// The position of the title in a message. (Ignoring the first four bytes of a message)
13 | /// Slice `0 ..< 4`
/host/spi-builder-workspace/Sources/Atem/MessageTypes.swift:148:20: warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
146 | /// Performs a cut on the atem
147 | public struct DoCut: Serializable {
148 | public static let title = MessageTitle(string: "DCut")
| |- warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
149 | public let debugDescription = "cut"
150 | public let atemSize: AtemSize
/host/spi-builder-workspace/Sources/Atem/MessageTitle.swift:11:15: note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
9 |
10 | /// An ASCII String of exactly 4 characters. A list of available titles can be found in [Skarhoj's protocol description](http://skaarhoj.com/fileadmin/BMDPROTOCOL.html) under the column "CMD".
11 | public struct MessageTitle: CustomStringConvertible {
| `- note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
12 | /// The position of the title in a message. (Ignoring the first four bytes of a message)
13 | /// Slice `0 ..< 4`
/host/spi-builder-workspace/Sources/Atem/MessageTypes.swift:167:20: warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
165 | /// Informs a switcher that the preview bus should be changed
166 | public struct ChangePreviewBus: Serializable {
167 | public static let title = MessageTitle(string: "CPvI")
| |- warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
168 |
169 | public let mixEffect: UInt8
/host/spi-builder-workspace/Sources/Atem/MessageTitle.swift:11:15: note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
9 |
10 | /// An ASCII String of exactly 4 characters. A list of available titles can be found in [Skarhoj's protocol description](http://skaarhoj.com/fileadmin/BMDPROTOCOL.html) under the column "CMD".
11 | public struct MessageTitle: CustomStringConvertible {
| `- note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
12 | /// The position of the title in a message. (Ignoring the first four bytes of a message)
13 | /// Slice `0 ..< 4`
/host/spi-builder-workspace/Sources/Atem/MessageTypes.swift:192:20: warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
190 | /// Informs a switcher that the program bus shoud be changed
191 | public struct ChangeProgramBus: Serializable {
192 | public static let title = MessageTitle(string: "CPgI")
| |- warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
193 |
194 | public let mixEffect: UInt8
/host/spi-builder-workspace/Sources/Atem/MessageTitle.swift:11:15: note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
9 |
10 | /// An ASCII String of exactly 4 characters. A list of available titles can be found in [Skarhoj's protocol description](http://skaarhoj.com/fileadmin/BMDPROTOCOL.html) under the column "CMD".
11 | public struct MessageTitle: CustomStringConvertible {
| `- note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
12 | /// The position of the title in a message. (Ignoring the first four bytes of a message)
13 | /// Slice `0 ..< 4`
/host/spi-builder-workspace/Sources/Atem/MessageTypes.swift:217:20: warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
215 | /// Informs a switcher that a source should be assigned to the specified auxiliary output
216 | public struct ChangeAuxiliaryOutput: Serializable {
217 | public static let title = MessageTitle(string: "CAuS")
| |- warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
218 |
219 | /// The source that should be assigned to the auxiliary output
/host/spi-builder-workspace/Sources/Atem/MessageTitle.swift:11:15: note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
9 |
10 | /// An ASCII String of exactly 4 characters. A list of available titles can be found in [Skarhoj's protocol description](http://skaarhoj.com/fileadmin/BMDPROTOCOL.html) under the column "CMD".
11 | public struct MessageTitle: CustomStringConvertible {
| `- note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
12 | /// The position of the title in a message. (Ignoring the first four bytes of a message)
13 | /// Slice `0 ..< 4`
/host/spi-builder-workspace/Sources/Atem/MessageTypes.swift:248:23: warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
246 | /// Informs a controller that a source has been routed to an auxiliary output
247 | public struct AuxiliaryOutputChanged: Serializable {
248 | public static let title = MessageTitle(string: "AuxS")
| |- warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
249 |
250 | /// The source that has been routed to the auxiliary output
/host/spi-builder-workspace/Sources/Atem/MessageTitle.swift:11:15: note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
9 |
10 | /// An ASCII String of exactly 4 characters. A list of available titles can be found in [Skarhoj's protocol description](http://skaarhoj.com/fileadmin/BMDPROTOCOL.html) under the column "CMD".
11 | public struct MessageTitle: CustomStringConvertible {
| `- note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
12 | /// The position of the title in a message. (Ignoring the first four bytes of a message)
13 | /// Slice `0 ..< 4`
/host/spi-builder-workspace/Sources/Atem/MessageTypes.swift:279:20: warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
277 | /// Informs a controller that the preview bus has changed
278 | public struct PreviewBusChanged: Serializable {
279 | public static let title = MessageTitle(string: "PrvI")
| |- warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
280 |
281 | public let mixEffect: UInt8
/host/spi-builder-workspace/Sources/Atem/MessageTitle.swift:11:15: note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
9 |
10 | /// An ASCII String of exactly 4 characters. A list of available titles can be found in [Skarhoj's protocol description](http://skaarhoj.com/fileadmin/BMDPROTOCOL.html) under the column "CMD".
11 | public struct MessageTitle: CustomStringConvertible {
| `- note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
12 | /// The position of the title in a message. (Ignoring the first four bytes of a message)
13 | /// Slice `0 ..< 4`
/host/spi-builder-workspace/Sources/Atem/MessageTypes.swift:303:20: warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
301 | /// Informs a controller that the program bus has changed
302 | public struct ProgramBusChanged: Serializable {
303 | public static let title = MessageTitle(string: "PrgI")
| |- warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
304 |
305 | public let mixEffect: UInt8
/host/spi-builder-workspace/Sources/Atem/MessageTitle.swift:11:15: note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
9 |
10 | /// An ASCII String of exactly 4 characters. A list of available titles can be found in [Skarhoj's protocol description](http://skaarhoj.com/fileadmin/BMDPROTOCOL.html) under the column "CMD".
11 | public struct MessageTitle: CustomStringConvertible {
| `- note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
12 | /// The position of the title in a message. (Ignoring the first four bytes of a message)
13 | /// Slice `0 ..< 4`
/host/spi-builder-workspace/Sources/Atem/MessageTypes.swift:329:20: warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
327 | public struct NewTimecode: Message {
328 | public typealias Timecode = (hour: UInt8, minute: UInt8, second: UInt8, frame: UInt8)
329 | public static let title = MessageTitle(string: "Time")
| |- warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
330 | public let timecode: Timecode
331 |
/host/spi-builder-workspace/Sources/Atem/MessageTitle.swift:11:15: note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
9 |
10 | /// An ASCII String of exactly 4 characters. A list of available titles can be found in [Skarhoj's protocol description](http://skaarhoj.com/fileadmin/BMDPROTOCOL.html) under the column "CMD".
11 | public struct MessageTitle: CustomStringConvertible {
| `- note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
12 | /// The position of the title in a message. (Ignoring the first four bytes of a message)
13 | /// Slice `0 ..< 4`
/host/spi-builder-workspace/Sources/Atem/MessageTypes.swift:346:20: warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
344 | /// Informs the switcher that it should update its transition position
345 | public struct ChangeTransitionPosition: Serializable {
346 | public static let title = MessageTitle(string: "CTPs")
| |- warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
347 | public let mixEffect: UInt8
348 | public let position: UInt16
/host/spi-builder-workspace/Sources/Atem/MessageTitle.swift:11:15: note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
9 |
10 | /// An ASCII String of exactly 4 characters. A list of available titles can be found in [Skarhoj's protocol description](http://skaarhoj.com/fileadmin/BMDPROTOCOL.html) under the column "CMD".
11 | public struct MessageTitle: CustomStringConvertible {
| `- note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
12 | /// The position of the title in a message. (Ignoring the first four bytes of a message)
13 | /// Slice `0 ..< 4`
/host/spi-builder-workspace/Sources/Atem/MessageTypes.swift:369:20: warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
367 | /// Informs the controller that the transition position has changed
368 | public struct TransitionPositionChanged: Serializable {
369 | public static let title = MessageTitle(string: "TrPs")
| |- warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
370 | public let mixEffect: UInt8
371 | public let position: UInt16
/host/spi-builder-workspace/Sources/Atem/MessageTitle.swift:11:15: note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
9 |
10 | /// An ASCII String of exactly 4 characters. A list of available titles can be found in [Skarhoj's protocol description](http://skaarhoj.com/fileadmin/BMDPROTOCOL.html) under the column "CMD".
11 | public struct MessageTitle: CustomStringConvertible {
| `- note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
12 | /// The position of the title in a message. (Ignoring the first four bytes of a message)
13 | /// Slice `0 ..< 4`
/host/spi-builder-workspace/Sources/Atem/MessageTypes.swift:401:20: warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
399 |
400 | public struct LockRequest: Serializable {
401 | public static let title = MessageTitle(string: "LOCK")
| |- warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
402 | public let store: UInt16
403 | public let state: UInt16
/host/spi-builder-workspace/Sources/Atem/MessageTitle.swift:11:15: note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
9 |
10 | /// An ASCII String of exactly 4 characters. A list of available titles can be found in [Skarhoj's protocol description](http://skaarhoj.com/fileadmin/BMDPROTOCOL.html) under the column "CMD".
11 | public struct MessageTitle: CustomStringConvertible {
| `- note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
12 | /// The position of the title in a message. (Ignoring the first four bytes of a message)
13 | /// Slice `0 ..< 4`
/host/spi-builder-workspace/Sources/Atem/MessageTypes.swift:418:20: warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
416 |
417 | public struct LockPositionRequest: Message {
418 | public static let title = MessageTitle(string: "PLCK")
| |- warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
419 | public let store: UInt16
420 | public let index: UInt16
/host/spi-builder-workspace/Sources/Atem/MessageTitle.swift:11:15: note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
9 |
10 | /// An ASCII String of exactly 4 characters. A list of available titles can be found in [Skarhoj's protocol description](http://skaarhoj.com/fileadmin/BMDPROTOCOL.html) under the column "CMD".
11 | public struct MessageTitle: CustomStringConvertible {
| `- note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
12 | /// The position of the title in a message. (Ignoring the first four bytes of a message)
13 | /// Slice `0 ..< 4`
/host/spi-builder-workspace/Sources/Atem/MessageTypes.swift:434:20: warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
432 |
433 | public struct LockChange: Serializable {
434 | public static let title = MessageTitle(string: "LKST")
| |- warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
435 | public let store: UInt16
436 | public let isLocked: Bool
/host/spi-builder-workspace/Sources/Atem/MessageTitle.swift:11:15: note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
9 |
10 | /// An ASCII String of exactly 4 characters. A list of available titles can be found in [Skarhoj's protocol description](http://skaarhoj.com/fileadmin/BMDPROTOCOL.html) under the column "CMD".
11 | public struct MessageTitle: CustomStringConvertible {
| `- note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
12 | /// The position of the title in a message. (Ignoring the first four bytes of a message)
13 | /// Slice `0 ..< 4`
/host/spi-builder-workspace/Sources/Atem/MessageTypes.swift:456:20: warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
454 |
455 | public struct LockObtained: Serializable {
456 | public static let title = MessageTitle(string: "LKOB")
| |- warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
457 | let store: UInt16
458 |
/host/spi-builder-workspace/Sources/Atem/MessageTitle.swift:11:15: note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
9 |
10 | /// An ASCII String of exactly 4 characters. A list of available titles can be found in [Skarhoj's protocol description](http://skaarhoj.com/fileadmin/BMDPROTOCOL.html) under the column "CMD".
11 | public struct MessageTitle: CustomStringConvertible {
| `- note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
12 | /// The position of the title in a message. (Ignoring the first four bytes of a message)
13 | /// Slice `0 ..< 4`
/host/spi-builder-workspace/Sources/Atem/MessageTypes.swift:477:21: warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
475 | /// The properties (like name and port types) of a video source
476 | public struct PropertiesChanged: Serializable {
477 | public static let title: MessageTitle = MessageTitle(string: "InPr")
| |- warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
478 | public static let shortNameLength = 4
479 | public static let longNameLength = 20
/host/spi-builder-workspace/Sources/Atem/MessageTitle.swift:11:15: note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
9 |
10 | /// An ASCII String of exactly 4 characters. A list of available titles can be found in [Skarhoj's protocol description](http://skaarhoj.com/fileadmin/BMDPROTOCOL.html) under the column "CMD".
11 | public struct MessageTitle: CustomStringConvertible {
| `- note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
12 | /// The position of the title in a message. (Ignoring the first four bytes of a message)
13 | /// Slice `0 ..< 4`
/host/spi-builder-workspace/Sources/Atem/MessageTypes.swift:553:20: warning: static property 'title' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
551 | /// Informs a controller that a connection is succesfully established.
552 | public struct InitiationComplete: Message {
553 | public static var title = MessageTitle(string: "InCm")
| |- warning: static property 'title' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'title' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
554 |
555 | public init(with bytes: ArraySlice<UInt8>) throws {
/host/spi-builder-workspace/Sources/Atem/MessageTypes.swift:565:20: warning: static property 'title' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
563 | /// Informs a controller that the some tally lights might have changed.
564 | public struct SourceTallies: Serializable {
565 | public static var title = MessageTitle(string: "TlSr")
| |- warning: static property 'title' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'title' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
566 |
567 | /// The state of the tally lights for each source of the Atem switcher
[245/263] Compiling Atem Packet.swift
/host/spi-builder-workspace/Sources/Atem/MessageTypes.swift:14:20: warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
12 | /// There are two version numbers in ATEM world: One for the ATEM Software Control application (for instance version 6.0) which is what people usually refers to and one for the firmware which is often updated with the PC/Mac application versions (for instance 2.15). The latter version number is what "_ver" gives you and a number you can not find anywhere in the application to our knowledge.
13 | public struct ProtocolVersion: Serializable {
14 | public static let title = MessageTitle(string: "_ver")
| |- warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | static let majorPosition = 0..<2
16 | static let minorPosition = 2..<4
/host/spi-builder-workspace/Sources/Atem/MessageTitle.swift:11:15: note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
9 |
10 | /// An ASCII String of exactly 4 characters. A list of available titles can be found in [Skarhoj's protocol description](http://skaarhoj.com/fileadmin/BMDPROTOCOL.html) under the column "CMD".
11 | public struct MessageTitle: CustomStringConvertible {
| `- note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
12 | /// The position of the title in a message. (Ignoring the first four bytes of a message)
13 | /// Slice `0 ..< 4`
/host/spi-builder-workspace/Sources/Atem/MessageTypes.swift:36:13: warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
34 | /// The type of atem
35 | struct AtemType: Serializable {
36 | static let title = MessageTitle(string: "_pin")
| |- warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | let string: String
38 |
/host/spi-builder-workspace/Sources/Atem/MessageTitle.swift:11:15: note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
9 |
10 | /// An ASCII String of exactly 4 characters. A list of available titles can be found in [Skarhoj's protocol description](http://skaarhoj.com/fileadmin/BMDPROTOCOL.html) under the column "CMD".
11 | public struct MessageTitle: CustomStringConvertible {
| `- note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
12 | /// The position of the title in a message. (Ignoring the first four bytes of a message)
13 | /// Slice `0 ..< 4`
/host/spi-builder-workspace/Sources/Atem/MessageTypes.swift:70:20: warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
68 | /// The resources of an atem
69 | public struct Topology: Serializable {
70 | public static let title = MessageTitle(string: "_top")
| |- warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 |
72 | public let mixEffectBanks: UInt8
/host/spi-builder-workspace/Sources/Atem/MessageTitle.swift:11:15: note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
9 |
10 | /// An ASCII String of exactly 4 characters. A list of available titles can be found in [Skarhoj's protocol description](http://skaarhoj.com/fileadmin/BMDPROTOCOL.html) under the column "CMD".
11 | public struct MessageTitle: CustomStringConvertible {
| `- note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
12 | /// The position of the title in a message. (Ignoring the first four bytes of a message)
13 | /// Slice `0 ..< 4`
/host/spi-builder-workspace/Sources/Atem/MessageTypes.swift:137:13: warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
135 | /// The message that should be sent at the end of the connection initiation. The connection initiation is the sequence of packets that is sent at the very beginning of a connection and they contain messages that represent the state of the device at the moment of conection.
136 | struct ConnectionInitiationEnd: Serializable {
137 | static let title = MessageTitle(string: "InCm")
| |- warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
138 | static let `default` = ConnectionInitiationEnd(with: [])
139 | let dataBytes = [UInt8(1), 0, 0, 0]
/host/spi-builder-workspace/Sources/Atem/MessageTitle.swift:11:15: note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
9 |
10 | /// An ASCII String of exactly 4 characters. A list of available titles can be found in [Skarhoj's protocol description](http://skaarhoj.com/fileadmin/BMDPROTOCOL.html) under the column "CMD".
11 | public struct MessageTitle: CustomStringConvertible {
| `- note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
12 | /// The position of the title in a message. (Ignoring the first four bytes of a message)
13 | /// Slice `0 ..< 4`
/host/spi-builder-workspace/Sources/Atem/MessageTypes.swift:148:20: warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
146 | /// Performs a cut on the atem
147 | public struct DoCut: Serializable {
148 | public static let title = MessageTitle(string: "DCut")
| |- warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
149 | public let debugDescription = "cut"
150 | public let atemSize: AtemSize
/host/spi-builder-workspace/Sources/Atem/MessageTitle.swift:11:15: note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
9 |
10 | /// An ASCII String of exactly 4 characters. A list of available titles can be found in [Skarhoj's protocol description](http://skaarhoj.com/fileadmin/BMDPROTOCOL.html) under the column "CMD".
11 | public struct MessageTitle: CustomStringConvertible {
| `- note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
12 | /// The position of the title in a message. (Ignoring the first four bytes of a message)
13 | /// Slice `0 ..< 4`
/host/spi-builder-workspace/Sources/Atem/MessageTypes.swift:167:20: warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
165 | /// Informs a switcher that the preview bus should be changed
166 | public struct ChangePreviewBus: Serializable {
167 | public static let title = MessageTitle(string: "CPvI")
| |- warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
168 |
169 | public let mixEffect: UInt8
/host/spi-builder-workspace/Sources/Atem/MessageTitle.swift:11:15: note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
9 |
10 | /// An ASCII String of exactly 4 characters. A list of available titles can be found in [Skarhoj's protocol description](http://skaarhoj.com/fileadmin/BMDPROTOCOL.html) under the column "CMD".
11 | public struct MessageTitle: CustomStringConvertible {
| `- note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
12 | /// The position of the title in a message. (Ignoring the first four bytes of a message)
13 | /// Slice `0 ..< 4`
/host/spi-builder-workspace/Sources/Atem/MessageTypes.swift:192:20: warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
190 | /// Informs a switcher that the program bus shoud be changed
191 | public struct ChangeProgramBus: Serializable {
192 | public static let title = MessageTitle(string: "CPgI")
| |- warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
193 |
194 | public let mixEffect: UInt8
/host/spi-builder-workspace/Sources/Atem/MessageTitle.swift:11:15: note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
9 |
10 | /// An ASCII String of exactly 4 characters. A list of available titles can be found in [Skarhoj's protocol description](http://skaarhoj.com/fileadmin/BMDPROTOCOL.html) under the column "CMD".
11 | public struct MessageTitle: CustomStringConvertible {
| `- note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
12 | /// The position of the title in a message. (Ignoring the first four bytes of a message)
13 | /// Slice `0 ..< 4`
/host/spi-builder-workspace/Sources/Atem/MessageTypes.swift:217:20: warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
215 | /// Informs a switcher that a source should be assigned to the specified auxiliary output
216 | public struct ChangeAuxiliaryOutput: Serializable {
217 | public static let title = MessageTitle(string: "CAuS")
| |- warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
218 |
219 | /// The source that should be assigned to the auxiliary output
/host/spi-builder-workspace/Sources/Atem/MessageTitle.swift:11:15: note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
9 |
10 | /// An ASCII String of exactly 4 characters. A list of available titles can be found in [Skarhoj's protocol description](http://skaarhoj.com/fileadmin/BMDPROTOCOL.html) under the column "CMD".
11 | public struct MessageTitle: CustomStringConvertible {
| `- note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
12 | /// The position of the title in a message. (Ignoring the first four bytes of a message)
13 | /// Slice `0 ..< 4`
/host/spi-builder-workspace/Sources/Atem/MessageTypes.swift:248:23: warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
246 | /// Informs a controller that a source has been routed to an auxiliary output
247 | public struct AuxiliaryOutputChanged: Serializable {
248 | public static let title = MessageTitle(string: "AuxS")
| |- warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
249 |
250 | /// The source that has been routed to the auxiliary output
/host/spi-builder-workspace/Sources/Atem/MessageTitle.swift:11:15: note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
9 |
10 | /// An ASCII String of exactly 4 characters. A list of available titles can be found in [Skarhoj's protocol description](http://skaarhoj.com/fileadmin/BMDPROTOCOL.html) under the column "CMD".
11 | public struct MessageTitle: CustomStringConvertible {
| `- note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
12 | /// The position of the title in a message. (Ignoring the first four bytes of a message)
13 | /// Slice `0 ..< 4`
/host/spi-builder-workspace/Sources/Atem/MessageTypes.swift:279:20: warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
277 | /// Informs a controller that the preview bus has changed
278 | public struct PreviewBusChanged: Serializable {
279 | public static let title = MessageTitle(string: "PrvI")
| |- warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
280 |
281 | public let mixEffect: UInt8
/host/spi-builder-workspace/Sources/Atem/MessageTitle.swift:11:15: note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
9 |
10 | /// An ASCII String of exactly 4 characters. A list of available titles can be found in [Skarhoj's protocol description](http://skaarhoj.com/fileadmin/BMDPROTOCOL.html) under the column "CMD".
11 | public struct MessageTitle: CustomStringConvertible {
| `- note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
12 | /// The position of the title in a message. (Ignoring the first four bytes of a message)
13 | /// Slice `0 ..< 4`
/host/spi-builder-workspace/Sources/Atem/MessageTypes.swift:303:20: warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
301 | /// Informs a controller that the program bus has changed
302 | public struct ProgramBusChanged: Serializable {
303 | public static let title = MessageTitle(string: "PrgI")
| |- warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
304 |
305 | public let mixEffect: UInt8
/host/spi-builder-workspace/Sources/Atem/MessageTitle.swift:11:15: note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
9 |
10 | /// An ASCII String of exactly 4 characters. A list of available titles can be found in [Skarhoj's protocol description](http://skaarhoj.com/fileadmin/BMDPROTOCOL.html) under the column "CMD".
11 | public struct MessageTitle: CustomStringConvertible {
| `- note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
12 | /// The position of the title in a message. (Ignoring the first four bytes of a message)
13 | /// Slice `0 ..< 4`
/host/spi-builder-workspace/Sources/Atem/MessageTypes.swift:329:20: warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
327 | public struct NewTimecode: Message {
328 | public typealias Timecode = (hour: UInt8, minute: UInt8, second: UInt8, frame: UInt8)
329 | public static let title = MessageTitle(string: "Time")
| |- warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
330 | public let timecode: Timecode
331 |
/host/spi-builder-workspace/Sources/Atem/MessageTitle.swift:11:15: note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
9 |
10 | /// An ASCII String of exactly 4 characters. A list of available titles can be found in [Skarhoj's protocol description](http://skaarhoj.com/fileadmin/BMDPROTOCOL.html) under the column "CMD".
11 | public struct MessageTitle: CustomStringConvertible {
| `- note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
12 | /// The position of the title in a message. (Ignoring the first four bytes of a message)
13 | /// Slice `0 ..< 4`
/host/spi-builder-workspace/Sources/Atem/MessageTypes.swift:346:20: warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
344 | /// Informs the switcher that it should update its transition position
345 | public struct ChangeTransitionPosition: Serializable {
346 | public static let title = MessageTitle(string: "CTPs")
| |- warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
347 | public let mixEffect: UInt8
348 | public let position: UInt16
/host/spi-builder-workspace/Sources/Atem/MessageTitle.swift:11:15: note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
9 |
10 | /// An ASCII String of exactly 4 characters. A list of available titles can be found in [Skarhoj's protocol description](http://skaarhoj.com/fileadmin/BMDPROTOCOL.html) under the column "CMD".
11 | public struct MessageTitle: CustomStringConvertible {
| `- note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
12 | /// The position of the title in a message. (Ignoring the first four bytes of a message)
13 | /// Slice `0 ..< 4`
/host/spi-builder-workspace/Sources/Atem/MessageTypes.swift:369:20: warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
367 | /// Informs the controller that the transition position has changed
368 | public struct TransitionPositionChanged: Serializable {
369 | public static let title = MessageTitle(string: "TrPs")
| |- warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
370 | public let mixEffect: UInt8
371 | public let position: UInt16
/host/spi-builder-workspace/Sources/Atem/MessageTitle.swift:11:15: note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
9 |
10 | /// An ASCII String of exactly 4 characters. A list of available titles can be found in [Skarhoj's protocol description](http://skaarhoj.com/fileadmin/BMDPROTOCOL.html) under the column "CMD".
11 | public struct MessageTitle: CustomStringConvertible {
| `- note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
12 | /// The position of the title in a message. (Ignoring the first four bytes of a message)
13 | /// Slice `0 ..< 4`
/host/spi-builder-workspace/Sources/Atem/MessageTypes.swift:401:20: warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
399 |
400 | public struct LockRequest: Serializable {
401 | public static let title = MessageTitle(string: "LOCK")
| |- warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
402 | public let store: UInt16
403 | public let state: UInt16
/host/spi-builder-workspace/Sources/Atem/MessageTitle.swift:11:15: note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
9 |
10 | /// An ASCII String of exactly 4 characters. A list of available titles can be found in [Skarhoj's protocol description](http://skaarhoj.com/fileadmin/BMDPROTOCOL.html) under the column "CMD".
11 | public struct MessageTitle: CustomStringConvertible {
| `- note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
12 | /// The position of the title in a message. (Ignoring the first four bytes of a message)
13 | /// Slice `0 ..< 4`
/host/spi-builder-workspace/Sources/Atem/MessageTypes.swift:418:20: warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
416 |
417 | public struct LockPositionRequest: Message {
418 | public static let title = MessageTitle(string: "PLCK")
| |- warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
419 | public let store: UInt16
420 | public let index: UInt16
/host/spi-builder-workspace/Sources/Atem/MessageTitle.swift:11:15: note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
9 |
10 | /// An ASCII String of exactly 4 characters. A list of available titles can be found in [Skarhoj's protocol description](http://skaarhoj.com/fileadmin/BMDPROTOCOL.html) under the column "CMD".
11 | public struct MessageTitle: CustomStringConvertible {
| `- note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
12 | /// The position of the title in a message. (Ignoring the first four bytes of a message)
13 | /// Slice `0 ..< 4`
/host/spi-builder-workspace/Sources/Atem/MessageTypes.swift:434:20: warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
432 |
433 | public struct LockChange: Serializable {
434 | public static let title = MessageTitle(string: "LKST")
| |- warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
435 | public let store: UInt16
436 | public let isLocked: Bool
/host/spi-builder-workspace/Sources/Atem/MessageTitle.swift:11:15: note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
9 |
10 | /// An ASCII String of exactly 4 characters. A list of available titles can be found in [Skarhoj's protocol description](http://skaarhoj.com/fileadmin/BMDPROTOCOL.html) under the column "CMD".
11 | public struct MessageTitle: CustomStringConvertible {
| `- note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
12 | /// The position of the title in a message. (Ignoring the first four bytes of a message)
13 | /// Slice `0 ..< 4`
/host/spi-builder-workspace/Sources/Atem/MessageTypes.swift:456:20: warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
454 |
455 | public struct LockObtained: Serializable {
456 | public static let title = MessageTitle(string: "LKOB")
| |- warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
457 | let store: UInt16
458 |
/host/spi-builder-workspace/Sources/Atem/MessageTitle.swift:11:15: note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
9 |
10 | /// An ASCII String of exactly 4 characters. A list of available titles can be found in [Skarhoj's protocol description](http://skaarhoj.com/fileadmin/BMDPROTOCOL.html) under the column "CMD".
11 | public struct MessageTitle: CustomStringConvertible {
| `- note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
12 | /// The position of the title in a message. (Ignoring the first four bytes of a message)
13 | /// Slice `0 ..< 4`
/host/spi-builder-workspace/Sources/Atem/MessageTypes.swift:477:21: warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
475 | /// The properties (like name and port types) of a video source
476 | public struct PropertiesChanged: Serializable {
477 | public static let title: MessageTitle = MessageTitle(string: "InPr")
| |- warning: static property 'title' is not concurrency-safe because non-'Sendable' type 'MessageTitle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
478 | public static let shortNameLength = 4
479 | public static let longNameLength = 20
/host/spi-builder-workspace/Sources/Atem/MessageTitle.swift:11:15: note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
9 |
10 | /// An ASCII String of exactly 4 characters. A list of available titles can be found in [Skarhoj's protocol description](http://skaarhoj.com/fileadmin/BMDPROTOCOL.html) under the column "CMD".
11 | public struct MessageTitle: CustomStringConvertible {
| `- note: consider making struct 'MessageTitle' conform to the 'Sendable' protocol
12 | /// The position of the title in a message. (Ignoring the first four bytes of a message)
13 | /// Slice `0 ..< 4`
/host/spi-builder-workspace/Sources/Atem/MessageTypes.swift:553:20: warning: static property 'title' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
551 | /// Informs a controller that a connection is succesfully established.
552 | public struct InitiationComplete: Message {
553 | public static var title = MessageTitle(string: "InCm")
| |- warning: static property 'title' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'title' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
554 |
555 | public init(with bytes: ArraySlice<UInt8>) throws {
/host/spi-builder-workspace/Sources/Atem/MessageTypes.swift:565:20: warning: static property 'title' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
563 | /// Informs a controller that the some tally lights might have changed.
564 | public struct SourceTallies: Serializable {
565 | public static var title = MessageTitle(string: "TlSr")
| |- warning: static property 'title' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'title' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'title' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
566 |
567 | /// The state of the tally lights for each source of the Atem switcher
[246/263] Compiling Atem PacketTypes.swift
/host/spi-builder-workspace/Sources/Atem/Switcher.swift:120:49: warning: type 'SwitcherHandler' does not conform to the 'Sendable' protocol
14 | }
15 |
16 | class SwitcherHandler: HandlerWithTimer {
| `- note: class 'SwitcherHandler' does not conform to the 'Sendable' protocol
17 | var counter: UInt16 = 0
18 | var clients = [UInt16: Client]()
:
118 | channel = DatagramBootstrap(group: eventLoop)
119 | .channelOption(ChannelOptions.socket(SocketOptionLevel(SOL_SOCKET), SO_REUSEADDR), value: 1)
120 | .channelInitializer { $0.pipeline.addHandler(handler) }
| `- warning: type 'SwitcherHandler' does not conform to the 'Sendable' protocol
121 | .bind(host: "0.0.0.0", port: 9910)
122 | }
/host/spi-builder-workspace/Sources/Atem/Switcher.swift:120:49: warning: capture of 'handler' with non-sendable type 'SwitcherHandler' in a '@Sendable' closure
14 | }
15 |
16 | class SwitcherHandler: HandlerWithTimer {
| `- note: class 'SwitcherHandler' does not conform to the 'Sendable' protocol
17 | var counter: UInt16 = 0
18 | var clients = [UInt16: Client]()
:
118 | channel = DatagramBootstrap(group: eventLoop)
119 | .channelOption(ChannelOptions.socket(SocketOptionLevel(SOL_SOCKET), SO_REUSEADDR), value: 1)
120 | .channelInitializer { $0.pipeline.addHandler(handler) }
| `- warning: capture of 'handler' with non-sendable type 'SwitcherHandler' in a '@Sendable' closure
121 | .bind(host: "0.0.0.0", port: 9910)
122 | }
[247/263] Compiling Atem Switcher.swift
/host/spi-builder-workspace/Sources/Atem/Switcher.swift:120:49: warning: type 'SwitcherHandler' does not conform to the 'Sendable' protocol
14 | }
15 |
16 | class SwitcherHandler: HandlerWithTimer {
| `- note: class 'SwitcherHandler' does not conform to the 'Sendable' protocol
17 | var counter: UInt16 = 0
18 | var clients = [UInt16: Client]()
:
118 | channel = DatagramBootstrap(group: eventLoop)
119 | .channelOption(ChannelOptions.socket(SocketOptionLevel(SOL_SOCKET), SO_REUSEADDR), value: 1)
120 | .channelInitializer { $0.pipeline.addHandler(handler) }
| `- warning: type 'SwitcherHandler' does not conform to the 'Sendable' protocol
121 | .bind(host: "0.0.0.0", port: 9910)
122 | }
/host/spi-builder-workspace/Sources/Atem/Switcher.swift:120:49: warning: capture of 'handler' with non-sendable type 'SwitcherHandler' in a '@Sendable' closure
14 | }
15 |
16 | class SwitcherHandler: HandlerWithTimer {
| `- note: class 'SwitcherHandler' does not conform to the 'Sendable' protocol
17 | var counter: UInt16 = 0
18 | var clients = [UInt16: Client]()
:
118 | channel = DatagramBootstrap(group: eventLoop)
119 | .channelOption(ChannelOptions.socket(SocketOptionLevel(SOL_SOCKET), SO_REUSEADDR), value: 1)
120 | .channelInitializer { $0.pipeline.addHandler(handler) }
| `- warning: capture of 'handler' with non-sendable type 'SwitcherHandler' in a '@Sendable' closure
121 | .bind(host: "0.0.0.0", port: 9910)
122 | }
[248/263] Compiling Atem MessageHandler.swift
/host/spi-builder-workspace/Sources/Atem/MessageHandler.swift:7:13: warning: var 'messageTypeRegister' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 | // Created by Damiaan on 26/05/18.
6 | //
7 | private var messageTypeRegister = [UInt32: Message.Type]()
| |- warning: var 'messageTypeRegister' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'messageTypeRegister' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'messageTypeRegister' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | /// A utility to interprete incoming messages and call the registered handlers and to send back the responses provided by the handlers. For more information on how to register handlers see `MessageHandlerBase.when(...)`. This class is similar to `MessageHandler`. The difference here is that the registered handlers should return zero or more (`Serializable`) responses for each incoming `Message`.
[249/263] Compiling Atem MessageTitle.swift
/host/spi-builder-workspace/Sources/Atem/MessageHandler.swift:7:13: warning: var 'messageTypeRegister' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 | // Created by Damiaan on 26/05/18.
6 | //
7 | private var messageTypeRegister = [UInt32: Message.Type]()
| |- warning: var 'messageTypeRegister' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'messageTypeRegister' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'messageTypeRegister' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 |
9 | /// A utility to interprete incoming messages and call the registered handlers and to send back the responses provided by the handlers. For more information on how to register handlers see `MessageHandlerBase.when(...)`. This class is similar to `MessageHandler`. The difference here is that the registered handlers should return zero or more (`Serializable`) responses for each incoming `Message`.
[250/263] Compiling Atem TallyLight.swift
/host/spi-builder-workspace/Sources/Atem/TallyLight.swift:22:24: warning: static property 'off' is not concurrency-safe because non-'Sendable' type 'TallyLight' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// - `.preview`
14 | /// - both `.program` & `.preview`
15 | public struct TallyLight: OptionSet, CustomDebugStringConvertible {
| `- note: consider making struct 'TallyLight' conform to the 'Sendable' protocol
16 | public let rawValue: UInt8
17 |
:
20 | }
21 |
22 | public static let off = TallyLight(rawValue: 0)
| |- warning: static property 'off' is not concurrency-safe because non-'Sendable' type 'TallyLight' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'off' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let program = TallyLight(rawValue: 1)
24 | public static let preview = TallyLight(rawValue: 2)
/host/spi-builder-workspace/Sources/Atem/TallyLight.swift:22:24: warning: static property 'off' produces an empty option set
20 | }
21 |
22 | public static let off = TallyLight(rawValue: 0)
| |- warning: static property 'off' produces an empty option set
| `- note: use [] to silence this warning
23 | public static let program = TallyLight(rawValue: 1)
24 | public static let preview = TallyLight(rawValue: 2)
/host/spi-builder-workspace/Sources/Atem/TallyLight.swift:23:20: warning: static property 'program' is not concurrency-safe because non-'Sendable' type 'TallyLight' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// - `.preview`
14 | /// - both `.program` & `.preview`
15 | public struct TallyLight: OptionSet, CustomDebugStringConvertible {
| `- note: consider making struct 'TallyLight' conform to the 'Sendable' protocol
16 | public let rawValue: UInt8
17 |
:
21 |
22 | public static let off = TallyLight(rawValue: 0)
23 | public static let program = TallyLight(rawValue: 1)
| |- warning: static property 'program' is not concurrency-safe because non-'Sendable' type 'TallyLight' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'program' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let preview = TallyLight(rawValue: 2)
25 |
/host/spi-builder-workspace/Sources/Atem/TallyLight.swift:24:20: warning: static property 'preview' is not concurrency-safe because non-'Sendable' type 'TallyLight' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// - `.preview`
14 | /// - both `.program` & `.preview`
15 | public struct TallyLight: OptionSet, CustomDebugStringConvertible {
| `- note: consider making struct 'TallyLight' conform to the 'Sendable' protocol
16 | public let rawValue: UInt8
17 |
:
22 | public static let off = TallyLight(rawValue: 0)
23 | public static let program = TallyLight(rawValue: 1)
24 | public static let preview = TallyLight(rawValue: 2)
| |- warning: static property 'preview' is not concurrency-safe because non-'Sendable' type 'TallyLight' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'preview' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | public var debugDescription: String {
[251/263] Compiling Atem ArrayOperations.swift
/host/spi-builder-workspace/Sources/Atem/TallyLight.swift:22:24: warning: static property 'off' is not concurrency-safe because non-'Sendable' type 'TallyLight' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// - `.preview`
14 | /// - both `.program` & `.preview`
15 | public struct TallyLight: OptionSet, CustomDebugStringConvertible {
| `- note: consider making struct 'TallyLight' conform to the 'Sendable' protocol
16 | public let rawValue: UInt8
17 |
:
20 | }
21 |
22 | public static let off = TallyLight(rawValue: 0)
| |- warning: static property 'off' is not concurrency-safe because non-'Sendable' type 'TallyLight' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'off' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let program = TallyLight(rawValue: 1)
24 | public static let preview = TallyLight(rawValue: 2)
/host/spi-builder-workspace/Sources/Atem/TallyLight.swift:22:24: warning: static property 'off' produces an empty option set
20 | }
21 |
22 | public static let off = TallyLight(rawValue: 0)
| |- warning: static property 'off' produces an empty option set
| `- note: use [] to silence this warning
23 | public static let program = TallyLight(rawValue: 1)
24 | public static let preview = TallyLight(rawValue: 2)
/host/spi-builder-workspace/Sources/Atem/TallyLight.swift:23:20: warning: static property 'program' is not concurrency-safe because non-'Sendable' type 'TallyLight' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// - `.preview`
14 | /// - both `.program` & `.preview`
15 | public struct TallyLight: OptionSet, CustomDebugStringConvertible {
| `- note: consider making struct 'TallyLight' conform to the 'Sendable' protocol
16 | public let rawValue: UInt8
17 |
:
21 |
22 | public static let off = TallyLight(rawValue: 0)
23 | public static let program = TallyLight(rawValue: 1)
| |- warning: static property 'program' is not concurrency-safe because non-'Sendable' type 'TallyLight' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'program' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let preview = TallyLight(rawValue: 2)
25 |
/host/spi-builder-workspace/Sources/Atem/TallyLight.swift:24:20: warning: static property 'preview' is not concurrency-safe because non-'Sendable' type 'TallyLight' may have shared mutable state; this is an error in the Swift 6 language mode
13 | /// - `.preview`
14 | /// - both `.program` & `.preview`
15 | public struct TallyLight: OptionSet, CustomDebugStringConvertible {
| `- note: consider making struct 'TallyLight' conform to the 'Sendable' protocol
16 | public let rawValue: UInt8
17 |
:
22 | public static let off = TallyLight(rawValue: 0)
23 | public static let program = TallyLight(rawValue: 1)
24 | public static let preview = TallyLight(rawValue: 2)
| |- warning: static property 'preview' is not concurrency-safe because non-'Sendable' type 'TallyLight' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'preview' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | public var debugDescription: String {
[252/263] Compiling Atem Connection.swift
/host/spi-builder-workspace/Sources/Atem/Controller.swift:105:49: warning: type 'ControllerHandler' does not conform to the 'Sendable' protocol
9 | import NIO
10 |
11 | class ControllerHandler: HandlerWithTimer {
| `- note: class 'ControllerHandler' does not conform to the 'Sendable' protocol
12 |
13 | var connectionState: ConnectionState?
:
103 | channel = DatagramBootstrap(group: eventLoop)
104 | .channelOption(ChannelOptions.socket(SocketOptionLevel(SOL_SOCKET), SO_REUSEADDR), value: 1)
105 | .channelInitializer { $0.pipeline.addHandler(tempHandler) }
| `- warning: type 'ControllerHandler' does not conform to the 'Sendable' protocol
106 | .bind(to: try! SocketAddress(ipAddress: "0.0.0.0", port: 0))
107 | }
/host/spi-builder-workspace/Sources/Atem/Controller.swift:105:49: warning: capture of 'tempHandler' with non-sendable type 'ControllerHandler' in a '@Sendable' closure
9 | import NIO
10 |
11 | class ControllerHandler: HandlerWithTimer {
| `- note: class 'ControllerHandler' does not conform to the 'Sendable' protocol
12 |
13 | var connectionState: ConnectionState?
:
103 | channel = DatagramBootstrap(group: eventLoop)
104 | .channelOption(ChannelOptions.socket(SocketOptionLevel(SOL_SOCKET), SO_REUSEADDR), value: 1)
105 | .channelInitializer { $0.pipeline.addHandler(tempHandler) }
| `- warning: capture of 'tempHandler' with non-sendable type 'ControllerHandler' in a '@Sendable' closure
106 | .bind(to: try! SocketAddress(ipAddress: "0.0.0.0", port: 0))
107 | }
/host/spi-builder-workspace/Sources/Atem/Controller.swift:115:4: warning: capture of 'self' with non-sendable type 'Controller' in a '@Sendable' closure
80 | ///
81 | /// To make an anology with real world devices: this class can be compared to a BlackMagicDesign Control Panel. It is used to control a production switcher.
82 | public class Controller {
| `- note: class 'Controller' does not conform to the 'Sendable' protocol
83 | /// The underlying [NIO](https://github.com/apple/swift-nio) [Datagram](https://apple.github.io/swift-nio/docs/current/NIO/Classes/DatagramBootstrap.html) [Channel](https://apple.github.io/swift-nio/docs/current/NIO/Protocols/Channel.html)
84 | public let channel: EventLoopFuture<Channel>
:
113 | public func send(message: Serializable) {
114 | channel.eventLoop.execute {
115 | self.handler.connectionState?.send(message: message.serialize())
| `- warning: capture of 'self' with non-sendable type 'Controller' in a '@Sendable' closure
116 | }
117 | }
/host/spi-builder-workspace/Sources/Atem/Controller.swift:115:48: warning: capture of 'message' with non-sendable type 'any Serializable' in a '@Sendable' closure
113 | public func send(message: Serializable) {
114 | channel.eventLoop.execute {
115 | self.handler.connectionState?.send(message: message.serialize())
| `- warning: capture of 'message' with non-sendable type 'any Serializable' in a '@Sendable' closure
116 | }
117 | }
/host/spi-builder-workspace/Sources/Atem/Message.swift:50:17: note: protocol 'Serializable' does not conform to the 'Sendable' protocol
48 | /// A `Message` that is serializable. In other words: that can be transformed into a binary format, ready to be sent to another device.
49 | /// Serializable messages use the `Message.title` and `Serializable.dataBytes` properties to compute the serialized message.
50 | public protocol Serializable: Message {
| `- note: protocol 'Serializable' does not conform to the 'Sendable' protocol
51 | /// The part of the serialized message starting after the 4 `Message.title` bytes.
52 | /// This property is used by the `Serializable.serialize()` method
[253/263] Compiling Atem Controller.swift
/host/spi-builder-workspace/Sources/Atem/Controller.swift:105:49: warning: type 'ControllerHandler' does not conform to the 'Sendable' protocol
9 | import NIO
10 |
11 | class ControllerHandler: HandlerWithTimer {
| `- note: class 'ControllerHandler' does not conform to the 'Sendable' protocol
12 |
13 | var connectionState: ConnectionState?
:
103 | channel = DatagramBootstrap(group: eventLoop)
104 | .channelOption(ChannelOptions.socket(SocketOptionLevel(SOL_SOCKET), SO_REUSEADDR), value: 1)
105 | .channelInitializer { $0.pipeline.addHandler(tempHandler) }
| `- warning: type 'ControllerHandler' does not conform to the 'Sendable' protocol
106 | .bind(to: try! SocketAddress(ipAddress: "0.0.0.0", port: 0))
107 | }
/host/spi-builder-workspace/Sources/Atem/Controller.swift:105:49: warning: capture of 'tempHandler' with non-sendable type 'ControllerHandler' in a '@Sendable' closure
9 | import NIO
10 |
11 | class ControllerHandler: HandlerWithTimer {
| `- note: class 'ControllerHandler' does not conform to the 'Sendable' protocol
12 |
13 | var connectionState: ConnectionState?
:
103 | channel = DatagramBootstrap(group: eventLoop)
104 | .channelOption(ChannelOptions.socket(SocketOptionLevel(SOL_SOCKET), SO_REUSEADDR), value: 1)
105 | .channelInitializer { $0.pipeline.addHandler(tempHandler) }
| `- warning: capture of 'tempHandler' with non-sendable type 'ControllerHandler' in a '@Sendable' closure
106 | .bind(to: try! SocketAddress(ipAddress: "0.0.0.0", port: 0))
107 | }
/host/spi-builder-workspace/Sources/Atem/Controller.swift:115:4: warning: capture of 'self' with non-sendable type 'Controller' in a '@Sendable' closure
80 | ///
81 | /// To make an anology with real world devices: this class can be compared to a BlackMagicDesign Control Panel. It is used to control a production switcher.
82 | public class Controller {
| `- note: class 'Controller' does not conform to the 'Sendable' protocol
83 | /// The underlying [NIO](https://github.com/apple/swift-nio) [Datagram](https://apple.github.io/swift-nio/docs/current/NIO/Classes/DatagramBootstrap.html) [Channel](https://apple.github.io/swift-nio/docs/current/NIO/Protocols/Channel.html)
84 | public let channel: EventLoopFuture<Channel>
:
113 | public func send(message: Serializable) {
114 | channel.eventLoop.execute {
115 | self.handler.connectionState?.send(message: message.serialize())
| `- warning: capture of 'self' with non-sendable type 'Controller' in a '@Sendable' closure
116 | }
117 | }
/host/spi-builder-workspace/Sources/Atem/Controller.swift:115:48: warning: capture of 'message' with non-sendable type 'any Serializable' in a '@Sendable' closure
113 | public func send(message: Serializable) {
114 | channel.eventLoop.execute {
115 | self.handler.connectionState?.send(message: message.serialize())
| `- warning: capture of 'message' with non-sendable type 'any Serializable' in a '@Sendable' closure
116 | }
117 | }
/host/spi-builder-workspace/Sources/Atem/Message.swift:50:17: note: protocol 'Serializable' does not conform to the 'Sendable' protocol
48 | /// A `Message` that is serializable. In other words: that can be transformed into a binary format, ready to be sent to another device.
49 | /// Serializable messages use the `Message.title` and `Serializable.dataBytes` properties to compute the serialized message.
50 | public protocol Serializable: Message {
| `- note: protocol 'Serializable' does not conform to the 'Sendable' protocol
51 | /// The part of the serialized message starting after the 4 `Message.title` bytes.
52 | /// This property is used by the `Serializable.serialize()` method
[254/263] Compiling Atem Message.swift
/host/spi-builder-workspace/Sources/Atem/Controller.swift:105:49: warning: type 'ControllerHandler' does not conform to the 'Sendable' protocol
9 | import NIO
10 |
11 | class ControllerHandler: HandlerWithTimer {
| `- note: class 'ControllerHandler' does not conform to the 'Sendable' protocol
12 |
13 | var connectionState: ConnectionState?
:
103 | channel = DatagramBootstrap(group: eventLoop)
104 | .channelOption(ChannelOptions.socket(SocketOptionLevel(SOL_SOCKET), SO_REUSEADDR), value: 1)
105 | .channelInitializer { $0.pipeline.addHandler(tempHandler) }
| `- warning: type 'ControllerHandler' does not conform to the 'Sendable' protocol
106 | .bind(to: try! SocketAddress(ipAddress: "0.0.0.0", port: 0))
107 | }
/host/spi-builder-workspace/Sources/Atem/Controller.swift:105:49: warning: capture of 'tempHandler' with non-sendable type 'ControllerHandler' in a '@Sendable' closure
9 | import NIO
10 |
11 | class ControllerHandler: HandlerWithTimer {
| `- note: class 'ControllerHandler' does not conform to the 'Sendable' protocol
12 |
13 | var connectionState: ConnectionState?
:
103 | channel = DatagramBootstrap(group: eventLoop)
104 | .channelOption(ChannelOptions.socket(SocketOptionLevel(SOL_SOCKET), SO_REUSEADDR), value: 1)
105 | .channelInitializer { $0.pipeline.addHandler(tempHandler) }
| `- warning: capture of 'tempHandler' with non-sendable type 'ControllerHandler' in a '@Sendable' closure
106 | .bind(to: try! SocketAddress(ipAddress: "0.0.0.0", port: 0))
107 | }
/host/spi-builder-workspace/Sources/Atem/Controller.swift:115:4: warning: capture of 'self' with non-sendable type 'Controller' in a '@Sendable' closure
80 | ///
81 | /// To make an anology with real world devices: this class can be compared to a BlackMagicDesign Control Panel. It is used to control a production switcher.
82 | public class Controller {
| `- note: class 'Controller' does not conform to the 'Sendable' protocol
83 | /// The underlying [NIO](https://github.com/apple/swift-nio) [Datagram](https://apple.github.io/swift-nio/docs/current/NIO/Classes/DatagramBootstrap.html) [Channel](https://apple.github.io/swift-nio/docs/current/NIO/Protocols/Channel.html)
84 | public let channel: EventLoopFuture<Channel>
:
113 | public func send(message: Serializable) {
114 | channel.eventLoop.execute {
115 | self.handler.connectionState?.send(message: message.serialize())
| `- warning: capture of 'self' with non-sendable type 'Controller' in a '@Sendable' closure
116 | }
117 | }
/host/spi-builder-workspace/Sources/Atem/Controller.swift:115:48: warning: capture of 'message' with non-sendable type 'any Serializable' in a '@Sendable' closure
113 | public func send(message: Serializable) {
114 | channel.eventLoop.execute {
115 | self.handler.connectionState?.send(message: message.serialize())
| `- warning: capture of 'message' with non-sendable type 'any Serializable' in a '@Sendable' closure
116 | }
117 | }
/host/spi-builder-workspace/Sources/Atem/Message.swift:50:17: note: protocol 'Serializable' does not conform to the 'Sendable' protocol
48 | /// A `Message` that is serializable. In other words: that can be transformed into a binary format, ready to be sent to another device.
49 | /// Serializable messages use the `Message.title` and `Serializable.dataBytes` properties to compute the serialized message.
50 | public protocol Serializable: Message {
| `- note: protocol 'Serializable' does not conform to the 'Sendable' protocol
51 | /// The part of the serialized message starting after the 4 `Message.title` bytes.
52 | /// This property is used by the `Serializable.serialize()` method
[255/263] Compiling Atem HandlerWithTimer.swift
/host/spi-builder-workspace/Sources/Atem/Utilities/HandlerWithTimer.swift:30:4: warning: capture of 'self' with non-sendable type 'HandlerWithTimer' in a '@Sendable' closure
10 | let sendInterval = TimeAmount.milliseconds(20)
11 |
12 | class HandlerWithTimer: ChannelInboundHandler {
| `- note: class 'HandlerWithTimer' does not conform to the 'Sendable' protocol
13 | typealias InboundIn = AddressedEnvelope<ByteBuffer>
14 | typealias OutboundOut = AddressedEnvelope<ByteBuffer>
:
28 | final func startLoop(in context: ChannelHandlerContext) {
29 | nextKeepAliveTask = context.eventLoop.scheduleTask(in: sendInterval) {
30 | self.executeTimerTask(context: context)
| `- warning: capture of 'self' with non-sendable type 'HandlerWithTimer' in a '@Sendable' closure
31 | self.startLoop(in: context)
32 | }
/host/spi-builder-workspace/Sources/Atem/Utilities/HandlerWithTimer.swift:30:35: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
28 | final func startLoop(in context: ChannelHandlerContext) {
29 | nextKeepAliveTask = context.eventLoop.scheduleTask(in: sendInterval) {
30 | self.executeTimerTask(context: context)
| `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
31 | self.startLoop(in: context)
32 | }
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1786:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1784 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1785 | /// `ChannelHandler`.
1786 | public final class ChannelHandlerContext: ChannelInvoker {
| `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1787 | // visible for ChannelPipeline to modify
1788 | fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/Atem/Utilities/InitialSwitcherStateMessages.swift:10:5: warning: let 'inputProperties' is not concurrency-safe because non-'Sendable' type '[VideoSource.PropertiesChanged]' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | let inputProperties = try! [
| |- warning: let 'inputProperties' is not concurrency-safe because non-'Sendable' type '[VideoSource.PropertiesChanged]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'inputProperties' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | VideoSource.PropertiesChanged(
12 | source: .black,
/host/spi-builder-workspace/Sources/Atem/MessageTypes.swift:476:16: note: consider making struct 'PropertiesChanged' conform to the 'Sendable' protocol
474 | extension VideoSource {
475 | /// The properties (like name and port types) of a video source
476 | public struct PropertiesChanged: Serializable {
| `- note: consider making struct 'PropertiesChanged' conform to the 'Sendable' protocol
477 | public static let title: MessageTitle = MessageTitle(string: "InPr")
478 | public static let shortNameLength = 4
[256/263] Compiling Atem InitialSwitcherStateMessages.swift
/host/spi-builder-workspace/Sources/Atem/Utilities/HandlerWithTimer.swift:30:4: warning: capture of 'self' with non-sendable type 'HandlerWithTimer' in a '@Sendable' closure
10 | let sendInterval = TimeAmount.milliseconds(20)
11 |
12 | class HandlerWithTimer: ChannelInboundHandler {
| `- note: class 'HandlerWithTimer' does not conform to the 'Sendable' protocol
13 | typealias InboundIn = AddressedEnvelope<ByteBuffer>
14 | typealias OutboundOut = AddressedEnvelope<ByteBuffer>
:
28 | final func startLoop(in context: ChannelHandlerContext) {
29 | nextKeepAliveTask = context.eventLoop.scheduleTask(in: sendInterval) {
30 | self.executeTimerTask(context: context)
| `- warning: capture of 'self' with non-sendable type 'HandlerWithTimer' in a '@Sendable' closure
31 | self.startLoop(in: context)
32 | }
/host/spi-builder-workspace/Sources/Atem/Utilities/HandlerWithTimer.swift:30:35: warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
28 | final func startLoop(in context: ChannelHandlerContext) {
29 | nextKeepAliveTask = context.eventLoop.scheduleTask(in: sendInterval) {
30 | self.executeTimerTask(context: context)
| `- warning: capture of 'context' with non-sendable type 'ChannelHandlerContext' in a '@Sendable' closure
31 | self.startLoop(in: context)
32 | }
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOCore/ChannelPipeline.swift:1786:20: note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1784 | /// at the right point in time. Often, the right behaviour is to react to an event and then forward it to the next
1785 | /// `ChannelHandler`.
1786 | public final class ChannelHandlerContext: ChannelInvoker {
| `- note: class 'ChannelHandlerContext' does not conform to the 'Sendable' protocol
1787 | // visible for ChannelPipeline to modify
1788 | fileprivate var next: Optional<ChannelHandlerContext>
/host/spi-builder-workspace/Sources/Atem/Utilities/InitialSwitcherStateMessages.swift:10:5: warning: let 'inputProperties' is not concurrency-safe because non-'Sendable' type '[VideoSource.PropertiesChanged]' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | let inputProperties = try! [
| |- warning: let 'inputProperties' is not concurrency-safe because non-'Sendable' type '[VideoSource.PropertiesChanged]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make let 'inputProperties' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | VideoSource.PropertiesChanged(
12 | source: .black,
/host/spi-builder-workspace/Sources/Atem/MessageTypes.swift:476:16: note: consider making struct 'PropertiesChanged' conform to the 'Sendable' protocol
474 | extension VideoSource {
475 | /// The properties (like name and port types) of a video source
476 | public struct PropertiesChanged: Serializable {
| `- note: consider making struct 'PropertiesChanged' conform to the 'Sendable' protocol
477 | public static let title: MessageTitle = MessageTitle(string: "InPr")
478 | public static let shortNameLength = 4
[257/264] Wrapping AST for Atem for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[259/268] Emitting module Version_dump
/host/spi-builder-workspace/Sources/Version dump/main.swift:28:4: error: cannot find 'exit' in scope
26 | print("Initiation complete")
27 | DispatchQueue.main.asyncAfter(deadline: .now() + 0.1) {
28 | exit(EXIT_SUCCESS)
| `- error: cannot find 'exit' in scope
29 | }
30 | }
/host/spi-builder-workspace/Sources/Version dump/main.swift:28:9: error: cannot find 'EXIT_SUCCESS' in scope
26 | print("Initiation complete")
27 | DispatchQueue.main.asyncAfter(deadline: .now() + 0.1) {
28 | exit(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
29 | }
30 | }
[260/268] Compiling Version_dump main.swift
/host/spi-builder-workspace/Sources/Version dump/main.swift:28:4: error: cannot find 'exit' in scope
26 | print("Initiation complete")
27 | DispatchQueue.main.asyncAfter(deadline: .now() + 0.1) {
28 | exit(EXIT_SUCCESS)
| `- error: cannot find 'exit' in scope
29 | }
30 | }
/host/spi-builder-workspace/Sources/Version dump/main.swift:28:9: error: cannot find 'EXIT_SUCCESS' in scope
26 | print("Initiation complete")
27 | DispatchQueue.main.asyncAfter(deadline: .now() + 0.1) {
28 | exit(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
29 | }
30 | }
[261/268] Emitting module Simulator
[262/268] Compiling Simulator main.swift
/host/spi-builder-workspace/Sources/Simulator/main.swift:34:7: warning: will never be executed
31 |
32 | print(switcher)
33 | dispatchMain()
| `- note: a call to a never-returning function
34 | print(switcher)
| `- warning: will never be executed
35 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/18] Write swift-version-24593BA9C3E375BF.txt
[2/66] Compiling Atomics UnsafeAtomic.swift
[3/66] Compiling Atomics UnsafeAtomicLazyReference.swift
[4/68] Compiling _NIOBase64 Base64.swift
[5/68] Compiling Atomics AtomicMemoryOrderings.swift
[6/68] Compiling Atomics DoubleWord.swift
[7/68] Compiling InternalCollectionsUtilities _SortedCollection.swift
[8/68] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[9/68] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[10/68] Emitting module NIOConcurrencyHelpers
[15/70] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[16/70] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[17/70] Compiling _NIODataStructures PriorityQueue.swift
[18/70] Compiling _NIODataStructures _TinyArray.swift
[19/70] Compiling NIOConcurrencyHelpers lock.swift
[20/70] Emitting module _NIOBase64
[21/71] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[22/71] Compiling NIOConcurrencyHelpers NIOLock.swift
[23/71] Compiling NIOConcurrencyHelpers atomics.swift
[26/72] Compiling _NIODataStructures Heap.swift
[29/72] Emitting module _NIODataStructures
[30/73] Compiling Atomics IntegerOperations.swift
[31/73] Compiling Atomics Unmanaged extensions.swift
[32/73] Compiling Atomics OptionalRawRepresentable.swift
[33/73] Compiling Atomics RawRepresentable.swift
[34/73] Compiling Atomics AtomicBool.swift
[36/71] Compiling Atomics Primitives.shims.swift
[37/71] Compiling Atomics AtomicInteger.swift
[38/71] Compiling Atomics AtomicOptionalWrappable.swift
[39/71] Compiling Atomics AtomicReference.swift
[42/70] Emitting module InternalCollectionsUtilities
[45/70] Compiling Atomics IntegerConformances.swift
[46/70] Compiling Atomics PointerConformances.swift
[47/70] Compiling Atomics Primitives.native.swift
[50/71] Wrapping AST for InternalCollectionsUtilities for debugging
[52/86] Compiling DequeModule _DequeBuffer.swift
[53/86] Compiling DequeModule _DequeBufferHeader.swift
[54/88] Compiling DequeModule _DequeSlot.swift
[55/88] Compiling DequeModule _UnsafeWrappedBuffer.swift
[56/88] Compiling DequeModule Deque+Equatable.swift
[57/88] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[58/88] Compiling DequeModule Deque._UnsafeHandle.swift
[59/88] Compiling DequeModule Deque.swift
[60/88] Compiling DequeModule Deque+Testing.swift
[61/88] Compiling DequeModule Deque._Storage.swift
[63/88] Emitting module Atomics
[67/89] Compiling DequeModule Deque+Extras.swift
[68/89] Compiling DequeModule Deque+Hashable.swift
[69/89] Compiling DequeModule Deque+CustomReflectable.swift
[70/89] Compiling DequeModule Deque+Descriptions.swift
[73/89] Compiling DequeModule Deque+Codable.swift
[74/89] Compiling DequeModule Deque+Collection.swift
[75/89] Emitting module DequeModule
[77/90] Wrapping AST for Atomics for debugging
[78/90] Wrapping AST for DequeModule for debugging
[80/149] Compiling NIOCore AddressedEnvelope.swift
[81/149] Compiling NIOCore AsyncAwaitSupport.swift
[82/149] Compiling NIOCore AsyncChannel.swift
[83/149] Compiling NIOCore AsyncChannelHandler.swift
[84/149] Compiling NIOCore AsyncChannelInboundStream.swift
[85/149] Compiling NIOCore AsyncChannelOutboundWriter.swift
[86/149] Compiling NIOCore NIOAsyncSequenceProducer.swift
[87/149] Compiling NIOCore NIOAsyncSequenceProducerStrategies.swift
[88/149] Compiling NIOCore NIOAsyncWriter.swift
[89/157] Compiling NIOCore GlobalSingletons.swift
[90/157] Compiling NIOCore IO.swift
[91/157] Compiling NIOCore IOData.swift
[92/157] Compiling NIOCore IPProtocol.swift
[93/157] Compiling NIOCore IntegerBitPacking.swift
[94/157] Compiling NIOCore IntegerTypes.swift
[95/157] Compiling NIOCore Interfaces.swift
[96/157] Compiling NIOCore Linux.swift
[97/157] Compiling NIOCore MarkedCircularBuffer.swift
[98/157] Compiling NIOCore MulticastChannel.swift
[99/157] Compiling NIOCore NIOAny.swift
[100/157] Compiling NIOCore NIOCloseOnErrorHandler.swift
[101/157] Compiling NIOCore NIOLoopBound.swift
[102/157] Compiling NIOCore NIOScheduledCallback.swift
[103/157] Compiling NIOCore NIOSendable.swift
[104/157] Compiling NIOCore RecvByteBufferAllocator.swift
[105/157] Compiling NIOCore EventLoop.swift
[106/157] Compiling NIOCore EventLoopFuture+AssumeIsolated.swift
[107/157] Compiling NIOCore EventLoopFuture+Deprecated.swift
[108/157] Compiling NIOCore EventLoopFuture+WithEventLoop.swift
[109/157] Compiling NIOCore EventLoopFuture.swift
[110/157] Compiling NIOCore FileDescriptor.swift
[111/157] Compiling NIOCore FileHandle.swift
[112/157] Compiling NIOCore FileRegion.swift
[113/157] Compiling NIOCore ChannelPipeline.swift
[114/157] Compiling NIOCore CircularBuffer.swift
[115/157] Compiling NIOCore Codec.swift
[116/157] Compiling NIOCore ConvenienceOptionSupport.swift
[117/157] Compiling NIOCore DeadChannel.swift
[118/157] Compiling NIOCore DispatchQueue+WithFuture.swift
[119/157] Compiling NIOCore EventLoop+Deprecated.swift
[120/157] Compiling NIOCore EventLoop+SerialExecutor.swift
[121/157] Compiling NIOCore NIOThrowingAsyncSequenceProducer.swift
[122/157] Compiling NIOCore BSDSocketAPI.swift
[123/157] Compiling NIOCore ByteBuffer-aux.swift
[124/157] Compiling NIOCore ByteBuffer-binaryEncodedLengthPrefix.swift
[125/157] Compiling NIOCore ByteBuffer-conversions.swift
[126/157] Compiling NIOCore ByteBuffer-core.swift
[127/157] Compiling NIOCore ByteBuffer-hex.swift
[128/157] Compiling NIOCore ByteBuffer-int.swift
[129/157] Compiling NIOCore ByteBuffer-lengthPrefix.swift
[130/157] Compiling NIOCore SingleStepByteToMessageDecoder.swift
[131/157] Compiling NIOCore SocketAddresses.swift
[132/157] Compiling NIOCore SocketOptionProvider.swift
[133/157] Compiling NIOCore SystemCallHelpers.swift
[134/157] Compiling NIOCore TimeAmount+Duration.swift
[135/157] Compiling NIOCore TypeAssistedChannelHandler.swift
[136/157] Compiling NIOCore UniversalBootstrapSupport.swift
[137/157] Compiling NIOCore Utilities.swift
[138/157] Compiling NIOCore ByteBuffer-multi-int.swift
[139/157] Compiling NIOCore ByteBuffer-quicBinaryEncodingStrategy.swift
[140/157] Compiling NIOCore ByteBuffer-views.swift
[141/157] Compiling NIOCore Channel.swift
[142/157] Compiling NIOCore ChannelHandler.swift
[143/157] Compiling NIOCore ChannelHandlers.swift
[144/157] Compiling NIOCore ChannelInvoker.swift
[145/157] Compiling NIOCore ChannelOption.swift
[146/157] Emitting module NIOCore
[148/208] Compiling NIOEmbedded AsyncTestingChannel.swift
[149/208] Emitting module NIOEmbedded
[150/208] Compiling NIOEmbedded AsyncTestingEventLoop.swift
[151/208] Compiling NIOEmbedded Embedded.swift
[153/208] Compiling NIOPosix ServerSocket.swift
[154/208] Compiling NIOPosix Socket.swift
[155/208] Compiling NIOPosix SocketChannel.swift
[156/208] Compiling NIOPosix SocketProtocols.swift
[157/208] Compiling NIOPosix System.swift
[158/208] Compiling NIOPosix Thread.swift
[159/214] Emitting module NIOPosix
[160/214] Compiling NIOPosix Bootstrap.swift
[161/214] Compiling NIOPosix ControlMessage.swift
[162/214] Compiling NIOPosix DatagramVectorReadManager.swift
[163/214] Compiling NIOPosix Errors+Any.swift
[164/214] Compiling NIOPosix FileDescriptor.swift
[165/214] Compiling NIOPosix GetaddrinfoResolver.swift
[166/214] Compiling NIOPosix HappyEyeballs.swift
[167/214] Compiling NIOPosix ThreadPosix.swift
[168/214] Compiling NIOPosix ThreadWindows.swift
[169/214] Compiling NIOPosix UnsafeTransfer.swift
[170/214] Compiling NIOPosix Utilities.swift
[171/214] Compiling NIOPosix VsockAddress.swift
[172/214] Compiling NIOPosix VsockChannelEvents.swift
[173/214] Compiling NIOPosix IO.swift
[174/214] Compiling NIOPosix IntegerBitPacking.swift
[175/214] Compiling NIOPosix IntegerTypes.swift
[176/214] Compiling NIOPosix Linux.swift
[177/214] Compiling NIOPosix LinuxCPUSet.swift
[178/214] Compiling NIOPosix LinuxUring.swift
[179/214] Compiling NIOPosix MultiThreadedEventLoopGroup.swift
[180/214] Compiling NIOPosix BSDSocketAPICommon.swift
[181/214] Compiling NIOPosix BSDSocketAPIPosix.swift
[182/214] Compiling NIOPosix BSDSocketAPIWindows.swift
[183/214] Compiling NIOPosix BaseSocket.swift
[184/214] Compiling NIOPosix BaseSocketChannel+SocketOptionProvider.swift
[185/214] Compiling NIOPosix BaseSocketChannel.swift
[186/214] Compiling NIOPosix BaseStreamSocketChannel.swift
[187/214] Compiling NIOPosix PooledRecvBufferAllocator.swift
[188/214] Compiling NIOPosix PosixSingletons+ConcurrencyTakeOver.swift
[189/214] Compiling NIOPosix PosixSingletons.swift
[190/214] Compiling NIOPosix RawSocketBootstrap.swift
[191/214] Compiling NIOPosix Resolver.swift
[192/214] Compiling NIOPosix Selectable.swift
[193/214] Compiling NIOPosix SelectableChannel.swift
[194/214] Compiling NIOPosix SelectableEventLoop.swift
[195/214] Compiling NIOPosix SelectorEpoll.swift
[196/214] Compiling NIOPosix SelectorGeneric.swift
[197/214] Compiling NIOPosix SelectorKqueue.swift
[198/214] Compiling NIOPosix SelectorUring.swift
[199/214] Compiling NIOPosix NIOThreadPool.swift
[200/214] Compiling NIOPosix NonBlockingFileIO.swift
[201/214] Compiling NIOPosix PendingDatagramWritesManager.swift
[202/214] Compiling NIOPosix PendingWritesManager.swift
[203/214] Compiling NIOPosix PipeChannel.swift
[204/214] Compiling NIOPosix PipePair.swift
[205/214] Compiling NIOPosix Pool.swift
[207/216] Emitting module NIO
[208/216] Compiling NIO Exports.swift
[210/232] Emitting module Atem
/host/spi-builder-workspace/Sources/Atem/TallyLight.swift:22:24: warning: static property 'off' produces an empty option set
20 | }
21 |
22 | public static let off = TallyLight(rawValue: 0)
| |- warning: static property 'off' produces an empty option set
| `- note: use [] to silence this warning
23 | public static let program = TallyLight(rawValue: 1)
24 | public static let preview = TallyLight(rawValue: 2)
/host/spi-builder-workspace/Sources/Atem/VideoSource.swift:147:21: warning: static property 'none' produces an empty option set
145 | public static let sVideo = ExternalInterfaces(rawValue: 1 << 4)
146 |
147 | public static let none = ExternalInterfaces(rawValue: 0)
| |- warning: static property 'none' produces an empty option set
| `- note: use [] to silence this warning
148 |
149 | public func describe() -> String? {
/host/spi-builder-workspace/Sources/Atem/VideoSource.swift:194:21: warning: static property 'none' produces an empty option set
192 | public static let me2AndFillSources = MixEffects(rawValue: 1 << 1)
193 |
194 | public static let none = MixEffects(rawValue: 0)
| |- warning: static property 'none' produces an empty option set
| `- note: use [] to silence this warning
195 |
196 | public func describe() -> String? {
[211/234] Compiling Atem PacketTypes.swift
[212/234] Compiling Atem Switcher.swift
[213/234] Compiling Atem TallyLight.swift
/host/spi-builder-workspace/Sources/Atem/TallyLight.swift:22:24: warning: static property 'off' produces an empty option set
20 | }
21 |
22 | public static let off = TallyLight(rawValue: 0)
| |- warning: static property 'off' produces an empty option set
| `- note: use [] to silence this warning
23 | public static let program = TallyLight(rawValue: 1)
24 | public static let preview = TallyLight(rawValue: 2)
[214/234] Compiling Atem ArrayOperations.swift
/host/spi-builder-workspace/Sources/Atem/TallyLight.swift:22:24: warning: static property 'off' produces an empty option set
20 | }
21 |
22 | public static let off = TallyLight(rawValue: 0)
| |- warning: static property 'off' produces an empty option set
| `- note: use [] to silence this warning
23 | public static let program = TallyLight(rawValue: 1)
24 | public static let preview = TallyLight(rawValue: 2)
[215/234] Compiling Atem MessageHandler.swift
[216/234] Compiling Atem MessageTitle.swift
[217/234] Compiling Atem IntOperators.swift
[218/234] Compiling Atem OptionSet+elements.swift
[219/234] Compiling Atem MessageTypes.swift
[220/234] Compiling Atem Packet.swift
[221/234] Compiling Atem HandlerWithTimer.swift
[222/234] Compiling Atem InitialSwitcherStateMessages.swift
[223/234] Compiling Atem Connection.swift
[224/234] Compiling Atem Controller.swift
[225/234] Compiling Atem Message.swift
[226/234] Compiling Atem RawRepresentable+decode.swift
/host/spi-builder-workspace/Sources/Atem/VideoSource.swift:147:21: warning: static property 'none' produces an empty option set
145 | public static let sVideo = ExternalInterfaces(rawValue: 1 << 4)
146 |
147 | public static let none = ExternalInterfaces(rawValue: 0)
| |- warning: static property 'none' produces an empty option set
| `- note: use [] to silence this warning
148 |
149 | public func describe() -> String? {
/host/spi-builder-workspace/Sources/Atem/VideoSource.swift:194:21: warning: static property 'none' produces an empty option set
192 | public static let me2AndFillSources = MixEffects(rawValue: 1 << 1)
193 |
194 | public static let none = MixEffects(rawValue: 0)
| |- warning: static property 'none' produces an empty option set
| `- note: use [] to silence this warning
195 |
196 | public func describe() -> String? {
[227/234] Compiling Atem VideoSource.swift
/host/spi-builder-workspace/Sources/Atem/VideoSource.swift:147:21: warning: static property 'none' produces an empty option set
145 | public static let sVideo = ExternalInterfaces(rawValue: 1 << 4)
146 |
147 | public static let none = ExternalInterfaces(rawValue: 0)
| |- warning: static property 'none' produces an empty option set
| `- note: use [] to silence this warning
148 |
149 | public func describe() -> String? {
/host/spi-builder-workspace/Sources/Atem/VideoSource.swift:194:21: warning: static property 'none' produces an empty option set
192 | public static let me2AndFillSources = MixEffects(rawValue: 1 << 1)
193 |
194 | public static let none = MixEffects(rawValue: 0)
| |- warning: static property 'none' produces an empty option set
| `- note: use [] to silence this warning
195 |
196 | public func describe() -> String? {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[229/238] Emitting module Version_dump
/host/spi-builder-workspace/Sources/Version dump/main.swift:28:4: error: cannot find 'exit' in scope
26 | print("Initiation complete")
27 | DispatchQueue.main.asyncAfter(deadline: .now() + 0.1) {
28 | exit(EXIT_SUCCESS)
| `- error: cannot find 'exit' in scope
29 | }
30 | }
/host/spi-builder-workspace/Sources/Version dump/main.swift:28:9: error: cannot find 'EXIT_SUCCESS' in scope
26 | print("Initiation complete")
27 | DispatchQueue.main.asyncAfter(deadline: .now() + 0.1) {
28 | exit(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
29 | }
30 | }
[230/238] Compiling Version_dump main.swift
/host/spi-builder-workspace/Sources/Version dump/main.swift:28:4: error: cannot find 'exit' in scope
26 | print("Initiation complete")
27 | DispatchQueue.main.asyncAfter(deadline: .now() + 0.1) {
28 | exit(EXIT_SUCCESS)
| `- error: cannot find 'exit' in scope
29 | }
30 | }
/host/spi-builder-workspace/Sources/Version dump/main.swift:28:9: error: cannot find 'EXIT_SUCCESS' in scope
26 | print("Initiation complete")
27 | DispatchQueue.main.asyncAfter(deadline: .now() + 0.1) {
28 | exit(EXIT_SUCCESS)
| `- error: cannot find 'EXIT_SUCCESS' in scope
29 | }
30 | }
BUILD FAILURE 6.1 linux