The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build RosSwift, reference master (23f491), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 17:43:34 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

 14 | protocol TransportUDP {}
 15 |
 16 | internal final class Subscription {
    |                      `- note: class 'Subscription' does not conform to the 'Sendable' protocol
 17 |     final class CallBackInfo {
 18 |         let callbackQueue: CallbackQueueInterface
    :
292 |             }
293 |
294 |             ROS_DEBUG("Connecting via tcpros to topic [\(self.name)] at host [\(pubHost):\(pubPort)]")
    |                                                          `- warning: capture of 'self' with non-sendable type 'Subscription' in a `@Sendable` closure; this is an error in the Swift 6 language mode
295 |
296 |             DispatchQueue.global().async {
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/Subscription/Subscription.swift:294:58: warning: implicit capture of 'self' requires that 'Subscription' conforms to `Sendable`; this is an error in the Swift 6 language mode
 14 | protocol TransportUDP {}
 15 |
 16 | internal final class Subscription {
    |                      `- note: class 'Subscription' does not conform to the 'Sendable' protocol
 17 |     final class CallBackInfo {
 18 |         let callbackQueue: CallbackQueueInterface
    :
292 |             }
293 |
294 |             ROS_DEBUG("Connecting via tcpros to topic [\(self.name)] at host [\(pubHost):\(pubPort)]")
    |                                                          `- warning: implicit capture of 'self' requires that 'Subscription' conforms to `Sendable`; this is an error in the Swift 6 language mode
295 |
296 |             DispatchQueue.global().async {
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/Subscription/Subscription.swift:297:60: warning: capture of 'self' with non-sendable type 'Subscription' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 14 | protocol TransportUDP {}
 15 |
 16 | internal final class Subscription {
    |                      `- note: class 'Subscription' does not conform to the 'Sendable' protocol
 17 |     final class CallBackInfo {
 18 |         let callbackQueue: CallbackQueueInterface
    :
295 |
296 |             DispatchQueue.global().async {
297 |                 let connection = InboundConnection(parent: self, host: pubHost, port: pubPort)
    |                                                            `- warning: capture of 'self' with non-sendable type 'Subscription' in a `@Sendable` closure; this is an error in the Swift 6 language mode
298 |                 let pubLink = TransportPublisherLink(parent: self, xmlrpcUri: uri, transportHints: self.transportHints)
299 |                 pubLink.initialize(ros: self.ros, connection: connection)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/Subscription/Subscription.swift:301:63: warning: implicit capture of 'self' requires that 'Subscription' conforms to `Sendable`; this is an error in the Swift 6 language mode
 14 | protocol TransportUDP {}
 15 |
 16 | internal final class Subscription {
    |                      `- note: class 'Subscription' does not conform to the 'Sendable' protocol
 17 |     final class CallBackInfo {
 18 |         let callbackQueue: CallbackQueueInterface
    :
299 |                 pubLink.initialize(ros: self.ros, connection: connection)
300 |                 self.publisherLinks.append(pubLink)
301 |                 ROS_DEBUG("Connected to publisher of topic [\(self.name)] at [\(pubHost):\(pubPort)]")
    |                                                               `- warning: implicit capture of 'self' requires that 'Subscription' conforms to `Sendable`; this is an error in the Swift 6 language mode
302 |             }
303 |         })
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/SynchronizedArray.swift:139:13: warning: capture of 'self' with non-sendable type 'SynchronizedArray<Element>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  9 |
 10 | /// A thread-safe array.
 11 | final class SynchronizedArray<Element> {
    |             `- note: generic class 'SynchronizedArray' does not conform to the 'Sendable' protocol
 12 |     fileprivate let queue = DispatchQueue(label: "SynchronizedArray", attributes: .concurrent)
 13 |     fileprivate var array = [Element]()
    :
137 |     func append( _ element: Element) {
138 |         queue.async(flags: .barrier) {
139 |             self.array.append(element)
    |             `- warning: capture of 'self' with non-sendable type 'SynchronizedArray<Element>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
140 |         }
141 |     }
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/SynchronizedArray.swift:139:31: warning: capture of 'element' with non-sendable type 'Element' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  9 |
 10 | /// A thread-safe array.
 11 | final class SynchronizedArray<Element> {
    |                               `- note: consider making generic parameter 'Element' conform to the 'Sendable' protocol
 12 |     fileprivate let queue = DispatchQueue(label: "SynchronizedArray", attributes: .concurrent)
 13 |     fileprivate var array = [Element]()
    :
137 |     func append( _ element: Element) {
138 |         queue.async(flags: .barrier) {
139 |             self.array.append(element)
    |                               `- warning: capture of 'element' with non-sendable type 'Element' in a `@Sendable` closure; this is an error in the Swift 6 language mode
140 |         }
141 |     }
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/SynchronizedArray.swift:148:13: warning: capture of 'self' with non-sendable type 'SynchronizedArray<Element>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  9 |
 10 | /// A thread-safe array.
 11 | final class SynchronizedArray<Element> {
    |             `- note: generic class 'SynchronizedArray' does not conform to the 'Sendable' protocol
 12 |     fileprivate let queue = DispatchQueue(label: "SynchronizedArray", attributes: .concurrent)
 13 |     fileprivate var array = [Element]()
    :
146 |     func append( _ elements: [Element]) {
147 |         queue.async(flags: .barrier) {
148 |             self.array += elements
    |             `- warning: capture of 'self' with non-sendable type 'SynchronizedArray<Element>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
149 |         }
150 |     }
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/SynchronizedArray.swift:148:27: warning: capture of 'elements' with non-sendable type '[Element]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  9 |
 10 | /// A thread-safe array.
 11 | final class SynchronizedArray<Element> {
    |                               `- note: consider making generic parameter 'Element' conform to the 'Sendable' protocol
 12 |     fileprivate let queue = DispatchQueue(label: "SynchronizedArray", attributes: .concurrent)
 13 |     fileprivate var array = [Element]()
    :
146 |     func append( _ elements: [Element]) {
147 |         queue.async(flags: .barrier) {
148 |             self.array += elements
    |                           `- warning: capture of 'elements' with non-sendable type '[Element]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
149 |         }
150 |     }
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/SynchronizedArray.swift:159:13: warning: capture of 'self' with non-sendable type 'SynchronizedArray<Element>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  9 |
 10 | /// A thread-safe array.
 11 | final class SynchronizedArray<Element> {
    |             `- note: generic class 'SynchronizedArray' does not conform to the 'Sendable' protocol
 12 |     fileprivate let queue = DispatchQueue(label: "SynchronizedArray", attributes: .concurrent)
 13 |     fileprivate var array = [Element]()
    :
157 |     func insert( _ element: Element, at index: Int) {
158 |         queue.async(flags: .barrier) {
159 |             self.array.insert(element, at: index)
    |             `- warning: capture of 'self' with non-sendable type 'SynchronizedArray<Element>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
160 |         }
161 |     }
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/SynchronizedArray.swift:159:31: warning: capture of 'element' with non-sendable type 'Element' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  9 |
 10 | /// A thread-safe array.
 11 | final class SynchronizedArray<Element> {
    |                               `- note: consider making generic parameter 'Element' conform to the 'Sendable' protocol
 12 |     fileprivate let queue = DispatchQueue(label: "SynchronizedArray", attributes: .concurrent)
 13 |     fileprivate var array = [Element]()
    :
157 |     func insert( _ element: Element, at index: Int) {
158 |         queue.async(flags: .barrier) {
159 |             self.array.insert(element, at: index)
    |                               `- warning: capture of 'element' with non-sendable type 'Element' in a `@Sendable` closure; this is an error in the Swift 6 language mode
160 |         }
161 |     }
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/SynchronizedArray.swift:170:27: warning: capture of 'self' with non-sendable type 'SynchronizedArray<Element>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  9 |
 10 | /// A thread-safe array.
 11 | final class SynchronizedArray<Element> {
    |             `- note: generic class 'SynchronizedArray' does not conform to the 'Sendable' protocol
 12 |     fileprivate let queue = DispatchQueue(label: "SynchronizedArray", attributes: .concurrent)
 13 |     fileprivate var array = [Element]()
    :
168 |     func remove(at index: Int, completion: ((Element) -> Void)? = nil) {
169 |         queue.async(flags: .barrier) {
170 |             let element = self.array.remove(at: index)
    |                           `- warning: capture of 'self' with non-sendable type 'SynchronizedArray<Element>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
171 |
172 |             // must do this to decrease the retain count of element
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/SynchronizedArray.swift:173:16: warning: capture of 'completion' with non-sendable type '((Element) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
171 |
172 |             // must do this to decrease the retain count of element
173 |             if completion != nil {
    |                |- warning: capture of 'completion' with non-sendable type '((Element) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
174 |                 DispatchQueue(label: "removing").async {
175 |                     completion?(element)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/SynchronizedArray.swift:175:21: warning: capture of 'completion' with non-sendable type '((Element) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
173 |             if completion != nil {
174 |                 DispatchQueue(label: "removing").async {
175 |                     completion?(element)
    |                     |- warning: capture of 'completion' with non-sendable type '((Element) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
176 |                 }
177 |             }
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/SynchronizedArray.swift:175:33: warning: capture of 'element' with non-sendable type 'Element' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  9 |
 10 | /// A thread-safe array.
 11 | final class SynchronizedArray<Element> {
    |                               `- note: consider making generic parameter 'Element' conform to the 'Sendable' protocol
 12 |     fileprivate let queue = DispatchQueue(label: "SynchronizedArray", attributes: .concurrent)
 13 |     fileprivate var array = [Element]()
    :
173 |             if completion != nil {
174 |                 DispatchQueue(label: "removing").async {
175 |                     completion?(element)
    |                                 `- warning: capture of 'element' with non-sendable type 'Element' in a `@Sendable` closure; this is an error in the Swift 6 language mode
176 |                 }
177 |             }
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/SynchronizedArray.swift:188:31: warning: capture of 'self' with non-sendable type 'SynchronizedArray<Element>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  9 |
 10 | /// A thread-safe array.
 11 | final class SynchronizedArray<Element> {
    |             `- note: generic class 'SynchronizedArray' does not conform to the 'Sendable' protocol
 12 |     fileprivate let queue = DispatchQueue(label: "SynchronizedArray", attributes: .concurrent)
 13 |     fileprivate var array = [Element]()
    :
186 |     func remove(where predicate: @escaping (Element) -> Bool, completion: ((Element) -> Void)? = nil) {
187 |         queue.async(flags: .barrier) {
188 |             guard let index = self.array.firstIndex(where: predicate) else {
    |                               `- warning: capture of 'self' with non-sendable type 'SynchronizedArray<Element>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
189 |                 return
190 |             }
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/SynchronizedArray.swift:188:60: warning: capture of 'predicate' with non-sendable type '(Element) -> Bool' in a `@Sendable` closure; this is an error in the Swift 6 language mode
186 |     func remove(where predicate: @escaping (Element) -> Bool, completion: ((Element) -> Void)? = nil) {
187 |         queue.async(flags: .barrier) {
188 |             guard let index = self.array.firstIndex(where: predicate) else {
    |                                                            |- warning: capture of 'predicate' with non-sendable type '(Element) -> Bool' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                                                            `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
189 |                 return
190 |             }
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/SynchronizedArray.swift:192:16: warning: capture of 'completion' with non-sendable type '((Element) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
190 |             }
191 |             let element = self.array.remove(at: index)
192 |             if completion != nil {
    |                |- warning: capture of 'completion' with non-sendable type '((Element) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
193 |                 DispatchQueue(label: "removing").async {
194 |                     completion?(element)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/SynchronizedArray.swift:194:21: warning: capture of 'completion' with non-sendable type '((Element) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
192 |             if completion != nil {
193 |                 DispatchQueue(label: "removing").async {
194 |                     completion?(element)
    |                     |- warning: capture of 'completion' with non-sendable type '((Element) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
195 |                 }
196 |             }
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/SynchronizedArray.swift:194:33: warning: capture of 'element' with non-sendable type 'Element' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  9 |
 10 | /// A thread-safe array.
 11 | final class SynchronizedArray<Element> {
    |                               `- note: consider making generic parameter 'Element' conform to the 'Sendable' protocol
 12 |     fileprivate let queue = DispatchQueue(label: "SynchronizedArray", attributes: .concurrent)
 13 |     fileprivate var array = [Element]()
    :
192 |             if completion != nil {
193 |                 DispatchQueue(label: "removing").async {
194 |                     completion?(element)
    |                                 `- warning: capture of 'element' with non-sendable type 'Element' in a `@Sendable` closure; this is an error in the Swift 6 language mode
195 |                 }
196 |             }
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/SynchronizedArray.swift:205:28: warning: capture of 'self' with non-sendable type 'SynchronizedArray<Element>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  9 |
 10 | /// A thread-safe array.
 11 | final class SynchronizedArray<Element> {
    |             `- note: generic class 'SynchronizedArray' does not conform to the 'Sendable' protocol
 12 |     fileprivate let queue = DispatchQueue(label: "SynchronizedArray", attributes: .concurrent)
 13 |     fileprivate var array = [Element]()
    :
203 |     func removeAll(completion: (([Element]) -> Void)? = nil) {
204 |         queue.async(flags: .barrier) {
205 |             let elements = self.array
    |                            `- warning: capture of 'self' with non-sendable type 'SynchronizedArray<Element>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
206 |             self.array.removeAll()
207 |             if completion != nil {
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/SynchronizedArray.swift:207:16: warning: capture of 'completion' with non-sendable type '(([Element]) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
205 |             let elements = self.array
206 |             self.array.removeAll()
207 |             if completion != nil {
    |                |- warning: capture of 'completion' with non-sendable type '(([Element]) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
208 |                 DispatchQueue(label: "removing").async {
209 |                     completion?(elements)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/SynchronizedArray.swift:209:21: warning: capture of 'completion' with non-sendable type '(([Element]) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
207 |             if completion != nil {
208 |                 DispatchQueue(label: "removing").async {
209 |                     completion?(elements)
    |                     |- warning: capture of 'completion' with non-sendable type '(([Element]) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
210 |                 }
211 |             }
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/SynchronizedArray.swift:209:33: warning: capture of 'elements' with non-sendable type '[Element]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  9 |
 10 | /// A thread-safe array.
 11 | final class SynchronizedArray<Element> {
    |                               `- note: consider making generic parameter 'Element' conform to the 'Sendable' protocol
 12 |     fileprivate let queue = DispatchQueue(label: "SynchronizedArray", attributes: .concurrent)
 13 |     fileprivate var array = [Element]()
    :
207 |             if completion != nil {
208 |                 DispatchQueue(label: "removing").async {
209 |                     completion?(elements)
    |                                 `- warning: capture of 'elements' with non-sendable type '[Element]' in a `@Sendable` closure; this is an error in the Swift 6 language mode
210 |                 }
211 |             }
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/SynchronizedArray.swift:241:17: warning: capture of 'self' with non-sendable type 'SynchronizedArray<Element>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  9 |
 10 | /// A thread-safe array.
 11 | final class SynchronizedArray<Element> {
    |             `- note: generic class 'SynchronizedArray' does not conform to the 'Sendable' protocol
 12 |     fileprivate let queue = DispatchQueue(label: "SynchronizedArray", attributes: .concurrent)
 13 |     fileprivate var array = [Element]()
    :
239 |
240 |             queue.async(flags: .barrier) {
241 |                 self.array[index] = newValue
    |                 `- warning: capture of 'self' with non-sendable type 'SynchronizedArray<Element>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
242 |             }
243 |         }
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/SynchronizedArray.swift:241:37: warning: capture of 'newValue' with non-sendable type 'Element' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  9 |
 10 | /// A thread-safe array.
 11 | final class SynchronizedArray<Element> {
    |                               `- note: consider making generic parameter 'Element' conform to the 'Sendable' protocol
 12 |     fileprivate let queue = DispatchQueue(label: "SynchronizedArray", attributes: .concurrent)
 13 |     fileprivate var array = [Element]()
    :
239 |
240 |             queue.async(flags: .barrier) {
241 |                 self.array[index] = newValue
    |                                     `- warning: capture of 'newValue' with non-sendable type 'Element' in a `@Sendable` closure; this is an error in the Swift 6 language mode
242 |             }
243 |         }
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/Timer.swift:43:24: warning: static property 'manager' is not concurrency-safe because non-'Sendable' type 'TimerManager<Time, RosDuration, TimerEvent>' may have shared mutable state; this is an error in the Swift 6 language mode
 41 |
 42 | public final class Timer {
 43 |     private static let manager = TimerManager<Time,RosDuration,TimerEvent>()
    |                        |- warning: static property 'manager' is not concurrency-safe because non-'Sendable' type 'TimerManager<Time, RosDuration, TimerEvent>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: annotate 'manager' with '@MainActor' if property should only be accessed from the main actor
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 44 |
 45 |     private var started: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TimerManager.swift:13:13: note: generic class 'TimerManager' does not conform to the 'Sendable' protocol
 11 | typealias InternalTimerManager = TimerManager<SteadyTime, WallDuration, SteadyTimerEvent>
 12 |
 13 | final class TimerManager<T, D: BasicDurationBase, E: Event> where E.EventTime == T {
    |             `- note: generic class 'TimerManager' does not conform to the 'Sendable' protocol
 14 |     var timers: [TimerHandle: TimerInfo] = [:]
 15 |     let timersMutex = DispatchQueue(label: "TimerManager", attributes: .concurrent)
[624/641] Compiling RosSwift TimerEvent.swift
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TimerManager.swift:5:5: warning: let 'gTimerManager' is not concurrency-safe because non-'Sendable' type 'InternalTimerManager' (aka 'TimerManager<SteadyTime, WallDuration, SteadyTimerEvent>') may have shared mutable state; this is an error in the Swift 6 language mode
  3 | import Atomics
  4 |
  5 | let gTimerManager = InternalTimerManager()
    |     |- warning: let 'gTimerManager' is not concurrency-safe because non-'Sendable' type 'InternalTimerManager' (aka 'TimerManager<SteadyTime, WallDuration, SteadyTimerEvent>') may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: annotate 'gTimerManager' with '@MainActor' if property should only be accessed from the main actor
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  6 |
  7 | func getInternalTimerManager() -> InternalTimerManager {
    :
 11 | typealias InternalTimerManager = TimerManager<SteadyTime, WallDuration, SteadyTimerEvent>
 12 |
 13 | final class TimerManager<T, D: BasicDurationBase, E: Event> where E.EventTime == T {
    |             `- note: generic class 'TimerManager' does not conform to the 'Sendable' protocol
 14 |     var timers: [TimerHandle: TimerInfo] = [:]
 15 |     let timersMutex = DispatchQueue(label: "TimerManager", attributes: .concurrent)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TimerManager.swift:86:40: warning: converting non-sendable function value to '@Sendable () -> Void' may introduce data races
 84 |             timers[handle] = info
 85 |             if !threadStarted {
 86 |                 thread = Thread(block: threadFunc)
    |                                        `- warning: converting non-sendable function value to '@Sendable () -> Void' may introduce data races
 87 |                 thread?.start()
 88 |                 threadStarted = true
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TopicManager.swift:259:97: warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
257 |         let args = XmlRpcValue(anyArray: [ros.name, topic, xmlrpcManager.serverURI])
258 |         do {
259 |             let response = try ros.master.execute(method: "unregisterPublisher", request: args).wait()
    |                                                                                                 `- warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
260 |             ROS_DEBUG("response = \(response)")
261 |         } catch {
/Users/admin/builder/spi-builder-workspace/Sources/rpcobject/XmlRpcValue.swift:16:13: note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 14 | /// Remote Procedure Call (RPC) Object
 15 |
 16 | public enum XmlRpcValue: Equatable, ConvertableToXml {
    |             `- note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 17 |     case invalid
 18 |     case boolean(Bool)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TopicManager.swift:11:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'rpcobject'
  9 | import Foundation
 10 | import StdMsgs
 11 | import rpcobject
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'rpcobject'
 12 | import RosTime
 13 |
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TopicManager.swift:384:91: warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
382 |         var payload = XmlRpcValue()
383 |         do {
384 |             payload = try ros.master.execute(method: "registerSubscriber", request: args).wait()
    |                                                                                           `- warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
385 |         } catch {
386 |             ROS_ERROR("registerSubscriber \(error)")
/Users/admin/builder/spi-builder-workspace/Sources/rpcobject/XmlRpcValue.swift:16:13: note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 14 | /// Remote Procedure Call (RPC) Object
 15 |
 16 | public enum XmlRpcValue: Equatable, ConvertableToXml {
    |             `- note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 17 |     case invalid
 18 |     case boolean(Bool)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TopicManager.swift:496:90: warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
494 |         var payload = XmlRpcValue()
495 |         do {
496 |             payload = try ros.master.execute(method: "registerPublisher", request: args).wait()
    |                                                                                          `- warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
497 |         } catch {
498 |             ROS_ERROR("registerPublisher \(error)")
/Users/admin/builder/spi-builder-workspace/Sources/rpcobject/XmlRpcValue.swift:16:13: note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 14 | /// Remote Procedure Call (RPC) Object
 15 |
 16 | public enum XmlRpcValue: Equatable, ConvertableToXml {
    |             `- note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 17 |     case invalid
 18 |     case boolean(Bool)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TopicManager.swift:488:21: warning: capture of 'it' with non-sendable type 'Subscription' in a `@Sendable` closure; this is an error in the Swift 6 language mode
486 |             }) {
487 |                 DispatchQueue(label: "adding").async {
488 |                     it.add(ros: self.ros, localConnection: pub)
    |                     `- warning: capture of 'it' with non-sendable type 'Subscription' in a `@Sendable` closure; this is an error in the Swift 6 language mode
489 |                 }
490 |             }
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/Subscription/Subscription.swift:16:22: note: class 'Subscription' does not conform to the 'Sendable' protocol
 14 | protocol TransportUDP {}
 15 |
 16 | internal final class Subscription {
    |                      `- note: class 'Subscription' does not conform to the 'Sendable' protocol
 17 |     final class CallBackInfo {
 18 |         let callbackQueue: CallbackQueueInterface
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TopicManager.swift:488:33: warning: capture of 'self' with non-sendable type 'TopicManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 24 | }
 25 |
 26 | internal final class TopicManager {
    |                      `- note: class 'TopicManager' does not conform to the 'Sendable' protocol
 27 |
 28 |     let advertisedTopicsMutex = NSRecursiveLock()
    :
486 |             }) {
487 |                 DispatchQueue(label: "adding").async {
488 |                     it.add(ros: self.ros, localConnection: pub)
    |                                 `- warning: capture of 'self' with non-sendable type 'TopicManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
489 |                 }
490 |             }
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TopicManager.swift:488:60: warning: capture of 'pub' with non-sendable type 'Publication' in a `@Sendable` closure; this is an error in the Swift 6 language mode
486 |             }) {
487 |                 DispatchQueue(label: "adding").async {
488 |                     it.add(ros: self.ros, localConnection: pub)
    |                                                            `- warning: capture of 'pub' with non-sendable type 'Publication' in a `@Sendable` closure; this is an error in the Swift 6 language mode
489 |                 }
490 |             }
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/Publication.swift:51:13: note: class 'Publication' does not conform to the 'Sendable' protocol
 49 | }
 50 |
 51 | final class Publication {
    |             `- note: class 'Publication' does not conform to the 'Sendable' protocol
 52 |     let name: String
 53 |     let datatype: String
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TransportPublisherLink.swift:60:55: warning: capture of 'self' with non-sendable type 'TransportPublisherLink' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 9 | import StdMsgs
10 |
11 | final class TransportPublisherLink: PublisherLink {
   |             `- note: class 'TransportPublisherLink' does not conform to the 'Sendable' protocol
12 |     var parent: Subscription
13 |     var connectionId: Int
   :
58 |             switch result {
59 |             case .success:
60 |                 ROS_DEBUG("Header written for topic \(self.parent.name)")
   |                                                       `- warning: capture of 'self' with non-sendable type 'TransportPublisherLink' in a `@Sendable` closure; this is an error in the Swift 6 language mode
61 |             case .failure(let error):
62 |                 ROS_ERROR("failed to write header: \(error)")
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TransportPublisherLink.swift:60:55: warning: implicit capture of 'self' requires that 'TransportPublisherLink' conforms to `Sendable`; this is an error in the Swift 6 language mode
 9 | import StdMsgs
10 |
11 | final class TransportPublisherLink: PublisherLink {
   |             `- note: class 'TransportPublisherLink' does not conform to the 'Sendable' protocol
12 |     var parent: Subscription
13 |     var connectionId: Int
   :
58 |             switch result {
59 |             case .success:
60 |                 ROS_DEBUG("Header written for topic \(self.parent.name)")
   |                                                       `- warning: implicit capture of 'self' requires that 'TransportPublisherLink' conforms to `Sendable`; this is an error in the Swift 6 language mode
61 |             case .failure(let error):
62 |                 ROS_ERROR("failed to write header: \(error)")
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TransportSubscriberLink.swift:79:34: warning: capture of 'm' with non-sendable type 'SerializedMessage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
77 |     func enqueueMessage(m: SerializedMessage) {
78 |         connection.write(buffer: m.buf).whenFailure({ error in
79 |             ROS_ERROR("writing \(m), \(error)")
   |                                  `- warning: capture of 'm' with non-sendable type 'SerializedMessage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
80 |         })
81 |     }
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/SerializedMessage.swift:12:20: note: class 'SerializedMessage' does not conform to the 'Sendable' protocol
10 | import LoggerAPI
11 |
12 | public final class SerializedMessage {
   |                    `- note: class 'SerializedMessage' does not conform to the 'Sendable' protocol
13 |     public var buf : [UInt8]
14 |     public var message : Message?
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TransportSubscriberLink.swift:79:34: warning: implicit capture of 'm' requires that 'SerializedMessage' conforms to `Sendable`; this is an error in the Swift 6 language mode
77 |     func enqueueMessage(m: SerializedMessage) {
78 |         connection.write(buffer: m.buf).whenFailure({ error in
79 |             ROS_ERROR("writing \(m), \(error)")
   |                                  `- warning: implicit capture of 'm' requires that 'SerializedMessage' conforms to `Sendable`; this is an error in the Swift 6 language mode
80 |         })
81 |     }
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/SerializedMessage.swift:12:20: note: class 'SerializedMessage' does not conform to the 'Sendable' protocol
10 | import LoggerAPI
11 |
12 | public final class SerializedMessage {
   |                    `- note: class 'SerializedMessage' does not conform to the 'Sendable' protocol
13 |     public var buf : [UInt8]
14 |     public var message : Message?
[625/641] Compiling RosSwift TimerManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TimerManager.swift:5:5: warning: let 'gTimerManager' is not concurrency-safe because non-'Sendable' type 'InternalTimerManager' (aka 'TimerManager<SteadyTime, WallDuration, SteadyTimerEvent>') may have shared mutable state; this is an error in the Swift 6 language mode
  3 | import Atomics
  4 |
  5 | let gTimerManager = InternalTimerManager()
    |     |- warning: let 'gTimerManager' is not concurrency-safe because non-'Sendable' type 'InternalTimerManager' (aka 'TimerManager<SteadyTime, WallDuration, SteadyTimerEvent>') may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: annotate 'gTimerManager' with '@MainActor' if property should only be accessed from the main actor
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  6 |
  7 | func getInternalTimerManager() -> InternalTimerManager {
    :
 11 | typealias InternalTimerManager = TimerManager<SteadyTime, WallDuration, SteadyTimerEvent>
 12 |
 13 | final class TimerManager<T, D: BasicDurationBase, E: Event> where E.EventTime == T {
    |             `- note: generic class 'TimerManager' does not conform to the 'Sendable' protocol
 14 |     var timers: [TimerHandle: TimerInfo] = [:]
 15 |     let timersMutex = DispatchQueue(label: "TimerManager", attributes: .concurrent)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TimerManager.swift:86:40: warning: converting non-sendable function value to '@Sendable () -> Void' may introduce data races
 84 |             timers[handle] = info
 85 |             if !threadStarted {
 86 |                 thread = Thread(block: threadFunc)
    |                                        `- warning: converting non-sendable function value to '@Sendable () -> Void' may introduce data races
 87 |                 thread?.start()
 88 |                 threadStarted = true
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TopicManager.swift:259:97: warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
257 |         let args = XmlRpcValue(anyArray: [ros.name, topic, xmlrpcManager.serverURI])
258 |         do {
259 |             let response = try ros.master.execute(method: "unregisterPublisher", request: args).wait()
    |                                                                                                 `- warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
260 |             ROS_DEBUG("response = \(response)")
261 |         } catch {
/Users/admin/builder/spi-builder-workspace/Sources/rpcobject/XmlRpcValue.swift:16:13: note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 14 | /// Remote Procedure Call (RPC) Object
 15 |
 16 | public enum XmlRpcValue: Equatable, ConvertableToXml {
    |             `- note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 17 |     case invalid
 18 |     case boolean(Bool)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TopicManager.swift:11:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'rpcobject'
  9 | import Foundation
 10 | import StdMsgs
 11 | import rpcobject
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'rpcobject'
 12 | import RosTime
 13 |
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TopicManager.swift:384:91: warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
382 |         var payload = XmlRpcValue()
383 |         do {
384 |             payload = try ros.master.execute(method: "registerSubscriber", request: args).wait()
    |                                                                                           `- warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
385 |         } catch {
386 |             ROS_ERROR("registerSubscriber \(error)")
/Users/admin/builder/spi-builder-workspace/Sources/rpcobject/XmlRpcValue.swift:16:13: note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 14 | /// Remote Procedure Call (RPC) Object
 15 |
 16 | public enum XmlRpcValue: Equatable, ConvertableToXml {
    |             `- note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 17 |     case invalid
 18 |     case boolean(Bool)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TopicManager.swift:496:90: warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
494 |         var payload = XmlRpcValue()
495 |         do {
496 |             payload = try ros.master.execute(method: "registerPublisher", request: args).wait()
    |                                                                                          `- warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
497 |         } catch {
498 |             ROS_ERROR("registerPublisher \(error)")
/Users/admin/builder/spi-builder-workspace/Sources/rpcobject/XmlRpcValue.swift:16:13: note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 14 | /// Remote Procedure Call (RPC) Object
 15 |
 16 | public enum XmlRpcValue: Equatable, ConvertableToXml {
    |             `- note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 17 |     case invalid
 18 |     case boolean(Bool)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TopicManager.swift:488:21: warning: capture of 'it' with non-sendable type 'Subscription' in a `@Sendable` closure; this is an error in the Swift 6 language mode
486 |             }) {
487 |                 DispatchQueue(label: "adding").async {
488 |                     it.add(ros: self.ros, localConnection: pub)
    |                     `- warning: capture of 'it' with non-sendable type 'Subscription' in a `@Sendable` closure; this is an error in the Swift 6 language mode
489 |                 }
490 |             }
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/Subscription/Subscription.swift:16:22: note: class 'Subscription' does not conform to the 'Sendable' protocol
 14 | protocol TransportUDP {}
 15 |
 16 | internal final class Subscription {
    |                      `- note: class 'Subscription' does not conform to the 'Sendable' protocol
 17 |     final class CallBackInfo {
 18 |         let callbackQueue: CallbackQueueInterface
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TopicManager.swift:488:33: warning: capture of 'self' with non-sendable type 'TopicManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 24 | }
 25 |
 26 | internal final class TopicManager {
    |                      `- note: class 'TopicManager' does not conform to the 'Sendable' protocol
 27 |
 28 |     let advertisedTopicsMutex = NSRecursiveLock()
    :
486 |             }) {
487 |                 DispatchQueue(label: "adding").async {
488 |                     it.add(ros: self.ros, localConnection: pub)
    |                                 `- warning: capture of 'self' with non-sendable type 'TopicManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
489 |                 }
490 |             }
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TopicManager.swift:488:60: warning: capture of 'pub' with non-sendable type 'Publication' in a `@Sendable` closure; this is an error in the Swift 6 language mode
486 |             }) {
487 |                 DispatchQueue(label: "adding").async {
488 |                     it.add(ros: self.ros, localConnection: pub)
    |                                                            `- warning: capture of 'pub' with non-sendable type 'Publication' in a `@Sendable` closure; this is an error in the Swift 6 language mode
489 |                 }
490 |             }
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/Publication.swift:51:13: note: class 'Publication' does not conform to the 'Sendable' protocol
 49 | }
 50 |
 51 | final class Publication {
    |             `- note: class 'Publication' does not conform to the 'Sendable' protocol
 52 |     let name: String
 53 |     let datatype: String
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TransportPublisherLink.swift:60:55: warning: capture of 'self' with non-sendable type 'TransportPublisherLink' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 9 | import StdMsgs
10 |
11 | final class TransportPublisherLink: PublisherLink {
   |             `- note: class 'TransportPublisherLink' does not conform to the 'Sendable' protocol
12 |     var parent: Subscription
13 |     var connectionId: Int
   :
58 |             switch result {
59 |             case .success:
60 |                 ROS_DEBUG("Header written for topic \(self.parent.name)")
   |                                                       `- warning: capture of 'self' with non-sendable type 'TransportPublisherLink' in a `@Sendable` closure; this is an error in the Swift 6 language mode
61 |             case .failure(let error):
62 |                 ROS_ERROR("failed to write header: \(error)")
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TransportPublisherLink.swift:60:55: warning: implicit capture of 'self' requires that 'TransportPublisherLink' conforms to `Sendable`; this is an error in the Swift 6 language mode
 9 | import StdMsgs
10 |
11 | final class TransportPublisherLink: PublisherLink {
   |             `- note: class 'TransportPublisherLink' does not conform to the 'Sendable' protocol
12 |     var parent: Subscription
13 |     var connectionId: Int
   :
58 |             switch result {
59 |             case .success:
60 |                 ROS_DEBUG("Header written for topic \(self.parent.name)")
   |                                                       `- warning: implicit capture of 'self' requires that 'TransportPublisherLink' conforms to `Sendable`; this is an error in the Swift 6 language mode
61 |             case .failure(let error):
62 |                 ROS_ERROR("failed to write header: \(error)")
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TransportSubscriberLink.swift:79:34: warning: capture of 'm' with non-sendable type 'SerializedMessage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
77 |     func enqueueMessage(m: SerializedMessage) {
78 |         connection.write(buffer: m.buf).whenFailure({ error in
79 |             ROS_ERROR("writing \(m), \(error)")
   |                                  `- warning: capture of 'm' with non-sendable type 'SerializedMessage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
80 |         })
81 |     }
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/SerializedMessage.swift:12:20: note: class 'SerializedMessage' does not conform to the 'Sendable' protocol
10 | import LoggerAPI
11 |
12 | public final class SerializedMessage {
   |                    `- note: class 'SerializedMessage' does not conform to the 'Sendable' protocol
13 |     public var buf : [UInt8]
14 |     public var message : Message?
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TransportSubscriberLink.swift:79:34: warning: implicit capture of 'm' requires that 'SerializedMessage' conforms to `Sendable`; this is an error in the Swift 6 language mode
77 |     func enqueueMessage(m: SerializedMessage) {
78 |         connection.write(buffer: m.buf).whenFailure({ error in
79 |             ROS_ERROR("writing \(m), \(error)")
   |                                  `- warning: implicit capture of 'm' requires that 'SerializedMessage' conforms to `Sendable`; this is an error in the Swift 6 language mode
80 |         })
81 |     }
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/SerializedMessage.swift:12:20: note: class 'SerializedMessage' does not conform to the 'Sendable' protocol
10 | import LoggerAPI
11 |
12 | public final class SerializedMessage {
   |                    `- note: class 'SerializedMessage' does not conform to the 'Sendable' protocol
13 |     public var buf : [UInt8]
14 |     public var message : Message?
[626/641] Compiling RosSwift TopicManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TimerManager.swift:5:5: warning: let 'gTimerManager' is not concurrency-safe because non-'Sendable' type 'InternalTimerManager' (aka 'TimerManager<SteadyTime, WallDuration, SteadyTimerEvent>') may have shared mutable state; this is an error in the Swift 6 language mode
  3 | import Atomics
  4 |
  5 | let gTimerManager = InternalTimerManager()
    |     |- warning: let 'gTimerManager' is not concurrency-safe because non-'Sendable' type 'InternalTimerManager' (aka 'TimerManager<SteadyTime, WallDuration, SteadyTimerEvent>') may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: annotate 'gTimerManager' with '@MainActor' if property should only be accessed from the main actor
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  6 |
  7 | func getInternalTimerManager() -> InternalTimerManager {
    :
 11 | typealias InternalTimerManager = TimerManager<SteadyTime, WallDuration, SteadyTimerEvent>
 12 |
 13 | final class TimerManager<T, D: BasicDurationBase, E: Event> where E.EventTime == T {
    |             `- note: generic class 'TimerManager' does not conform to the 'Sendable' protocol
 14 |     var timers: [TimerHandle: TimerInfo] = [:]
 15 |     let timersMutex = DispatchQueue(label: "TimerManager", attributes: .concurrent)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TimerManager.swift:86:40: warning: converting non-sendable function value to '@Sendable () -> Void' may introduce data races
 84 |             timers[handle] = info
 85 |             if !threadStarted {
 86 |                 thread = Thread(block: threadFunc)
    |                                        `- warning: converting non-sendable function value to '@Sendable () -> Void' may introduce data races
 87 |                 thread?.start()
 88 |                 threadStarted = true
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TopicManager.swift:259:97: warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
257 |         let args = XmlRpcValue(anyArray: [ros.name, topic, xmlrpcManager.serverURI])
258 |         do {
259 |             let response = try ros.master.execute(method: "unregisterPublisher", request: args).wait()
    |                                                                                                 `- warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
260 |             ROS_DEBUG("response = \(response)")
261 |         } catch {
/Users/admin/builder/spi-builder-workspace/Sources/rpcobject/XmlRpcValue.swift:16:13: note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 14 | /// Remote Procedure Call (RPC) Object
 15 |
 16 | public enum XmlRpcValue: Equatable, ConvertableToXml {
    |             `- note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 17 |     case invalid
 18 |     case boolean(Bool)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TopicManager.swift:11:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'rpcobject'
  9 | import Foundation
 10 | import StdMsgs
 11 | import rpcobject
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'rpcobject'
 12 | import RosTime
 13 |
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TopicManager.swift:384:91: warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
382 |         var payload = XmlRpcValue()
383 |         do {
384 |             payload = try ros.master.execute(method: "registerSubscriber", request: args).wait()
    |                                                                                           `- warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
385 |         } catch {
386 |             ROS_ERROR("registerSubscriber \(error)")
/Users/admin/builder/spi-builder-workspace/Sources/rpcobject/XmlRpcValue.swift:16:13: note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 14 | /// Remote Procedure Call (RPC) Object
 15 |
 16 | public enum XmlRpcValue: Equatable, ConvertableToXml {
    |             `- note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 17 |     case invalid
 18 |     case boolean(Bool)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TopicManager.swift:496:90: warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
494 |         var payload = XmlRpcValue()
495 |         do {
496 |             payload = try ros.master.execute(method: "registerPublisher", request: args).wait()
    |                                                                                          `- warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
497 |         } catch {
498 |             ROS_ERROR("registerPublisher \(error)")
/Users/admin/builder/spi-builder-workspace/Sources/rpcobject/XmlRpcValue.swift:16:13: note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 14 | /// Remote Procedure Call (RPC) Object
 15 |
 16 | public enum XmlRpcValue: Equatable, ConvertableToXml {
    |             `- note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 17 |     case invalid
 18 |     case boolean(Bool)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TopicManager.swift:488:21: warning: capture of 'it' with non-sendable type 'Subscription' in a `@Sendable` closure; this is an error in the Swift 6 language mode
486 |             }) {
487 |                 DispatchQueue(label: "adding").async {
488 |                     it.add(ros: self.ros, localConnection: pub)
    |                     `- warning: capture of 'it' with non-sendable type 'Subscription' in a `@Sendable` closure; this is an error in the Swift 6 language mode
489 |                 }
490 |             }
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/Subscription/Subscription.swift:16:22: note: class 'Subscription' does not conform to the 'Sendable' protocol
 14 | protocol TransportUDP {}
 15 |
 16 | internal final class Subscription {
    |                      `- note: class 'Subscription' does not conform to the 'Sendable' protocol
 17 |     final class CallBackInfo {
 18 |         let callbackQueue: CallbackQueueInterface
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TopicManager.swift:488:33: warning: capture of 'self' with non-sendable type 'TopicManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 24 | }
 25 |
 26 | internal final class TopicManager {
    |                      `- note: class 'TopicManager' does not conform to the 'Sendable' protocol
 27 |
 28 |     let advertisedTopicsMutex = NSRecursiveLock()
    :
486 |             }) {
487 |                 DispatchQueue(label: "adding").async {
488 |                     it.add(ros: self.ros, localConnection: pub)
    |                                 `- warning: capture of 'self' with non-sendable type 'TopicManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
489 |                 }
490 |             }
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TopicManager.swift:488:60: warning: capture of 'pub' with non-sendable type 'Publication' in a `@Sendable` closure; this is an error in the Swift 6 language mode
486 |             }) {
487 |                 DispatchQueue(label: "adding").async {
488 |                     it.add(ros: self.ros, localConnection: pub)
    |                                                            `- warning: capture of 'pub' with non-sendable type 'Publication' in a `@Sendable` closure; this is an error in the Swift 6 language mode
489 |                 }
490 |             }
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/Publication.swift:51:13: note: class 'Publication' does not conform to the 'Sendable' protocol
 49 | }
 50 |
 51 | final class Publication {
    |             `- note: class 'Publication' does not conform to the 'Sendable' protocol
 52 |     let name: String
 53 |     let datatype: String
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TransportPublisherLink.swift:60:55: warning: capture of 'self' with non-sendable type 'TransportPublisherLink' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 9 | import StdMsgs
10 |
11 | final class TransportPublisherLink: PublisherLink {
   |             `- note: class 'TransportPublisherLink' does not conform to the 'Sendable' protocol
12 |     var parent: Subscription
13 |     var connectionId: Int
   :
58 |             switch result {
59 |             case .success:
60 |                 ROS_DEBUG("Header written for topic \(self.parent.name)")
   |                                                       `- warning: capture of 'self' with non-sendable type 'TransportPublisherLink' in a `@Sendable` closure; this is an error in the Swift 6 language mode
61 |             case .failure(let error):
62 |                 ROS_ERROR("failed to write header: \(error)")
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TransportPublisherLink.swift:60:55: warning: implicit capture of 'self' requires that 'TransportPublisherLink' conforms to `Sendable`; this is an error in the Swift 6 language mode
 9 | import StdMsgs
10 |
11 | final class TransportPublisherLink: PublisherLink {
   |             `- note: class 'TransportPublisherLink' does not conform to the 'Sendable' protocol
12 |     var parent: Subscription
13 |     var connectionId: Int
   :
58 |             switch result {
59 |             case .success:
60 |                 ROS_DEBUG("Header written for topic \(self.parent.name)")
   |                                                       `- warning: implicit capture of 'self' requires that 'TransportPublisherLink' conforms to `Sendable`; this is an error in the Swift 6 language mode
61 |             case .failure(let error):
62 |                 ROS_ERROR("failed to write header: \(error)")
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TransportSubscriberLink.swift:79:34: warning: capture of 'm' with non-sendable type 'SerializedMessage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
77 |     func enqueueMessage(m: SerializedMessage) {
78 |         connection.write(buffer: m.buf).whenFailure({ error in
79 |             ROS_ERROR("writing \(m), \(error)")
   |                                  `- warning: capture of 'm' with non-sendable type 'SerializedMessage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
80 |         })
81 |     }
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/SerializedMessage.swift:12:20: note: class 'SerializedMessage' does not conform to the 'Sendable' protocol
10 | import LoggerAPI
11 |
12 | public final class SerializedMessage {
   |                    `- note: class 'SerializedMessage' does not conform to the 'Sendable' protocol
13 |     public var buf : [UInt8]
14 |     public var message : Message?
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TransportSubscriberLink.swift:79:34: warning: implicit capture of 'm' requires that 'SerializedMessage' conforms to `Sendable`; this is an error in the Swift 6 language mode
77 |     func enqueueMessage(m: SerializedMessage) {
78 |         connection.write(buffer: m.buf).whenFailure({ error in
79 |             ROS_ERROR("writing \(m), \(error)")
   |                                  `- warning: implicit capture of 'm' requires that 'SerializedMessage' conforms to `Sendable`; this is an error in the Swift 6 language mode
80 |         })
81 |     }
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/SerializedMessage.swift:12:20: note: class 'SerializedMessage' does not conform to the 'Sendable' protocol
10 | import LoggerAPI
11 |
12 | public final class SerializedMessage {
   |                    `- note: class 'SerializedMessage' does not conform to the 'Sendable' protocol
13 |     public var buf : [UInt8]
14 |     public var message : Message?
[627/641] Compiling RosSwift TransportHints.swift
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TimerManager.swift:5:5: warning: let 'gTimerManager' is not concurrency-safe because non-'Sendable' type 'InternalTimerManager' (aka 'TimerManager<SteadyTime, WallDuration, SteadyTimerEvent>') may have shared mutable state; this is an error in the Swift 6 language mode
  3 | import Atomics
  4 |
  5 | let gTimerManager = InternalTimerManager()
    |     |- warning: let 'gTimerManager' is not concurrency-safe because non-'Sendable' type 'InternalTimerManager' (aka 'TimerManager<SteadyTime, WallDuration, SteadyTimerEvent>') may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: annotate 'gTimerManager' with '@MainActor' if property should only be accessed from the main actor
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  6 |
  7 | func getInternalTimerManager() -> InternalTimerManager {
    :
 11 | typealias InternalTimerManager = TimerManager<SteadyTime, WallDuration, SteadyTimerEvent>
 12 |
 13 | final class TimerManager<T, D: BasicDurationBase, E: Event> where E.EventTime == T {
    |             `- note: generic class 'TimerManager' does not conform to the 'Sendable' protocol
 14 |     var timers: [TimerHandle: TimerInfo] = [:]
 15 |     let timersMutex = DispatchQueue(label: "TimerManager", attributes: .concurrent)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TimerManager.swift:86:40: warning: converting non-sendable function value to '@Sendable () -> Void' may introduce data races
 84 |             timers[handle] = info
 85 |             if !threadStarted {
 86 |                 thread = Thread(block: threadFunc)
    |                                        `- warning: converting non-sendable function value to '@Sendable () -> Void' may introduce data races
 87 |                 thread?.start()
 88 |                 threadStarted = true
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TopicManager.swift:259:97: warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
257 |         let args = XmlRpcValue(anyArray: [ros.name, topic, xmlrpcManager.serverURI])
258 |         do {
259 |             let response = try ros.master.execute(method: "unregisterPublisher", request: args).wait()
    |                                                                                                 `- warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
260 |             ROS_DEBUG("response = \(response)")
261 |         } catch {
/Users/admin/builder/spi-builder-workspace/Sources/rpcobject/XmlRpcValue.swift:16:13: note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 14 | /// Remote Procedure Call (RPC) Object
 15 |
 16 | public enum XmlRpcValue: Equatable, ConvertableToXml {
    |             `- note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 17 |     case invalid
 18 |     case boolean(Bool)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TopicManager.swift:11:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'rpcobject'
  9 | import Foundation
 10 | import StdMsgs
 11 | import rpcobject
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'rpcobject'
 12 | import RosTime
 13 |
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TopicManager.swift:384:91: warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
382 |         var payload = XmlRpcValue()
383 |         do {
384 |             payload = try ros.master.execute(method: "registerSubscriber", request: args).wait()
    |                                                                                           `- warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
385 |         } catch {
386 |             ROS_ERROR("registerSubscriber \(error)")
/Users/admin/builder/spi-builder-workspace/Sources/rpcobject/XmlRpcValue.swift:16:13: note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 14 | /// Remote Procedure Call (RPC) Object
 15 |
 16 | public enum XmlRpcValue: Equatable, ConvertableToXml {
    |             `- note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 17 |     case invalid
 18 |     case boolean(Bool)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TopicManager.swift:496:90: warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
494 |         var payload = XmlRpcValue()
495 |         do {
496 |             payload = try ros.master.execute(method: "registerPublisher", request: args).wait()
    |                                                                                          `- warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
497 |         } catch {
498 |             ROS_ERROR("registerPublisher \(error)")
/Users/admin/builder/spi-builder-workspace/Sources/rpcobject/XmlRpcValue.swift:16:13: note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 14 | /// Remote Procedure Call (RPC) Object
 15 |
 16 | public enum XmlRpcValue: Equatable, ConvertableToXml {
    |             `- note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 17 |     case invalid
 18 |     case boolean(Bool)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TopicManager.swift:488:21: warning: capture of 'it' with non-sendable type 'Subscription' in a `@Sendable` closure; this is an error in the Swift 6 language mode
486 |             }) {
487 |                 DispatchQueue(label: "adding").async {
488 |                     it.add(ros: self.ros, localConnection: pub)
    |                     `- warning: capture of 'it' with non-sendable type 'Subscription' in a `@Sendable` closure; this is an error in the Swift 6 language mode
489 |                 }
490 |             }
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/Subscription/Subscription.swift:16:22: note: class 'Subscription' does not conform to the 'Sendable' protocol
 14 | protocol TransportUDP {}
 15 |
 16 | internal final class Subscription {
    |                      `- note: class 'Subscription' does not conform to the 'Sendable' protocol
 17 |     final class CallBackInfo {
 18 |         let callbackQueue: CallbackQueueInterface
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TopicManager.swift:488:33: warning: capture of 'self' with non-sendable type 'TopicManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 24 | }
 25 |
 26 | internal final class TopicManager {
    |                      `- note: class 'TopicManager' does not conform to the 'Sendable' protocol
 27 |
 28 |     let advertisedTopicsMutex = NSRecursiveLock()
    :
486 |             }) {
487 |                 DispatchQueue(label: "adding").async {
488 |                     it.add(ros: self.ros, localConnection: pub)
    |                                 `- warning: capture of 'self' with non-sendable type 'TopicManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
489 |                 }
490 |             }
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TopicManager.swift:488:60: warning: capture of 'pub' with non-sendable type 'Publication' in a `@Sendable` closure; this is an error in the Swift 6 language mode
486 |             }) {
487 |                 DispatchQueue(label: "adding").async {
488 |                     it.add(ros: self.ros, localConnection: pub)
    |                                                            `- warning: capture of 'pub' with non-sendable type 'Publication' in a `@Sendable` closure; this is an error in the Swift 6 language mode
489 |                 }
490 |             }
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/Publication.swift:51:13: note: class 'Publication' does not conform to the 'Sendable' protocol
 49 | }
 50 |
 51 | final class Publication {
    |             `- note: class 'Publication' does not conform to the 'Sendable' protocol
 52 |     let name: String
 53 |     let datatype: String
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TransportPublisherLink.swift:60:55: warning: capture of 'self' with non-sendable type 'TransportPublisherLink' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 9 | import StdMsgs
10 |
11 | final class TransportPublisherLink: PublisherLink {
   |             `- note: class 'TransportPublisherLink' does not conform to the 'Sendable' protocol
12 |     var parent: Subscription
13 |     var connectionId: Int
   :
58 |             switch result {
59 |             case .success:
60 |                 ROS_DEBUG("Header written for topic \(self.parent.name)")
   |                                                       `- warning: capture of 'self' with non-sendable type 'TransportPublisherLink' in a `@Sendable` closure; this is an error in the Swift 6 language mode
61 |             case .failure(let error):
62 |                 ROS_ERROR("failed to write header: \(error)")
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TransportPublisherLink.swift:60:55: warning: implicit capture of 'self' requires that 'TransportPublisherLink' conforms to `Sendable`; this is an error in the Swift 6 language mode
 9 | import StdMsgs
10 |
11 | final class TransportPublisherLink: PublisherLink {
   |             `- note: class 'TransportPublisherLink' does not conform to the 'Sendable' protocol
12 |     var parent: Subscription
13 |     var connectionId: Int
   :
58 |             switch result {
59 |             case .success:
60 |                 ROS_DEBUG("Header written for topic \(self.parent.name)")
   |                                                       `- warning: implicit capture of 'self' requires that 'TransportPublisherLink' conforms to `Sendable`; this is an error in the Swift 6 language mode
61 |             case .failure(let error):
62 |                 ROS_ERROR("failed to write header: \(error)")
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TransportSubscriberLink.swift:79:34: warning: capture of 'm' with non-sendable type 'SerializedMessage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
77 |     func enqueueMessage(m: SerializedMessage) {
78 |         connection.write(buffer: m.buf).whenFailure({ error in
79 |             ROS_ERROR("writing \(m), \(error)")
   |                                  `- warning: capture of 'm' with non-sendable type 'SerializedMessage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
80 |         })
81 |     }
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/SerializedMessage.swift:12:20: note: class 'SerializedMessage' does not conform to the 'Sendable' protocol
10 | import LoggerAPI
11 |
12 | public final class SerializedMessage {
   |                    `- note: class 'SerializedMessage' does not conform to the 'Sendable' protocol
13 |     public var buf : [UInt8]
14 |     public var message : Message?
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TransportSubscriberLink.swift:79:34: warning: implicit capture of 'm' requires that 'SerializedMessage' conforms to `Sendable`; this is an error in the Swift 6 language mode
77 |     func enqueueMessage(m: SerializedMessage) {
78 |         connection.write(buffer: m.buf).whenFailure({ error in
79 |             ROS_ERROR("writing \(m), \(error)")
   |                                  `- warning: implicit capture of 'm' requires that 'SerializedMessage' conforms to `Sendable`; this is an error in the Swift 6 language mode
80 |         })
81 |     }
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/SerializedMessage.swift:12:20: note: class 'SerializedMessage' does not conform to the 'Sendable' protocol
10 | import LoggerAPI
11 |
12 | public final class SerializedMessage {
   |                    `- note: class 'SerializedMessage' does not conform to the 'Sendable' protocol
13 |     public var buf : [UInt8]
14 |     public var message : Message?
[628/641] Compiling RosSwift TransportPublisherLink.swift
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TimerManager.swift:5:5: warning: let 'gTimerManager' is not concurrency-safe because non-'Sendable' type 'InternalTimerManager' (aka 'TimerManager<SteadyTime, WallDuration, SteadyTimerEvent>') may have shared mutable state; this is an error in the Swift 6 language mode
  3 | import Atomics
  4 |
  5 | let gTimerManager = InternalTimerManager()
    |     |- warning: let 'gTimerManager' is not concurrency-safe because non-'Sendable' type 'InternalTimerManager' (aka 'TimerManager<SteadyTime, WallDuration, SteadyTimerEvent>') may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: annotate 'gTimerManager' with '@MainActor' if property should only be accessed from the main actor
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  6 |
  7 | func getInternalTimerManager() -> InternalTimerManager {
    :
 11 | typealias InternalTimerManager = TimerManager<SteadyTime, WallDuration, SteadyTimerEvent>
 12 |
 13 | final class TimerManager<T, D: BasicDurationBase, E: Event> where E.EventTime == T {
    |             `- note: generic class 'TimerManager' does not conform to the 'Sendable' protocol
 14 |     var timers: [TimerHandle: TimerInfo] = [:]
 15 |     let timersMutex = DispatchQueue(label: "TimerManager", attributes: .concurrent)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TimerManager.swift:86:40: warning: converting non-sendable function value to '@Sendable () -> Void' may introduce data races
 84 |             timers[handle] = info
 85 |             if !threadStarted {
 86 |                 thread = Thread(block: threadFunc)
    |                                        `- warning: converting non-sendable function value to '@Sendable () -> Void' may introduce data races
 87 |                 thread?.start()
 88 |                 threadStarted = true
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TopicManager.swift:259:97: warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
257 |         let args = XmlRpcValue(anyArray: [ros.name, topic, xmlrpcManager.serverURI])
258 |         do {
259 |             let response = try ros.master.execute(method: "unregisterPublisher", request: args).wait()
    |                                                                                                 `- warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
260 |             ROS_DEBUG("response = \(response)")
261 |         } catch {
/Users/admin/builder/spi-builder-workspace/Sources/rpcobject/XmlRpcValue.swift:16:13: note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 14 | /// Remote Procedure Call (RPC) Object
 15 |
 16 | public enum XmlRpcValue: Equatable, ConvertableToXml {
    |             `- note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 17 |     case invalid
 18 |     case boolean(Bool)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TopicManager.swift:11:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'rpcobject'
  9 | import Foundation
 10 | import StdMsgs
 11 | import rpcobject
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'rpcobject'
 12 | import RosTime
 13 |
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TopicManager.swift:384:91: warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
382 |         var payload = XmlRpcValue()
383 |         do {
384 |             payload = try ros.master.execute(method: "registerSubscriber", request: args).wait()
    |                                                                                           `- warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
385 |         } catch {
386 |             ROS_ERROR("registerSubscriber \(error)")
/Users/admin/builder/spi-builder-workspace/Sources/rpcobject/XmlRpcValue.swift:16:13: note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 14 | /// Remote Procedure Call (RPC) Object
 15 |
 16 | public enum XmlRpcValue: Equatable, ConvertableToXml {
    |             `- note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 17 |     case invalid
 18 |     case boolean(Bool)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TopicManager.swift:496:90: warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
494 |         var payload = XmlRpcValue()
495 |         do {
496 |             payload = try ros.master.execute(method: "registerPublisher", request: args).wait()
    |                                                                                          `- warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
497 |         } catch {
498 |             ROS_ERROR("registerPublisher \(error)")
/Users/admin/builder/spi-builder-workspace/Sources/rpcobject/XmlRpcValue.swift:16:13: note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 14 | /// Remote Procedure Call (RPC) Object
 15 |
 16 | public enum XmlRpcValue: Equatable, ConvertableToXml {
    |             `- note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 17 |     case invalid
 18 |     case boolean(Bool)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TopicManager.swift:488:21: warning: capture of 'it' with non-sendable type 'Subscription' in a `@Sendable` closure; this is an error in the Swift 6 language mode
486 |             }) {
487 |                 DispatchQueue(label: "adding").async {
488 |                     it.add(ros: self.ros, localConnection: pub)
    |                     `- warning: capture of 'it' with non-sendable type 'Subscription' in a `@Sendable` closure; this is an error in the Swift 6 language mode
489 |                 }
490 |             }
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/Subscription/Subscription.swift:16:22: note: class 'Subscription' does not conform to the 'Sendable' protocol
 14 | protocol TransportUDP {}
 15 |
 16 | internal final class Subscription {
    |                      `- note: class 'Subscription' does not conform to the 'Sendable' protocol
 17 |     final class CallBackInfo {
 18 |         let callbackQueue: CallbackQueueInterface
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TopicManager.swift:488:33: warning: capture of 'self' with non-sendable type 'TopicManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 24 | }
 25 |
 26 | internal final class TopicManager {
    |                      `- note: class 'TopicManager' does not conform to the 'Sendable' protocol
 27 |
 28 |     let advertisedTopicsMutex = NSRecursiveLock()
    :
486 |             }) {
487 |                 DispatchQueue(label: "adding").async {
488 |                     it.add(ros: self.ros, localConnection: pub)
    |                                 `- warning: capture of 'self' with non-sendable type 'TopicManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
489 |                 }
490 |             }
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TopicManager.swift:488:60: warning: capture of 'pub' with non-sendable type 'Publication' in a `@Sendable` closure; this is an error in the Swift 6 language mode
486 |             }) {
487 |                 DispatchQueue(label: "adding").async {
488 |                     it.add(ros: self.ros, localConnection: pub)
    |                                                            `- warning: capture of 'pub' with non-sendable type 'Publication' in a `@Sendable` closure; this is an error in the Swift 6 language mode
489 |                 }
490 |             }
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/Publication.swift:51:13: note: class 'Publication' does not conform to the 'Sendable' protocol
 49 | }
 50 |
 51 | final class Publication {
    |             `- note: class 'Publication' does not conform to the 'Sendable' protocol
 52 |     let name: String
 53 |     let datatype: String
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TransportPublisherLink.swift:60:55: warning: capture of 'self' with non-sendable type 'TransportPublisherLink' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 9 | import StdMsgs
10 |
11 | final class TransportPublisherLink: PublisherLink {
   |             `- note: class 'TransportPublisherLink' does not conform to the 'Sendable' protocol
12 |     var parent: Subscription
13 |     var connectionId: Int
   :
58 |             switch result {
59 |             case .success:
60 |                 ROS_DEBUG("Header written for topic \(self.parent.name)")
   |                                                       `- warning: capture of 'self' with non-sendable type 'TransportPublisherLink' in a `@Sendable` closure; this is an error in the Swift 6 language mode
61 |             case .failure(let error):
62 |                 ROS_ERROR("failed to write header: \(error)")
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TransportPublisherLink.swift:60:55: warning: implicit capture of 'self' requires that 'TransportPublisherLink' conforms to `Sendable`; this is an error in the Swift 6 language mode
 9 | import StdMsgs
10 |
11 | final class TransportPublisherLink: PublisherLink {
   |             `- note: class 'TransportPublisherLink' does not conform to the 'Sendable' protocol
12 |     var parent: Subscription
13 |     var connectionId: Int
   :
58 |             switch result {
59 |             case .success:
60 |                 ROS_DEBUG("Header written for topic \(self.parent.name)")
   |                                                       `- warning: implicit capture of 'self' requires that 'TransportPublisherLink' conforms to `Sendable`; this is an error in the Swift 6 language mode
61 |             case .failure(let error):
62 |                 ROS_ERROR("failed to write header: \(error)")
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TransportSubscriberLink.swift:79:34: warning: capture of 'm' with non-sendable type 'SerializedMessage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
77 |     func enqueueMessage(m: SerializedMessage) {
78 |         connection.write(buffer: m.buf).whenFailure({ error in
79 |             ROS_ERROR("writing \(m), \(error)")
   |                                  `- warning: capture of 'm' with non-sendable type 'SerializedMessage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
80 |         })
81 |     }
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/SerializedMessage.swift:12:20: note: class 'SerializedMessage' does not conform to the 'Sendable' protocol
10 | import LoggerAPI
11 |
12 | public final class SerializedMessage {
   |                    `- note: class 'SerializedMessage' does not conform to the 'Sendable' protocol
13 |     public var buf : [UInt8]
14 |     public var message : Message?
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TransportSubscriberLink.swift:79:34: warning: implicit capture of 'm' requires that 'SerializedMessage' conforms to `Sendable`; this is an error in the Swift 6 language mode
77 |     func enqueueMessage(m: SerializedMessage) {
78 |         connection.write(buffer: m.buf).whenFailure({ error in
79 |             ROS_ERROR("writing \(m), \(error)")
   |                                  `- warning: implicit capture of 'm' requires that 'SerializedMessage' conforms to `Sendable`; this is an error in the Swift 6 language mode
80 |         })
81 |     }
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/SerializedMessage.swift:12:20: note: class 'SerializedMessage' does not conform to the 'Sendable' protocol
10 | import LoggerAPI
11 |
12 | public final class SerializedMessage {
   |                    `- note: class 'SerializedMessage' does not conform to the 'Sendable' protocol
13 |     public var buf : [UInt8]
14 |     public var message : Message?
[629/641] Compiling RosSwift TransportSubscriberLink.swift
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TimerManager.swift:5:5: warning: let 'gTimerManager' is not concurrency-safe because non-'Sendable' type 'InternalTimerManager' (aka 'TimerManager<SteadyTime, WallDuration, SteadyTimerEvent>') may have shared mutable state; this is an error in the Swift 6 language mode
  3 | import Atomics
  4 |
  5 | let gTimerManager = InternalTimerManager()
    |     |- warning: let 'gTimerManager' is not concurrency-safe because non-'Sendable' type 'InternalTimerManager' (aka 'TimerManager<SteadyTime, WallDuration, SteadyTimerEvent>') may have shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: annotate 'gTimerManager' with '@MainActor' if property should only be accessed from the main actor
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  6 |
  7 | func getInternalTimerManager() -> InternalTimerManager {
    :
 11 | typealias InternalTimerManager = TimerManager<SteadyTime, WallDuration, SteadyTimerEvent>
 12 |
 13 | final class TimerManager<T, D: BasicDurationBase, E: Event> where E.EventTime == T {
    |             `- note: generic class 'TimerManager' does not conform to the 'Sendable' protocol
 14 |     var timers: [TimerHandle: TimerInfo] = [:]
 15 |     let timersMutex = DispatchQueue(label: "TimerManager", attributes: .concurrent)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TimerManager.swift:86:40: warning: converting non-sendable function value to '@Sendable () -> Void' may introduce data races
 84 |             timers[handle] = info
 85 |             if !threadStarted {
 86 |                 thread = Thread(block: threadFunc)
    |                                        `- warning: converting non-sendable function value to '@Sendable () -> Void' may introduce data races
 87 |                 thread?.start()
 88 |                 threadStarted = true
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TopicManager.swift:259:97: warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
257 |         let args = XmlRpcValue(anyArray: [ros.name, topic, xmlrpcManager.serverURI])
258 |         do {
259 |             let response = try ros.master.execute(method: "unregisterPublisher", request: args).wait()
    |                                                                                                 `- warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
260 |             ROS_DEBUG("response = \(response)")
261 |         } catch {
/Users/admin/builder/spi-builder-workspace/Sources/rpcobject/XmlRpcValue.swift:16:13: note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 14 | /// Remote Procedure Call (RPC) Object
 15 |
 16 | public enum XmlRpcValue: Equatable, ConvertableToXml {
    |             `- note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 17 |     case invalid
 18 |     case boolean(Bool)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TopicManager.swift:11:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'rpcobject'
  9 | import Foundation
 10 | import StdMsgs
 11 | import rpcobject
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'rpcobject'
 12 | import RosTime
 13 |
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TopicManager.swift:384:91: warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
382 |         var payload = XmlRpcValue()
383 |         do {
384 |             payload = try ros.master.execute(method: "registerSubscriber", request: args).wait()
    |                                                                                           `- warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
385 |         } catch {
386 |             ROS_ERROR("registerSubscriber \(error)")
/Users/admin/builder/spi-builder-workspace/Sources/rpcobject/XmlRpcValue.swift:16:13: note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 14 | /// Remote Procedure Call (RPC) Object
 15 |
 16 | public enum XmlRpcValue: Equatable, ConvertableToXml {
    |             `- note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 17 |     case invalid
 18 |     case boolean(Bool)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TopicManager.swift:496:90: warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
494 |         var payload = XmlRpcValue()
495 |         do {
496 |             payload = try ros.master.execute(method: "registerPublisher", request: args).wait()
    |                                                                                          `- warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
497 |         } catch {
498 |             ROS_ERROR("registerPublisher \(error)")
/Users/admin/builder/spi-builder-workspace/Sources/rpcobject/XmlRpcValue.swift:16:13: note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 14 | /// Remote Procedure Call (RPC) Object
 15 |
 16 | public enum XmlRpcValue: Equatable, ConvertableToXml {
    |             `- note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 17 |     case invalid
 18 |     case boolean(Bool)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TopicManager.swift:488:21: warning: capture of 'it' with non-sendable type 'Subscription' in a `@Sendable` closure; this is an error in the Swift 6 language mode
486 |             }) {
487 |                 DispatchQueue(label: "adding").async {
488 |                     it.add(ros: self.ros, localConnection: pub)
    |                     `- warning: capture of 'it' with non-sendable type 'Subscription' in a `@Sendable` closure; this is an error in the Swift 6 language mode
489 |                 }
490 |             }
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/Subscription/Subscription.swift:16:22: note: class 'Subscription' does not conform to the 'Sendable' protocol
 14 | protocol TransportUDP {}
 15 |
 16 | internal final class Subscription {
    |                      `- note: class 'Subscription' does not conform to the 'Sendable' protocol
 17 |     final class CallBackInfo {
 18 |         let callbackQueue: CallbackQueueInterface
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TopicManager.swift:488:33: warning: capture of 'self' with non-sendable type 'TopicManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 24 | }
 25 |
 26 | internal final class TopicManager {
    |                      `- note: class 'TopicManager' does not conform to the 'Sendable' protocol
 27 |
 28 |     let advertisedTopicsMutex = NSRecursiveLock()
    :
486 |             }) {
487 |                 DispatchQueue(label: "adding").async {
488 |                     it.add(ros: self.ros, localConnection: pub)
    |                                 `- warning: capture of 'self' with non-sendable type 'TopicManager' in a `@Sendable` closure; this is an error in the Swift 6 language mode
489 |                 }
490 |             }
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TopicManager.swift:488:60: warning: capture of 'pub' with non-sendable type 'Publication' in a `@Sendable` closure; this is an error in the Swift 6 language mode
486 |             }) {
487 |                 DispatchQueue(label: "adding").async {
488 |                     it.add(ros: self.ros, localConnection: pub)
    |                                                            `- warning: capture of 'pub' with non-sendable type 'Publication' in a `@Sendable` closure; this is an error in the Swift 6 language mode
489 |                 }
490 |             }
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/Publication.swift:51:13: note: class 'Publication' does not conform to the 'Sendable' protocol
 49 | }
 50 |
 51 | final class Publication {
    |             `- note: class 'Publication' does not conform to the 'Sendable' protocol
 52 |     let name: String
 53 |     let datatype: String
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TransportPublisherLink.swift:60:55: warning: capture of 'self' with non-sendable type 'TransportPublisherLink' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 9 | import StdMsgs
10 |
11 | final class TransportPublisherLink: PublisherLink {
   |             `- note: class 'TransportPublisherLink' does not conform to the 'Sendable' protocol
12 |     var parent: Subscription
13 |     var connectionId: Int
   :
58 |             switch result {
59 |             case .success:
60 |                 ROS_DEBUG("Header written for topic \(self.parent.name)")
   |                                                       `- warning: capture of 'self' with non-sendable type 'TransportPublisherLink' in a `@Sendable` closure; this is an error in the Swift 6 language mode
61 |             case .failure(let error):
62 |                 ROS_ERROR("failed to write header: \(error)")
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TransportPublisherLink.swift:60:55: warning: implicit capture of 'self' requires that 'TransportPublisherLink' conforms to `Sendable`; this is an error in the Swift 6 language mode
 9 | import StdMsgs
10 |
11 | final class TransportPublisherLink: PublisherLink {
   |             `- note: class 'TransportPublisherLink' does not conform to the 'Sendable' protocol
12 |     var parent: Subscription
13 |     var connectionId: Int
   :
58 |             switch result {
59 |             case .success:
60 |                 ROS_DEBUG("Header written for topic \(self.parent.name)")
   |                                                       `- warning: implicit capture of 'self' requires that 'TransportPublisherLink' conforms to `Sendable`; this is an error in the Swift 6 language mode
61 |             case .failure(let error):
62 |                 ROS_ERROR("failed to write header: \(error)")
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TransportSubscriberLink.swift:79:34: warning: capture of 'm' with non-sendable type 'SerializedMessage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
77 |     func enqueueMessage(m: SerializedMessage) {
78 |         connection.write(buffer: m.buf).whenFailure({ error in
79 |             ROS_ERROR("writing \(m), \(error)")
   |                                  `- warning: capture of 'm' with non-sendable type 'SerializedMessage' in a `@Sendable` closure; this is an error in the Swift 6 language mode
80 |         })
81 |     }
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/SerializedMessage.swift:12:20: note: class 'SerializedMessage' does not conform to the 'Sendable' protocol
10 | import LoggerAPI
11 |
12 | public final class SerializedMessage {
   |                    `- note: class 'SerializedMessage' does not conform to the 'Sendable' protocol
13 |     public var buf : [UInt8]
14 |     public var message : Message?
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/TransportSubscriberLink.swift:79:34: warning: implicit capture of 'm' requires that 'SerializedMessage' conforms to `Sendable`; this is an error in the Swift 6 language mode
77 |     func enqueueMessage(m: SerializedMessage) {
78 |         connection.write(buffer: m.buf).whenFailure({ error in
79 |             ROS_ERROR("writing \(m), \(error)")
   |                                  `- warning: implicit capture of 'm' requires that 'SerializedMessage' conforms to `Sendable`; this is an error in the Swift 6 language mode
80 |         })
81 |     }
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/SerializedMessage.swift:12:20: note: class 'SerializedMessage' does not conform to the 'Sendable' protocol
10 | import LoggerAPI
11 |
12 | public final class SerializedMessage {
   |                    `- note: class 'SerializedMessage' does not conform to the 'Sendable' protocol
13 |     public var buf : [UInt8]
14 |     public var message : Message?
[630/641] Compiling RosSwift inboundConnection.swift
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/nio/inboundConnection.swift:49:44: warning: capture of 'self' with non-sendable type 'InboundConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 16 | }
 17 |
 18 | final class InboundConnection {
    |             `- note: class 'InboundConnection' does not conform to the 'Sendable' protocol
 19 |
 20 |     var channel: Channel?
    :
 47 |                 _ = channel.pipeline.addHandlers([
 48 |                     ByteToMessageHandler(LengthFieldBasedFrameDecoder(lengthFieldLength: .four, lengthFieldEndianness: .little)),
 49 |                     InboundHandler(parent: self)])
    |                                            `- warning: capture of 'self' with non-sendable type 'InboundConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 50 |                 return channel
 51 |             }.wait()
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/param.swift:78:90: warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 76 |         let params = XmlRpcValue(anyArray: [ros.name, mappedKey])
 77 |         do {
 78 |             let payload = try ros.master.execute(method: "deleteParam", request: params).wait()
    |                                                                                          `- warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 79 |             return payload.valid()
 80 |         } catch {
/Users/admin/builder/spi-builder-workspace/Sources/rpcobject/XmlRpcValue.swift:16:13: note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 14 | /// Remote Procedure Call (RPC) Object
 15 |
 16 | public enum XmlRpcValue: Equatable, ConvertableToXml {
    |             `- note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 17 |     case invalid
 18 |     case boolean(Bool)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/param.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'rpcobject'
  7 |
  8 | import Foundation
  9 | import rpcobject
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'rpcobject'
 10 | import NIO
 11 |
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/param.swift:183:95: warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
181 |         let params = XmlRpcValue(str: ros.name)
182 |         do {
183 |             let parameters = try ros.master.execute(method: "getParamNames", request: params).wait()
    |                                                                                               `- warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
184 |
185 |             if !parameters.isArray {
/Users/admin/builder/spi-builder-workspace/Sources/rpcobject/XmlRpcValue.swift:16:13: note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 14 | /// Remote Procedure Call (RPC) Object
 15 |
 16 | public enum XmlRpcValue: Equatable, ConvertableToXml {
    |             `- note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 17 |     case invalid
 18 |     case boolean(Bool)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/param.swift:242:87: warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
240 |
241 |         do {
242 |             let payload = try ros.master.execute(method: "hasParam", request: params).wait()
    |                                                                                       `- warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
243 |
244 |             var result = false
/Users/admin/builder/spi-builder-workspace/Sources/rpcobject/XmlRpcValue.swift:16:13: note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 14 | /// Remote Procedure Call (RPC) Object
 15 |
 16 | public enum XmlRpcValue: Equatable, ConvertableToXml {
    |             `- note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 17 |     case invalid
 18 |     case boolean(Bool)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/param.swift:405:90: warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
403 |
404 |         do {
405 |             let payload = try ros.master.execute(method: "searchParam", request: params).wait()
    |                                                                                          `- warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
406 |             result = payload.string
407 |         } catch Master.ValidateError.malformed(let str) {
/Users/admin/builder/spi-builder-workspace/Sources/rpcobject/XmlRpcValue.swift:16:13: note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 14 | /// Remote Procedure Call (RPC) Object
 15 |
 16 | public enum XmlRpcValue: Equatable, ConvertableToXml {
    |             `- note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 17 |     case invalid
 18 |     case boolean(Bool)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/param.swift:436:89: warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
434 |         let params = XmlRpcValue(anyArray: [ros.name, mappedKey, v])
435 |         do {
436 |             let parameter = try ros.master.execute(method: "setParam", request: params).wait()
    |                                                                                         `- warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
437 |            if let res = parameter.int {
438 |                 if res != 0 {
/Users/admin/builder/spi-builder-workspace/Sources/rpcobject/XmlRpcValue.swift:16:13: note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 14 | /// Remote Procedure Call (RPC) Object
 15 |
 16 | public enum XmlRpcValue: Equatable, ConvertableToXml {
    |             `- note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 17 |     case invalid
 18 |     case boolean(Bool)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/param.swift:485:104: warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
483 |
484 |                     do {
485 |                         let result = try ros.master.execute(method: "subscribeParam", request: params).wait()
    |                                                                                                        `- warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
486 |                         ROS_DEBUG("cached_parameters: Subscribed to parameter [\(mappedKey)]" +
487 |                             " with result:\n\(result)")
/Users/admin/builder/spi-builder-workspace/Sources/rpcobject/XmlRpcValue.swift:16:13: note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 14 | /// Remote Procedure Call (RPC) Object
 15 |
 16 | public enum XmlRpcValue: Equatable, ConvertableToXml {
    |             `- note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 17 |     case invalid
 18 |     case boolean(Bool)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/param.swift:504:81: warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
502 |         let params = XmlRpcValue(anyArray: [ros.name, mappedKey])
503 |         do {
504 |             let v = try ros.master.execute(method: "getParam", request: params).wait()
    |                                                                                 `- warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
505 |             if v.isArray && v.size() == 1 {
506 |                 value = v[0]
/Users/admin/builder/spi-builder-workspace/Sources/rpcobject/XmlRpcValue.swift:16:13: note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 14 | /// Remote Procedure Call (RPC) Object
 15 |
 16 | public enum XmlRpcValue: Equatable, ConvertableToXml {
    |             `- note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 17 |     case invalid
 18 |     case boolean(Bool)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/param.swift:533:16: warning: capture of 'self' with non-sendable type 'Param' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 44 | }
 45 |
 46 | public final class Param {
    |                    `- note: class 'Param' does not conform to the 'Sendable' protocol
 47 |
 48 |     let parameterQueue = DispatchQueue(label: "parameterQueue")
    :
531 |
532 |         parameterQueue.async {
533 |             if self.gSubscribedParameters.keys.contains(cleanKey) {
    |                `- warning: capture of 'self' with non-sendable type 'Param' in a `@Sendable` closure; this is an error in the Swift 6 language mode
534 |                 self.gParameters[cleanKey] = value
535 |                 self.gSubscribedParameters[cleanKey]?.handler?(value)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/param.swift:534:46: warning: capture of 'value' with non-sendable type 'XmlRpcValue' in a `@Sendable` closure; this is an error in the Swift 6 language mode
532 |         parameterQueue.async {
533 |             if self.gSubscribedParameters.keys.contains(cleanKey) {
534 |                 self.gParameters[cleanKey] = value
    |                                              `- warning: capture of 'value' with non-sendable type 'XmlRpcValue' in a `@Sendable` closure; this is an error in the Swift 6 language mode
535 |                 self.gSubscribedParameters[cleanKey]?.handler?(value)
536 |             }
/Users/admin/builder/spi-builder-workspace/Sources/rpcobject/XmlRpcValue.swift:16:13: note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 14 | /// Remote Procedure Call (RPC) Object
 15 |
 16 | public enum XmlRpcValue: Equatable, ConvertableToXml {
    |             `- note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 17 |     case invalid
 18 |     case boolean(Bool)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/rosconsole.swift:111:16: warning: static property 'gInitialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
109 |
110 | internal struct Console {
111 |     static var gInitialized = false
    |                |- warning: static property 'gInitialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'gInitialized' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'gInitialized' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 |     static var gExtraFixedTokens = StringStringMap()
113 |     static let gLocationsQueue = DispatchQueue(label: "location_mutex")
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/rosconsole.swift:112:16: warning: static property 'gExtraFixedTokens' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
110 | internal struct Console {
111 |     static var gInitialized = false
112 |     static var gExtraFixedTokens = StringStringMap()
    |                |- warning: static property 'gExtraFixedTokens' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'gExtraFixedTokens' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'gExtraFixedTokens' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 |     static let gLocationsQueue = DispatchQueue(label: "location_mutex")
114 |
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/rosswift.swift:32:28: warning: static property 'globalRos' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 30 |     }
 31 |
 32 |     fileprivate static var globalRos = Set<Ros>()
    |                            |- warning: static property 'globalRos' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                            |- note: convert 'globalRos' to a 'let' constant to make 'Sendable' shared state immutable
    |                            |- note: annotate 'globalRos' with '@MainActor' if property should only be accessed from the main actor
    |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 |     fileprivate static var atexitRegistered = false
 34 |
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/rosswift.swift:33:28: warning: static property 'atexitRegistered' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 31 |
 32 |     fileprivate static var globalRos = Set<Ros>()
 33 |     fileprivate static var atexitRegistered = false
    |                            |- warning: static property 'atexitRegistered' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                            |- note: convert 'atexitRegistered' to a 'let' constant to make 'Sendable' shared state immutable
    |                            |- note: annotate 'atexitRegistered' with '@MainActor' if property should only be accessed from the main actor
    |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 34 |
 35 |     public typealias InitOption = Set<InitOptions>
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/rosswift.swift:323:17: warning: capture of 'self' with non-sendable type 'Ros' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 12 | public typealias StringStringMap = [String: String]
 13 |
 14 | public final class Ros: Hashable {
    |                    `- note: class 'Ros' does not conform to the 'Sendable' protocol
 15 |
 16 |     public static func == (lhs: Ros, rhs: Ros) -> Bool {
    :
321 |             // we have to avoid calling wait inside an EventLoop
322 |             DispatchQueue(label: "shutdown").async {
323 |                 self.requestShutdown()
    |                 `- warning: capture of 'self' with non-sendable type 'Ros' in a `@Sendable` closure; this is an error in the Swift 6 language mode
324 |             }
325 |         }
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/rosswift.swift:345:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
343 |         ROS_ERROR("Caught kill, stopping...")
344 |         DispatchQueue.main.async {
345 |             self.requestShutdown()
    |             |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |             `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
346 |         }
347 |     }
[631/641] Compiling RosSwift param.swift
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/nio/inboundConnection.swift:49:44: warning: capture of 'self' with non-sendable type 'InboundConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 16 | }
 17 |
 18 | final class InboundConnection {
    |             `- note: class 'InboundConnection' does not conform to the 'Sendable' protocol
 19 |
 20 |     var channel: Channel?
    :
 47 |                 _ = channel.pipeline.addHandlers([
 48 |                     ByteToMessageHandler(LengthFieldBasedFrameDecoder(lengthFieldLength: .four, lengthFieldEndianness: .little)),
 49 |                     InboundHandler(parent: self)])
    |                                            `- warning: capture of 'self' with non-sendable type 'InboundConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 50 |                 return channel
 51 |             }.wait()
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/param.swift:78:90: warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 76 |         let params = XmlRpcValue(anyArray: [ros.name, mappedKey])
 77 |         do {
 78 |             let payload = try ros.master.execute(method: "deleteParam", request: params).wait()
    |                                                                                          `- warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 79 |             return payload.valid()
 80 |         } catch {
/Users/admin/builder/spi-builder-workspace/Sources/rpcobject/XmlRpcValue.swift:16:13: note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 14 | /// Remote Procedure Call (RPC) Object
 15 |
 16 | public enum XmlRpcValue: Equatable, ConvertableToXml {
    |             `- note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 17 |     case invalid
 18 |     case boolean(Bool)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/param.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'rpcobject'
  7 |
  8 | import Foundation
  9 | import rpcobject
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'rpcobject'
 10 | import NIO
 11 |
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/param.swift:183:95: warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
181 |         let params = XmlRpcValue(str: ros.name)
182 |         do {
183 |             let parameters = try ros.master.execute(method: "getParamNames", request: params).wait()
    |                                                                                               `- warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
184 |
185 |             if !parameters.isArray {
/Users/admin/builder/spi-builder-workspace/Sources/rpcobject/XmlRpcValue.swift:16:13: note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 14 | /// Remote Procedure Call (RPC) Object
 15 |
 16 | public enum XmlRpcValue: Equatable, ConvertableToXml {
    |             `- note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 17 |     case invalid
 18 |     case boolean(Bool)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/param.swift:242:87: warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
240 |
241 |         do {
242 |             let payload = try ros.master.execute(method: "hasParam", request: params).wait()
    |                                                                                       `- warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
243 |
244 |             var result = false
/Users/admin/builder/spi-builder-workspace/Sources/rpcobject/XmlRpcValue.swift:16:13: note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 14 | /// Remote Procedure Call (RPC) Object
 15 |
 16 | public enum XmlRpcValue: Equatable, ConvertableToXml {
    |             `- note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 17 |     case invalid
 18 |     case boolean(Bool)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/param.swift:405:90: warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
403 |
404 |         do {
405 |             let payload = try ros.master.execute(method: "searchParam", request: params).wait()
    |                                                                                          `- warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
406 |             result = payload.string
407 |         } catch Master.ValidateError.malformed(let str) {
/Users/admin/builder/spi-builder-workspace/Sources/rpcobject/XmlRpcValue.swift:16:13: note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 14 | /// Remote Procedure Call (RPC) Object
 15 |
 16 | public enum XmlRpcValue: Equatable, ConvertableToXml {
    |             `- note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 17 |     case invalid
 18 |     case boolean(Bool)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/param.swift:436:89: warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
434 |         let params = XmlRpcValue(anyArray: [ros.name, mappedKey, v])
435 |         do {
436 |             let parameter = try ros.master.execute(method: "setParam", request: params).wait()
    |                                                                                         `- warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
437 |            if let res = parameter.int {
438 |                 if res != 0 {
/Users/admin/builder/spi-builder-workspace/Sources/rpcobject/XmlRpcValue.swift:16:13: note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 14 | /// Remote Procedure Call (RPC) Object
 15 |
 16 | public enum XmlRpcValue: Equatable, ConvertableToXml {
    |             `- note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 17 |     case invalid
 18 |     case boolean(Bool)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/param.swift:485:104: warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
483 |
484 |                     do {
485 |                         let result = try ros.master.execute(method: "subscribeParam", request: params).wait()
    |                                                                                                        `- warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
486 |                         ROS_DEBUG("cached_parameters: Subscribed to parameter [\(mappedKey)]" +
487 |                             " with result:\n\(result)")
/Users/admin/builder/spi-builder-workspace/Sources/rpcobject/XmlRpcValue.swift:16:13: note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 14 | /// Remote Procedure Call (RPC) Object
 15 |
 16 | public enum XmlRpcValue: Equatable, ConvertableToXml {
    |             `- note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 17 |     case invalid
 18 |     case boolean(Bool)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/param.swift:504:81: warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
502 |         let params = XmlRpcValue(anyArray: [ros.name, mappedKey])
503 |         do {
504 |             let v = try ros.master.execute(method: "getParam", request: params).wait()
    |                                                                                 `- warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
505 |             if v.isArray && v.size() == 1 {
506 |                 value = v[0]
/Users/admin/builder/spi-builder-workspace/Sources/rpcobject/XmlRpcValue.swift:16:13: note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 14 | /// Remote Procedure Call (RPC) Object
 15 |
 16 | public enum XmlRpcValue: Equatable, ConvertableToXml {
    |             `- note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 17 |     case invalid
 18 |     case boolean(Bool)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/param.swift:533:16: warning: capture of 'self' with non-sendable type 'Param' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 44 | }
 45 |
 46 | public final class Param {
    |                    `- note: class 'Param' does not conform to the 'Sendable' protocol
 47 |
 48 |     let parameterQueue = DispatchQueue(label: "parameterQueue")
    :
531 |
532 |         parameterQueue.async {
533 |             if self.gSubscribedParameters.keys.contains(cleanKey) {
    |                `- warning: capture of 'self' with non-sendable type 'Param' in a `@Sendable` closure; this is an error in the Swift 6 language mode
534 |                 self.gParameters[cleanKey] = value
535 |                 self.gSubscribedParameters[cleanKey]?.handler?(value)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/param.swift:534:46: warning: capture of 'value' with non-sendable type 'XmlRpcValue' in a `@Sendable` closure; this is an error in the Swift 6 language mode
532 |         parameterQueue.async {
533 |             if self.gSubscribedParameters.keys.contains(cleanKey) {
534 |                 self.gParameters[cleanKey] = value
    |                                              `- warning: capture of 'value' with non-sendable type 'XmlRpcValue' in a `@Sendable` closure; this is an error in the Swift 6 language mode
535 |                 self.gSubscribedParameters[cleanKey]?.handler?(value)
536 |             }
/Users/admin/builder/spi-builder-workspace/Sources/rpcobject/XmlRpcValue.swift:16:13: note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 14 | /// Remote Procedure Call (RPC) Object
 15 |
 16 | public enum XmlRpcValue: Equatable, ConvertableToXml {
    |             `- note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 17 |     case invalid
 18 |     case boolean(Bool)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/rosconsole.swift:111:16: warning: static property 'gInitialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
109 |
110 | internal struct Console {
111 |     static var gInitialized = false
    |                |- warning: static property 'gInitialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'gInitialized' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'gInitialized' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 |     static var gExtraFixedTokens = StringStringMap()
113 |     static let gLocationsQueue = DispatchQueue(label: "location_mutex")
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/rosconsole.swift:112:16: warning: static property 'gExtraFixedTokens' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
110 | internal struct Console {
111 |     static var gInitialized = false
112 |     static var gExtraFixedTokens = StringStringMap()
    |                |- warning: static property 'gExtraFixedTokens' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'gExtraFixedTokens' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'gExtraFixedTokens' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 |     static let gLocationsQueue = DispatchQueue(label: "location_mutex")
114 |
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/rosswift.swift:32:28: warning: static property 'globalRos' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 30 |     }
 31 |
 32 |     fileprivate static var globalRos = Set<Ros>()
    |                            |- warning: static property 'globalRos' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                            |- note: convert 'globalRos' to a 'let' constant to make 'Sendable' shared state immutable
    |                            |- note: annotate 'globalRos' with '@MainActor' if property should only be accessed from the main actor
    |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 |     fileprivate static var atexitRegistered = false
 34 |
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/rosswift.swift:33:28: warning: static property 'atexitRegistered' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 31 |
 32 |     fileprivate static var globalRos = Set<Ros>()
 33 |     fileprivate static var atexitRegistered = false
    |                            |- warning: static property 'atexitRegistered' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                            |- note: convert 'atexitRegistered' to a 'let' constant to make 'Sendable' shared state immutable
    |                            |- note: annotate 'atexitRegistered' with '@MainActor' if property should only be accessed from the main actor
    |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 34 |
 35 |     public typealias InitOption = Set<InitOptions>
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/rosswift.swift:323:17: warning: capture of 'self' with non-sendable type 'Ros' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 12 | public typealias StringStringMap = [String: String]
 13 |
 14 | public final class Ros: Hashable {
    |                    `- note: class 'Ros' does not conform to the 'Sendable' protocol
 15 |
 16 |     public static func == (lhs: Ros, rhs: Ros) -> Bool {
    :
321 |             // we have to avoid calling wait inside an EventLoop
322 |             DispatchQueue(label: "shutdown").async {
323 |                 self.requestShutdown()
    |                 `- warning: capture of 'self' with non-sendable type 'Ros' in a `@Sendable` closure; this is an error in the Swift 6 language mode
324 |             }
325 |         }
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/rosswift.swift:345:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
343 |         ROS_ERROR("Caught kill, stopping...")
344 |         DispatchQueue.main.async {
345 |             self.requestShutdown()
    |             |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |             `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
346 |         }
347 |     }
[632/641] Compiling RosSwift rosconsole.swift
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/nio/inboundConnection.swift:49:44: warning: capture of 'self' with non-sendable type 'InboundConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 16 | }
 17 |
 18 | final class InboundConnection {
    |             `- note: class 'InboundConnection' does not conform to the 'Sendable' protocol
 19 |
 20 |     var channel: Channel?
    :
 47 |                 _ = channel.pipeline.addHandlers([
 48 |                     ByteToMessageHandler(LengthFieldBasedFrameDecoder(lengthFieldLength: .four, lengthFieldEndianness: .little)),
 49 |                     InboundHandler(parent: self)])
    |                                            `- warning: capture of 'self' with non-sendable type 'InboundConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 50 |                 return channel
 51 |             }.wait()
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/param.swift:78:90: warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 76 |         let params = XmlRpcValue(anyArray: [ros.name, mappedKey])
 77 |         do {
 78 |             let payload = try ros.master.execute(method: "deleteParam", request: params).wait()
    |                                                                                          `- warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 79 |             return payload.valid()
 80 |         } catch {
/Users/admin/builder/spi-builder-workspace/Sources/rpcobject/XmlRpcValue.swift:16:13: note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 14 | /// Remote Procedure Call (RPC) Object
 15 |
 16 | public enum XmlRpcValue: Equatable, ConvertableToXml {
    |             `- note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 17 |     case invalid
 18 |     case boolean(Bool)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/param.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'rpcobject'
  7 |
  8 | import Foundation
  9 | import rpcobject
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'rpcobject'
 10 | import NIO
 11 |
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/param.swift:183:95: warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
181 |         let params = XmlRpcValue(str: ros.name)
182 |         do {
183 |             let parameters = try ros.master.execute(method: "getParamNames", request: params).wait()
    |                                                                                               `- warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
184 |
185 |             if !parameters.isArray {
/Users/admin/builder/spi-builder-workspace/Sources/rpcobject/XmlRpcValue.swift:16:13: note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 14 | /// Remote Procedure Call (RPC) Object
 15 |
 16 | public enum XmlRpcValue: Equatable, ConvertableToXml {
    |             `- note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 17 |     case invalid
 18 |     case boolean(Bool)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/param.swift:242:87: warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
240 |
241 |         do {
242 |             let payload = try ros.master.execute(method: "hasParam", request: params).wait()
    |                                                                                       `- warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
243 |
244 |             var result = false
/Users/admin/builder/spi-builder-workspace/Sources/rpcobject/XmlRpcValue.swift:16:13: note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 14 | /// Remote Procedure Call (RPC) Object
 15 |
 16 | public enum XmlRpcValue: Equatable, ConvertableToXml {
    |             `- note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 17 |     case invalid
 18 |     case boolean(Bool)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/param.swift:405:90: warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
403 |
404 |         do {
405 |             let payload = try ros.master.execute(method: "searchParam", request: params).wait()
    |                                                                                          `- warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
406 |             result = payload.string
407 |         } catch Master.ValidateError.malformed(let str) {
/Users/admin/builder/spi-builder-workspace/Sources/rpcobject/XmlRpcValue.swift:16:13: note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 14 | /// Remote Procedure Call (RPC) Object
 15 |
 16 | public enum XmlRpcValue: Equatable, ConvertableToXml {
    |             `- note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 17 |     case invalid
 18 |     case boolean(Bool)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/param.swift:436:89: warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
434 |         let params = XmlRpcValue(anyArray: [ros.name, mappedKey, v])
435 |         do {
436 |             let parameter = try ros.master.execute(method: "setParam", request: params).wait()
    |                                                                                         `- warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
437 |            if let res = parameter.int {
438 |                 if res != 0 {
/Users/admin/builder/spi-builder-workspace/Sources/rpcobject/XmlRpcValue.swift:16:13: note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 14 | /// Remote Procedure Call (RPC) Object
 15 |
 16 | public enum XmlRpcValue: Equatable, ConvertableToXml {
    |             `- note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 17 |     case invalid
 18 |     case boolean(Bool)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/param.swift:485:104: warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
483 |
484 |                     do {
485 |                         let result = try ros.master.execute(method: "subscribeParam", request: params).wait()
    |                                                                                                        `- warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
486 |                         ROS_DEBUG("cached_parameters: Subscribed to parameter [\(mappedKey)]" +
487 |                             " with result:\n\(result)")
/Users/admin/builder/spi-builder-workspace/Sources/rpcobject/XmlRpcValue.swift:16:13: note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 14 | /// Remote Procedure Call (RPC) Object
 15 |
 16 | public enum XmlRpcValue: Equatable, ConvertableToXml {
    |             `- note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 17 |     case invalid
 18 |     case boolean(Bool)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/param.swift:504:81: warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
502 |         let params = XmlRpcValue(anyArray: [ros.name, mappedKey])
503 |         do {
504 |             let v = try ros.master.execute(method: "getParam", request: params).wait()
    |                                                                                 `- warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
505 |             if v.isArray && v.size() == 1 {
506 |                 value = v[0]
/Users/admin/builder/spi-builder-workspace/Sources/rpcobject/XmlRpcValue.swift:16:13: note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 14 | /// Remote Procedure Call (RPC) Object
 15 |
 16 | public enum XmlRpcValue: Equatable, ConvertableToXml {
    |             `- note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 17 |     case invalid
 18 |     case boolean(Bool)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/param.swift:533:16: warning: capture of 'self' with non-sendable type 'Param' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 44 | }
 45 |
 46 | public final class Param {
    |                    `- note: class 'Param' does not conform to the 'Sendable' protocol
 47 |
 48 |     let parameterQueue = DispatchQueue(label: "parameterQueue")
    :
531 |
532 |         parameterQueue.async {
533 |             if self.gSubscribedParameters.keys.contains(cleanKey) {
    |                `- warning: capture of 'self' with non-sendable type 'Param' in a `@Sendable` closure; this is an error in the Swift 6 language mode
534 |                 self.gParameters[cleanKey] = value
535 |                 self.gSubscribedParameters[cleanKey]?.handler?(value)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/param.swift:534:46: warning: capture of 'value' with non-sendable type 'XmlRpcValue' in a `@Sendable` closure; this is an error in the Swift 6 language mode
532 |         parameterQueue.async {
533 |             if self.gSubscribedParameters.keys.contains(cleanKey) {
534 |                 self.gParameters[cleanKey] = value
    |                                              `- warning: capture of 'value' with non-sendable type 'XmlRpcValue' in a `@Sendable` closure; this is an error in the Swift 6 language mode
535 |                 self.gSubscribedParameters[cleanKey]?.handler?(value)
536 |             }
/Users/admin/builder/spi-builder-workspace/Sources/rpcobject/XmlRpcValue.swift:16:13: note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 14 | /// Remote Procedure Call (RPC) Object
 15 |
 16 | public enum XmlRpcValue: Equatable, ConvertableToXml {
    |             `- note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 17 |     case invalid
 18 |     case boolean(Bool)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/rosconsole.swift:111:16: warning: static property 'gInitialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
109 |
110 | internal struct Console {
111 |     static var gInitialized = false
    |                |- warning: static property 'gInitialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'gInitialized' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'gInitialized' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 |     static var gExtraFixedTokens = StringStringMap()
113 |     static let gLocationsQueue = DispatchQueue(label: "location_mutex")
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/rosconsole.swift:112:16: warning: static property 'gExtraFixedTokens' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
110 | internal struct Console {
111 |     static var gInitialized = false
112 |     static var gExtraFixedTokens = StringStringMap()
    |                |- warning: static property 'gExtraFixedTokens' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'gExtraFixedTokens' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'gExtraFixedTokens' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 |     static let gLocationsQueue = DispatchQueue(label: "location_mutex")
114 |
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/rosswift.swift:32:28: warning: static property 'globalRos' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 30 |     }
 31 |
 32 |     fileprivate static var globalRos = Set<Ros>()
    |                            |- warning: static property 'globalRos' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                            |- note: convert 'globalRos' to a 'let' constant to make 'Sendable' shared state immutable
    |                            |- note: annotate 'globalRos' with '@MainActor' if property should only be accessed from the main actor
    |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 |     fileprivate static var atexitRegistered = false
 34 |
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/rosswift.swift:33:28: warning: static property 'atexitRegistered' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 31 |
 32 |     fileprivate static var globalRos = Set<Ros>()
 33 |     fileprivate static var atexitRegistered = false
    |                            |- warning: static property 'atexitRegistered' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                            |- note: convert 'atexitRegistered' to a 'let' constant to make 'Sendable' shared state immutable
    |                            |- note: annotate 'atexitRegistered' with '@MainActor' if property should only be accessed from the main actor
    |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 34 |
 35 |     public typealias InitOption = Set<InitOptions>
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/rosswift.swift:323:17: warning: capture of 'self' with non-sendable type 'Ros' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 12 | public typealias StringStringMap = [String: String]
 13 |
 14 | public final class Ros: Hashable {
    |                    `- note: class 'Ros' does not conform to the 'Sendable' protocol
 15 |
 16 |     public static func == (lhs: Ros, rhs: Ros) -> Bool {
    :
321 |             // we have to avoid calling wait inside an EventLoop
322 |             DispatchQueue(label: "shutdown").async {
323 |                 self.requestShutdown()
    |                 `- warning: capture of 'self' with non-sendable type 'Ros' in a `@Sendable` closure; this is an error in the Swift 6 language mode
324 |             }
325 |         }
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/rosswift.swift:345:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
343 |         ROS_ERROR("Caught kill, stopping...")
344 |         DispatchQueue.main.async {
345 |             self.requestShutdown()
    |             |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |             `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
346 |         }
347 |     }
[633/641] Compiling RosSwift rosout_appender.swift
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/nio/inboundConnection.swift:49:44: warning: capture of 'self' with non-sendable type 'InboundConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 16 | }
 17 |
 18 | final class InboundConnection {
    |             `- note: class 'InboundConnection' does not conform to the 'Sendable' protocol
 19 |
 20 |     var channel: Channel?
    :
 47 |                 _ = channel.pipeline.addHandlers([
 48 |                     ByteToMessageHandler(LengthFieldBasedFrameDecoder(lengthFieldLength: .four, lengthFieldEndianness: .little)),
 49 |                     InboundHandler(parent: self)])
    |                                            `- warning: capture of 'self' with non-sendable type 'InboundConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 50 |                 return channel
 51 |             }.wait()
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/param.swift:78:90: warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 76 |         let params = XmlRpcValue(anyArray: [ros.name, mappedKey])
 77 |         do {
 78 |             let payload = try ros.master.execute(method: "deleteParam", request: params).wait()
    |                                                                                          `- warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 79 |             return payload.valid()
 80 |         } catch {
/Users/admin/builder/spi-builder-workspace/Sources/rpcobject/XmlRpcValue.swift:16:13: note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 14 | /// Remote Procedure Call (RPC) Object
 15 |
 16 | public enum XmlRpcValue: Equatable, ConvertableToXml {
    |             `- note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 17 |     case invalid
 18 |     case boolean(Bool)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/param.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'rpcobject'
  7 |
  8 | import Foundation
  9 | import rpcobject
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'rpcobject'
 10 | import NIO
 11 |
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/param.swift:183:95: warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
181 |         let params = XmlRpcValue(str: ros.name)
182 |         do {
183 |             let parameters = try ros.master.execute(method: "getParamNames", request: params).wait()
    |                                                                                               `- warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
184 |
185 |             if !parameters.isArray {
/Users/admin/builder/spi-builder-workspace/Sources/rpcobject/XmlRpcValue.swift:16:13: note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 14 | /// Remote Procedure Call (RPC) Object
 15 |
 16 | public enum XmlRpcValue: Equatable, ConvertableToXml {
    |             `- note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 17 |     case invalid
 18 |     case boolean(Bool)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/param.swift:242:87: warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
240 |
241 |         do {
242 |             let payload = try ros.master.execute(method: "hasParam", request: params).wait()
    |                                                                                       `- warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
243 |
244 |             var result = false
/Users/admin/builder/spi-builder-workspace/Sources/rpcobject/XmlRpcValue.swift:16:13: note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 14 | /// Remote Procedure Call (RPC) Object
 15 |
 16 | public enum XmlRpcValue: Equatable, ConvertableToXml {
    |             `- note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 17 |     case invalid
 18 |     case boolean(Bool)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/param.swift:405:90: warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
403 |
404 |         do {
405 |             let payload = try ros.master.execute(method: "searchParam", request: params).wait()
    |                                                                                          `- warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
406 |             result = payload.string
407 |         } catch Master.ValidateError.malformed(let str) {
/Users/admin/builder/spi-builder-workspace/Sources/rpcobject/XmlRpcValue.swift:16:13: note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 14 | /// Remote Procedure Call (RPC) Object
 15 |
 16 | public enum XmlRpcValue: Equatable, ConvertableToXml {
    |             `- note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 17 |     case invalid
 18 |     case boolean(Bool)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/param.swift:436:89: warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
434 |         let params = XmlRpcValue(anyArray: [ros.name, mappedKey, v])
435 |         do {
436 |             let parameter = try ros.master.execute(method: "setParam", request: params).wait()
    |                                                                                         `- warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
437 |            if let res = parameter.int {
438 |                 if res != 0 {
/Users/admin/builder/spi-builder-workspace/Sources/rpcobject/XmlRpcValue.swift:16:13: note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 14 | /// Remote Procedure Call (RPC) Object
 15 |
 16 | public enum XmlRpcValue: Equatable, ConvertableToXml {
    |             `- note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 17 |     case invalid
 18 |     case boolean(Bool)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/param.swift:485:104: warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
483 |
484 |                     do {
485 |                         let result = try ros.master.execute(method: "subscribeParam", request: params).wait()
    |                                                                                                        `- warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
486 |                         ROS_DEBUG("cached_parameters: Subscribed to parameter [\(mappedKey)]" +
487 |                             " with result:\n\(result)")
/Users/admin/builder/spi-builder-workspace/Sources/rpcobject/XmlRpcValue.swift:16:13: note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 14 | /// Remote Procedure Call (RPC) Object
 15 |
 16 | public enum XmlRpcValue: Equatable, ConvertableToXml {
    |             `- note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 17 |     case invalid
 18 |     case boolean(Bool)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/param.swift:504:81: warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
502 |         let params = XmlRpcValue(anyArray: [ros.name, mappedKey])
503 |         do {
504 |             let v = try ros.master.execute(method: "getParam", request: params).wait()
    |                                                                                 `- warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
505 |             if v.isArray && v.size() == 1 {
506 |                 value = v[0]
/Users/admin/builder/spi-builder-workspace/Sources/rpcobject/XmlRpcValue.swift:16:13: note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 14 | /// Remote Procedure Call (RPC) Object
 15 |
 16 | public enum XmlRpcValue: Equatable, ConvertableToXml {
    |             `- note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 17 |     case invalid
 18 |     case boolean(Bool)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/param.swift:533:16: warning: capture of 'self' with non-sendable type 'Param' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 44 | }
 45 |
 46 | public final class Param {
    |                    `- note: class 'Param' does not conform to the 'Sendable' protocol
 47 |
 48 |     let parameterQueue = DispatchQueue(label: "parameterQueue")
    :
531 |
532 |         parameterQueue.async {
533 |             if self.gSubscribedParameters.keys.contains(cleanKey) {
    |                `- warning: capture of 'self' with non-sendable type 'Param' in a `@Sendable` closure; this is an error in the Swift 6 language mode
534 |                 self.gParameters[cleanKey] = value
535 |                 self.gSubscribedParameters[cleanKey]?.handler?(value)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/param.swift:534:46: warning: capture of 'value' with non-sendable type 'XmlRpcValue' in a `@Sendable` closure; this is an error in the Swift 6 language mode
532 |         parameterQueue.async {
533 |             if self.gSubscribedParameters.keys.contains(cleanKey) {
534 |                 self.gParameters[cleanKey] = value
    |                                              `- warning: capture of 'value' with non-sendable type 'XmlRpcValue' in a `@Sendable` closure; this is an error in the Swift 6 language mode
535 |                 self.gSubscribedParameters[cleanKey]?.handler?(value)
536 |             }
/Users/admin/builder/spi-builder-workspace/Sources/rpcobject/XmlRpcValue.swift:16:13: note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 14 | /// Remote Procedure Call (RPC) Object
 15 |
 16 | public enum XmlRpcValue: Equatable, ConvertableToXml {
    |             `- note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 17 |     case invalid
 18 |     case boolean(Bool)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/rosconsole.swift:111:16: warning: static property 'gInitialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
109 |
110 | internal struct Console {
111 |     static var gInitialized = false
    |                |- warning: static property 'gInitialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'gInitialized' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'gInitialized' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 |     static var gExtraFixedTokens = StringStringMap()
113 |     static let gLocationsQueue = DispatchQueue(label: "location_mutex")
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/rosconsole.swift:112:16: warning: static property 'gExtraFixedTokens' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
110 | internal struct Console {
111 |     static var gInitialized = false
112 |     static var gExtraFixedTokens = StringStringMap()
    |                |- warning: static property 'gExtraFixedTokens' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'gExtraFixedTokens' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'gExtraFixedTokens' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 |     static let gLocationsQueue = DispatchQueue(label: "location_mutex")
114 |
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/rosswift.swift:32:28: warning: static property 'globalRos' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 30 |     }
 31 |
 32 |     fileprivate static var globalRos = Set<Ros>()
    |                            |- warning: static property 'globalRos' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                            |- note: convert 'globalRos' to a 'let' constant to make 'Sendable' shared state immutable
    |                            |- note: annotate 'globalRos' with '@MainActor' if property should only be accessed from the main actor
    |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 |     fileprivate static var atexitRegistered = false
 34 |
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/rosswift.swift:33:28: warning: static property 'atexitRegistered' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 31 |
 32 |     fileprivate static var globalRos = Set<Ros>()
 33 |     fileprivate static var atexitRegistered = false
    |                            |- warning: static property 'atexitRegistered' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                            |- note: convert 'atexitRegistered' to a 'let' constant to make 'Sendable' shared state immutable
    |                            |- note: annotate 'atexitRegistered' with '@MainActor' if property should only be accessed from the main actor
    |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 34 |
 35 |     public typealias InitOption = Set<InitOptions>
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/rosswift.swift:323:17: warning: capture of 'self' with non-sendable type 'Ros' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 12 | public typealias StringStringMap = [String: String]
 13 |
 14 | public final class Ros: Hashable {
    |                    `- note: class 'Ros' does not conform to the 'Sendable' protocol
 15 |
 16 |     public static func == (lhs: Ros, rhs: Ros) -> Bool {
    :
321 |             // we have to avoid calling wait inside an EventLoop
322 |             DispatchQueue(label: "shutdown").async {
323 |                 self.requestShutdown()
    |                 `- warning: capture of 'self' with non-sendable type 'Ros' in a `@Sendable` closure; this is an error in the Swift 6 language mode
324 |             }
325 |         }
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/rosswift.swift:345:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
343 |         ROS_ERROR("Caught kill, stopping...")
344 |         DispatchQueue.main.async {
345 |             self.requestShutdown()
    |             |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |             `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
346 |         }
347 |     }
[634/641] Compiling RosSwift rosswift.swift
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/nio/inboundConnection.swift:49:44: warning: capture of 'self' with non-sendable type 'InboundConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 16 | }
 17 |
 18 | final class InboundConnection {
    |             `- note: class 'InboundConnection' does not conform to the 'Sendable' protocol
 19 |
 20 |     var channel: Channel?
    :
 47 |                 _ = channel.pipeline.addHandlers([
 48 |                     ByteToMessageHandler(LengthFieldBasedFrameDecoder(lengthFieldLength: .four, lengthFieldEndianness: .little)),
 49 |                     InboundHandler(parent: self)])
    |                                            `- warning: capture of 'self' with non-sendable type 'InboundConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 50 |                 return channel
 51 |             }.wait()
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/param.swift:78:90: warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 76 |         let params = XmlRpcValue(anyArray: [ros.name, mappedKey])
 77 |         do {
 78 |             let payload = try ros.master.execute(method: "deleteParam", request: params).wait()
    |                                                                                          `- warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 79 |             return payload.valid()
 80 |         } catch {
/Users/admin/builder/spi-builder-workspace/Sources/rpcobject/XmlRpcValue.swift:16:13: note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 14 | /// Remote Procedure Call (RPC) Object
 15 |
 16 | public enum XmlRpcValue: Equatable, ConvertableToXml {
    |             `- note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 17 |     case invalid
 18 |     case boolean(Bool)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/param.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'rpcobject'
  7 |
  8 | import Foundation
  9 | import rpcobject
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'rpcobject'
 10 | import NIO
 11 |
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/param.swift:183:95: warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
181 |         let params = XmlRpcValue(str: ros.name)
182 |         do {
183 |             let parameters = try ros.master.execute(method: "getParamNames", request: params).wait()
    |                                                                                               `- warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
184 |
185 |             if !parameters.isArray {
/Users/admin/builder/spi-builder-workspace/Sources/rpcobject/XmlRpcValue.swift:16:13: note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 14 | /// Remote Procedure Call (RPC) Object
 15 |
 16 | public enum XmlRpcValue: Equatable, ConvertableToXml {
    |             `- note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 17 |     case invalid
 18 |     case boolean(Bool)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/param.swift:242:87: warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
240 |
241 |         do {
242 |             let payload = try ros.master.execute(method: "hasParam", request: params).wait()
    |                                                                                       `- warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
243 |
244 |             var result = false
/Users/admin/builder/spi-builder-workspace/Sources/rpcobject/XmlRpcValue.swift:16:13: note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 14 | /// Remote Procedure Call (RPC) Object
 15 |
 16 | public enum XmlRpcValue: Equatable, ConvertableToXml {
    |             `- note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 17 |     case invalid
 18 |     case boolean(Bool)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/param.swift:405:90: warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
403 |
404 |         do {
405 |             let payload = try ros.master.execute(method: "searchParam", request: params).wait()
    |                                                                                          `- warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
406 |             result = payload.string
407 |         } catch Master.ValidateError.malformed(let str) {
/Users/admin/builder/spi-builder-workspace/Sources/rpcobject/XmlRpcValue.swift:16:13: note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 14 | /// Remote Procedure Call (RPC) Object
 15 |
 16 | public enum XmlRpcValue: Equatable, ConvertableToXml {
    |             `- note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 17 |     case invalid
 18 |     case boolean(Bool)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/param.swift:436:89: warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
434 |         let params = XmlRpcValue(anyArray: [ros.name, mappedKey, v])
435 |         do {
436 |             let parameter = try ros.master.execute(method: "setParam", request: params).wait()
    |                                                                                         `- warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
437 |            if let res = parameter.int {
438 |                 if res != 0 {
/Users/admin/builder/spi-builder-workspace/Sources/rpcobject/XmlRpcValue.swift:16:13: note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 14 | /// Remote Procedure Call (RPC) Object
 15 |
 16 | public enum XmlRpcValue: Equatable, ConvertableToXml {
    |             `- note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 17 |     case invalid
 18 |     case boolean(Bool)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/param.swift:485:104: warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
483 |
484 |                     do {
485 |                         let result = try ros.master.execute(method: "subscribeParam", request: params).wait()
    |                                                                                                        `- warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
486 |                         ROS_DEBUG("cached_parameters: Subscribed to parameter [\(mappedKey)]" +
487 |                             " with result:\n\(result)")
/Users/admin/builder/spi-builder-workspace/Sources/rpcobject/XmlRpcValue.swift:16:13: note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 14 | /// Remote Procedure Call (RPC) Object
 15 |
 16 | public enum XmlRpcValue: Equatable, ConvertableToXml {
    |             `- note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 17 |     case invalid
 18 |     case boolean(Bool)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/param.swift:504:81: warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
502 |         let params = XmlRpcValue(anyArray: [ros.name, mappedKey])
503 |         do {
504 |             let v = try ros.master.execute(method: "getParam", request: params).wait()
    |                                                                                 `- warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
505 |             if v.isArray && v.size() == 1 {
506 |                 value = v[0]
/Users/admin/builder/spi-builder-workspace/Sources/rpcobject/XmlRpcValue.swift:16:13: note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 14 | /// Remote Procedure Call (RPC) Object
 15 |
 16 | public enum XmlRpcValue: Equatable, ConvertableToXml {
    |             `- note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 17 |     case invalid
 18 |     case boolean(Bool)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/param.swift:533:16: warning: capture of 'self' with non-sendable type 'Param' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 44 | }
 45 |
 46 | public final class Param {
    |                    `- note: class 'Param' does not conform to the 'Sendable' protocol
 47 |
 48 |     let parameterQueue = DispatchQueue(label: "parameterQueue")
    :
531 |
532 |         parameterQueue.async {
533 |             if self.gSubscribedParameters.keys.contains(cleanKey) {
    |                `- warning: capture of 'self' with non-sendable type 'Param' in a `@Sendable` closure; this is an error in the Swift 6 language mode
534 |                 self.gParameters[cleanKey] = value
535 |                 self.gSubscribedParameters[cleanKey]?.handler?(value)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/param.swift:534:46: warning: capture of 'value' with non-sendable type 'XmlRpcValue' in a `@Sendable` closure; this is an error in the Swift 6 language mode
532 |         parameterQueue.async {
533 |             if self.gSubscribedParameters.keys.contains(cleanKey) {
534 |                 self.gParameters[cleanKey] = value
    |                                              `- warning: capture of 'value' with non-sendable type 'XmlRpcValue' in a `@Sendable` closure; this is an error in the Swift 6 language mode
535 |                 self.gSubscribedParameters[cleanKey]?.handler?(value)
536 |             }
/Users/admin/builder/spi-builder-workspace/Sources/rpcobject/XmlRpcValue.swift:16:13: note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 14 | /// Remote Procedure Call (RPC) Object
 15 |
 16 | public enum XmlRpcValue: Equatable, ConvertableToXml {
    |             `- note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 17 |     case invalid
 18 |     case boolean(Bool)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/rosconsole.swift:111:16: warning: static property 'gInitialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
109 |
110 | internal struct Console {
111 |     static var gInitialized = false
    |                |- warning: static property 'gInitialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'gInitialized' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'gInitialized' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 |     static var gExtraFixedTokens = StringStringMap()
113 |     static let gLocationsQueue = DispatchQueue(label: "location_mutex")
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/rosconsole.swift:112:16: warning: static property 'gExtraFixedTokens' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
110 | internal struct Console {
111 |     static var gInitialized = false
112 |     static var gExtraFixedTokens = StringStringMap()
    |                |- warning: static property 'gExtraFixedTokens' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'gExtraFixedTokens' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'gExtraFixedTokens' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 |     static let gLocationsQueue = DispatchQueue(label: "location_mutex")
114 |
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/rosswift.swift:32:28: warning: static property 'globalRos' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 30 |     }
 31 |
 32 |     fileprivate static var globalRos = Set<Ros>()
    |                            |- warning: static property 'globalRos' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                            |- note: convert 'globalRos' to a 'let' constant to make 'Sendable' shared state immutable
    |                            |- note: annotate 'globalRos' with '@MainActor' if property should only be accessed from the main actor
    |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 |     fileprivate static var atexitRegistered = false
 34 |
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/rosswift.swift:33:28: warning: static property 'atexitRegistered' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 31 |
 32 |     fileprivate static var globalRos = Set<Ros>()
 33 |     fileprivate static var atexitRegistered = false
    |                            |- warning: static property 'atexitRegistered' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                            |- note: convert 'atexitRegistered' to a 'let' constant to make 'Sendable' shared state immutable
    |                            |- note: annotate 'atexitRegistered' with '@MainActor' if property should only be accessed from the main actor
    |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 34 |
 35 |     public typealias InitOption = Set<InitOptions>
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/rosswift.swift:323:17: warning: capture of 'self' with non-sendable type 'Ros' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 12 | public typealias StringStringMap = [String: String]
 13 |
 14 | public final class Ros: Hashable {
    |                    `- note: class 'Ros' does not conform to the 'Sendable' protocol
 15 |
 16 |     public static func == (lhs: Ros, rhs: Ros) -> Bool {
    :
321 |             // we have to avoid calling wait inside an EventLoop
322 |             DispatchQueue(label: "shutdown").async {
323 |                 self.requestShutdown()
    |                 `- warning: capture of 'self' with non-sendable type 'Ros' in a `@Sendable` closure; this is an error in the Swift 6 language mode
324 |             }
325 |         }
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/rosswift.swift:345:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
343 |         ROS_ERROR("Caught kill, stopping...")
344 |         DispatchQueue.main.async {
345 |             self.requestShutdown()
    |             |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |             `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
346 |         }
347 |     }
[635/641] Compiling RosSwift thisNode.swift
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/nio/inboundConnection.swift:49:44: warning: capture of 'self' with non-sendable type 'InboundConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 16 | }
 17 |
 18 | final class InboundConnection {
    |             `- note: class 'InboundConnection' does not conform to the 'Sendable' protocol
 19 |
 20 |     var channel: Channel?
    :
 47 |                 _ = channel.pipeline.addHandlers([
 48 |                     ByteToMessageHandler(LengthFieldBasedFrameDecoder(lengthFieldLength: .four, lengthFieldEndianness: .little)),
 49 |                     InboundHandler(parent: self)])
    |                                            `- warning: capture of 'self' with non-sendable type 'InboundConnection' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 50 |                 return channel
 51 |             }.wait()
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/param.swift:78:90: warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 76 |         let params = XmlRpcValue(anyArray: [ros.name, mappedKey])
 77 |         do {
 78 |             let payload = try ros.master.execute(method: "deleteParam", request: params).wait()
    |                                                                                          `- warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 79 |             return payload.valid()
 80 |         } catch {
/Users/admin/builder/spi-builder-workspace/Sources/rpcobject/XmlRpcValue.swift:16:13: note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 14 | /// Remote Procedure Call (RPC) Object
 15 |
 16 | public enum XmlRpcValue: Equatable, ConvertableToXml {
    |             `- note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 17 |     case invalid
 18 |     case boolean(Bool)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/param.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'rpcobject'
  7 |
  8 | import Foundation
  9 | import rpcobject
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'rpcobject'
 10 | import NIO
 11 |
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/param.swift:183:95: warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
181 |         let params = XmlRpcValue(str: ros.name)
182 |         do {
183 |             let parameters = try ros.master.execute(method: "getParamNames", request: params).wait()
    |                                                                                               `- warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
184 |
185 |             if !parameters.isArray {
/Users/admin/builder/spi-builder-workspace/Sources/rpcobject/XmlRpcValue.swift:16:13: note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 14 | /// Remote Procedure Call (RPC) Object
 15 |
 16 | public enum XmlRpcValue: Equatable, ConvertableToXml {
    |             `- note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 17 |     case invalid
 18 |     case boolean(Bool)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/param.swift:242:87: warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
240 |
241 |         do {
242 |             let payload = try ros.master.execute(method: "hasParam", request: params).wait()
    |                                                                                       `- warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
243 |
244 |             var result = false
/Users/admin/builder/spi-builder-workspace/Sources/rpcobject/XmlRpcValue.swift:16:13: note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 14 | /// Remote Procedure Call (RPC) Object
 15 |
 16 | public enum XmlRpcValue: Equatable, ConvertableToXml {
    |             `- note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 17 |     case invalid
 18 |     case boolean(Bool)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/param.swift:405:90: warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
403 |
404 |         do {
405 |             let payload = try ros.master.execute(method: "searchParam", request: params).wait()
    |                                                                                          `- warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
406 |             result = payload.string
407 |         } catch Master.ValidateError.malformed(let str) {
/Users/admin/builder/spi-builder-workspace/Sources/rpcobject/XmlRpcValue.swift:16:13: note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 14 | /// Remote Procedure Call (RPC) Object
 15 |
 16 | public enum XmlRpcValue: Equatable, ConvertableToXml {
    |             `- note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 17 |     case invalid
 18 |     case boolean(Bool)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/param.swift:436:89: warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
434 |         let params = XmlRpcValue(anyArray: [ros.name, mappedKey, v])
435 |         do {
436 |             let parameter = try ros.master.execute(method: "setParam", request: params).wait()
    |                                                                                         `- warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
437 |            if let res = parameter.int {
438 |                 if res != 0 {
/Users/admin/builder/spi-builder-workspace/Sources/rpcobject/XmlRpcValue.swift:16:13: note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 14 | /// Remote Procedure Call (RPC) Object
 15 |
 16 | public enum XmlRpcValue: Equatable, ConvertableToXml {
    |             `- note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 17 |     case invalid
 18 |     case boolean(Bool)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/param.swift:485:104: warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
483 |
484 |                     do {
485 |                         let result = try ros.master.execute(method: "subscribeParam", request: params).wait()
    |                                                                                                        `- warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
486 |                         ROS_DEBUG("cached_parameters: Subscribed to parameter [\(mappedKey)]" +
487 |                             " with result:\n\(result)")
/Users/admin/builder/spi-builder-workspace/Sources/rpcobject/XmlRpcValue.swift:16:13: note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 14 | /// Remote Procedure Call (RPC) Object
 15 |
 16 | public enum XmlRpcValue: Equatable, ConvertableToXml {
    |             `- note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 17 |     case invalid
 18 |     case boolean(Bool)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/param.swift:504:81: warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
502 |         let params = XmlRpcValue(anyArray: [ros.name, mappedKey])
503 |         do {
504 |             let v = try ros.master.execute(method: "getParam", request: params).wait()
    |                                                                                 `- warning: type 'XmlRpcValue' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
505 |             if v.isArray && v.size() == 1 {
506 |                 value = v[0]
/Users/admin/builder/spi-builder-workspace/Sources/rpcobject/XmlRpcValue.swift:16:13: note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 14 | /// Remote Procedure Call (RPC) Object
 15 |
 16 | public enum XmlRpcValue: Equatable, ConvertableToXml {
    |             `- note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 17 |     case invalid
 18 |     case boolean(Bool)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/param.swift:533:16: warning: capture of 'self' with non-sendable type 'Param' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 44 | }
 45 |
 46 | public final class Param {
    |                    `- note: class 'Param' does not conform to the 'Sendable' protocol
 47 |
 48 |     let parameterQueue = DispatchQueue(label: "parameterQueue")
    :
531 |
532 |         parameterQueue.async {
533 |             if self.gSubscribedParameters.keys.contains(cleanKey) {
    |                `- warning: capture of 'self' with non-sendable type 'Param' in a `@Sendable` closure; this is an error in the Swift 6 language mode
534 |                 self.gParameters[cleanKey] = value
535 |                 self.gSubscribedParameters[cleanKey]?.handler?(value)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/param.swift:534:46: warning: capture of 'value' with non-sendable type 'XmlRpcValue' in a `@Sendable` closure; this is an error in the Swift 6 language mode
532 |         parameterQueue.async {
533 |             if self.gSubscribedParameters.keys.contains(cleanKey) {
534 |                 self.gParameters[cleanKey] = value
    |                                              `- warning: capture of 'value' with non-sendable type 'XmlRpcValue' in a `@Sendable` closure; this is an error in the Swift 6 language mode
535 |                 self.gSubscribedParameters[cleanKey]?.handler?(value)
536 |             }
/Users/admin/builder/spi-builder-workspace/Sources/rpcobject/XmlRpcValue.swift:16:13: note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 14 | /// Remote Procedure Call (RPC) Object
 15 |
 16 | public enum XmlRpcValue: Equatable, ConvertableToXml {
    |             `- note: enum 'XmlRpcValue' does not conform to the 'Sendable' protocol
 17 |     case invalid
 18 |     case boolean(Bool)
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/rosconsole.swift:111:16: warning: static property 'gInitialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
109 |
110 | internal struct Console {
111 |     static var gInitialized = false
    |                |- warning: static property 'gInitialized' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'gInitialized' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'gInitialized' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
112 |     static var gExtraFixedTokens = StringStringMap()
113 |     static let gLocationsQueue = DispatchQueue(label: "location_mutex")
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/rosconsole.swift:112:16: warning: static property 'gExtraFixedTokens' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
110 | internal struct Console {
111 |     static var gInitialized = false
112 |     static var gExtraFixedTokens = StringStringMap()
    |                |- warning: static property 'gExtraFixedTokens' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'gExtraFixedTokens' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: annotate 'gExtraFixedTokens' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
113 |     static let gLocationsQueue = DispatchQueue(label: "location_mutex")
114 |
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/rosswift.swift:32:28: warning: static property 'globalRos' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 30 |     }
 31 |
 32 |     fileprivate static var globalRos = Set<Ros>()
    |                            |- warning: static property 'globalRos' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                            |- note: convert 'globalRos' to a 'let' constant to make 'Sendable' shared state immutable
    |                            |- note: annotate 'globalRos' with '@MainActor' if property should only be accessed from the main actor
    |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 33 |     fileprivate static var atexitRegistered = false
 34 |
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/rosswift.swift:33:28: warning: static property 'atexitRegistered' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 31 |
 32 |     fileprivate static var globalRos = Set<Ros>()
 33 |     fileprivate static var atexitRegistered = false
    |                            |- warning: static property 'atexitRegistered' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                            |- note: convert 'atexitRegistered' to a 'let' constant to make 'Sendable' shared state immutable
    |                            |- note: annotate 'atexitRegistered' with '@MainActor' if property should only be accessed from the main actor
    |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 34 |
 35 |     public typealias InitOption = Set<InitOptions>
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/rosswift.swift:323:17: warning: capture of 'self' with non-sendable type 'Ros' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 12 | public typealias StringStringMap = [String: String]
 13 |
 14 | public final class Ros: Hashable {
    |                    `- note: class 'Ros' does not conform to the 'Sendable' protocol
 15 |
 16 |     public static func == (lhs: Ros, rhs: Ros) -> Bool {
    :
321 |             // we have to avoid calling wait inside an EventLoop
322 |             DispatchQueue(label: "shutdown").async {
323 |                 self.requestShutdown()
    |                 `- warning: capture of 'self' with non-sendable type 'Ros' in a `@Sendable` closure; this is an error in the Swift 6 language mode
324 |             }
325 |         }
/Users/admin/builder/spi-builder-workspace/Sources/rosswift/rosswift.swift:345:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
343 |         ROS_ERROR("Caught kill, stopping...")
344 |         DispatchQueue.main.async {
345 |             self.requestShutdown()
    |             |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |             `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
346 |         }
347 |     }
[636/646] Emitting module listener
/Users/admin/builder/spi-builder-workspace/Sources/listener/main.swift:3:22: warning: setter for 'arguments' is deprecated: Do not modify CommandLine.arguments. It will become read-only in a future version of Swift.
 1 | import RosSwift
 2 |
 3 | let ros = Ros(argv: &CommandLine.arguments, name: "listener", options: [.anonymousName])
   |                      `- warning: setter for 'arguments' is deprecated: Do not modify CommandLine.arguments. It will become read-only in a future version of Swift.
 4 | let n = ros.createNode()
 5 |
/Users/admin/builder/spi-builder-workspace/Sources/listener/main.swift:9:9: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
 7 | class Config {
 8 |     @RosParameter(name: "~value", ros: ros)
 9 |     var value: Int
   |         `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
10 | }
11 |
[637/646] Compiling listener main.swift
/Users/admin/builder/spi-builder-workspace/Sources/listener/main.swift:3:22: warning: setter for 'arguments' is deprecated: Do not modify CommandLine.arguments. It will become read-only in a future version of Swift.
 1 | import RosSwift
 2 |
 3 | let ros = Ros(argv: &CommandLine.arguments, name: "listener", options: [.anonymousName])
   |                      `- warning: setter for 'arguments' is deprecated: Do not modify CommandLine.arguments. It will become read-only in a future version of Swift.
 4 | let n = ros.createNode()
 5 |
/Users/admin/builder/spi-builder-workspace/Sources/listener/main.swift:9:9: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
 7 | class Config {
 8 |     @RosParameter(name: "~value", ros: ros)
 9 |     var value: Int
   |         `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
10 | }
11 |
/Users/admin/builder/spi-builder-workspace/Sources/listener/main.swift:19:32: error: main actor-isolated var 'config' can not be referenced from a nonisolated context
10 | }
11 |
12 | var config = Config()
   |     `- note: var declared here
13 | config.value = 12
14 |
   :
16 | struct B {
17 |     let value : Double
18 |     func chatterCallback(msg: String) {
   |          `- note: add '@MainActor' to make instance method 'chatterCallback(msg:)' part of global actor 'MainActor'
19 |         print("I [the struct \(config.value)] saw: [\(msg)]")
   |                                `- error: main actor-isolated var 'config' can not be referenced from a nonisolated context
20 |     }
21 | }
BUILD FAILURE 6.0 macosSpm