The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SumoKit, reference main (095fd3), with Swift 6.1 for macOS (SPM) on 29 Jun 2026 00:15:26 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.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

========================================
RunAll
========================================
Builder version: undefined version: run 'make version' to update
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/christofilojohn/sumoMacGUI.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/christofilojohn/sumoMacGUI
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 095fd36 perf(render): viewport culling, live POIs, external TraCI attach
Cloned https://github.com/christofilojohn/sumoMacGUI.git
Revision (git rev-parse @):
095fd360fe6026c4e72bb91936c3ab35b6392c8a
SUCCESS checkout https://github.com/christofilojohn/sumoMacGUI.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/christofilojohn/sumoMacGUI.git
https://github.com/christofilojohn/sumoMacGUI.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SumoKit",
  "name" : "SumoKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "SumoKit",
      "targets" : [
        "SumoKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SumoGUIMac",
      "targets" : [
        "SumoGUIMac"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "NetParseBenchmark",
      "targets" : [
        "NetParseBenchmark"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SumoKitTests",
      "module_type" : "SwiftTarget",
      "name" : "SumoKitTests",
      "path" : "Tests/SumoKitTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SumoKitTests/Fixtures",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "NetXMLParserTests.swift",
        "SumoLauncherTests.swift",
        "TraCIIntegrationTests.swift",
        "TraCIWireTests.swift"
      ],
      "target_dependencies" : [
        "SumoKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SumoKit",
      "module_type" : "SwiftTarget",
      "name" : "SumoKit",
      "path" : "Sources/SumoKit",
      "product_memberships" : [
        "SumoKit",
        "SumoGUIMac",
        "NetParseBenchmark"
      ],
      "sources" : [
        "Backend/Domains.swift",
        "Backend/Subscriptions.swift",
        "Backend/SumoBackend.swift",
        "Backend/SumoLauncher.swift",
        "Backend/TraCIClient.swift",
        "Backend/TraCIConnection.swift",
        "Backend/TraCIConstants.swift",
        "Backend/TraCIValue.swift",
        "Backend/TraCIWire.swift",
        "Model/SimulationState.swift",
        "Net/NetGraph.swift",
        "Net/NetXMLParser.swift",
        "Net/Quadtree.swift",
        "SumoKit.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SumoGUIMacTests",
      "module_type" : "SwiftTarget",
      "name" : "SumoGUIMacTests",
      "path" : "Tests/SumoGUIMacTests",
      "sources" : [
        "LaunchConfigurationTests.swift",
        "NetworkRenderLODTests.swift",
        "RunningSUMOSessionTests.swift",
        "SimulationViewModelTests.swift",
        "ViewportStateTests.swift"
      ],
      "target_dependencies" : [
        "SumoGUIMac",
        "SumoKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SumoGUIMac",
      "module_type" : "SwiftTarget",
      "name" : "SumoGUIMac",
      "path" : "Sources/SumoGUIMac",
      "product_memberships" : [
        "SumoGUIMac"
      ],
      "sources" : [
        "App/LaunchConfiguration.swift",
        "App/SumoGUIMacApp.swift",
        "Render/NetworkView.swift",
        "UI/MainWindow.swift",
        "ViewModels/RunningSUMOSession.swift",
        "ViewModels/SimulationViewModel.swift",
        "ViewModels/ViewportState.swift",
        "ViewModels/VisualizationSettings.swift"
      ],
      "target_dependencies" : [
        "SumoKit"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "NetParseBenchmark",
      "module_type" : "SwiftTarget",
      "name" : "NetParseBenchmark",
      "path" : "Sources/NetParseBenchmark",
      "product_memberships" : [
        "NetParseBenchmark"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "SumoKit"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.10"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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
Building for debugging...
[0/12] Write sources
[3/12] Write SumoGUIMac-entitlement.plist
[3/12] Write NetParseBenchmark-entitlement.plist
[5/12] Write swift-version-2F0A5646E1D333AE.txt
[7/26] Compiling SumoKit TraCIWire.swift
[8/26] Compiling SumoKit SimulationState.swift
[9/26] Compiling SumoKit TraCIConstants.swift
[10/26] Compiling SumoKit TraCIValue.swift
[11/26] Compiling SumoKit SumoBackend.swift
[12/26] Compiling SumoKit SumoLauncher.swift
[13/27] Compiling SumoKit Domains.swift
[14/27] Compiling SumoKit Subscriptions.swift
[15/27] Emitting module SumoKit
[16/27] Compiling SumoKit NetGraph.swift
[17/27] Compiling SumoKit TraCIClient.swift
[18/27] Compiling SumoKit TraCIConnection.swift
[19/27] Compiling SumoKit NetXMLParser.swift
[20/27] Compiling SumoKit Quadtree.swift
[21/27] Compiling SumoKit SumoKit.swift
[22/38] Compiling NetParseBenchmark main.swift
[23/38] Emitting module NetParseBenchmark
[23/38] Write Objects.LinkFileList
[24/38] Linking NetParseBenchmark
[25/38] Applying NetParseBenchmark
[27/38] Compiling SumoGUIMac VisualizationSettings.swift
[28/38] Compiling SumoGUIMac LaunchConfiguration.swift
[29/38] Emitting module SumoGUIMac
[30/38] Compiling SumoGUIMac SumoGUIMacApp.swift
[31/38] Compiling SumoGUIMac ViewportState.swift
[32/38] Compiling SumoGUIMac MainWindow.swift
[33/38] Compiling SumoGUIMac NetworkView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SumoGUIMac/Render/NetworkView.swift:541:18: warning: call to main actor-isolated instance method 'flushPendingPan()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 539 |                 return
 540 |             }
 541 |             self.flushPendingPan()
     |                  `- warning: call to main actor-isolated instance method 'flushPendingPan()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 542 |             if !self.hasPendingPan, self.lastDragLocation == nil {
 543 |                 timer.invalidate()
     :
 549 |     }
 550 |
 551 |     private func flushPendingPan() {
     |                  |- note: calls to instance method 'flushPendingPan()' from outside of its actor context are implicitly asynchronous
     |                  `- note: main actor isolation inferred from inheritance from class 'NSView'
 552 |         guard hasPendingPan, let viewport else { return }
 553 |         let delta = pendingPanWorldDelta
/Users/admin/builder/spi-builder-workspace/Sources/SumoGUIMac/Render/NetworkView.swift:542:22: warning: main actor-isolated property 'hasPendingPan' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
 522 |     }
 523 |
 524 |     private var hasPendingPan: Bool {
     |                 `- note: property declared here
 525 |         abs(pendingPanWorldDelta.x) > Float.ulpOfOne || abs(pendingPanWorldDelta.y) > Float.ulpOfOne
 526 |     }
     :
 540 |             }
 541 |             self.flushPendingPan()
 542 |             if !self.hasPendingPan, self.lastDragLocation == nil {
     |                      `- warning: main actor-isolated property 'hasPendingPan' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
 543 |                 timer.invalidate()
 544 |                 self.panCoalescingTimer = nil
/Users/admin/builder/spi-builder-workspace/Sources/SumoGUIMac/Render/NetworkView.swift:542:42: warning: main actor-isolated property 'lastDragLocation' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
 210 |     private var lastVehicleLODScale: Float?
 211 |     private var vehicleBufferWorldBounds: SIMD4<Float>?
 212 |     private var lastDragLocation: CGPoint?
     |                 `- note: property declared here
 213 |     private var pendingPanWorldDelta = SIMD2<Float>(0, 0)
 214 |     private var panCoalescingTimer: Timer?
     :
 540 |             }
 541 |             self.flushPendingPan()
 542 |             if !self.hasPendingPan, self.lastDragLocation == nil {
     |                                          `- warning: main actor-isolated property 'lastDragLocation' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
 543 |                 timer.invalidate()
 544 |                 self.panCoalescingTimer = nil
/Users/admin/builder/spi-builder-workspace/Sources/SumoGUIMac/Render/NetworkView.swift:544:22: warning: main actor-isolated property 'panCoalescingTimer' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
 212 |     private var lastDragLocation: CGPoint?
 213 |     private var pendingPanWorldDelta = SIMD2<Float>(0, 0)
 214 |     private var panCoalescingTimer: Timer?
     |                 `- note: mutation of this property is only permitted within the actor
 215 |     private var mouseDownLocation: CGPoint?
 216 |     private var didDragBeyondClickSlop = false
     :
 542 |             if !self.hasPendingPan, self.lastDragLocation == nil {
 543 |                 timer.invalidate()
 544 |                 self.panCoalescingTimer = nil
     |                      `- warning: main actor-isolated property 'panCoalescingTimer' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
 545 |             }
 546 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SumoGUIMac/Render/NetworkView.swift:1807:33: warning: call to main actor-isolated instance method 'vehicleAnimationProgress()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
1805 |                 return
1806 |             }
1807 |             let progress = self.vehicleAnimationProgress()
     |                                 `- warning: call to main actor-isolated instance method 'vehicleAnimationProgress()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
1808 |             self.refreshVehicleBufferForCurrentState()
1809 |             if progress >= 1 {
     :
1833 |     }
1834 |
1835 |     private func vehicleAnimationProgress() -> Float {
     |                  |- note: calls to instance method 'vehicleAnimationProgress()' from outside of its actor context are implicitly asynchronous
     |                  `- note: main actor isolation inferred from inheritance from class 'NSView'
1836 |         guard vehicleAnimationDuration > 0 else { return 1 }
1837 |         let elapsed = CACurrentMediaTime() - vehicleAnimationStartTime
/Users/admin/builder/spi-builder-workspace/Sources/SumoGUIMac/Render/NetworkView.swift:1808:18: warning: call to main actor-isolated instance method 'refreshVehicleBufferForCurrentState(scale:visibleBounds:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
1806 |             }
1807 |             let progress = self.vehicleAnimationProgress()
1808 |             self.refreshVehicleBufferForCurrentState()
     |                  `- warning: call to main actor-isolated instance method 'refreshVehicleBufferForCurrentState(scale:visibleBounds:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
1809 |             if progress >= 1 {
1810 |                 timer.invalidate()
     :
1857 |     }
1858 |
1859 |     private func refreshVehicleBufferForCurrentState(scale: Float? = nil, visibleBounds: SIMD4<Float>? = nil) {
     |                  |- note: calls to instance method 'refreshVehicleBufferForCurrentState(scale:visibleBounds:)' from outside of its actor context are implicitly asynchronous
     |                  `- note: main actor isolation inferred from inheritance from class 'NSView'
1860 |         if vehicleAnimationTarget.isEmpty {
1861 |             updateVehicleBuffer(snapshots: simulationState.vehicles, scale: scale, visibleBounds: visibleBounds)
/Users/admin/builder/spi-builder-workspace/Sources/SumoGUIMac/Render/NetworkView.swift:1811:22: warning: main actor-isolated property 'vehicleAnimationTimer' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
 222 |     private var nativeRubberBandExtendsSelection = false
 223 |     private var lastReportedVisibleBounds: SIMD4<Float>?
 224 |     private var vehicleAnimationTimer: Timer?
     |                 `- note: mutation of this property is only permitted within the actor
 225 |     private var vehicleAnimationStartTime: TimeInterval = 0
 226 |     private var vehicleAnimationDuration: TimeInterval = 0.14
     :
1809 |             if progress >= 1 {
1810 |                 timer.invalidate()
1811 |                 self.vehicleAnimationTimer = nil
     |                      `- warning: main actor-isolated property 'vehicleAnimationTimer' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
1812 |                 self.vehicleAnimationSource = self.vehicleAnimationTarget
1813 |             }
/Users/admin/builder/spi-builder-workspace/Sources/SumoGUIMac/Render/NetworkView.swift:1812:22: warning: main actor-isolated property 'vehicleAnimationSource' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
 225 |     private var vehicleAnimationStartTime: TimeInterval = 0
 226 |     private var vehicleAnimationDuration: TimeInterval = 0.14
 227 |     private var vehicleAnimationSource: [String: VehicleRenderSample] = [:]
     |                 `- note: mutation of this property is only permitted within the actor
 228 |     private var vehicleAnimationTarget: [String: VehicleRenderSample] = [:]
 229 |     private var magnifyEventMonitor: Any?
     :
1810 |                 timer.invalidate()
1811 |                 self.vehicleAnimationTimer = nil
1812 |                 self.vehicleAnimationSource = self.vehicleAnimationTarget
     |                      `- warning: main actor-isolated property 'vehicleAnimationSource' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
1813 |             }
1814 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SumoGUIMac/Render/NetworkView.swift:1812:52: warning: main actor-isolated property 'vehicleAnimationTarget' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
 226 |     private var vehicleAnimationDuration: TimeInterval = 0.14
 227 |     private var vehicleAnimationSource: [String: VehicleRenderSample] = [:]
 228 |     private var vehicleAnimationTarget: [String: VehicleRenderSample] = [:]
     |                 `- note: property declared here
 229 |     private var magnifyEventMonitor: Any?
 230 |     private var preservesViewportForGraphReplacement = false
     :
1810 |                 timer.invalidate()
1811 |                 self.vehicleAnimationTimer = nil
1812 |                 self.vehicleAnimationSource = self.vehicleAnimationTarget
     |                                                    `- warning: main actor-isolated property 'vehicleAnimationTarget' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
1813 |             }
1814 |         }
/Users/admin/builder/spi-builder-workspace/Sources/SumoGUIMac/Render/NetworkView.swift:483:30: warning: cannot access property 'vehicleAnimationTimer' with a non-sendable type 'Timer?' from nonisolated deinit; this is an error in the Swift 6 language mode
 481 |
 482 |     deinit {
 483 |         vehicleAnimationTimer?.invalidate()
     |                              `- warning: cannot access property 'vehicleAnimationTimer' with a non-sendable type 'Timer?' from nonisolated deinit; this is an error in the Swift 6 language mode
 484 |         panCoalescingTimer?.invalidate()
 485 |         if let magnifyEventMonitor {
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
  |                     `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 |     case none
3 |     case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/Sources/SumoGUIMac/Render/NetworkView.swift:484:27: warning: cannot access property 'panCoalescingTimer' with a non-sendable type 'Timer?' from nonisolated deinit; this is an error in the Swift 6 language mode
 482 |     deinit {
 483 |         vehicleAnimationTimer?.invalidate()
 484 |         panCoalescingTimer?.invalidate()
     |                           `- warning: cannot access property 'panCoalescingTimer' with a non-sendable type 'Timer?' from nonisolated deinit; this is an error in the Swift 6 language mode
 485 |         if let magnifyEventMonitor {
 486 |             NSEvent.removeMonitor(magnifyEventMonitor)
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
  |                     `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 |     case none
3 |     case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/Sources/SumoGUIMac/Render/NetworkView.swift:485:9: warning: cannot access property 'magnifyEventMonitor' with a non-sendable type 'Any?' from nonisolated deinit; this is an error in the Swift 6 language mode
 483 |         vehicleAnimationTimer?.invalidate()
 484 |         panCoalescingTimer?.invalidate()
 485 |         if let magnifyEventMonitor {
     |         `- warning: cannot access property 'magnifyEventMonitor' with a non-sendable type 'Any?' from nonisolated deinit; this is an error in the Swift 6 language mode
 486 |             NSEvent.removeMonitor(magnifyEventMonitor)
 487 |         }
[34/38] Compiling SumoGUIMac RunningSUMOSession.swift
[35/38] Compiling SumoGUIMac SimulationViewModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/SumoGUIMac/ViewModels/SimulationViewModel.swift:1312:64: warning: non-sendable result type 'RunningSUMOSession' cannot be sent from nonisolated context in call to static method 'start(config:subscriptionAnchorID:vehicleUpdateMode:)'; this is an error in the Swift 6 language mode
1310 |             if let configURL = resolved.configURL {
1311 |                 do {
1312 |                     let running = try await RunningSUMOSession.start(
     |                                                                `- warning: non-sendable result type 'RunningSUMOSession' cannot be sent from nonisolated context in call to static method 'start(config:subscriptionAnchorID:vehicleUpdateMode:)'; this is an error in the Swift 6 language mode
1313 |                         config: configURL,
1314 |                         subscriptionAnchorID: parsed.junctions.first?.id,
/Users/admin/builder/spi-builder-workspace/Sources/SumoGUIMac/ViewModels/RunningSUMOSession.swift:38:13: note: class 'RunningSUMOSession' does not conform to the 'Sendable' protocol
 36 | }
 37 |
 38 | final class RunningSUMOSession {
    |             `- note: class 'RunningSUMOSession' does not conform to the 'Sendable' protocol
 39 |     private let handle: SumoLauncher.Handle?
 40 |     private let connection: TraCIConnection
/Users/admin/builder/spi-builder-workspace/Sources/SumoGUIMac/ViewModels/SimulationViewModel.swift:1374:60: warning: non-sendable result type 'RunningSUMOSession' cannot be sent from nonisolated context in call to static method 'attach(host:port:clientOrder:subscriptionAnchorID:vehicleUpdateMode:connectRetries:)'; this is an error in the Swift 6 language mode
1372 |
1373 |             do {
1374 |                 let running = try await RunningSUMOSession.attach(
     |                                                            `- warning: non-sendable result type 'RunningSUMOSession' cannot be sent from nonisolated context in call to static method 'attach(host:port:clientOrder:subscriptionAnchorID:vehicleUpdateMode:connectRetries:)'; this is an error in the Swift 6 language mode
1375 |                     host: host,
1376 |                     port: port,
/Users/admin/builder/spi-builder-workspace/Sources/SumoGUIMac/ViewModels/RunningSUMOSession.swift:38:13: note: class 'RunningSUMOSession' does not conform to the 'Sendable' protocol
 36 | }
 37 |
 38 | final class RunningSUMOSession {
    |             `- note: class 'RunningSUMOSession' does not conform to the 'Sendable' protocol
 39 |     private let handle: SumoLauncher.Handle?
 40 |     private let connection: TraCIConnection
/Users/admin/builder/spi-builder-workspace/Sources/SumoGUIMac/ViewModels/SimulationViewModel.swift:234:16: warning: cannot access property 'session' with a non-sendable type 'RunningSUMOSession?' from nonisolated deinit; this is an error in the Swift 6 language mode
 232 |         viewportSubscriptionTask?.cancel()
 233 |         vehicleUpdateModeTask?.cancel()
 234 |         session?.terminateImmediately()
     |                `- warning: cannot access property 'session' with a non-sendable type 'RunningSUMOSession?' from nonisolated deinit; this is an error in the Swift 6 language mode
 235 |     }
 236 |
/Users/admin/builder/spi-builder-workspace/Sources/SumoGUIMac/ViewModels/RunningSUMOSession.swift:38:13: note: class 'RunningSUMOSession' does not conform to the 'Sendable' protocol
 36 | }
 37 |
 38 | final class RunningSUMOSession {
    |             `- note: class 'RunningSUMOSession' does not conform to the 'Sendable' protocol
 39 |     private let handle: SumoLauncher.Handle?
 40 |     private let connection: TraCIConnection
/Users/admin/builder/spi-builder-workspace/Sources/SumoGUIMac/ViewModels/SimulationViewModel.swift:2079:27: warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
2077 |         resetPlaybackSpeed()
2078 |         if let session {
2079 |             await session.close()
     |                           |- warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
     |                           `- note: sending main actor-isolated 'session' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
2080 |         }
2081 |         session = nil
/Users/admin/builder/spi-builder-workspace/Sources/SumoGUIMac/ViewModels/SimulationViewModel.swift:1767:49: warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
1765 |         guard laneIDs.isEmpty == false else { return }
1766 |         do {
1767 |             let occupancies = try await session.laneOccupancies(ids: laneIDs)
     |                                                 |- warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
     |                                                 `- note: sending main actor-isolated 'session' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
1768 |             laneOccupancyByID.merge(occupancies) { _, new in new }
1769 |         } catch {
/Users/admin/builder/spi-builder-workspace/Sources/SumoGUIMac/ViewModels/SimulationViewModel.swift:1700:47: warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
1698 |         do {
1699 |             let previousTime = liveState.simTime
1700 |             let nextState = try await session.step()
     |                                               |- warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
     |                                               `- note: sending main actor-isolated 'session' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
1701 |             liveState = nextState
1702 |             await updateLaneOccupanciesIfNeeded(session: session)
/Users/admin/builder/spi-builder-workspace/Sources/SumoGUIMac/ViewModels/SimulationViewModel.swift:1757:27: warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
1755 |             clearHoverRoutePreview()
1756 |             resetPlaybackSpeed()
1757 |             await session.disconnectAfterFailure()
     |                           |- warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
     |                           `- note: sending main actor-isolated 'session' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
1758 |         }
1759 |     }
/Users/admin/builder/spi-builder-workspace/Sources/SumoGUIMac/ViewModels/SimulationViewModel.swift:1428:24: warning: sending 'self.session.some' risks causing data races; this is an error in the Swift 6 language mode
1426 |
1427 |     func terminateRunningSessionForTesting() async {
1428 |         await session?.disconnectAfterFailure()
     |                        |- warning: sending 'self.session.some' risks causing data races; this is an error in the Swift 6 language mode
     |                        `- note: sending main actor-isolated 'self.session.some' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
1429 |     }
1430 |
/Users/admin/builder/spi-builder-workspace/Sources/SumoGUIMac/ViewModels/SimulationViewModel.swift:1687:45: warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
1685 |             }
1686 |
1687 |             let route = (try? await session.routeEdges(forVehicle: id)) ?? []
     |                                             |- warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
     |                                             `- note: sending main actor-isolated 'session' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
1688 |             guard !Task.isCancelled, self.hoveredVehicleID == id else { return }
1689 |             let routeSet = Set(route)
/Users/admin/builder/spi-builder-workspace/Sources/SumoGUIMac/ViewModels/SimulationViewModel.swift:1795:35: warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
1793 |             guard !Task.isCancelled, let self, let session = self.session else { return }
1794 |             do {
1795 |                 try await session.updateVehicleViewport(anchorID: request.anchorJunctionID, range: request.range)
     |                                   |- warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
     |                                   `- note: sending main actor-isolated 'session' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
1796 |             } catch {
1797 |                 self.runtimeMessage = "Viewport subscription failed: \(error.localizedDescription)"
/Users/admin/builder/spi-builder-workspace/Sources/SumoGUIMac/ViewModels/SimulationViewModel.swift:1898:35: warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
1896 |             guard let self, let session = self.session else { return }
1897 |             do {
1898 |                 try await session.selectVehicle(id)
     |                                   |- warning: sending 'session' risks causing data races; this is an error in the Swift 6 language mode
     |                                   `- note: sending main actor-isolated 'session' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
1899 |             } catch {
1900 |                 self.runtimeMessage = "Vehicle selection failed: \(error.localizedDescription)"
[35/38] Write Objects.LinkFileList
[36/38] Linking SumoGUIMac
[37/38] Applying SumoGUIMac
Build complete! (12.83s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SumoKit",
  "name" : "SumoKit",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "SumoKit",
      "targets" : [
        "SumoKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SumoGUIMac",
      "targets" : [
        "SumoGUIMac"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "NetParseBenchmark",
      "targets" : [
        "NetParseBenchmark"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SumoKitTests",
      "module_type" : "SwiftTarget",
      "name" : "SumoKitTests",
      "path" : "Tests/SumoKitTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SumoKitTests/Fixtures",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "NetXMLParserTests.swift",
        "SumoLauncherTests.swift",
        "TraCIIntegrationTests.swift",
        "TraCIWireTests.swift"
      ],
      "target_dependencies" : [
        "SumoKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SumoKit",
      "module_type" : "SwiftTarget",
      "name" : "SumoKit",
      "path" : "Sources/SumoKit",
      "product_memberships" : [
        "SumoKit",
        "SumoGUIMac",
        "NetParseBenchmark"
      ],
      "sources" : [
        "Backend/Domains.swift",
        "Backend/Subscriptions.swift",
        "Backend/SumoBackend.swift",
        "Backend/SumoLauncher.swift",
        "Backend/TraCIClient.swift",
        "Backend/TraCIConnection.swift",
        "Backend/TraCIConstants.swift",
        "Backend/TraCIValue.swift",
        "Backend/TraCIWire.swift",
        "Model/SimulationState.swift",
        "Net/NetGraph.swift",
        "Net/NetXMLParser.swift",
        "Net/Quadtree.swift",
        "SumoKit.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SumoGUIMacTests",
      "module_type" : "SwiftTarget",
      "name" : "SumoGUIMacTests",
      "path" : "Tests/SumoGUIMacTests",
      "sources" : [
        "LaunchConfigurationTests.swift",
        "NetworkRenderLODTests.swift",
        "RunningSUMOSessionTests.swift",
        "SimulationViewModelTests.swift",
        "ViewportStateTests.swift"
      ],
      "target_dependencies" : [
        "SumoGUIMac",
        "SumoKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SumoGUIMac",
      "module_type" : "SwiftTarget",
      "name" : "SumoGUIMac",
      "path" : "Sources/SumoGUIMac",
      "product_memberships" : [
        "SumoGUIMac"
      ],
      "sources" : [
        "App/LaunchConfiguration.swift",
        "App/SumoGUIMacApp.swift",
        "Render/NetworkView.swift",
        "UI/MainWindow.swift",
        "ViewModels/RunningSUMOSession.swift",
        "ViewModels/SimulationViewModel.swift",
        "ViewModels/ViewportState.swift",
        "ViewModels/VisualizationSettings.swift"
      ],
      "target_dependencies" : [
        "SumoKit"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "NetParseBenchmark",
      "module_type" : "SwiftTarget",
      "name" : "NetParseBenchmark",
      "path" : "Sources/NetParseBenchmark",
      "product_memberships" : [
        "NetParseBenchmark"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "SumoKit"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.10"
}
Done.