Build Information
Successful build of swift-rtc, reference v0.7.0 (ecff87
), with Swift 6.0 for Linux on 5 Nov 2024 06:43:58 UTC.
Swift 6 data race errors: 79
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 | // UNKNOWN-ATTRIBUTES
148 | public let attrUnknownAttributes: AttrType = AttrType(0x000A)
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:148:12: warning: let 'attrUnknownAttributes' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
146 | public let attrErrorCode: AttrType = AttrType(0x0009)
147 | // UNKNOWN-ATTRIBUTES
148 | public let attrUnknownAttributes: AttrType = AttrType(0x000A)
| |- warning: let 'attrUnknownAttributes' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrUnknownAttributes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
149 | // REALM
150 | public let attrRealm: AttrType = AttrType(0x0014)
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:150:12: warning: let 'attrRealm' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
148 | public let attrUnknownAttributes: AttrType = AttrType(0x000A)
149 | // REALM
150 | public let attrRealm: AttrType = AttrType(0x0014)
| |- warning: let 'attrRealm' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrRealm' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 | // NONCE
152 | public let attrNonce: AttrType = AttrType(0x0015)
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:152:12: warning: let 'attrNonce' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
150 | public let attrRealm: AttrType = AttrType(0x0014)
151 | // NONCE
152 | public let attrNonce: AttrType = AttrType(0x0015)
| |- warning: let 'attrNonce' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrNonce' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
153 | // XOR-MAPPED-ADDRESS
154 | public let attrXorMappedAddress: AttrType = AttrType(0x0020)
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:154:12: warning: let 'attrXorMappedAddress' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
152 | public let attrNonce: AttrType = AttrType(0x0015)
153 | // XOR-MAPPED-ADDRESS
154 | public let attrXorMappedAddress: AttrType = AttrType(0x0020)
| |- warning: let 'attrXorMappedAddress' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrXorMappedAddress' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
155 |
156 | /// Attributes from comprehension-optional range (0x8000-0xFFFF).
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:158:12: warning: let 'attrSoftware' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
156 | /// Attributes from comprehension-optional range (0x8000-0xFFFF).
157 | // SOFTWARE
158 | public let attrSoftware: AttrType = AttrType(0x8022)
| |- warning: let 'attrSoftware' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrSoftware' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
159 | // ALTERNATE-SERVER
160 | public let attrAlternateServer: AttrType = AttrType(0x8023)
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:160:12: warning: let 'attrAlternateServer' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
158 | public let attrSoftware: AttrType = AttrType(0x8022)
159 | // ALTERNATE-SERVER
160 | public let attrAlternateServer: AttrType = AttrType(0x8023)
| |- warning: let 'attrAlternateServer' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrAlternateServer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
161 | // FINGERPRINT
162 | public let attrFingerprint: AttrType = AttrType(0x8028)
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:162:12: warning: let 'attrFingerprint' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
160 | public let attrAlternateServer: AttrType = AttrType(0x8023)
161 | // FINGERPRINT
162 | public let attrFingerprint: AttrType = AttrType(0x8028)
| |- warning: let 'attrFingerprint' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrFingerprint' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
163 |
164 | /// Attributes from RFC 5245 ICE.
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:166:12: warning: let 'attrPriority' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
164 | /// Attributes from RFC 5245 ICE.
165 | // PRIORITY
166 | public let attrPriority: AttrType = AttrType(0x0024)
| |- warning: let 'attrPriority' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrPriority' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
167 | // USE-CANDIDATE
168 | public let attrUseCandidate: AttrType = AttrType(0x0025)
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:168:12: warning: let 'attrUseCandidate' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
166 | public let attrPriority: AttrType = AttrType(0x0024)
167 | // USE-CANDIDATE
168 | public let attrUseCandidate: AttrType = AttrType(0x0025)
| |- warning: let 'attrUseCandidate' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrUseCandidate' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
169 | // ICE-CONTROLLED
170 | public let attrIceControlled: AttrType = AttrType(0x8029)
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:170:12: warning: let 'attrIceControlled' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
168 | public let attrUseCandidate: AttrType = AttrType(0x0025)
169 | // ICE-CONTROLLED
170 | public let attrIceControlled: AttrType = AttrType(0x8029)
| |- warning: let 'attrIceControlled' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrIceControlled' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
171 | // ICE-CONTROLLING
172 | public let attrIceControlling: AttrType = AttrType(0x802A)
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:172:12: warning: let 'attrIceControlling' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
170 | public let attrIceControlled: AttrType = AttrType(0x8029)
171 | // ICE-CONTROLLING
172 | public let attrIceControlling: AttrType = AttrType(0x802A)
| |- warning: let 'attrIceControlling' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrIceControlling' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
173 | // NETWORK-COST
174 | public let attrNetworkCost: AttrType = AttrType(0xC057)
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:174:12: warning: let 'attrNetworkCost' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
172 | public let attrIceControlling: AttrType = AttrType(0x802A)
173 | // NETWORK-COST
174 | public let attrNetworkCost: AttrType = AttrType(0xC057)
| |- warning: let 'attrNetworkCost' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrNetworkCost' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
175 |
176 | /// Attributes from RFC 5766 TURN.
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:178:12: warning: let 'attrChannelNumber' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
176 | /// Attributes from RFC 5766 TURN.
177 | // CHANNEL-NUMBER
178 | public let attrChannelNumber: AttrType = AttrType(0x000C)
| |- warning: let 'attrChannelNumber' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrChannelNumber' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
179 | // LIFETIME
180 | public let attrLifetime: AttrType = AttrType(0x000D)
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:180:12: warning: let 'attrLifetime' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
178 | public let attrChannelNumber: AttrType = AttrType(0x000C)
179 | // LIFETIME
180 | public let attrLifetime: AttrType = AttrType(0x000D)
| |- warning: let 'attrLifetime' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrLifetime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
181 | // XOR-PEER-ADDRESS
182 | public let attrXorPeerAddress: AttrType = AttrType(0x0012)
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:182:12: warning: let 'attrXorPeerAddress' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
180 | public let attrLifetime: AttrType = AttrType(0x000D)
181 | // XOR-PEER-ADDRESS
182 | public let attrXorPeerAddress: AttrType = AttrType(0x0012)
| |- warning: let 'attrXorPeerAddress' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrXorPeerAddress' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
183 | // DATA
184 | public let attrData: AttrType = AttrType(0x0013)
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:184:12: warning: let 'attrData' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
182 | public let attrXorPeerAddress: AttrType = AttrType(0x0012)
183 | // DATA
184 | public let attrData: AttrType = AttrType(0x0013)
| |- warning: let 'attrData' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrData' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
185 | // XOR-RELAYED-ADDRESS
186 | public let attrXorRelayedAddress: AttrType = AttrType(0x0016)
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:186:12: warning: let 'attrXorRelayedAddress' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
184 | public let attrData: AttrType = AttrType(0x0013)
185 | // XOR-RELAYED-ADDRESS
186 | public let attrXorRelayedAddress: AttrType = AttrType(0x0016)
| |- warning: let 'attrXorRelayedAddress' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrXorRelayedAddress' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
187 | // EVEN-PORT
188 | public let attrEvenPort: AttrType = AttrType(0x0018)
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:188:12: warning: let 'attrEvenPort' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
186 | public let attrXorRelayedAddress: AttrType = AttrType(0x0016)
187 | // EVEN-PORT
188 | public let attrEvenPort: AttrType = AttrType(0x0018)
| |- warning: let 'attrEvenPort' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrEvenPort' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | // REQUESTED-TRANSPORT
190 | public let attrRequestedTransport: AttrType = AttrType(0x0019)
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:190:12: warning: let 'attrRequestedTransport' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
188 | public let attrEvenPort: AttrType = AttrType(0x0018)
189 | // REQUESTED-TRANSPORT
190 | public let attrRequestedTransport: AttrType = AttrType(0x0019)
| |- warning: let 'attrRequestedTransport' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrRequestedTransport' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
191 | // DONT-FRAGMENT
192 | public let attrDontFragment: AttrType = AttrType(0x001A)
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:192:12: warning: let 'attrDontFragment' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
190 | public let attrRequestedTransport: AttrType = AttrType(0x0019)
191 | // DONT-FRAGMENT
192 | public let attrDontFragment: AttrType = AttrType(0x001A)
| |- warning: let 'attrDontFragment' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrDontFragment' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
193 | // RESERVATION-TOKEN
194 | public let attrReservationToken: AttrType = AttrType(0x0022)
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:194:12: warning: let 'attrReservationToken' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
192 | public let attrDontFragment: AttrType = AttrType(0x001A)
193 | // RESERVATION-TOKEN
194 | public let attrReservationToken: AttrType = AttrType(0x0022)
| |- warning: let 'attrReservationToken' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrReservationToken' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
195 |
196 | /// Attributes from RFC 5780 NAT Behavior Discovery
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:198:12: warning: let 'attrChangeRequest' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
196 | /// Attributes from RFC 5780 NAT Behavior Discovery
197 | // CHANGE-REQUEST
198 | public let attrChangeRequest: AttrType = AttrType(0x0003)
| |- warning: let 'attrChangeRequest' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrChangeRequest' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
199 | // PADDING
200 | public let attrPadding: AttrType = AttrType(0x0026)
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:200:12: warning: let 'attrPadding' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
198 | public let attrChangeRequest: AttrType = AttrType(0x0003)
199 | // PADDING
200 | public let attrPadding: AttrType = AttrType(0x0026)
| |- warning: let 'attrPadding' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrPadding' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
201 | // RESPONSE-PORT
202 | public let attrResponsePort: AttrType = AttrType(0x0027)
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:202:12: warning: let 'attrResponsePort' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
200 | public let attrPadding: AttrType = AttrType(0x0026)
201 | // RESPONSE-PORT
202 | public let attrResponsePort: AttrType = AttrType(0x0027)
| |- warning: let 'attrResponsePort' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrResponsePort' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
203 | // CACHE-TIMEOUT
204 | public let attrCacheTimeout: AttrType = AttrType(0x8027)
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:204:12: warning: let 'attrCacheTimeout' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
202 | public let attrResponsePort: AttrType = AttrType(0x0027)
203 | // CACHE-TIMEOUT
204 | public let attrCacheTimeout: AttrType = AttrType(0x8027)
| |- warning: let 'attrCacheTimeout' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrCacheTimeout' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
205 | // RESPONSE-ORIGIN
206 | public let attrResponseOrigin: AttrType = AttrType(0x802b)
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:206:12: warning: let 'attrResponseOrigin' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
204 | public let attrCacheTimeout: AttrType = AttrType(0x8027)
205 | // RESPONSE-ORIGIN
206 | public let attrResponseOrigin: AttrType = AttrType(0x802b)
| |- warning: let 'attrResponseOrigin' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrResponseOrigin' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
207 | // OTHER-ADDRESS
208 | public let attrOtherAddress: AttrType = AttrType(0x802C)
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:208:12: warning: let 'attrOtherAddress' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
206 | public let attrResponseOrigin: AttrType = AttrType(0x802b)
207 | // OTHER-ADDRESS
208 | public let attrOtherAddress: AttrType = AttrType(0x802C)
| |- warning: let 'attrOtherAddress' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrOtherAddress' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
209 |
210 | /// Attributes from RFC 3489, removed by RFC 5389,
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:213:12: warning: let 'attrSourceAddress' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
211 | /// but still used by RFC5389-implementing software like Vovida.org, reTURNServer, etc.
212 | // SOURCE-ADDRESS
213 | public let attrSourceAddress: AttrType = AttrType(0x0004)
| |- warning: let 'attrSourceAddress' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrSourceAddress' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
214 | // CHANGED-ADDRESS
215 | public let attrChangedAddress: AttrType = AttrType(0x0005)
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:215:12: warning: let 'attrChangedAddress' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
213 | public let attrSourceAddress: AttrType = AttrType(0x0004)
214 | // CHANGED-ADDRESS
215 | public let attrChangedAddress: AttrType = AttrType(0x0005)
| |- warning: let 'attrChangedAddress' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrChangedAddress' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
216 |
217 | /// Attributes from RFC 6062 TURN Extensions for TCP Allocations.
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:219:12: warning: let 'attrConnectionId' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
217 | /// Attributes from RFC 6062 TURN Extensions for TCP Allocations.
218 | // CONNECTION-ID
219 | public let attrConnectionId: AttrType = AttrType(0x002a)
| |- warning: let 'attrConnectionId' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrConnectionId' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
220 |
221 | /// Attributes from RFC 6156 TURN IPv6.
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:223:12: warning: let 'attrRequestedAddressFamily' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
221 | /// Attributes from RFC 6156 TURN IPv6.
222 | // REQUESTED-ADDRESS-FAMILY
223 | public let attrRequestedAddressFamily: AttrType = AttrType(0x0017)
| |- warning: let 'attrRequestedAddressFamily' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrRequestedAddressFamily' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
224 |
225 | /// Attributes from An Origin Attribute for the STUN Protocol.
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:226:12: warning: let 'attrOrigin' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
224 |
225 | /// Attributes from An Origin Attribute for the STUN Protocol.
226 | public let attrOrigin: AttrType = AttrType(0x802F)
| |- warning: let 'attrOrigin' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrOrigin' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
227 |
228 | /// Attributes from RFC 8489 STUN.
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:230:12: warning: let 'attrMessageIntegritySha256' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
228 | /// Attributes from RFC 8489 STUN.
229 | // MESSAGE-INTEGRITY-SHA256
230 | public let attrMessageIntegritySha256: AttrType = AttrType(0x001C)
| |- warning: let 'attrMessageIntegritySha256' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrMessageIntegritySha256' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
231 | // PASSWORD-ALGORITHM
232 | public let attrPasswordAlgorithm: AttrType = AttrType(0x001D)
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:232:12: warning: let 'attrPasswordAlgorithm' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
230 | public let attrMessageIntegritySha256: AttrType = AttrType(0x001C)
231 | // PASSWORD-ALGORITHM
232 | public let attrPasswordAlgorithm: AttrType = AttrType(0x001D)
| |- warning: let 'attrPasswordAlgorithm' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrPasswordAlgorithm' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
233 | // USER-HASH
234 | public let attrUserHash: AttrType = AttrType(0x001E)
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:234:12: warning: let 'attrUserHash' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
232 | public let attrPasswordAlgorithm: AttrType = AttrType(0x001D)
233 | // USER-HASH
234 | public let attrUserHash: AttrType = AttrType(0x001E)
| |- warning: let 'attrUserHash' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrUserHash' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
235 | // PASSWORD-ALGORITHMS
236 | public let attrPasswordAlgorithms: AttrType = AttrType(0x8002)
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:236:12: warning: let 'attrPasswordAlgorithms' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
234 | public let attrUserHash: AttrType = AttrType(0x001E)
235 | // PASSWORD-ALGORITHMS
236 | public let attrPasswordAlgorithms: AttrType = AttrType(0x8002)
| |- warning: let 'attrPasswordAlgorithms' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrPasswordAlgorithms' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
237 | // ALTERNATE-DOMAIN
238 | public let attrAlternateDomain: AttrType = AttrType(0x8003)
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:238:12: warning: let 'attrAlternateDomain' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
236 | public let attrPasswordAlgorithms: AttrType = AttrType(0x8002)
237 | // ALTERNATE-DOMAIN
238 | public let attrAlternateDomain: AttrType = AttrType(0x8003)
| |- warning: let 'attrAlternateDomain' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrAlternateDomain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
239 |
240 | /// RawAttribute is a Type-Length-Value (TLV) object that
[827/840] Compiling STUN Checks.swift
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:140:12: warning: let 'attrMappedAddress' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
138 | /// Attributes from comprehension-required range (0x0000-0x7FFF).
139 | // MAPPED-ADDRESS
140 | public let attrMappedAddress: AttrType = AttrType(0x0001)
| |- warning: let 'attrMappedAddress' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrMappedAddress' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
141 | // USERNAME
142 | public let attrUsername: AttrType = AttrType(0x0006)
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:142:12: warning: let 'attrUsername' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
140 | public let attrMappedAddress: AttrType = AttrType(0x0001)
141 | // USERNAME
142 | public let attrUsername: AttrType = AttrType(0x0006)
| |- warning: let 'attrUsername' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrUsername' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
143 | // MESSAGE-INTEGRITY
144 | public let attrMessageIntegrity: AttrType = AttrType(0x0008)
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:144:12: warning: let 'attrMessageIntegrity' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
142 | public let attrUsername: AttrType = AttrType(0x0006)
143 | // MESSAGE-INTEGRITY
144 | public let attrMessageIntegrity: AttrType = AttrType(0x0008)
| |- warning: let 'attrMessageIntegrity' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrMessageIntegrity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
145 | // ERROR-CODE
146 | public let attrErrorCode: AttrType = AttrType(0x0009)
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:146:12: warning: let 'attrErrorCode' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
144 | public let attrMessageIntegrity: AttrType = AttrType(0x0008)
145 | // ERROR-CODE
146 | public let attrErrorCode: AttrType = AttrType(0x0009)
| |- warning: let 'attrErrorCode' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrErrorCode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 | // UNKNOWN-ATTRIBUTES
148 | public let attrUnknownAttributes: AttrType = AttrType(0x000A)
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:148:12: warning: let 'attrUnknownAttributes' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
146 | public let attrErrorCode: AttrType = AttrType(0x0009)
147 | // UNKNOWN-ATTRIBUTES
148 | public let attrUnknownAttributes: AttrType = AttrType(0x000A)
| |- warning: let 'attrUnknownAttributes' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrUnknownAttributes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
149 | // REALM
150 | public let attrRealm: AttrType = AttrType(0x0014)
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:150:12: warning: let 'attrRealm' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
148 | public let attrUnknownAttributes: AttrType = AttrType(0x000A)
149 | // REALM
150 | public let attrRealm: AttrType = AttrType(0x0014)
| |- warning: let 'attrRealm' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrRealm' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
151 | // NONCE
152 | public let attrNonce: AttrType = AttrType(0x0015)
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:152:12: warning: let 'attrNonce' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
150 | public let attrRealm: AttrType = AttrType(0x0014)
151 | // NONCE
152 | public let attrNonce: AttrType = AttrType(0x0015)
| |- warning: let 'attrNonce' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrNonce' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
153 | // XOR-MAPPED-ADDRESS
154 | public let attrXorMappedAddress: AttrType = AttrType(0x0020)
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:154:12: warning: let 'attrXorMappedAddress' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
152 | public let attrNonce: AttrType = AttrType(0x0015)
153 | // XOR-MAPPED-ADDRESS
154 | public let attrXorMappedAddress: AttrType = AttrType(0x0020)
| |- warning: let 'attrXorMappedAddress' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrXorMappedAddress' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
155 |
156 | /// Attributes from comprehension-optional range (0x8000-0xFFFF).
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:158:12: warning: let 'attrSoftware' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
156 | /// Attributes from comprehension-optional range (0x8000-0xFFFF).
157 | // SOFTWARE
158 | public let attrSoftware: AttrType = AttrType(0x8022)
| |- warning: let 'attrSoftware' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrSoftware' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
159 | // ALTERNATE-SERVER
160 | public let attrAlternateServer: AttrType = AttrType(0x8023)
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:160:12: warning: let 'attrAlternateServer' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
158 | public let attrSoftware: AttrType = AttrType(0x8022)
159 | // ALTERNATE-SERVER
160 | public let attrAlternateServer: AttrType = AttrType(0x8023)
| |- warning: let 'attrAlternateServer' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrAlternateServer' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
161 | // FINGERPRINT
162 | public let attrFingerprint: AttrType = AttrType(0x8028)
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:162:12: warning: let 'attrFingerprint' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
160 | public let attrAlternateServer: AttrType = AttrType(0x8023)
161 | // FINGERPRINT
162 | public let attrFingerprint: AttrType = AttrType(0x8028)
| |- warning: let 'attrFingerprint' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrFingerprint' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
163 |
164 | /// Attributes from RFC 5245 ICE.
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:166:12: warning: let 'attrPriority' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
164 | /// Attributes from RFC 5245 ICE.
165 | // PRIORITY
166 | public let attrPriority: AttrType = AttrType(0x0024)
| |- warning: let 'attrPriority' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrPriority' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
167 | // USE-CANDIDATE
168 | public let attrUseCandidate: AttrType = AttrType(0x0025)
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:168:12: warning: let 'attrUseCandidate' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
166 | public let attrPriority: AttrType = AttrType(0x0024)
167 | // USE-CANDIDATE
168 | public let attrUseCandidate: AttrType = AttrType(0x0025)
| |- warning: let 'attrUseCandidate' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrUseCandidate' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
169 | // ICE-CONTROLLED
170 | public let attrIceControlled: AttrType = AttrType(0x8029)
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:170:12: warning: let 'attrIceControlled' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
168 | public let attrUseCandidate: AttrType = AttrType(0x0025)
169 | // ICE-CONTROLLED
170 | public let attrIceControlled: AttrType = AttrType(0x8029)
| |- warning: let 'attrIceControlled' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrIceControlled' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
171 | // ICE-CONTROLLING
172 | public let attrIceControlling: AttrType = AttrType(0x802A)
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:172:12: warning: let 'attrIceControlling' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
170 | public let attrIceControlled: AttrType = AttrType(0x8029)
171 | // ICE-CONTROLLING
172 | public let attrIceControlling: AttrType = AttrType(0x802A)
| |- warning: let 'attrIceControlling' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrIceControlling' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
173 | // NETWORK-COST
174 | public let attrNetworkCost: AttrType = AttrType(0xC057)
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:174:12: warning: let 'attrNetworkCost' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
172 | public let attrIceControlling: AttrType = AttrType(0x802A)
173 | // NETWORK-COST
174 | public let attrNetworkCost: AttrType = AttrType(0xC057)
| |- warning: let 'attrNetworkCost' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrNetworkCost' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
175 |
176 | /// Attributes from RFC 5766 TURN.
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:178:12: warning: let 'attrChannelNumber' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
176 | /// Attributes from RFC 5766 TURN.
177 | // CHANNEL-NUMBER
178 | public let attrChannelNumber: AttrType = AttrType(0x000C)
| |- warning: let 'attrChannelNumber' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrChannelNumber' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
179 | // LIFETIME
180 | public let attrLifetime: AttrType = AttrType(0x000D)
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:180:12: warning: let 'attrLifetime' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
178 | public let attrChannelNumber: AttrType = AttrType(0x000C)
179 | // LIFETIME
180 | public let attrLifetime: AttrType = AttrType(0x000D)
| |- warning: let 'attrLifetime' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrLifetime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
181 | // XOR-PEER-ADDRESS
182 | public let attrXorPeerAddress: AttrType = AttrType(0x0012)
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:182:12: warning: let 'attrXorPeerAddress' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
180 | public let attrLifetime: AttrType = AttrType(0x000D)
181 | // XOR-PEER-ADDRESS
182 | public let attrXorPeerAddress: AttrType = AttrType(0x0012)
| |- warning: let 'attrXorPeerAddress' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrXorPeerAddress' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
183 | // DATA
184 | public let attrData: AttrType = AttrType(0x0013)
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:184:12: warning: let 'attrData' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
182 | public let attrXorPeerAddress: AttrType = AttrType(0x0012)
183 | // DATA
184 | public let attrData: AttrType = AttrType(0x0013)
| |- warning: let 'attrData' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrData' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
185 | // XOR-RELAYED-ADDRESS
186 | public let attrXorRelayedAddress: AttrType = AttrType(0x0016)
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:186:12: warning: let 'attrXorRelayedAddress' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
184 | public let attrData: AttrType = AttrType(0x0013)
185 | // XOR-RELAYED-ADDRESS
186 | public let attrXorRelayedAddress: AttrType = AttrType(0x0016)
| |- warning: let 'attrXorRelayedAddress' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrXorRelayedAddress' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
187 | // EVEN-PORT
188 | public let attrEvenPort: AttrType = AttrType(0x0018)
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:188:12: warning: let 'attrEvenPort' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
186 | public let attrXorRelayedAddress: AttrType = AttrType(0x0016)
187 | // EVEN-PORT
188 | public let attrEvenPort: AttrType = AttrType(0x0018)
| |- warning: let 'attrEvenPort' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrEvenPort' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 | // REQUESTED-TRANSPORT
190 | public let attrRequestedTransport: AttrType = AttrType(0x0019)
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:190:12: warning: let 'attrRequestedTransport' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
188 | public let attrEvenPort: AttrType = AttrType(0x0018)
189 | // REQUESTED-TRANSPORT
190 | public let attrRequestedTransport: AttrType = AttrType(0x0019)
| |- warning: let 'attrRequestedTransport' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrRequestedTransport' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
191 | // DONT-FRAGMENT
192 | public let attrDontFragment: AttrType = AttrType(0x001A)
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:192:12: warning: let 'attrDontFragment' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
190 | public let attrRequestedTransport: AttrType = AttrType(0x0019)
191 | // DONT-FRAGMENT
192 | public let attrDontFragment: AttrType = AttrType(0x001A)
| |- warning: let 'attrDontFragment' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrDontFragment' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
193 | // RESERVATION-TOKEN
194 | public let attrReservationToken: AttrType = AttrType(0x0022)
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:194:12: warning: let 'attrReservationToken' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
192 | public let attrDontFragment: AttrType = AttrType(0x001A)
193 | // RESERVATION-TOKEN
194 | public let attrReservationToken: AttrType = AttrType(0x0022)
| |- warning: let 'attrReservationToken' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrReservationToken' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
195 |
196 | /// Attributes from RFC 5780 NAT Behavior Discovery
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:198:12: warning: let 'attrChangeRequest' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
196 | /// Attributes from RFC 5780 NAT Behavior Discovery
197 | // CHANGE-REQUEST
198 | public let attrChangeRequest: AttrType = AttrType(0x0003)
| |- warning: let 'attrChangeRequest' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrChangeRequest' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
199 | // PADDING
200 | public let attrPadding: AttrType = AttrType(0x0026)
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:200:12: warning: let 'attrPadding' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
198 | public let attrChangeRequest: AttrType = AttrType(0x0003)
199 | // PADDING
200 | public let attrPadding: AttrType = AttrType(0x0026)
| |- warning: let 'attrPadding' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrPadding' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
201 | // RESPONSE-PORT
202 | public let attrResponsePort: AttrType = AttrType(0x0027)
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:202:12: warning: let 'attrResponsePort' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
200 | public let attrPadding: AttrType = AttrType(0x0026)
201 | // RESPONSE-PORT
202 | public let attrResponsePort: AttrType = AttrType(0x0027)
| |- warning: let 'attrResponsePort' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrResponsePort' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
203 | // CACHE-TIMEOUT
204 | public let attrCacheTimeout: AttrType = AttrType(0x8027)
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:204:12: warning: let 'attrCacheTimeout' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
202 | public let attrResponsePort: AttrType = AttrType(0x0027)
203 | // CACHE-TIMEOUT
204 | public let attrCacheTimeout: AttrType = AttrType(0x8027)
| |- warning: let 'attrCacheTimeout' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrCacheTimeout' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
205 | // RESPONSE-ORIGIN
206 | public let attrResponseOrigin: AttrType = AttrType(0x802b)
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:206:12: warning: let 'attrResponseOrigin' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
204 | public let attrCacheTimeout: AttrType = AttrType(0x8027)
205 | // RESPONSE-ORIGIN
206 | public let attrResponseOrigin: AttrType = AttrType(0x802b)
| |- warning: let 'attrResponseOrigin' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrResponseOrigin' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
207 | // OTHER-ADDRESS
208 | public let attrOtherAddress: AttrType = AttrType(0x802C)
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:208:12: warning: let 'attrOtherAddress' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
206 | public let attrResponseOrigin: AttrType = AttrType(0x802b)
207 | // OTHER-ADDRESS
208 | public let attrOtherAddress: AttrType = AttrType(0x802C)
| |- warning: let 'attrOtherAddress' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrOtherAddress' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
209 |
210 | /// Attributes from RFC 3489, removed by RFC 5389,
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:213:12: warning: let 'attrSourceAddress' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
211 | /// but still used by RFC5389-implementing software like Vovida.org, reTURNServer, etc.
212 | // SOURCE-ADDRESS
213 | public let attrSourceAddress: AttrType = AttrType(0x0004)
| |- warning: let 'attrSourceAddress' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrSourceAddress' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
214 | // CHANGED-ADDRESS
215 | public let attrChangedAddress: AttrType = AttrType(0x0005)
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:215:12: warning: let 'attrChangedAddress' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
213 | public let attrSourceAddress: AttrType = AttrType(0x0004)
214 | // CHANGED-ADDRESS
215 | public let attrChangedAddress: AttrType = AttrType(0x0005)
| |- warning: let 'attrChangedAddress' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrChangedAddress' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
216 |
217 | /// Attributes from RFC 6062 TURN Extensions for TCP Allocations.
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:219:12: warning: let 'attrConnectionId' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
217 | /// Attributes from RFC 6062 TURN Extensions for TCP Allocations.
218 | // CONNECTION-ID
219 | public let attrConnectionId: AttrType = AttrType(0x002a)
| |- warning: let 'attrConnectionId' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrConnectionId' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
220 |
221 | /// Attributes from RFC 6156 TURN IPv6.
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:223:12: warning: let 'attrRequestedAddressFamily' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
221 | /// Attributes from RFC 6156 TURN IPv6.
222 | // REQUESTED-ADDRESS-FAMILY
223 | public let attrRequestedAddressFamily: AttrType = AttrType(0x0017)
| |- warning: let 'attrRequestedAddressFamily' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrRequestedAddressFamily' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
224 |
225 | /// Attributes from An Origin Attribute for the STUN Protocol.
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:226:12: warning: let 'attrOrigin' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
224 |
225 | /// Attributes from An Origin Attribute for the STUN Protocol.
226 | public let attrOrigin: AttrType = AttrType(0x802F)
| |- warning: let 'attrOrigin' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrOrigin' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
227 |
228 | /// Attributes from RFC 8489 STUN.
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:230:12: warning: let 'attrMessageIntegritySha256' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
228 | /// Attributes from RFC 8489 STUN.
229 | // MESSAGE-INTEGRITY-SHA256
230 | public let attrMessageIntegritySha256: AttrType = AttrType(0x001C)
| |- warning: let 'attrMessageIntegritySha256' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrMessageIntegritySha256' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
231 | // PASSWORD-ALGORITHM
232 | public let attrPasswordAlgorithm: AttrType = AttrType(0x001D)
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:232:12: warning: let 'attrPasswordAlgorithm' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
230 | public let attrMessageIntegritySha256: AttrType = AttrType(0x001C)
231 | // PASSWORD-ALGORITHM
232 | public let attrPasswordAlgorithm: AttrType = AttrType(0x001D)
| |- warning: let 'attrPasswordAlgorithm' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrPasswordAlgorithm' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
233 | // USER-HASH
234 | public let attrUserHash: AttrType = AttrType(0x001E)
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:234:12: warning: let 'attrUserHash' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
232 | public let attrPasswordAlgorithm: AttrType = AttrType(0x001D)
233 | // USER-HASH
234 | public let attrUserHash: AttrType = AttrType(0x001E)
| |- warning: let 'attrUserHash' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrUserHash' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
235 | // PASSWORD-ALGORITHMS
236 | public let attrPasswordAlgorithms: AttrType = AttrType(0x8002)
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:236:12: warning: let 'attrPasswordAlgorithms' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
234 | public let attrUserHash: AttrType = AttrType(0x001E)
235 | // PASSWORD-ALGORITHMS
236 | public let attrPasswordAlgorithms: AttrType = AttrType(0x8002)
| |- warning: let 'attrPasswordAlgorithms' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrPasswordAlgorithms' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
237 | // ALTERNATE-DOMAIN
238 | public let attrAlternateDomain: AttrType = AttrType(0x8003)
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:238:12: warning: let 'attrAlternateDomain' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
236 | public let attrPasswordAlgorithms: AttrType = AttrType(0x8002)
237 | // ALTERNATE-DOMAIN
238 | public let attrAlternateDomain: AttrType = AttrType(0x8003)
| |- warning: let 'attrAlternateDomain' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrAlternateDomain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
239 |
240 | /// RawAttribute is a Type-Length-Value (TLV) object that
[828/840] Compiling STUN Client.swift
/host/spi-builder-workspace/Sources/STUN/ErrorCodeAttribute.swift:114:12: warning: let 'codeTryAlternate' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
87 |
88 | /// ErrorCode is code for ERROR-CODE attribute.
89 | public struct ErrorCode: Equatable, Hashable {
| `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
90 | var rawValue: UInt16
91 |
:
112 |
113 | /// Possible error codes.
114 | public let codeTryAlternate: ErrorCode = ErrorCode(300)
| |- warning: let 'codeTryAlternate' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'codeTryAlternate' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
115 | public let codeBadRequest: ErrorCode = ErrorCode(400)
116 | public let codeUnauthorized: ErrorCode = ErrorCode(401)
/host/spi-builder-workspace/Sources/STUN/ErrorCodeAttribute.swift:115:12: warning: let 'codeBadRequest' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
87 |
88 | /// ErrorCode is code for ERROR-CODE attribute.
89 | public struct ErrorCode: Equatable, Hashable {
| `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
90 | var rawValue: UInt16
91 |
:
113 | /// Possible error codes.
114 | public let codeTryAlternate: ErrorCode = ErrorCode(300)
115 | public let codeBadRequest: ErrorCode = ErrorCode(400)
| |- warning: let 'codeBadRequest' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'codeBadRequest' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
116 | public let codeUnauthorized: ErrorCode = ErrorCode(401)
117 | public let codeUnknownAttribute: ErrorCode = ErrorCode(420)
/host/spi-builder-workspace/Sources/STUN/ErrorCodeAttribute.swift:116:12: warning: let 'codeUnauthorized' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
87 |
88 | /// ErrorCode is code for ERROR-CODE attribute.
89 | public struct ErrorCode: Equatable, Hashable {
| `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
90 | var rawValue: UInt16
91 |
:
114 | public let codeTryAlternate: ErrorCode = ErrorCode(300)
115 | public let codeBadRequest: ErrorCode = ErrorCode(400)
116 | public let codeUnauthorized: ErrorCode = ErrorCode(401)
| |- warning: let 'codeUnauthorized' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'codeUnauthorized' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 | public let codeUnknownAttribute: ErrorCode = ErrorCode(420)
118 | public let codeStaleNonce: ErrorCode = ErrorCode(438)
/host/spi-builder-workspace/Sources/STUN/ErrorCodeAttribute.swift:117:12: warning: let 'codeUnknownAttribute' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
87 |
88 | /// ErrorCode is code for ERROR-CODE attribute.
89 | public struct ErrorCode: Equatable, Hashable {
| `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
90 | var rawValue: UInt16
91 |
:
115 | public let codeBadRequest: ErrorCode = ErrorCode(400)
116 | public let codeUnauthorized: ErrorCode = ErrorCode(401)
117 | public let codeUnknownAttribute: ErrorCode = ErrorCode(420)
| |- warning: let 'codeUnknownAttribute' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'codeUnknownAttribute' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
118 | public let codeStaleNonce: ErrorCode = ErrorCode(438)
119 | public let codeRoleConflict: ErrorCode = ErrorCode(487)
/host/spi-builder-workspace/Sources/STUN/ErrorCodeAttribute.swift:118:12: warning: let 'codeStaleNonce' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
87 |
88 | /// ErrorCode is code for ERROR-CODE attribute.
89 | public struct ErrorCode: Equatable, Hashable {
| `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
90 | var rawValue: UInt16
91 |
:
116 | public let codeUnauthorized: ErrorCode = ErrorCode(401)
117 | public let codeUnknownAttribute: ErrorCode = ErrorCode(420)
118 | public let codeStaleNonce: ErrorCode = ErrorCode(438)
| |- warning: let 'codeStaleNonce' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'codeStaleNonce' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
119 | public let codeRoleConflict: ErrorCode = ErrorCode(487)
120 | public let codeServerError: ErrorCode = ErrorCode(500)
/host/spi-builder-workspace/Sources/STUN/ErrorCodeAttribute.swift:119:12: warning: let 'codeRoleConflict' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
87 |
88 | /// ErrorCode is code for ERROR-CODE attribute.
89 | public struct ErrorCode: Equatable, Hashable {
| `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
90 | var rawValue: UInt16
91 |
:
117 | public let codeUnknownAttribute: ErrorCode = ErrorCode(420)
118 | public let codeStaleNonce: ErrorCode = ErrorCode(438)
119 | public let codeRoleConflict: ErrorCode = ErrorCode(487)
| |- warning: let 'codeRoleConflict' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'codeRoleConflict' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 | public let codeServerError: ErrorCode = ErrorCode(500)
121 |
/host/spi-builder-workspace/Sources/STUN/ErrorCodeAttribute.swift:120:12: warning: let 'codeServerError' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
87 |
88 | /// ErrorCode is code for ERROR-CODE attribute.
89 | public struct ErrorCode: Equatable, Hashable {
| `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
90 | var rawValue: UInt16
91 |
:
118 | public let codeStaleNonce: ErrorCode = ErrorCode(438)
119 | public let codeRoleConflict: ErrorCode = ErrorCode(487)
120 | public let codeServerError: ErrorCode = ErrorCode(500)
| |- warning: let 'codeServerError' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'codeServerError' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
121 |
122 | /// DEPRECATED constants.
/host/spi-builder-workspace/Sources/STUN/ErrorCodeAttribute.swift:124:12: warning: let 'codeUnauthorised' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
87 |
88 | /// ErrorCode is code for ERROR-CODE attribute.
89 | public struct ErrorCode: Equatable, Hashable {
| `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
90 | var rawValue: UInt16
91 |
:
122 | /// DEPRECATED constants.
123 | /// DEPRECATED, use codeUnauthorized.
124 | public let codeUnauthorised: ErrorCode = codeUnauthorized
| |- warning: let 'codeUnauthorised' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'codeUnauthorised' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
125 |
126 | /// Error codes from RFC 5766.
/host/spi-builder-workspace/Sources/STUN/ErrorCodeAttribute.swift:129:12: warning: let 'codeForbidden' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
87 |
88 | /// ErrorCode is code for ERROR-CODE attribute.
89 | public struct ErrorCode: Equatable, Hashable {
| `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
90 | var rawValue: UInt16
91 |
:
127 | ///
128 | /// RFC 5766 Section 15
129 | public let codeForbidden: ErrorCode = ErrorCode(403) // Forbidden
| |- warning: let 'codeForbidden' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'codeForbidden' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
130 | public let codeAllocMismatch: ErrorCode = ErrorCode(437) // Allocation Mismatch
131 | public let codeWrongCredentials: ErrorCode = ErrorCode(441) // Wrong Credentials
/host/spi-builder-workspace/Sources/STUN/ErrorCodeAttribute.swift:130:12: warning: let 'codeAllocMismatch' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
87 |
88 | /// ErrorCode is code for ERROR-CODE attribute.
89 | public struct ErrorCode: Equatable, Hashable {
| `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
90 | var rawValue: UInt16
91 |
:
128 | /// RFC 5766 Section 15
129 | public let codeForbidden: ErrorCode = ErrorCode(403) // Forbidden
130 | public let codeAllocMismatch: ErrorCode = ErrorCode(437) // Allocation Mismatch
| |- warning: let 'codeAllocMismatch' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'codeAllocMismatch' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 | public let codeWrongCredentials: ErrorCode = ErrorCode(441) // Wrong Credentials
132 | public let codeUnsupportedTransProto: ErrorCode = ErrorCode(442) // Unsupported Transport Protocol
/host/spi-builder-workspace/Sources/STUN/ErrorCodeAttribute.swift:131:12: warning: let 'codeWrongCredentials' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
87 |
88 | /// ErrorCode is code for ERROR-CODE attribute.
89 | public struct ErrorCode: Equatable, Hashable {
| `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
90 | var rawValue: UInt16
91 |
:
129 | public let codeForbidden: ErrorCode = ErrorCode(403) // Forbidden
130 | public let codeAllocMismatch: ErrorCode = ErrorCode(437) // Allocation Mismatch
131 | public let codeWrongCredentials: ErrorCode = ErrorCode(441) // Wrong Credentials
| |- warning: let 'codeWrongCredentials' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'codeWrongCredentials' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
132 | public let codeUnsupportedTransProto: ErrorCode = ErrorCode(442) // Unsupported Transport Protocol
133 | public let codeAllocQuotaReached: ErrorCode = ErrorCode(486) // Allocation Quota Reached
/host/spi-builder-workspace/Sources/STUN/ErrorCodeAttribute.swift:132:12: warning: let 'codeUnsupportedTransProto' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
87 |
88 | /// ErrorCode is code for ERROR-CODE attribute.
89 | public struct ErrorCode: Equatable, Hashable {
| `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
90 | var rawValue: UInt16
91 |
:
130 | public let codeAllocMismatch: ErrorCode = ErrorCode(437) // Allocation Mismatch
131 | public let codeWrongCredentials: ErrorCode = ErrorCode(441) // Wrong Credentials
132 | public let codeUnsupportedTransProto: ErrorCode = ErrorCode(442) // Unsupported Transport Protocol
| |- warning: let 'codeUnsupportedTransProto' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'codeUnsupportedTransProto' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
133 | public let codeAllocQuotaReached: ErrorCode = ErrorCode(486) // Allocation Quota Reached
134 | public let codeInsufficientCapacity: ErrorCode = ErrorCode(508) // Insufficient Capacity
/host/spi-builder-workspace/Sources/STUN/ErrorCodeAttribute.swift:133:12: warning: let 'codeAllocQuotaReached' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
87 |
88 | /// ErrorCode is code for ERROR-CODE attribute.
89 | public struct ErrorCode: Equatable, Hashable {
| `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
90 | var rawValue: UInt16
91 |
:
131 | public let codeWrongCredentials: ErrorCode = ErrorCode(441) // Wrong Credentials
132 | public let codeUnsupportedTransProto: ErrorCode = ErrorCode(442) // Unsupported Transport Protocol
133 | public let codeAllocQuotaReached: ErrorCode = ErrorCode(486) // Allocation Quota Reached
| |- warning: let 'codeAllocQuotaReached' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'codeAllocQuotaReached' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
134 | public let codeInsufficientCapacity: ErrorCode = ErrorCode(508) // Insufficient Capacity
135 |
/host/spi-builder-workspace/Sources/STUN/ErrorCodeAttribute.swift:134:12: warning: let 'codeInsufficientCapacity' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
87 |
88 | /// ErrorCode is code for ERROR-CODE attribute.
89 | public struct ErrorCode: Equatable, Hashable {
| `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
90 | var rawValue: UInt16
91 |
:
132 | public let codeUnsupportedTransProto: ErrorCode = ErrorCode(442) // Unsupported Transport Protocol
133 | public let codeAllocQuotaReached: ErrorCode = ErrorCode(486) // Allocation Quota Reached
134 | public let codeInsufficientCapacity: ErrorCode = ErrorCode(508) // Insufficient Capacity
| |- warning: let 'codeInsufficientCapacity' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'codeInsufficientCapacity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 |
136 | /// Error codes from RFC 6062.
/host/spi-builder-workspace/Sources/STUN/ErrorCodeAttribute.swift:139:12: warning: let 'codeConnAlreadyExists' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
87 |
88 | /// ErrorCode is code for ERROR-CODE attribute.
89 | public struct ErrorCode: Equatable, Hashable {
| `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
90 | var rawValue: UInt16
91 |
:
137 | ///
138 | /// RFC 6062 Section 6.3
139 | public let codeConnAlreadyExists: ErrorCode = ErrorCode(446)
| |- warning: let 'codeConnAlreadyExists' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'codeConnAlreadyExists' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
140 | public let codeConnTimeoutOrFailure: ErrorCode = ErrorCode(447)
141 |
/host/spi-builder-workspace/Sources/STUN/ErrorCodeAttribute.swift:140:12: warning: let 'codeConnTimeoutOrFailure' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
87 |
88 | /// ErrorCode is code for ERROR-CODE attribute.
89 | public struct ErrorCode: Equatable, Hashable {
| `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
90 | var rawValue: UInt16
91 |
:
138 | /// RFC 6062 Section 6.3
139 | public let codeConnAlreadyExists: ErrorCode = ErrorCode(446)
140 | public let codeConnTimeoutOrFailure: ErrorCode = ErrorCode(447)
| |- warning: let 'codeConnTimeoutOrFailure' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'codeConnTimeoutOrFailure' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
141 |
142 | /// Error codes from RFC 6156.
/host/spi-builder-workspace/Sources/STUN/ErrorCodeAttribute.swift:145:12: warning: let 'codeAddrFamilyNotSupported' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
87 |
88 | /// ErrorCode is code for ERROR-CODE attribute.
89 | public struct ErrorCode: Equatable, Hashable {
| `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
90 | var rawValue: UInt16
91 |
:
143 | ///
144 | /// RFC 6156 Section 10.2
145 | public let codeAddrFamilyNotSupported: ErrorCode = ErrorCode(440) // Address Family not Supported
| |- warning: let 'codeAddrFamilyNotSupported' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'codeAddrFamilyNotSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
146 | public let codePeerAddrFamilyMismatch: ErrorCode = ErrorCode(443) // Peer Address Family Mismatch
147 |
/host/spi-builder-workspace/Sources/STUN/ErrorCodeAttribute.swift:146:12: warning: let 'codePeerAddrFamilyMismatch' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
87 |
88 | /// ErrorCode is code for ERROR-CODE attribute.
89 | public struct ErrorCode: Equatable, Hashable {
| `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
90 | var rawValue: UInt16
91 |
:
144 | /// RFC 6156 Section 10.2
145 | public let codeAddrFamilyNotSupported: ErrorCode = ErrorCode(440) // Address Family not Supported
146 | public let codePeerAddrFamilyMismatch: ErrorCode = ErrorCode(443) // Peer Address Family Mismatch
| |- warning: let 'codePeerAddrFamilyMismatch' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'codePeerAddrFamilyMismatch' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 |
148 | public let errorReasons: [ErrorCode: String] =
/host/spi-builder-workspace/Sources/STUN/ErrorCodeAttribute.swift:148:12: warning: let 'errorReasons' is not concurrency-safe because non-'Sendable' type '[ErrorCode : String]' may have shared mutable state; this is an error in the Swift 6 language mode
87 |
88 | /// ErrorCode is code for ERROR-CODE attribute.
89 | public struct ErrorCode: Equatable, Hashable {
| `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
90 | var rawValue: UInt16
91 |
:
146 | public let codePeerAddrFamilyMismatch: ErrorCode = ErrorCode(443) // Peer Address Family Mismatch
147 |
148 | public let errorReasons: [ErrorCode: String] =
| |- warning: let 'errorReasons' is not concurrency-safe because non-'Sendable' type '[ErrorCode : String]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'errorReasons' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
149 | [
150 | codeTryAlternate: "Try Alternate",
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:146:12: warning: let 'attrErrorCode' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
144 | public let attrMessageIntegrity: AttrType = AttrType(0x0008)
145 | // ERROR-CODE
146 | public let attrErrorCode: AttrType = AttrType(0x0009)
| |- warning: let 'attrErrorCode' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrErrorCode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 | // UNKNOWN-ATTRIBUTES
148 | public let attrUnknownAttributes: AttrType = AttrType(0x000A)
[829/840] Compiling STUN ErrorCodeAttribute.swift
/host/spi-builder-workspace/Sources/STUN/ErrorCodeAttribute.swift:114:12: warning: let 'codeTryAlternate' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
87 |
88 | /// ErrorCode is code for ERROR-CODE attribute.
89 | public struct ErrorCode: Equatable, Hashable {
| `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
90 | var rawValue: UInt16
91 |
:
112 |
113 | /// Possible error codes.
114 | public let codeTryAlternate: ErrorCode = ErrorCode(300)
| |- warning: let 'codeTryAlternate' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'codeTryAlternate' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
115 | public let codeBadRequest: ErrorCode = ErrorCode(400)
116 | public let codeUnauthorized: ErrorCode = ErrorCode(401)
/host/spi-builder-workspace/Sources/STUN/ErrorCodeAttribute.swift:115:12: warning: let 'codeBadRequest' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
87 |
88 | /// ErrorCode is code for ERROR-CODE attribute.
89 | public struct ErrorCode: Equatable, Hashable {
| `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
90 | var rawValue: UInt16
91 |
:
113 | /// Possible error codes.
114 | public let codeTryAlternate: ErrorCode = ErrorCode(300)
115 | public let codeBadRequest: ErrorCode = ErrorCode(400)
| |- warning: let 'codeBadRequest' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'codeBadRequest' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
116 | public let codeUnauthorized: ErrorCode = ErrorCode(401)
117 | public let codeUnknownAttribute: ErrorCode = ErrorCode(420)
/host/spi-builder-workspace/Sources/STUN/ErrorCodeAttribute.swift:116:12: warning: let 'codeUnauthorized' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
87 |
88 | /// ErrorCode is code for ERROR-CODE attribute.
89 | public struct ErrorCode: Equatable, Hashable {
| `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
90 | var rawValue: UInt16
91 |
:
114 | public let codeTryAlternate: ErrorCode = ErrorCode(300)
115 | public let codeBadRequest: ErrorCode = ErrorCode(400)
116 | public let codeUnauthorized: ErrorCode = ErrorCode(401)
| |- warning: let 'codeUnauthorized' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'codeUnauthorized' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 | public let codeUnknownAttribute: ErrorCode = ErrorCode(420)
118 | public let codeStaleNonce: ErrorCode = ErrorCode(438)
/host/spi-builder-workspace/Sources/STUN/ErrorCodeAttribute.swift:117:12: warning: let 'codeUnknownAttribute' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
87 |
88 | /// ErrorCode is code for ERROR-CODE attribute.
89 | public struct ErrorCode: Equatable, Hashable {
| `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
90 | var rawValue: UInt16
91 |
:
115 | public let codeBadRequest: ErrorCode = ErrorCode(400)
116 | public let codeUnauthorized: ErrorCode = ErrorCode(401)
117 | public let codeUnknownAttribute: ErrorCode = ErrorCode(420)
| |- warning: let 'codeUnknownAttribute' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'codeUnknownAttribute' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
118 | public let codeStaleNonce: ErrorCode = ErrorCode(438)
119 | public let codeRoleConflict: ErrorCode = ErrorCode(487)
/host/spi-builder-workspace/Sources/STUN/ErrorCodeAttribute.swift:118:12: warning: let 'codeStaleNonce' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
87 |
88 | /// ErrorCode is code for ERROR-CODE attribute.
89 | public struct ErrorCode: Equatable, Hashable {
| `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
90 | var rawValue: UInt16
91 |
:
116 | public let codeUnauthorized: ErrorCode = ErrorCode(401)
117 | public let codeUnknownAttribute: ErrorCode = ErrorCode(420)
118 | public let codeStaleNonce: ErrorCode = ErrorCode(438)
| |- warning: let 'codeStaleNonce' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'codeStaleNonce' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
119 | public let codeRoleConflict: ErrorCode = ErrorCode(487)
120 | public let codeServerError: ErrorCode = ErrorCode(500)
/host/spi-builder-workspace/Sources/STUN/ErrorCodeAttribute.swift:119:12: warning: let 'codeRoleConflict' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
87 |
88 | /// ErrorCode is code for ERROR-CODE attribute.
89 | public struct ErrorCode: Equatable, Hashable {
| `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
90 | var rawValue: UInt16
91 |
:
117 | public let codeUnknownAttribute: ErrorCode = ErrorCode(420)
118 | public let codeStaleNonce: ErrorCode = ErrorCode(438)
119 | public let codeRoleConflict: ErrorCode = ErrorCode(487)
| |- warning: let 'codeRoleConflict' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'codeRoleConflict' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
120 | public let codeServerError: ErrorCode = ErrorCode(500)
121 |
/host/spi-builder-workspace/Sources/STUN/ErrorCodeAttribute.swift:120:12: warning: let 'codeServerError' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
87 |
88 | /// ErrorCode is code for ERROR-CODE attribute.
89 | public struct ErrorCode: Equatable, Hashable {
| `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
90 | var rawValue: UInt16
91 |
:
118 | public let codeStaleNonce: ErrorCode = ErrorCode(438)
119 | public let codeRoleConflict: ErrorCode = ErrorCode(487)
120 | public let codeServerError: ErrorCode = ErrorCode(500)
| |- warning: let 'codeServerError' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'codeServerError' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
121 |
122 | /// DEPRECATED constants.
/host/spi-builder-workspace/Sources/STUN/ErrorCodeAttribute.swift:124:12: warning: let 'codeUnauthorised' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
87 |
88 | /// ErrorCode is code for ERROR-CODE attribute.
89 | public struct ErrorCode: Equatable, Hashable {
| `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
90 | var rawValue: UInt16
91 |
:
122 | /// DEPRECATED constants.
123 | /// DEPRECATED, use codeUnauthorized.
124 | public let codeUnauthorised: ErrorCode = codeUnauthorized
| |- warning: let 'codeUnauthorised' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'codeUnauthorised' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
125 |
126 | /// Error codes from RFC 5766.
/host/spi-builder-workspace/Sources/STUN/ErrorCodeAttribute.swift:129:12: warning: let 'codeForbidden' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
87 |
88 | /// ErrorCode is code for ERROR-CODE attribute.
89 | public struct ErrorCode: Equatable, Hashable {
| `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
90 | var rawValue: UInt16
91 |
:
127 | ///
128 | /// RFC 5766 Section 15
129 | public let codeForbidden: ErrorCode = ErrorCode(403) // Forbidden
| |- warning: let 'codeForbidden' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'codeForbidden' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
130 | public let codeAllocMismatch: ErrorCode = ErrorCode(437) // Allocation Mismatch
131 | public let codeWrongCredentials: ErrorCode = ErrorCode(441) // Wrong Credentials
/host/spi-builder-workspace/Sources/STUN/ErrorCodeAttribute.swift:130:12: warning: let 'codeAllocMismatch' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
87 |
88 | /// ErrorCode is code for ERROR-CODE attribute.
89 | public struct ErrorCode: Equatable, Hashable {
| `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
90 | var rawValue: UInt16
91 |
:
128 | /// RFC 5766 Section 15
129 | public let codeForbidden: ErrorCode = ErrorCode(403) // Forbidden
130 | public let codeAllocMismatch: ErrorCode = ErrorCode(437) // Allocation Mismatch
| |- warning: let 'codeAllocMismatch' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'codeAllocMismatch' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 | public let codeWrongCredentials: ErrorCode = ErrorCode(441) // Wrong Credentials
132 | public let codeUnsupportedTransProto: ErrorCode = ErrorCode(442) // Unsupported Transport Protocol
/host/spi-builder-workspace/Sources/STUN/ErrorCodeAttribute.swift:131:12: warning: let 'codeWrongCredentials' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
87 |
88 | /// ErrorCode is code for ERROR-CODE attribute.
89 | public struct ErrorCode: Equatable, Hashable {
| `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
90 | var rawValue: UInt16
91 |
:
129 | public let codeForbidden: ErrorCode = ErrorCode(403) // Forbidden
130 | public let codeAllocMismatch: ErrorCode = ErrorCode(437) // Allocation Mismatch
131 | public let codeWrongCredentials: ErrorCode = ErrorCode(441) // Wrong Credentials
| |- warning: let 'codeWrongCredentials' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'codeWrongCredentials' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
132 | public let codeUnsupportedTransProto: ErrorCode = ErrorCode(442) // Unsupported Transport Protocol
133 | public let codeAllocQuotaReached: ErrorCode = ErrorCode(486) // Allocation Quota Reached
/host/spi-builder-workspace/Sources/STUN/ErrorCodeAttribute.swift:132:12: warning: let 'codeUnsupportedTransProto' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
87 |
88 | /// ErrorCode is code for ERROR-CODE attribute.
89 | public struct ErrorCode: Equatable, Hashable {
| `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
90 | var rawValue: UInt16
91 |
:
130 | public let codeAllocMismatch: ErrorCode = ErrorCode(437) // Allocation Mismatch
131 | public let codeWrongCredentials: ErrorCode = ErrorCode(441) // Wrong Credentials
132 | public let codeUnsupportedTransProto: ErrorCode = ErrorCode(442) // Unsupported Transport Protocol
| |- warning: let 'codeUnsupportedTransProto' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'codeUnsupportedTransProto' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
133 | public let codeAllocQuotaReached: ErrorCode = ErrorCode(486) // Allocation Quota Reached
134 | public let codeInsufficientCapacity: ErrorCode = ErrorCode(508) // Insufficient Capacity
/host/spi-builder-workspace/Sources/STUN/ErrorCodeAttribute.swift:133:12: warning: let 'codeAllocQuotaReached' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
87 |
88 | /// ErrorCode is code for ERROR-CODE attribute.
89 | public struct ErrorCode: Equatable, Hashable {
| `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
90 | var rawValue: UInt16
91 |
:
131 | public let codeWrongCredentials: ErrorCode = ErrorCode(441) // Wrong Credentials
132 | public let codeUnsupportedTransProto: ErrorCode = ErrorCode(442) // Unsupported Transport Protocol
133 | public let codeAllocQuotaReached: ErrorCode = ErrorCode(486) // Allocation Quota Reached
| |- warning: let 'codeAllocQuotaReached' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'codeAllocQuotaReached' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
134 | public let codeInsufficientCapacity: ErrorCode = ErrorCode(508) // Insufficient Capacity
135 |
/host/spi-builder-workspace/Sources/STUN/ErrorCodeAttribute.swift:134:12: warning: let 'codeInsufficientCapacity' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
87 |
88 | /// ErrorCode is code for ERROR-CODE attribute.
89 | public struct ErrorCode: Equatable, Hashable {
| `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
90 | var rawValue: UInt16
91 |
:
132 | public let codeUnsupportedTransProto: ErrorCode = ErrorCode(442) // Unsupported Transport Protocol
133 | public let codeAllocQuotaReached: ErrorCode = ErrorCode(486) // Allocation Quota Reached
134 | public let codeInsufficientCapacity: ErrorCode = ErrorCode(508) // Insufficient Capacity
| |- warning: let 'codeInsufficientCapacity' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'codeInsufficientCapacity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
135 |
136 | /// Error codes from RFC 6062.
/host/spi-builder-workspace/Sources/STUN/ErrorCodeAttribute.swift:139:12: warning: let 'codeConnAlreadyExists' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
87 |
88 | /// ErrorCode is code for ERROR-CODE attribute.
89 | public struct ErrorCode: Equatable, Hashable {
| `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
90 | var rawValue: UInt16
91 |
:
137 | ///
138 | /// RFC 6062 Section 6.3
139 | public let codeConnAlreadyExists: ErrorCode = ErrorCode(446)
| |- warning: let 'codeConnAlreadyExists' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'codeConnAlreadyExists' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
140 | public let codeConnTimeoutOrFailure: ErrorCode = ErrorCode(447)
141 |
/host/spi-builder-workspace/Sources/STUN/ErrorCodeAttribute.swift:140:12: warning: let 'codeConnTimeoutOrFailure' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
87 |
88 | /// ErrorCode is code for ERROR-CODE attribute.
89 | public struct ErrorCode: Equatable, Hashable {
| `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
90 | var rawValue: UInt16
91 |
:
138 | /// RFC 6062 Section 6.3
139 | public let codeConnAlreadyExists: ErrorCode = ErrorCode(446)
140 | public let codeConnTimeoutOrFailure: ErrorCode = ErrorCode(447)
| |- warning: let 'codeConnTimeoutOrFailure' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'codeConnTimeoutOrFailure' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
141 |
142 | /// Error codes from RFC 6156.
/host/spi-builder-workspace/Sources/STUN/ErrorCodeAttribute.swift:145:12: warning: let 'codeAddrFamilyNotSupported' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
87 |
88 | /// ErrorCode is code for ERROR-CODE attribute.
89 | public struct ErrorCode: Equatable, Hashable {
| `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
90 | var rawValue: UInt16
91 |
:
143 | ///
144 | /// RFC 6156 Section 10.2
145 | public let codeAddrFamilyNotSupported: ErrorCode = ErrorCode(440) // Address Family not Supported
| |- warning: let 'codeAddrFamilyNotSupported' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'codeAddrFamilyNotSupported' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
146 | public let codePeerAddrFamilyMismatch: ErrorCode = ErrorCode(443) // Peer Address Family Mismatch
147 |
/host/spi-builder-workspace/Sources/STUN/ErrorCodeAttribute.swift:146:12: warning: let 'codePeerAddrFamilyMismatch' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
87 |
88 | /// ErrorCode is code for ERROR-CODE attribute.
89 | public struct ErrorCode: Equatable, Hashable {
| `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
90 | var rawValue: UInt16
91 |
:
144 | /// RFC 6156 Section 10.2
145 | public let codeAddrFamilyNotSupported: ErrorCode = ErrorCode(440) // Address Family not Supported
146 | public let codePeerAddrFamilyMismatch: ErrorCode = ErrorCode(443) // Peer Address Family Mismatch
| |- warning: let 'codePeerAddrFamilyMismatch' is not concurrency-safe because non-'Sendable' type 'ErrorCode' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'codePeerAddrFamilyMismatch' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 |
148 | public let errorReasons: [ErrorCode: String] =
/host/spi-builder-workspace/Sources/STUN/ErrorCodeAttribute.swift:148:12: warning: let 'errorReasons' is not concurrency-safe because non-'Sendable' type '[ErrorCode : String]' may have shared mutable state; this is an error in the Swift 6 language mode
87 |
88 | /// ErrorCode is code for ERROR-CODE attribute.
89 | public struct ErrorCode: Equatable, Hashable {
| `- note: consider making struct 'ErrorCode' conform to the 'Sendable' protocol
90 | var rawValue: UInt16
91 |
:
146 | public let codePeerAddrFamilyMismatch: ErrorCode = ErrorCode(443) // Peer Address Family Mismatch
147 |
148 | public let errorReasons: [ErrorCode: String] =
| |- warning: let 'errorReasons' is not concurrency-safe because non-'Sendable' type '[ErrorCode : String]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'errorReasons' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
149 | [
150 | codeTryAlternate: "Try Alternate",
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:146:12: warning: let 'attrErrorCode' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
144 | public let attrMessageIntegrity: AttrType = AttrType(0x0008)
145 | // ERROR-CODE
146 | public let attrErrorCode: AttrType = AttrType(0x0009)
| |- warning: let 'attrErrorCode' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrErrorCode' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 | // UNKNOWN-ATTRIBUTES
148 | public let attrUnknownAttributes: AttrType = AttrType(0x000A)
[830/840] Compiling STUN XorMappedAddress.swift
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:154:12: warning: let 'attrXorMappedAddress' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
152 | public let attrNonce: AttrType = AttrType(0x0015)
153 | // XOR-MAPPED-ADDRESS
154 | public let attrXorMappedAddress: AttrType = AttrType(0x0020)
| |- warning: let 'attrXorMappedAddress' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrXorMappedAddress' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
155 |
156 | /// Attributes from comprehension-optional range (0x8000-0xFFFF).
[831/840] Compiling STUN Fingerprint.swift
/host/spi-builder-workspace/Sources/STUN/Fingerprint.swift:41:12: warning: let 'fingerprint' is not concurrency-safe because non-'Sendable' type 'FingerprintAttr' may have shared mutable state; this is an error in the Swift 6 language mode
18 | ///
19 | /// RFC 5389 Section 15.5
20 | public struct FingerprintAttr {
| `- note: consider making struct 'FingerprintAttr' conform to the 'Sendable' protocol
21 | // Check reads fingerprint value from m and checks it, returning error if any.
22 | // Can return *AttrLengthErr, ErrAttributeNotFound, and *CRCMismatch.
:
39 | /// m := FingerprintAttr()
40 | /// FINGERPRINT.add_to(m)
41 | public let fingerprint: FingerprintAttr = FingerprintAttr()
| |- warning: let 'fingerprint' is not concurrency-safe because non-'Sendable' type 'FingerprintAttr' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fingerprint' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | public let fingerprintXorValue: UInt32 = 0x5354_554e
43 | public let fingerprintSize: Int = 4 // 32 bit
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:162:12: warning: let 'attrFingerprint' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
160 | public let attrAlternateServer: AttrType = AttrType(0x8023)
161 | // FINGERPRINT
162 | public let attrFingerprint: AttrType = AttrType(0x8028)
| |- warning: let 'attrFingerprint' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrFingerprint' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
163 |
164 | /// Attributes from RFC 5245 ICE.
/host/spi-builder-workspace/Sources/STUN/Message.swift:428:12: warning: let 'classRequest' is not concurrency-safe because non-'Sendable' type 'MessageClass' may have shared mutable state; this is an error in the Swift 6 language mode
426 |
427 | /// Possible values for MessageClass in STUN Message Type.
428 | public let classRequest: MessageClass = MessageClass(0x00)
| |- warning: let 'classRequest' is not concurrency-safe because non-'Sendable' type 'MessageClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'classRequest' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
429 | public let classIndication: MessageClass = MessageClass(0x01)
430 | public let classSuccessResponse: MessageClass = MessageClass(0x02)
:
432 |
433 | /// MessageClass is 8-bit representation of 2-bit of STUN MessageClass.
434 | public struct MessageClass: Equatable {
| `- note: consider making struct 'MessageClass' conform to the 'Sendable' protocol
435 | var rawValue: UInt8
436 |
/host/spi-builder-workspace/Sources/STUN/Message.swift:429:12: warning: let 'classIndication' is not concurrency-safe because non-'Sendable' type 'MessageClass' may have shared mutable state; this is an error in the Swift 6 language mode
427 | /// Possible values for MessageClass in STUN Message Type.
428 | public let classRequest: MessageClass = MessageClass(0x00)
429 | public let classIndication: MessageClass = MessageClass(0x01)
| |- warning: let 'classIndication' is not concurrency-safe because non-'Sendable' type 'MessageClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'classIndication' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
430 | public let classSuccessResponse: MessageClass = MessageClass(0x02)
431 | public let classErrorResponse: MessageClass = MessageClass(0x03)
432 |
433 | /// MessageClass is 8-bit representation of 2-bit of STUN MessageClass.
434 | public struct MessageClass: Equatable {
| `- note: consider making struct 'MessageClass' conform to the 'Sendable' protocol
435 | var rawValue: UInt8
436 |
/host/spi-builder-workspace/Sources/STUN/Message.swift:430:12: warning: let 'classSuccessResponse' is not concurrency-safe because non-'Sendable' type 'MessageClass' may have shared mutable state; this is an error in the Swift 6 language mode
428 | public let classRequest: MessageClass = MessageClass(0x00)
429 | public let classIndication: MessageClass = MessageClass(0x01)
430 | public let classSuccessResponse: MessageClass = MessageClass(0x02)
| |- warning: let 'classSuccessResponse' is not concurrency-safe because non-'Sendable' type 'MessageClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'classSuccessResponse' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
431 | public let classErrorResponse: MessageClass = MessageClass(0x03)
432 |
433 | /// MessageClass is 8-bit representation of 2-bit of STUN MessageClass.
434 | public struct MessageClass: Equatable {
| `- note: consider making struct 'MessageClass' conform to the 'Sendable' protocol
435 | var rawValue: UInt8
436 |
/host/spi-builder-workspace/Sources/STUN/Message.swift:431:12: warning: let 'classErrorResponse' is not concurrency-safe because non-'Sendable' type 'MessageClass' may have shared mutable state; this is an error in the Swift 6 language mode
429 | public let classIndication: MessageClass = MessageClass(0x01)
430 | public let classSuccessResponse: MessageClass = MessageClass(0x02)
431 | public let classErrorResponse: MessageClass = MessageClass(0x03)
| |- warning: let 'classErrorResponse' is not concurrency-safe because non-'Sendable' type 'MessageClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'classErrorResponse' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
432 |
433 | /// MessageClass is 8-bit representation of 2-bit of STUN MessageClass.
434 | public struct MessageClass: Equatable {
| `- note: consider making struct 'MessageClass' conform to the 'Sendable' protocol
435 | var rawValue: UInt8
436 |
/host/spi-builder-workspace/Sources/STUN/Message.swift:460:12: warning: let 'methodBinding' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
458 |
459 | /// Possible methods for STUN Message.
460 | public let methodBinding: Method = Method(0x001)
| |- warning: let 'methodBinding' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'methodBinding' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
461 | public let methodAllocate: Method = Method(0x003)
462 | public let methodRefresh: Method = Method(0x004)
:
472 |
473 | /// Method is uint16 representation of 12-bit STUN method.
474 | public struct Method: Equatable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
475 | var rawValue: UInt16
476 |
/host/spi-builder-workspace/Sources/STUN/Message.swift:461:12: warning: let 'methodAllocate' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
459 | /// Possible methods for STUN Message.
460 | public let methodBinding: Method = Method(0x001)
461 | public let methodAllocate: Method = Method(0x003)
| |- warning: let 'methodAllocate' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'methodAllocate' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
462 | public let methodRefresh: Method = Method(0x004)
463 | public let methodSend: Method = Method(0x006)
:
472 |
473 | /// Method is uint16 representation of 12-bit STUN method.
474 | public struct Method: Equatable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
475 | var rawValue: UInt16
476 |
/host/spi-builder-workspace/Sources/STUN/Message.swift:462:12: warning: let 'methodRefresh' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
460 | public let methodBinding: Method = Method(0x001)
461 | public let methodAllocate: Method = Method(0x003)
462 | public let methodRefresh: Method = Method(0x004)
| |- warning: let 'methodRefresh' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'methodRefresh' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
463 | public let methodSend: Method = Method(0x006)
464 | public let methodData: Method = Method(0x007)
:
472 |
473 | /// Method is uint16 representation of 12-bit STUN method.
474 | public struct Method: Equatable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
475 | var rawValue: UInt16
476 |
/host/spi-builder-workspace/Sources/STUN/Message.swift:463:12: warning: let 'methodSend' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
461 | public let methodAllocate: Method = Method(0x003)
462 | public let methodRefresh: Method = Method(0x004)
463 | public let methodSend: Method = Method(0x006)
| |- warning: let 'methodSend' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'methodSend' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
464 | public let methodData: Method = Method(0x007)
465 | public let methodCreatePermission: Method = Method(0x008)
:
472 |
473 | /// Method is uint16 representation of 12-bit STUN method.
474 | public struct Method: Equatable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
475 | var rawValue: UInt16
476 |
/host/spi-builder-workspace/Sources/STUN/Message.swift:464:12: warning: let 'methodData' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
462 | public let methodRefresh: Method = Method(0x004)
463 | public let methodSend: Method = Method(0x006)
464 | public let methodData: Method = Method(0x007)
| |- warning: let 'methodData' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'methodData' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
465 | public let methodCreatePermission: Method = Method(0x008)
466 | public let methodChannelBind: Method = Method(0x009)
:
472 |
473 | /// Method is uint16 representation of 12-bit STUN method.
474 | public struct Method: Equatable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
475 | var rawValue: UInt16
476 |
/host/spi-builder-workspace/Sources/STUN/Message.swift:465:12: warning: let 'methodCreatePermission' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
463 | public let methodSend: Method = Method(0x006)
464 | public let methodData: Method = Method(0x007)
465 | public let methodCreatePermission: Method = Method(0x008)
| |- warning: let 'methodCreatePermission' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'methodCreatePermission' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
466 | public let methodChannelBind: Method = Method(0x009)
467 |
:
472 |
473 | /// Method is uint16 representation of 12-bit STUN method.
474 | public struct Method: Equatable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
475 | var rawValue: UInt16
476 |
/host/spi-builder-workspace/Sources/STUN/Message.swift:466:12: warning: let 'methodChannelBind' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
464 | public let methodData: Method = Method(0x007)
465 | public let methodCreatePermission: Method = Method(0x008)
466 | public let methodChannelBind: Method = Method(0x009)
| |- warning: let 'methodChannelBind' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'methodChannelBind' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
467 |
468 | /// Methods from RFC 6062.
:
472 |
473 | /// Method is uint16 representation of 12-bit STUN method.
474 | public struct Method: Equatable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
475 | var rawValue: UInt16
476 |
/host/spi-builder-workspace/Sources/STUN/Message.swift:469:12: warning: let 'methodConnect' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
467 |
468 | /// Methods from RFC 6062.
469 | public let methodConnect: Method = Method(0x000a)
| |- warning: let 'methodConnect' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'methodConnect' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
470 | public let methodConnectionBind: Method = Method(0x000b)
471 | public let methodConnectionAttempt: Method = Method(0x000c)
472 |
473 | /// Method is uint16 representation of 12-bit STUN method.
474 | public struct Method: Equatable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
475 | var rawValue: UInt16
476 |
/host/spi-builder-workspace/Sources/STUN/Message.swift:470:12: warning: let 'methodConnectionBind' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
468 | /// Methods from RFC 6062.
469 | public let methodConnect: Method = Method(0x000a)
470 | public let methodConnectionBind: Method = Method(0x000b)
| |- warning: let 'methodConnectionBind' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'methodConnectionBind' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
471 | public let methodConnectionAttempt: Method = Method(0x000c)
472 |
473 | /// Method is uint16 representation of 12-bit STUN method.
474 | public struct Method: Equatable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
475 | var rawValue: UInt16
476 |
/host/spi-builder-workspace/Sources/STUN/Message.swift:471:12: warning: let 'methodConnectionAttempt' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
469 | public let methodConnect: Method = Method(0x000a)
470 | public let methodConnectionBind: Method = Method(0x000b)
471 | public let methodConnectionAttempt: Method = Method(0x000c)
| |- warning: let 'methodConnectionAttempt' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'methodConnectionAttempt' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
472 |
473 | /// Method is uint16 representation of 12-bit STUN method.
474 | public struct Method: Equatable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
475 | var rawValue: UInt16
476 |
/host/spi-builder-workspace/Sources/STUN/Message.swift:515:12: warning: let 'bindingRequest' is not concurrency-safe because non-'Sendable' type 'MessageType' may have shared mutable state; this is an error in the Swift 6 language mode
513 | /// Common STUN message types.
514 | /// Binding request message type.
515 | public let bindingRequest: MessageType = MessageType(
| |- warning: let 'bindingRequest' is not concurrency-safe because non-'Sendable' type 'MessageType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bindingRequest' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
516 | method: methodBinding,
517 | messageClass: classRequest
:
545 |
546 | // MessageType is STUN Message Type Field.
547 | public struct MessageType: Equatable {
| `- note: consider making struct 'MessageType' conform to the 'Sendable' protocol
548 | var method: Method // e.g. binding
549 | var messageClass: MessageClass // e.g. request
/host/spi-builder-workspace/Sources/STUN/Message.swift:520:12: warning: let 'bindingSuccess' is not concurrency-safe because non-'Sendable' type 'MessageType' may have shared mutable state; this is an error in the Swift 6 language mode
518 | )
519 | /// Binding success response message type
520 | public let bindingSuccess: MessageType = MessageType(
| |- warning: let 'bindingSuccess' is not concurrency-safe because non-'Sendable' type 'MessageType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bindingSuccess' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
521 | method: methodBinding,
522 | messageClass: classSuccessResponse
:
545 |
546 | // MessageType is STUN Message Type Field.
547 | public struct MessageType: Equatable {
| `- note: consider making struct 'MessageType' conform to the 'Sendable' protocol
548 | var method: Method // e.g. binding
549 | var messageClass: MessageClass // e.g. request
/host/spi-builder-workspace/Sources/STUN/Message.swift:525:12: warning: let 'bindigError' is not concurrency-safe because non-'Sendable' type 'MessageType' may have shared mutable state; this is an error in the Swift 6 language mode
523 | )
524 | /// Binding error response message type.
525 | public let bindigError: MessageType = MessageType(
| |- warning: let 'bindigError' is not concurrency-safe because non-'Sendable' type 'MessageType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bindigError' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
526 | method: methodBinding,
527 | messageClass: classErrorResponse
:
545 |
546 | // MessageType is STUN Message Type Field.
547 | public struct MessageType: Equatable {
| `- note: consider making struct 'MessageType' conform to the 'Sendable' protocol
548 | var method: Method // e.g. binding
549 | var messageClass: MessageClass // e.g. request
[832/840] Compiling STUN Message.swift
/host/spi-builder-workspace/Sources/STUN/Fingerprint.swift:41:12: warning: let 'fingerprint' is not concurrency-safe because non-'Sendable' type 'FingerprintAttr' may have shared mutable state; this is an error in the Swift 6 language mode
18 | ///
19 | /// RFC 5389 Section 15.5
20 | public struct FingerprintAttr {
| `- note: consider making struct 'FingerprintAttr' conform to the 'Sendable' protocol
21 | // Check reads fingerprint value from m and checks it, returning error if any.
22 | // Can return *AttrLengthErr, ErrAttributeNotFound, and *CRCMismatch.
:
39 | /// m := FingerprintAttr()
40 | /// FINGERPRINT.add_to(m)
41 | public let fingerprint: FingerprintAttr = FingerprintAttr()
| |- warning: let 'fingerprint' is not concurrency-safe because non-'Sendable' type 'FingerprintAttr' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'fingerprint' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | public let fingerprintXorValue: UInt32 = 0x5354_554e
43 | public let fingerprintSize: Int = 4 // 32 bit
/host/spi-builder-workspace/Sources/STUN/Attribute.swift:162:12: warning: let 'attrFingerprint' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
42 |
43 | /// AttrType is attribute type.
44 | public struct AttrType: Equatable {
| `- note: consider making struct 'AttrType' conform to the 'Sendable' protocol
45 | var rawValue: UInt16
46 |
:
160 | public let attrAlternateServer: AttrType = AttrType(0x8023)
161 | // FINGERPRINT
162 | public let attrFingerprint: AttrType = AttrType(0x8028)
| |- warning: let 'attrFingerprint' is not concurrency-safe because non-'Sendable' type 'AttrType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attrFingerprint' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
163 |
164 | /// Attributes from RFC 5245 ICE.
/host/spi-builder-workspace/Sources/STUN/Message.swift:428:12: warning: let 'classRequest' is not concurrency-safe because non-'Sendable' type 'MessageClass' may have shared mutable state; this is an error in the Swift 6 language mode
426 |
427 | /// Possible values for MessageClass in STUN Message Type.
428 | public let classRequest: MessageClass = MessageClass(0x00)
| |- warning: let 'classRequest' is not concurrency-safe because non-'Sendable' type 'MessageClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'classRequest' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
429 | public let classIndication: MessageClass = MessageClass(0x01)
430 | public let classSuccessResponse: MessageClass = MessageClass(0x02)
:
432 |
433 | /// MessageClass is 8-bit representation of 2-bit of STUN MessageClass.
434 | public struct MessageClass: Equatable {
| `- note: consider making struct 'MessageClass' conform to the 'Sendable' protocol
435 | var rawValue: UInt8
436 |
/host/spi-builder-workspace/Sources/STUN/Message.swift:429:12: warning: let 'classIndication' is not concurrency-safe because non-'Sendable' type 'MessageClass' may have shared mutable state; this is an error in the Swift 6 language mode
427 | /// Possible values for MessageClass in STUN Message Type.
428 | public let classRequest: MessageClass = MessageClass(0x00)
429 | public let classIndication: MessageClass = MessageClass(0x01)
| |- warning: let 'classIndication' is not concurrency-safe because non-'Sendable' type 'MessageClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'classIndication' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
430 | public let classSuccessResponse: MessageClass = MessageClass(0x02)
431 | public let classErrorResponse: MessageClass = MessageClass(0x03)
432 |
433 | /// MessageClass is 8-bit representation of 2-bit of STUN MessageClass.
434 | public struct MessageClass: Equatable {
| `- note: consider making struct 'MessageClass' conform to the 'Sendable' protocol
435 | var rawValue: UInt8
436 |
/host/spi-builder-workspace/Sources/STUN/Message.swift:430:12: warning: let 'classSuccessResponse' is not concurrency-safe because non-'Sendable' type 'MessageClass' may have shared mutable state; this is an error in the Swift 6 language mode
428 | public let classRequest: MessageClass = MessageClass(0x00)
429 | public let classIndication: MessageClass = MessageClass(0x01)
430 | public let classSuccessResponse: MessageClass = MessageClass(0x02)
| |- warning: let 'classSuccessResponse' is not concurrency-safe because non-'Sendable' type 'MessageClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'classSuccessResponse' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
431 | public let classErrorResponse: MessageClass = MessageClass(0x03)
432 |
433 | /// MessageClass is 8-bit representation of 2-bit of STUN MessageClass.
434 | public struct MessageClass: Equatable {
| `- note: consider making struct 'MessageClass' conform to the 'Sendable' protocol
435 | var rawValue: UInt8
436 |
/host/spi-builder-workspace/Sources/STUN/Message.swift:431:12: warning: let 'classErrorResponse' is not concurrency-safe because non-'Sendable' type 'MessageClass' may have shared mutable state; this is an error in the Swift 6 language mode
429 | public let classIndication: MessageClass = MessageClass(0x01)
430 | public let classSuccessResponse: MessageClass = MessageClass(0x02)
431 | public let classErrorResponse: MessageClass = MessageClass(0x03)
| |- warning: let 'classErrorResponse' is not concurrency-safe because non-'Sendable' type 'MessageClass' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'classErrorResponse' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
432 |
433 | /// MessageClass is 8-bit representation of 2-bit of STUN MessageClass.
434 | public struct MessageClass: Equatable {
| `- note: consider making struct 'MessageClass' conform to the 'Sendable' protocol
435 | var rawValue: UInt8
436 |
/host/spi-builder-workspace/Sources/STUN/Message.swift:460:12: warning: let 'methodBinding' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
458 |
459 | /// Possible methods for STUN Message.
460 | public let methodBinding: Method = Method(0x001)
| |- warning: let 'methodBinding' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'methodBinding' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
461 | public let methodAllocate: Method = Method(0x003)
462 | public let methodRefresh: Method = Method(0x004)
:
472 |
473 | /// Method is uint16 representation of 12-bit STUN method.
474 | public struct Method: Equatable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
475 | var rawValue: UInt16
476 |
/host/spi-builder-workspace/Sources/STUN/Message.swift:461:12: warning: let 'methodAllocate' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
459 | /// Possible methods for STUN Message.
460 | public let methodBinding: Method = Method(0x001)
461 | public let methodAllocate: Method = Method(0x003)
| |- warning: let 'methodAllocate' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'methodAllocate' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
462 | public let methodRefresh: Method = Method(0x004)
463 | public let methodSend: Method = Method(0x006)
:
472 |
473 | /// Method is uint16 representation of 12-bit STUN method.
474 | public struct Method: Equatable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
475 | var rawValue: UInt16
476 |
/host/spi-builder-workspace/Sources/STUN/Message.swift:462:12: warning: let 'methodRefresh' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
460 | public let methodBinding: Method = Method(0x001)
461 | public let methodAllocate: Method = Method(0x003)
462 | public let methodRefresh: Method = Method(0x004)
| |- warning: let 'methodRefresh' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'methodRefresh' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
463 | public let methodSend: Method = Method(0x006)
464 | public let methodData: Method = Method(0x007)
:
472 |
473 | /// Method is uint16 representation of 12-bit STUN method.
474 | public struct Method: Equatable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
475 | var rawValue: UInt16
476 |
/host/spi-builder-workspace/Sources/STUN/Message.swift:463:12: warning: let 'methodSend' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
461 | public let methodAllocate: Method = Method(0x003)
462 | public let methodRefresh: Method = Method(0x004)
463 | public let methodSend: Method = Method(0x006)
| |- warning: let 'methodSend' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'methodSend' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
464 | public let methodData: Method = Method(0x007)
465 | public let methodCreatePermission: Method = Method(0x008)
:
472 |
473 | /// Method is uint16 representation of 12-bit STUN method.
474 | public struct Method: Equatable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
475 | var rawValue: UInt16
476 |
/host/spi-builder-workspace/Sources/STUN/Message.swift:464:12: warning: let 'methodData' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
462 | public let methodRefresh: Method = Method(0x004)
463 | public let methodSend: Method = Method(0x006)
464 | public let methodData: Method = Method(0x007)
| |- warning: let 'methodData' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'methodData' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
465 | public let methodCreatePermission: Method = Method(0x008)
466 | public let methodChannelBind: Method = Method(0x009)
:
472 |
473 | /// Method is uint16 representation of 12-bit STUN method.
474 | public struct Method: Equatable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
475 | var rawValue: UInt16
476 |
/host/spi-builder-workspace/Sources/STUN/Message.swift:465:12: warning: let 'methodCreatePermission' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
463 | public let methodSend: Method = Method(0x006)
464 | public let methodData: Method = Method(0x007)
465 | public let methodCreatePermission: Method = Method(0x008)
| |- warning: let 'methodCreatePermission' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'methodCreatePermission' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
466 | public let methodChannelBind: Method = Method(0x009)
467 |
:
472 |
473 | /// Method is uint16 representation of 12-bit STUN method.
474 | public struct Method: Equatable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
475 | var rawValue: UInt16
476 |
/host/spi-builder-workspace/Sources/STUN/Message.swift:466:12: warning: let 'methodChannelBind' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
464 | public let methodData: Method = Method(0x007)
465 | public let methodCreatePermission: Method = Method(0x008)
466 | public let methodChannelBind: Method = Method(0x009)
| |- warning: let 'methodChannelBind' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'methodChannelBind' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
467 |
468 | /// Methods from RFC 6062.
:
472 |
473 | /// Method is uint16 representation of 12-bit STUN method.
474 | public struct Method: Equatable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
475 | var rawValue: UInt16
476 |
/host/spi-builder-workspace/Sources/STUN/Message.swift:469:12: warning: let 'methodConnect' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
467 |
468 | /// Methods from RFC 6062.
469 | public let methodConnect: Method = Method(0x000a)
| |- warning: let 'methodConnect' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'methodConnect' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
470 | public let methodConnectionBind: Method = Method(0x000b)
471 | public let methodConnectionAttempt: Method = Method(0x000c)
472 |
473 | /// Method is uint16 representation of 12-bit STUN method.
474 | public struct Method: Equatable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
475 | var rawValue: UInt16
476 |
/host/spi-builder-workspace/Sources/STUN/Message.swift:470:12: warning: let 'methodConnectionBind' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
468 | /// Methods from RFC 6062.
469 | public let methodConnect: Method = Method(0x000a)
470 | public let methodConnectionBind: Method = Method(0x000b)
| |- warning: let 'methodConnectionBind' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'methodConnectionBind' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
471 | public let methodConnectionAttempt: Method = Method(0x000c)
472 |
473 | /// Method is uint16 representation of 12-bit STUN method.
474 | public struct Method: Equatable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
475 | var rawValue: UInt16
476 |
/host/spi-builder-workspace/Sources/STUN/Message.swift:471:12: warning: let 'methodConnectionAttempt' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
469 | public let methodConnect: Method = Method(0x000a)
470 | public let methodConnectionBind: Method = Method(0x000b)
471 | public let methodConnectionAttempt: Method = Method(0x000c)
| |- warning: let 'methodConnectionAttempt' is not concurrency-safe because non-'Sendable' type 'Method' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'methodConnectionAttempt' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
472 |
473 | /// Method is uint16 representation of 12-bit STUN method.
474 | public struct Method: Equatable {
| `- note: consider making struct 'Method' conform to the 'Sendable' protocol
475 | var rawValue: UInt16
476 |
/host/spi-builder-workspace/Sources/STUN/Message.swift:515:12: warning: let 'bindingRequest' is not concurrency-safe because non-'Sendable' type 'MessageType' may have shared mutable state; this is an error in the Swift 6 language mode
513 | /// Common STUN message types.
514 | /// Binding request message type.
515 | public let bindingRequest: MessageType = MessageType(
| |- warning: let 'bindingRequest' is not concurrency-safe because non-'Sendable' type 'MessageType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bindingRequest' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
516 | method: methodBinding,
517 | messageClass: classRequest
:
545 |
546 | // MessageType is STUN Message Type Field.
547 | public struct MessageType: Equatable {
| `- note: consider making struct 'MessageType' conform to the 'Sendable' protocol
548 | var method: Method // e.g. binding
549 | var messageClass: MessageClass // e.g. request
/host/spi-builder-workspace/Sources/STUN/Message.swift:520:12: warning: let 'bindingSuccess' is not concurrency-safe because non-'Sendable' type 'MessageType' may have shared mutable state; this is an error in the Swift 6 language mode
518 | )
519 | /// Binding success response message type
520 | public let bindingSuccess: MessageType = MessageType(
| |- warning: let 'bindingSuccess' is not concurrency-safe because non-'Sendable' type 'MessageType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bindingSuccess' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
521 | method: methodBinding,
522 | messageClass: classSuccessResponse
:
545 |
546 | // MessageType is STUN Message Type Field.
547 | public struct MessageType: Equatable {
| `- note: consider making struct 'MessageType' conform to the 'Sendable' protocol
548 | var method: Method // e.g. binding
549 | var messageClass: MessageClass // e.g. request
/host/spi-builder-workspace/Sources/STUN/Message.swift:525:12: warning: let 'bindigError' is not concurrency-safe because non-'Sendable' type 'MessageType' may have shared mutable state; this is an error in the Swift 6 language mode
523 | )
524 | /// Binding error response message type.
525 | public let bindigError: MessageType = MessageType(
| |- warning: let 'bindigError' is not concurrency-safe because non-'Sendable' type 'MessageType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bindigError' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
526 | method: methodBinding,
527 | messageClass: classErrorResponse
:
545 |
546 | // MessageType is STUN Message Type Field.
547 | public struct MessageType: Equatable {
| `- note: consider making struct 'MessageType' conform to the 'Sendable' protocol
548 | var method: Method // e.g. binding
549 | var messageClass: MessageClass // e.g. request
[834/843] Emitting module RTC
[835/843] Compiling RTC Exports.swift
[837/844] Emitting module RTCP
[846/854] Compiling SRTP ProtectionProfile.swift
[847/855] Compiling SRTP ContextOption.swift
[848/855] Compiling SRTP KeyDerivation.swift
[849/855] Compiling SRTP Config.swift
[850/855] Compiling SRTP Context.swift
[851/855] Compiling SRTP SrtpError.swift
[852/855] Emitting module SRTP
[853/855] Compiling SRTP Cipher.swift
[854/855] Compiling SRTP CipherAeadAesGcm.swift
[855/855] Compiling SRTP CipherAesCmHmacSha1.swift
Build complete! (144.81s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
},
{
"identity" : "swift-nio",
"requirement" : {
"range" : [
{
"lower_bound" : "2.65.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-nio.git"
},
{
"identity" : "swift-crypto",
"requirement" : {
"range" : [
{
"lower_bound" : "3.4.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-crypto.git"
}
],
"manifest_display_name" : "swift-rtc",
"name" : "swift-rtc",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "tvos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "DataChannel",
"targets" : [
"DataChannel"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "DTLS",
"targets" : [
"DTLS"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "RTC",
"targets" : [
"RTC"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "RTCP",
"targets" : [
"RTCP"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "RTP",
"targets" : [
"RTP"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SCTP",
"targets" : [
"SCTP"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SDP",
"targets" : [
"SDP"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Shared",
"targets" : [
"Shared"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SRTP",
"targets" : [
"SRTP"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "STUN",
"targets" : [
"STUN"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SharedTests",
"module_type" : "SwiftTarget",
"name" : "SharedTests",
"path" : "Tests/SharedTests",
"sources" : [
"CRC32Tests.swift",
"FixedBigIntTests.swift",
"PaddingTests.swift",
"ReplayDetectorTests.swift",
"SocketAddressTests.swift",
"UrlTests.swift"
],
"target_dependencies" : [
"Shared"
],
"type" : "test"
},
{
"c99name" : "Shared",
"module_type" : "SwiftTarget",
"name" : "Shared",
"path" : "Sources/Shared",
"product_dependencies" : [
"NIOCore"
],
"product_memberships" : [
"RTC",
"RTCP",
"RTP",
"SDP",
"Shared",
"SRTP",
"STUN"
],
"sources" : [
"Base64.swift",
"ByteBufferViewEx.swift",
"CRC32.swift",
"FixedBigInt.swift",
"KeyingMaterialExporter.swift",
"Marshal.swift",
"MatchRange.swift",
"Padding.swift",
"RTCHandler.swift",
"ReplayDetector.swift",
"SocketAddress.swift",
"StdExtensions.swift",
"Url.swift"
],
"type" : "library"
},
{
"c99name" : "STUNTests",
"module_type" : "SwiftTarget",
"name" : "STUNTests",
"path" : "Tests/STUNTests",
"sources" : [
"AddressTests.swift",
"AgentTests.swift",
"AttributeTests.swift",
"FingerprintTests.swift",
"MessageIntegrityTests.swift",
"STUNTests.swift",
"TextAttributeTests.swift",
"UnknownAttributesTests.swift",
"UriTests.swift",
"XorMappedAddressTests.swift"
],
"target_dependencies" : [
"STUN",
"Shared"
],
"type" : "test"
},
{
"c99name" : "STUN",
"module_type" : "SwiftTarget",
"name" : "STUN",
"path" : "Sources/STUN",
"product_dependencies" : [
"NIOCore",
"NIOFoundationCompat",
"Crypto"
],
"product_memberships" : [
"RTC",
"STUN"
],
"sources" : [
"Address.swift",
"Agent.swift",
"Attribute.swift",
"Checks.swift",
"Client.swift",
"ErrorCodeAttribute.swift",
"Fingerprint.swift",
"Message.swift",
"MessageIntegrity.swift",
"StunError.swift",
"TextAttribute.swift",
"UnknownAttribute.swift",
"Uri.swift",
"XorMappedAddress.swift"
],
"target_dependencies" : [
"Shared"
],
"type" : "library"
},
{
"c99name" : "SRTPTests",
"module_type" : "SwiftTarget",
"name" : "SRTPTests",
"path" : "Tests/SRTPTests",
"sources" : [
"CipherAeadAesGcmTests.swift",
"CipherAesCmHmacSha1Tests.swift",
"ContextTests.swift",
"KeyDerivationTests.swift"
],
"target_dependencies" : [
"SRTP",
"RTP"
],
"type" : "test"
},
{
"c99name" : "SRTP",
"module_type" : "SwiftTarget",
"name" : "SRTP",
"path" : "Sources/SRTP",
"product_dependencies" : [
"NIOCore",
"NIOFoundationCompat",
"Crypto",
"_CryptoExtras"
],
"product_memberships" : [
"SRTP"
],
"sources" : [
"Cipher/Cipher.swift",
"Cipher/CipherAeadAesGcm.swift",
"Cipher/CipherAesCmHmacSha1.swift",
"Config.swift",
"Context.swift",
"ContextOption.swift",
"KeyDerivation.swift",
"ProtectionProfile.swift",
"SrtpError.swift"
],
"target_dependencies" : [
"RTCP",
"RTP",
"Shared"
],
"type" : "library"
},
{
"c99name" : "SDPTests",
"module_type" : "SwiftTarget",
"name" : "SDPTests",
"path" : "Tests/SDPTests",
"sources" : [
"CommonDescriptionTests.swift",
"MediaDescriptionTests.swift",
"SessionDescriptionTests.swift"
],
"target_dependencies" : [
"SDP"
],
"type" : "test"
},
{
"c99name" : "SDP",
"module_type" : "SwiftTarget",
"name" : "SDP",
"path" : "Sources/SDP",
"product_dependencies" : [
"NIOCore"
],
"product_memberships" : [
"RTC",
"SDP"
],
"sources" : [
"CommonDescription.swift",
"Lexer.swift",
"MediaDescription.swift",
"SdpError.swift",
"SessionDescription.swift"
],
"target_dependencies" : [
"Shared"
],
"type" : "library"
},
{
"c99name" : "SCTPTests",
"module_type" : "SwiftTarget",
"name" : "SCTPTests",
"path" : "Tests/SCTPTests",
"sources" : [
"SCTPTests.swift"
],
"target_dependencies" : [
"SCTP"
],
"type" : "test"
},
{
"c99name" : "SCTP",
"module_type" : "SwiftTarget",
"name" : "SCTP",
"path" : "Sources/SCTP",
"product_memberships" : [
"SCTP"
],
"sources" : [
"SCTP.swift"
],
"type" : "library"
},
{
"c99name" : "RTPTests",
"module_type" : "SwiftTarget",
"name" : "RTPTests",
"path" : "Tests/RTPTests",
"sources" : [
"AbsSendTimeExtensionTests.swift",
"AudioLevelExtensionTests.swift",
"G7xxTests.swift",
"H264Tests.swift",
"OpusTests.swift",
"PacketTests.swift",
"PacketizerTests.swift",
"TransportCcExtensionTests.swift",
"VP8Tests.swift",
"VideoOrientationExtensionTests.swift"
],
"target_dependencies" : [
"RTP"
],
"type" : "test"
},
{
"c99name" : "RTP",
"module_type" : "SwiftTarget",
"name" : "RTP",
"path" : "Sources/RTP",
"product_dependencies" : [
"NIOCore"
],
"product_memberships" : [
"RTC",
"RTP",
"SRTP"
],
"sources" : [
"Codecs/G7xx.swift",
"Codecs/H264.swift",
"Codecs/Opus.swift",
"Codecs/VP8.swift",
"Extensions/AbsSendTimeExtesnion.swift",
"Extensions/AudioLevelExtension.swift",
"Extensions/TransportCcExtension.swift",
"Extensions/VideoOrientationExtension.swift",
"Header.swift",
"Packet.swift",
"Packetizer.swift",
"RtpError.swift",
"Sequence.swift"
],
"target_dependencies" : [
"Shared"
],
"type" : "library"
},
{
"c99name" : "RTCPTests",
"module_type" : "SwiftTarget",
"name" : "RTCPTests",
"path" : "Tests/RTCPTests",
"sources" : [
"CompoundPacketTests.swift",
"ExtendedReportTests.swift",
"FullIntraRequestTests.swift",
"GoodbyeTests.swift",
"HeaderTests.swift",
"PacketTests.swift",
"PictureLossIndicationTests.swift",
"RapidResynchronizationRequestTests.swift",
"RawPacketTests.swift",
"ReceiverEstimatedMaximumBitrateTests.swift",
"ReceiverReportTests.swift",
"SenderReportTests.swift",
"SliceLossIndicationTests.swift",
"SourceDescriptionTests.swift",
"TransportLayerCcTests.swift",
"TransportLayerNackTests.swift"
],
"target_dependencies" : [
"RTCP"
],
"type" : "test"
},
{
"c99name" : "RTCP",
"module_type" : "SwiftTarget",
"name" : "RTCP",
"path" : "Sources/RTCP",
"product_dependencies" : [
"NIOCore"
],
"product_memberships" : [
"RTCP",
"SRTP"
],
"sources" : [
"CompoundPacket.swift",
"ExtendedReport/DLRRReportBlock.swift",
"ExtendedReport/ExtendedReport.swift",
"ExtendedReport/PacketReceiptTimesReportBlock.swift",
"ExtendedReport/RLEReportBlock.swift",
"ExtendedReport/ReceiverReferenceTimeReportBlock.swift",
"ExtendedReport/StatisticsSummaryReportBlock.swift",
"ExtendedReport/UnknownReportBlock.swift",
"ExtendedReport/VoIPMetricsReportBlock.swift",
"Goodbye.swift",
"Header.swift",
"Packet.swift",
"PayloadFeedbacks/FullIntraRequest.swift",
"PayloadFeedbacks/PictureLossIndication.swift",
"PayloadFeedbacks/ReceiverEstimatedMaximumBitrate.swift",
"PayloadFeedbacks/SliceLossIndication.swift",
"RawPacket.swift",
"ReceiverReport.swift",
"ReceptionReport.swift",
"RtcpError.swift",
"SenderReport.swift",
"SourceDescription.swift",
"TransportFeedbacks/RapidResynchronizationRequest.swift",
"TransportFeedbacks/TransportLayerCc.swift",
"TransportFeedbacks/TransportLayerNack.swift"
],
"target_dependencies" : [
"Shared"
],
"type" : "library"
},
{
"c99name" : "RTC",
"module_type" : "SwiftTarget",
"name" : "RTC",
"path" : "Sources/RTC",
"product_memberships" : [
"RTC"
],
"sources" : [
"Exports.swift"
],
"target_dependencies" : [
"RTP",
"SDP",
"STUN"
],
"type" : "library"
},
{
"c99name" : "DataChannelTests",
"module_type" : "SwiftTarget",
"name" : "DataChannelTests",
"path" : "Tests/DataChannelTests",
"sources" : [
"DataChannelTests.swift"
],
"target_dependencies" : [
"DataChannel"
],
"type" : "test"
},
{
"c99name" : "DataChannel",
"module_type" : "SwiftTarget",
"name" : "DataChannel",
"path" : "Sources/DataChannel",
"product_memberships" : [
"DataChannel"
],
"sources" : [
"DataChannel.swift"
],
"type" : "library"
},
{
"c99name" : "DTLSTests",
"module_type" : "SwiftTarget",
"name" : "DTLSTests",
"path" : "Tests/DTLSTests",
"sources" : [
"DTLSTests.swift"
],
"target_dependencies" : [
"DTLS"
],
"type" : "test"
},
{
"c99name" : "DTLS",
"module_type" : "SwiftTarget",
"name" : "DTLS",
"path" : "Sources/DTLS",
"product_memberships" : [
"DTLS"
],
"sources" : [
"DTLS.swift"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.