The Swift Package Index logo.Swift Package Index

Build Information

Failed to build TeslaSwift, reference master (0c2ff1), with Swift 6.1 for macOS (SPM) on 26 Jul 2025 14:04:44 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jonasman/TeslaSwift.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jonasman/TeslaSwift
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 0c2ff15 Update auth endpoint
Cloned https://github.com/jonasman/TeslaSwift.git
Revision (git rev-parse @):
0c2ff15dea6feb2ee62558a00e7ae6b186b7078a
SUCCESS checkout https://github.com/jonasman/TeslaSwift.git at master
Fetching https://github.com/daltoniam/Starscream.git
[1/5040] Fetching starscream
Fetched https://github.com/daltoniam/Starscream.git from cache (1.10s)
Computing version for https://github.com/daltoniam/Starscream.git
Computed https://github.com/daltoniam/Starscream.git at 4.0.8 (4.13s)
Creating working copy for https://github.com/daltoniam/Starscream.git
Working copy of https://github.com/daltoniam/Starscream.git resolved at 4.0.8
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "teslaswift",
      "name": "TeslaSwift",
      "url": "https://github.com/jonasman/TeslaSwift.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/TeslaSwift",
      "dependencies": [
        {
          "identity": "starscream",
          "name": "Starscream",
          "url": "https://github.com/daltoniam/Starscream.git",
          "version": "4.0.8",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Starscream",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/jonasman/TeslaSwift.git
[1/4339] Fetching teslaswift
Fetched https://github.com/jonasman/TeslaSwift.git from cache (0.93s)
Fetching https://github.com/daltoniam/Starscream.git from cache
Fetched https://github.com/daltoniam/Starscream.git from cache (0.53s)
Computing version for https://github.com/daltoniam/Starscream.git
Computed https://github.com/daltoniam/Starscream.git at 4.0.8 (0.58s)
Creating working copy for https://github.com/jonasman/TeslaSwift.git
Working copy of https://github.com/jonasman/TeslaSwift.git resolved at master (0c2ff15)
Creating working copy for https://github.com/daltoniam/Starscream.git
Working copy of https://github.com/daltoniam/Starscream.git resolved at 4.0.8
warning: '.resolve-product-dependencies': dependency 'teslaswift' is not used by any target
Found 1 product dependencies
  - Starscream
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/jonasman/TeslaSwift.git
https://github.com/jonasman/TeslaSwift.git
{
  "dependencies" : [
    {
      "identity" : "starscream",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.8",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/daltoniam/Starscream.git"
    }
  ],
  "manifest_display_name" : "TeslaSwift",
  "name" : "TeslaSwift",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "TeslaSwift",
      "targets" : [
        "TeslaSwift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "TeslaSwiftStreaming",
      "targets" : [
        "TeslaSwiftStreaming"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "TeslaSwiftCombine",
      "targets" : [
        "TeslaSwiftCombine"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "TeslaSwiftStreamingCombine",
      "targets" : [
        "TeslaSwiftStreamingCombine"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TeslaSwiftStreamingCombine",
      "module_type" : "SwiftTarget",
      "name" : "TeslaSwiftStreamingCombine",
      "path" : "Sources/Extensions/StreamingCombine",
      "product_memberships" : [
        "TeslaSwiftStreamingCombine"
      ],
      "sources" : [
        "TeslaSwift+StreamingCombine.swift"
      ],
      "target_dependencies" : [
        "TeslaSwiftStreaming",
        "TeslaSwiftCombine"
      ],
      "type" : "library"
    },
    {
      "c99name" : "TeslaSwiftStreaming",
      "module_type" : "SwiftTarget",
      "name" : "TeslaSwiftStreaming",
      "path" : "Sources/Extensions/Streaming",
      "product_dependencies" : [
        "Starscream"
      ],
      "product_memberships" : [
        "TeslaSwiftStreaming",
        "TeslaSwiftStreamingCombine"
      ],
      "sources" : [
        "StreamControl.swift",
        "StreamEvent.swift",
        "TeslaStreaming.swift"
      ],
      "target_dependencies" : [
        "TeslaSwift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "TeslaSwiftCombine",
      "module_type" : "SwiftTarget",
      "name" : "TeslaSwiftCombine",
      "path" : "Sources/Extensions/Combine",
      "product_memberships" : [
        "TeslaSwiftCombine",
        "TeslaSwiftStreamingCombine"
      ],
      "sources" : [
        "TeslaSwift+Combine.swift"
      ],
      "target_dependencies" : [
        "TeslaSwift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "TeslaSwift",
      "module_type" : "SwiftTarget",
      "name" : "TeslaSwift",
      "path" : "Sources/TeslaSwift",
      "product_memberships" : [
        "TeslaSwift",
        "TeslaSwiftStreaming",
        "TeslaSwiftCombine",
        "TeslaSwiftStreamingCombine"
      ],
      "sources" : [
        "Model/Authentication.swift",
        "Model/BatteryData.swift",
        "Model/BatteryPowerHistory.swift",
        "Model/BatteryStatus.swift",
        "Model/ChargeAmpsCommandOptions.swift",
        "Model/ChargeHistory.swift",
        "Model/ChargeLimitPercentageCommandOptions.swift",
        "Model/ChargeState.swift",
        "Model/ClimateState.swift",
        "Model/Codable+JSONString.swift",
        "Model/CommandResponse.swift",
        "Model/Distance.swift",
        "Model/DriveState.swift",
        "Model/EnergySite.swift",
        "Model/EnergySiteHistory.swift",
        "Model/EnergySiteInfo.swift",
        "Model/EnergySiteLiveStatus.swift",
        "Model/EnergySiteStatus.swift",
        "Model/ErrorMessage.swift",
        "Model/GenericResponse.swift",
        "Model/GuiSettings.swift",
        "Model/HomeLinkCommandOptions.swift",
        "Model/MaxDefrostCommandOptions.swift",
        "Model/Me.swift",
        "Model/NearbyChargingSites.swift",
        "Model/OpenTrunkOptions.swift",
        "Model/Partner.swift",
        "Model/Product.swift",
        "Model/Region.swift",
        "Model/RemoteSeatHeaterRequestOptions.swift",
        "Model/RemoteStartDriveCommandOptions.swift",
        "Model/RemoteSteeringWheelHeaterRequestOptions.swift",
        "Model/ScheduledChargingCommandOptions.swift",
        "Model/ScheduledDepartureCommandOptions.swift",
        "Model/SentryModeCommandOptions.swift",
        "Model/SetSunRoofCommandOptions.swift",
        "Model/SetTemperatureCommandOptions.swift",
        "Model/ShareToVehicleOptions.swift",
        "Model/SoftwareUpdate.swift",
        "Model/Speed.swift",
        "Model/SpeedLimitOptions.swift",
        "Model/ValetCommandOptions.swift",
        "Model/Vehicle.swift",
        "Model/VehicleConfig.swift",
        "Model/VehicleExtended.swift",
        "Model/VehicleState.swift",
        "Model/WindowControlCommandOptions.swift",
        "TeslaEndpoint.swift",
        "TeslaSwift.swift",
        "VehicleCommands.swift"
      ],
      "type" : "library"
    }
  ],
  "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/7] Write sources
[2/7] Copying PrivacyInfo.xcprivacy
[3/7] Write sources
[6/7] Write swift-version-2F0A5646E1D333AE.txt
[8/73] Emitting module Starscream
[9/75] Compiling Starscream Transport.swift
[10/75] Compiling Starscream resource_bundle_accessor.swift
[11/75] Compiling TeslaSwift CommandResponse.swift
[12/75] Compiling TeslaSwift Distance.swift
[13/75] Compiling TeslaSwift Authentication.swift
[14/75] Compiling TeslaSwift BatteryData.swift
[15/75] Compiling TeslaSwift BatteryPowerHistory.swift
[16/75] Compiling TeslaSwift BatteryStatus.swift
[17/75] Compiling TeslaSwift ChargeAmpsCommandOptions.swift
[18/75] Compiling TeslaSwift RemoteSteeringWheelHeaterRequestOptions.swift
[19/75] Compiling TeslaSwift ScheduledChargingCommandOptions.swift
[20/75] Compiling TeslaSwift ScheduledDepartureCommandOptions.swift
[21/75] Compiling TeslaSwift SentryModeCommandOptions.swift
[22/75] Compiling TeslaSwift MaxDefrostCommandOptions.swift
[23/75] Compiling TeslaSwift Me.swift
[24/75] Compiling TeslaSwift GuiSettings.swift
[25/75] Compiling TeslaSwift HomeLinkCommandOptions.swift
[26/75] Compiling TeslaSwift DriveState.swift
[27/75] Compiling TeslaSwift EnergySite.swift
[28/75] Compiling TeslaSwift NearbyChargingSites.swift
[29/75] Compiling TeslaSwift RemoteStartDriveCommandOptions.swift
[30/75] Compiling TeslaSwift SpeedLimitOptions.swift
[31/75] Compiling TeslaSwift ValetCommandOptions.swift
[32/75] Compiling TeslaSwift Vehicle.swift
[33/75] Compiling TeslaSwift VehicleConfig.swift
[34/75] Compiling TeslaSwift VehicleExtended.swift
[35/80] Compiling TeslaSwift OpenTrunkOptions.swift
[36/80] Compiling TeslaSwift Partner.swift
[37/80] Compiling TeslaSwift Product.swift
[38/80] Compiling TeslaSwift Region.swift
[39/80] Compiling TeslaSwift RemoteSeatHeaterRequestOptions.swift
[41/80] Compiling TeslaSwift EnergySiteLiveStatus.swift
[42/80] Compiling TeslaSwift EnergySiteStatus.swift
[43/80] Compiling TeslaSwift ErrorMessage.swift
[44/80] Compiling TeslaSwift GenericResponse.swift
[45/80] Emitting module TeslaSwift
/Users/admin/builder/spi-builder-workspace/Sources/TeslaSwift/TeslaEndpoint.swift:60:23: warning: static property 'all' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 58 |     case vehicleDataCombo = "vehicle_data_combo"
 59 |
 60 |     public static var all: [AllStatesEndpoints] = [.chargeState, .climateState, .closuresState, .driveState, .guiSettings, .vehicleConfig, .vehicleState]
    |                       |- warning: static property 'all' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'all' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 61 |     public static var allWithLocation: [AllStatesEndpoints] = [.chargeState, .climateState, .closuresState, .locationData, .guiSettings, .vehicleConfig, .vehicleState]
 62 | }
/Users/admin/builder/spi-builder-workspace/Sources/TeslaSwift/TeslaEndpoint.swift:61:23: warning: static property 'allWithLocation' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 59 |
 60 |     public static var all: [AllStatesEndpoints] = [.chargeState, .climateState, .closuresState, .driveState, .guiSettings, .vehicleConfig, .vehicleState]
 61 |     public static var allWithLocation: [AllStatesEndpoints] = [.chargeState, .climateState, .closuresState, .locationData, .guiSettings, .vehicleConfig, .vehicleState]
    |                       |- warning: static property 'allWithLocation' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'allWithLocation' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'allWithLocation' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 62 | }
 63 |
/Users/admin/builder/spi-builder-workspace/Sources/TeslaSwift/TeslaSwift.swift:51:27: warning: static property 'all' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 49 |         case energyCmds = "energy_cmds"
 50 |
 51 |         public static var all: [Scope] = [.openId, .offlineAccess, .userData, .vehicleDeviceData, .vehicleCmds, .vehicleChargingCmds, .energyDeviceData, .energyCmds]
    |                           |- warning: static property 'all' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: convert 'all' to a 'let' constant to make 'Sendable' shared state immutable
    |                           |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 52 |     }
 53 |
[46/80] Compiling TeslaSwift SetSunRoofCommandOptions.swift
[47/80] Compiling TeslaSwift SetTemperatureCommandOptions.swift
[48/80] Compiling TeslaSwift ShareToVehicleOptions.swift
[49/80] Compiling TeslaSwift SoftwareUpdate.swift
[50/80] Compiling TeslaSwift Speed.swift
[71/80] Compiling TeslaSwift ChargeHistory.swift
[72/80] Compiling TeslaSwift ChargeLimitPercentageCommandOptions.swift
[73/80] Compiling TeslaSwift ChargeState.swift
[74/80] Compiling TeslaSwift ClimateState.swift
[75/80] Compiling TeslaSwift Codable+JSONString.swift
[76/80] Compiling TeslaSwift VehicleState.swift
/Users/admin/builder/spi-builder-workspace/Sources/TeslaSwift/TeslaEndpoint.swift:60:23: warning: static property 'all' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 58 |     case vehicleDataCombo = "vehicle_data_combo"
 59 |
 60 |     public static var all: [AllStatesEndpoints] = [.chargeState, .climateState, .closuresState, .driveState, .guiSettings, .vehicleConfig, .vehicleState]
    |                       |- warning: static property 'all' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'all' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 61 |     public static var allWithLocation: [AllStatesEndpoints] = [.chargeState, .climateState, .closuresState, .locationData, .guiSettings, .vehicleConfig, .vehicleState]
 62 | }
/Users/admin/builder/spi-builder-workspace/Sources/TeslaSwift/TeslaEndpoint.swift:61:23: warning: static property 'allWithLocation' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 59 |
 60 |     public static var all: [AllStatesEndpoints] = [.chargeState, .climateState, .closuresState, .driveState, .guiSettings, .vehicleConfig, .vehicleState]
 61 |     public static var allWithLocation: [AllStatesEndpoints] = [.chargeState, .climateState, .closuresState, .locationData, .guiSettings, .vehicleConfig, .vehicleState]
    |                       |- warning: static property 'allWithLocation' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'allWithLocation' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'allWithLocation' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 62 | }
 63 |
/Users/admin/builder/spi-builder-workspace/Sources/TeslaSwift/TeslaSwift.swift:51:27: warning: static property 'all' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 49 |         case energyCmds = "energy_cmds"
 50 |
 51 |         public static var all: [Scope] = [.openId, .offlineAccess, .userData, .vehicleDeviceData, .vehicleCmds, .vehicleChargingCmds, .energyDeviceData, .energyCmds]
    |                           |- warning: static property 'all' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: convert 'all' to a 'let' constant to make 'Sendable' shared state immutable
    |                           |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 52 |     }
 53 |
/Users/admin/builder/spi-builder-workspace/Sources/TeslaSwift/TeslaSwift.swift:322:38: warning: call to main actor-isolated instance method 'fetchDataRecords(ofTypes:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
319 |
320 |     #if canImport(WebKit)
321 |     static func removeCookies() {
    |                 `- note: add '@MainActor' to make static method 'removeCookies()' part of global actor 'MainActor'
322 |         WKWebsiteDataStore.default().fetchDataRecords(ofTypes: WKWebsiteDataStore.allWebsiteDataTypes()) { records in
    |                                      `- warning: call to main actor-isolated instance method 'fetchDataRecords(ofTypes:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
323 |             records.forEach { record in
324 |                 WKWebsiteDataStore.default().removeData(ofTypes: record.dataTypes, for: [record], completionHandler: {})
WebKit.WKWebsiteDataStore.fetchDataRecords:2:22: note: calls to instance method 'fetchDataRecords(ofTypes:completionHandler:)' from outside of its actor context are implicitly asynchronous
1 | class WKWebsiteDataStore {
2 | @MainActor open func fetchDataRecords(ofTypes dataTypes: Set<String>, completionHandler: @escaping @MainActor @Sendable ([WKWebsiteDataRecord]) -> Void)}
  |                      `- note: calls to instance method 'fetchDataRecords(ofTypes:completionHandler:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/TeslaSwift/TeslaSwift.swift:322:28: warning: call to main actor-isolated class method 'default()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
319 |
320 |     #if canImport(WebKit)
321 |     static func removeCookies() {
    |                 `- note: add '@MainActor' to make static method 'removeCookies()' part of global actor 'MainActor'
322 |         WKWebsiteDataStore.default().fetchDataRecords(ofTypes: WKWebsiteDataStore.allWebsiteDataTypes()) { records in
    |                            `- warning: call to main actor-isolated class method 'default()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
323 |             records.forEach { record in
324 |                 WKWebsiteDataStore.default().removeData(ofTypes: record.dataTypes, for: [record], completionHandler: {})
WebKit.WKWebsiteDataStore.default:2:28: note: calls to class method 'default()' from outside of its actor context are implicitly asynchronous
1 | class WKWebsiteDataStore {
2 | @MainActor open class func `default`() -> WKWebsiteDataStore}
  |                            `- note: calls to class method 'default()' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/TeslaSwift/TeslaSwift.swift:322:83: warning: call to main actor-isolated class method 'allWebsiteDataTypes()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
319 |
320 |     #if canImport(WebKit)
321 |     static func removeCookies() {
    |                 `- note: add '@MainActor' to make static method 'removeCookies()' part of global actor 'MainActor'
322 |         WKWebsiteDataStore.default().fetchDataRecords(ofTypes: WKWebsiteDataStore.allWebsiteDataTypes()) { records in
    |                                                                                   `- warning: call to main actor-isolated class method 'allWebsiteDataTypes()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
323 |             records.forEach { record in
324 |                 WKWebsiteDataStore.default().removeData(ofTypes: record.dataTypes, for: [record], completionHandler: {})
WebKit.WKWebsiteDataStore.allWebsiteDataTypes:2:28: note: calls to class method 'allWebsiteDataTypes()' from outside of its actor context are implicitly asynchronous
1 | class WKWebsiteDataStore {
2 | @MainActor open class func allWebsiteDataTypes() -> Set<String>}
  |                            `- note: calls to class method 'allWebsiteDataTypes()' from outside of its actor context are implicitly asynchronous
3 |
[77/80] Compiling TeslaSwift WindowControlCommandOptions.swift
/Users/admin/builder/spi-builder-workspace/Sources/TeslaSwift/TeslaEndpoint.swift:60:23: warning: static property 'all' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 58 |     case vehicleDataCombo = "vehicle_data_combo"
 59 |
 60 |     public static var all: [AllStatesEndpoints] = [.chargeState, .climateState, .closuresState, .driveState, .guiSettings, .vehicleConfig, .vehicleState]
    |                       |- warning: static property 'all' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'all' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 61 |     public static var allWithLocation: [AllStatesEndpoints] = [.chargeState, .climateState, .closuresState, .locationData, .guiSettings, .vehicleConfig, .vehicleState]
 62 | }
/Users/admin/builder/spi-builder-workspace/Sources/TeslaSwift/TeslaEndpoint.swift:61:23: warning: static property 'allWithLocation' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 59 |
 60 |     public static var all: [AllStatesEndpoints] = [.chargeState, .climateState, .closuresState, .driveState, .guiSettings, .vehicleConfig, .vehicleState]
 61 |     public static var allWithLocation: [AllStatesEndpoints] = [.chargeState, .climateState, .closuresState, .locationData, .guiSettings, .vehicleConfig, .vehicleState]
    |                       |- warning: static property 'allWithLocation' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'allWithLocation' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'allWithLocation' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 62 | }
 63 |
/Users/admin/builder/spi-builder-workspace/Sources/TeslaSwift/TeslaSwift.swift:51:27: warning: static property 'all' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 49 |         case energyCmds = "energy_cmds"
 50 |
 51 |         public static var all: [Scope] = [.openId, .offlineAccess, .userData, .vehicleDeviceData, .vehicleCmds, .vehicleChargingCmds, .energyDeviceData, .energyCmds]
    |                           |- warning: static property 'all' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: convert 'all' to a 'let' constant to make 'Sendable' shared state immutable
    |                           |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 52 |     }
 53 |
/Users/admin/builder/spi-builder-workspace/Sources/TeslaSwift/TeslaSwift.swift:322:38: warning: call to main actor-isolated instance method 'fetchDataRecords(ofTypes:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
319 |
320 |     #if canImport(WebKit)
321 |     static func removeCookies() {
    |                 `- note: add '@MainActor' to make static method 'removeCookies()' part of global actor 'MainActor'
322 |         WKWebsiteDataStore.default().fetchDataRecords(ofTypes: WKWebsiteDataStore.allWebsiteDataTypes()) { records in
    |                                      `- warning: call to main actor-isolated instance method 'fetchDataRecords(ofTypes:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
323 |             records.forEach { record in
324 |                 WKWebsiteDataStore.default().removeData(ofTypes: record.dataTypes, for: [record], completionHandler: {})
WebKit.WKWebsiteDataStore.fetchDataRecords:2:22: note: calls to instance method 'fetchDataRecords(ofTypes:completionHandler:)' from outside of its actor context are implicitly asynchronous
1 | class WKWebsiteDataStore {
2 | @MainActor open func fetchDataRecords(ofTypes dataTypes: Set<String>, completionHandler: @escaping @MainActor @Sendable ([WKWebsiteDataRecord]) -> Void)}
  |                      `- note: calls to instance method 'fetchDataRecords(ofTypes:completionHandler:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/TeslaSwift/TeslaSwift.swift:322:28: warning: call to main actor-isolated class method 'default()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
319 |
320 |     #if canImport(WebKit)
321 |     static func removeCookies() {
    |                 `- note: add '@MainActor' to make static method 'removeCookies()' part of global actor 'MainActor'
322 |         WKWebsiteDataStore.default().fetchDataRecords(ofTypes: WKWebsiteDataStore.allWebsiteDataTypes()) { records in
    |                            `- warning: call to main actor-isolated class method 'default()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
323 |             records.forEach { record in
324 |                 WKWebsiteDataStore.default().removeData(ofTypes: record.dataTypes, for: [record], completionHandler: {})
WebKit.WKWebsiteDataStore.default:2:28: note: calls to class method 'default()' from outside of its actor context are implicitly asynchronous
1 | class WKWebsiteDataStore {
2 | @MainActor open class func `default`() -> WKWebsiteDataStore}
  |                            `- note: calls to class method 'default()' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/TeslaSwift/TeslaSwift.swift:322:83: warning: call to main actor-isolated class method 'allWebsiteDataTypes()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
319 |
320 |     #if canImport(WebKit)
321 |     static func removeCookies() {
    |                 `- note: add '@MainActor' to make static method 'removeCookies()' part of global actor 'MainActor'
322 |         WKWebsiteDataStore.default().fetchDataRecords(ofTypes: WKWebsiteDataStore.allWebsiteDataTypes()) { records in
    |                                                                                   `- warning: call to main actor-isolated class method 'allWebsiteDataTypes()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
323 |             records.forEach { record in
324 |                 WKWebsiteDataStore.default().removeData(ofTypes: record.dataTypes, for: [record], completionHandler: {})
WebKit.WKWebsiteDataStore.allWebsiteDataTypes:2:28: note: calls to class method 'allWebsiteDataTypes()' from outside of its actor context are implicitly asynchronous
1 | class WKWebsiteDataStore {
2 | @MainActor open class func allWebsiteDataTypes() -> Set<String>}
  |                            `- note: calls to class method 'allWebsiteDataTypes()' from outside of its actor context are implicitly asynchronous
3 |
[78/80] Compiling TeslaSwift TeslaEndpoint.swift
/Users/admin/builder/spi-builder-workspace/Sources/TeslaSwift/TeslaEndpoint.swift:60:23: warning: static property 'all' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 58 |     case vehicleDataCombo = "vehicle_data_combo"
 59 |
 60 |     public static var all: [AllStatesEndpoints] = [.chargeState, .climateState, .closuresState, .driveState, .guiSettings, .vehicleConfig, .vehicleState]
    |                       |- warning: static property 'all' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'all' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 61 |     public static var allWithLocation: [AllStatesEndpoints] = [.chargeState, .climateState, .closuresState, .locationData, .guiSettings, .vehicleConfig, .vehicleState]
 62 | }
/Users/admin/builder/spi-builder-workspace/Sources/TeslaSwift/TeslaEndpoint.swift:61:23: warning: static property 'allWithLocation' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 59 |
 60 |     public static var all: [AllStatesEndpoints] = [.chargeState, .climateState, .closuresState, .driveState, .guiSettings, .vehicleConfig, .vehicleState]
 61 |     public static var allWithLocation: [AllStatesEndpoints] = [.chargeState, .climateState, .closuresState, .locationData, .guiSettings, .vehicleConfig, .vehicleState]
    |                       |- warning: static property 'allWithLocation' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'allWithLocation' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'allWithLocation' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 62 | }
 63 |
/Users/admin/builder/spi-builder-workspace/Sources/TeslaSwift/TeslaSwift.swift:51:27: warning: static property 'all' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 49 |         case energyCmds = "energy_cmds"
 50 |
 51 |         public static var all: [Scope] = [.openId, .offlineAccess, .userData, .vehicleDeviceData, .vehicleCmds, .vehicleChargingCmds, .energyDeviceData, .energyCmds]
    |                           |- warning: static property 'all' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: convert 'all' to a 'let' constant to make 'Sendable' shared state immutable
    |                           |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 52 |     }
 53 |
/Users/admin/builder/spi-builder-workspace/Sources/TeslaSwift/TeslaSwift.swift:322:38: warning: call to main actor-isolated instance method 'fetchDataRecords(ofTypes:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
319 |
320 |     #if canImport(WebKit)
321 |     static func removeCookies() {
    |                 `- note: add '@MainActor' to make static method 'removeCookies()' part of global actor 'MainActor'
322 |         WKWebsiteDataStore.default().fetchDataRecords(ofTypes: WKWebsiteDataStore.allWebsiteDataTypes()) { records in
    |                                      `- warning: call to main actor-isolated instance method 'fetchDataRecords(ofTypes:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
323 |             records.forEach { record in
324 |                 WKWebsiteDataStore.default().removeData(ofTypes: record.dataTypes, for: [record], completionHandler: {})
WebKit.WKWebsiteDataStore.fetchDataRecords:2:22: note: calls to instance method 'fetchDataRecords(ofTypes:completionHandler:)' from outside of its actor context are implicitly asynchronous
1 | class WKWebsiteDataStore {
2 | @MainActor open func fetchDataRecords(ofTypes dataTypes: Set<String>, completionHandler: @escaping @MainActor @Sendable ([WKWebsiteDataRecord]) -> Void)}
  |                      `- note: calls to instance method 'fetchDataRecords(ofTypes:completionHandler:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/TeslaSwift/TeslaSwift.swift:322:28: warning: call to main actor-isolated class method 'default()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
319 |
320 |     #if canImport(WebKit)
321 |     static func removeCookies() {
    |                 `- note: add '@MainActor' to make static method 'removeCookies()' part of global actor 'MainActor'
322 |         WKWebsiteDataStore.default().fetchDataRecords(ofTypes: WKWebsiteDataStore.allWebsiteDataTypes()) { records in
    |                            `- warning: call to main actor-isolated class method 'default()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
323 |             records.forEach { record in
324 |                 WKWebsiteDataStore.default().removeData(ofTypes: record.dataTypes, for: [record], completionHandler: {})
WebKit.WKWebsiteDataStore.default:2:28: note: calls to class method 'default()' from outside of its actor context are implicitly asynchronous
1 | class WKWebsiteDataStore {
2 | @MainActor open class func `default`() -> WKWebsiteDataStore}
  |                            `- note: calls to class method 'default()' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/TeslaSwift/TeslaSwift.swift:322:83: warning: call to main actor-isolated class method 'allWebsiteDataTypes()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
319 |
320 |     #if canImport(WebKit)
321 |     static func removeCookies() {
    |                 `- note: add '@MainActor' to make static method 'removeCookies()' part of global actor 'MainActor'
322 |         WKWebsiteDataStore.default().fetchDataRecords(ofTypes: WKWebsiteDataStore.allWebsiteDataTypes()) { records in
    |                                                                                   `- warning: call to main actor-isolated class method 'allWebsiteDataTypes()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
323 |             records.forEach { record in
324 |                 WKWebsiteDataStore.default().removeData(ofTypes: record.dataTypes, for: [record], completionHandler: {})
WebKit.WKWebsiteDataStore.allWebsiteDataTypes:2:28: note: calls to class method 'allWebsiteDataTypes()' from outside of its actor context are implicitly asynchronous
1 | class WKWebsiteDataStore {
2 | @MainActor open class func allWebsiteDataTypes() -> Set<String>}
  |                            `- note: calls to class method 'allWebsiteDataTypes()' from outside of its actor context are implicitly asynchronous
3 |
[79/80] Compiling TeslaSwift TeslaSwift.swift
/Users/admin/builder/spi-builder-workspace/Sources/TeslaSwift/TeslaEndpoint.swift:60:23: warning: static property 'all' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 58 |     case vehicleDataCombo = "vehicle_data_combo"
 59 |
 60 |     public static var all: [AllStatesEndpoints] = [.chargeState, .climateState, .closuresState, .driveState, .guiSettings, .vehicleConfig, .vehicleState]
    |                       |- warning: static property 'all' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'all' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 61 |     public static var allWithLocation: [AllStatesEndpoints] = [.chargeState, .climateState, .closuresState, .locationData, .guiSettings, .vehicleConfig, .vehicleState]
 62 | }
/Users/admin/builder/spi-builder-workspace/Sources/TeslaSwift/TeslaEndpoint.swift:61:23: warning: static property 'allWithLocation' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 59 |
 60 |     public static var all: [AllStatesEndpoints] = [.chargeState, .climateState, .closuresState, .driveState, .guiSettings, .vehicleConfig, .vehicleState]
 61 |     public static var allWithLocation: [AllStatesEndpoints] = [.chargeState, .climateState, .closuresState, .locationData, .guiSettings, .vehicleConfig, .vehicleState]
    |                       |- warning: static property 'allWithLocation' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'allWithLocation' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'allWithLocation' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 62 | }
 63 |
/Users/admin/builder/spi-builder-workspace/Sources/TeslaSwift/TeslaSwift.swift:51:27: warning: static property 'all' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 49 |         case energyCmds = "energy_cmds"
 50 |
 51 |         public static var all: [Scope] = [.openId, .offlineAccess, .userData, .vehicleDeviceData, .vehicleCmds, .vehicleChargingCmds, .energyDeviceData, .energyCmds]
    |                           |- warning: static property 'all' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: convert 'all' to a 'let' constant to make 'Sendable' shared state immutable
    |                           |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 52 |     }
 53 |
/Users/admin/builder/spi-builder-workspace/Sources/TeslaSwift/TeslaSwift.swift:322:38: warning: call to main actor-isolated instance method 'fetchDataRecords(ofTypes:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
319 |
320 |     #if canImport(WebKit)
321 |     static func removeCookies() {
    |                 `- note: add '@MainActor' to make static method 'removeCookies()' part of global actor 'MainActor'
322 |         WKWebsiteDataStore.default().fetchDataRecords(ofTypes: WKWebsiteDataStore.allWebsiteDataTypes()) { records in
    |                                      `- warning: call to main actor-isolated instance method 'fetchDataRecords(ofTypes:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
323 |             records.forEach { record in
324 |                 WKWebsiteDataStore.default().removeData(ofTypes: record.dataTypes, for: [record], completionHandler: {})
WebKit.WKWebsiteDataStore.fetchDataRecords:2:22: note: calls to instance method 'fetchDataRecords(ofTypes:completionHandler:)' from outside of its actor context are implicitly asynchronous
1 | class WKWebsiteDataStore {
2 | @MainActor open func fetchDataRecords(ofTypes dataTypes: Set<String>, completionHandler: @escaping @MainActor @Sendable ([WKWebsiteDataRecord]) -> Void)}
  |                      `- note: calls to instance method 'fetchDataRecords(ofTypes:completionHandler:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/TeslaSwift/TeslaSwift.swift:322:28: warning: call to main actor-isolated class method 'default()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
319 |
320 |     #if canImport(WebKit)
321 |     static func removeCookies() {
    |                 `- note: add '@MainActor' to make static method 'removeCookies()' part of global actor 'MainActor'
322 |         WKWebsiteDataStore.default().fetchDataRecords(ofTypes: WKWebsiteDataStore.allWebsiteDataTypes()) { records in
    |                            `- warning: call to main actor-isolated class method 'default()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
323 |             records.forEach { record in
324 |                 WKWebsiteDataStore.default().removeData(ofTypes: record.dataTypes, for: [record], completionHandler: {})
WebKit.WKWebsiteDataStore.default:2:28: note: calls to class method 'default()' from outside of its actor context are implicitly asynchronous
1 | class WKWebsiteDataStore {
2 | @MainActor open class func `default`() -> WKWebsiteDataStore}
  |                            `- note: calls to class method 'default()' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/TeslaSwift/TeslaSwift.swift:322:83: warning: call to main actor-isolated class method 'allWebsiteDataTypes()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
319 |
320 |     #if canImport(WebKit)
321 |     static func removeCookies() {
    |                 `- note: add '@MainActor' to make static method 'removeCookies()' part of global actor 'MainActor'
322 |         WKWebsiteDataStore.default().fetchDataRecords(ofTypes: WKWebsiteDataStore.allWebsiteDataTypes()) { records in
    |                                                                                   `- warning: call to main actor-isolated class method 'allWebsiteDataTypes()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
323 |             records.forEach { record in
324 |                 WKWebsiteDataStore.default().removeData(ofTypes: record.dataTypes, for: [record], completionHandler: {})
WebKit.WKWebsiteDataStore.allWebsiteDataTypes:2:28: note: calls to class method 'allWebsiteDataTypes()' from outside of its actor context are implicitly asynchronous
1 | class WKWebsiteDataStore {
2 | @MainActor open class func allWebsiteDataTypes() -> Set<String>}
  |                            `- note: calls to class method 'allWebsiteDataTypes()' from outside of its actor context are implicitly asynchronous
3 |
[80/80] Compiling TeslaSwift VehicleCommands.swift
/Users/admin/builder/spi-builder-workspace/Sources/TeslaSwift/TeslaEndpoint.swift:60:23: warning: static property 'all' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 58 |     case vehicleDataCombo = "vehicle_data_combo"
 59 |
 60 |     public static var all: [AllStatesEndpoints] = [.chargeState, .climateState, .closuresState, .driveState, .guiSettings, .vehicleConfig, .vehicleState]
    |                       |- warning: static property 'all' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'all' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 61 |     public static var allWithLocation: [AllStatesEndpoints] = [.chargeState, .climateState, .closuresState, .locationData, .guiSettings, .vehicleConfig, .vehicleState]
 62 | }
/Users/admin/builder/spi-builder-workspace/Sources/TeslaSwift/TeslaEndpoint.swift:61:23: warning: static property 'allWithLocation' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 59 |
 60 |     public static var all: [AllStatesEndpoints] = [.chargeState, .climateState, .closuresState, .driveState, .guiSettings, .vehicleConfig, .vehicleState]
 61 |     public static var allWithLocation: [AllStatesEndpoints] = [.chargeState, .climateState, .closuresState, .locationData, .guiSettings, .vehicleConfig, .vehicleState]
    |                       |- warning: static property 'allWithLocation' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'allWithLocation' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: add '@MainActor' to make static property 'allWithLocation' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 62 | }
 63 |
/Users/admin/builder/spi-builder-workspace/Sources/TeslaSwift/TeslaSwift.swift:51:27: warning: static property 'all' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 49 |         case energyCmds = "energy_cmds"
 50 |
 51 |         public static var all: [Scope] = [.openId, .offlineAccess, .userData, .vehicleDeviceData, .vehicleCmds, .vehicleChargingCmds, .energyDeviceData, .energyCmds]
    |                           |- warning: static property 'all' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: convert 'all' to a 'let' constant to make 'Sendable' shared state immutable
    |                           |- note: add '@MainActor' to make static property 'all' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 52 |     }
 53 |
/Users/admin/builder/spi-builder-workspace/Sources/TeslaSwift/TeslaSwift.swift:322:38: warning: call to main actor-isolated instance method 'fetchDataRecords(ofTypes:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
319 |
320 |     #if canImport(WebKit)
321 |     static func removeCookies() {
    |                 `- note: add '@MainActor' to make static method 'removeCookies()' part of global actor 'MainActor'
322 |         WKWebsiteDataStore.default().fetchDataRecords(ofTypes: WKWebsiteDataStore.allWebsiteDataTypes()) { records in
    |                                      `- warning: call to main actor-isolated instance method 'fetchDataRecords(ofTypes:completionHandler:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
323 |             records.forEach { record in
324 |                 WKWebsiteDataStore.default().removeData(ofTypes: record.dataTypes, for: [record], completionHandler: {})
WebKit.WKWebsiteDataStore.fetchDataRecords:2:22: note: calls to instance method 'fetchDataRecords(ofTypes:completionHandler:)' from outside of its actor context are implicitly asynchronous
1 | class WKWebsiteDataStore {
2 | @MainActor open func fetchDataRecords(ofTypes dataTypes: Set<String>, completionHandler: @escaping @MainActor @Sendable ([WKWebsiteDataRecord]) -> Void)}
  |                      `- note: calls to instance method 'fetchDataRecords(ofTypes:completionHandler:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/TeslaSwift/TeslaSwift.swift:322:28: warning: call to main actor-isolated class method 'default()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
319 |
320 |     #if canImport(WebKit)
321 |     static func removeCookies() {
    |                 `- note: add '@MainActor' to make static method 'removeCookies()' part of global actor 'MainActor'
322 |         WKWebsiteDataStore.default().fetchDataRecords(ofTypes: WKWebsiteDataStore.allWebsiteDataTypes()) { records in
    |                            `- warning: call to main actor-isolated class method 'default()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
323 |             records.forEach { record in
324 |                 WKWebsiteDataStore.default().removeData(ofTypes: record.dataTypes, for: [record], completionHandler: {})
WebKit.WKWebsiteDataStore.default:2:28: note: calls to class method 'default()' from outside of its actor context are implicitly asynchronous
1 | class WKWebsiteDataStore {
2 | @MainActor open class func `default`() -> WKWebsiteDataStore}
  |                            `- note: calls to class method 'default()' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/TeslaSwift/TeslaSwift.swift:322:83: warning: call to main actor-isolated class method 'allWebsiteDataTypes()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
319 |
320 |     #if canImport(WebKit)
321 |     static func removeCookies() {
    |                 `- note: add '@MainActor' to make static method 'removeCookies()' part of global actor 'MainActor'
322 |         WKWebsiteDataStore.default().fetchDataRecords(ofTypes: WKWebsiteDataStore.allWebsiteDataTypes()) { records in
    |                                                                                   `- warning: call to main actor-isolated class method 'allWebsiteDataTypes()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
323 |             records.forEach { record in
324 |                 WKWebsiteDataStore.default().removeData(ofTypes: record.dataTypes, for: [record], completionHandler: {})
WebKit.WKWebsiteDataStore.allWebsiteDataTypes:2:28: note: calls to class method 'allWebsiteDataTypes()' from outside of its actor context are implicitly asynchronous
1 | class WKWebsiteDataStore {
2 | @MainActor open class func allWebsiteDataTypes() -> Set<String>}
  |                            `- note: calls to class method 'allWebsiteDataTypes()' from outside of its actor context are implicitly asynchronous
3 |
[81/86] Compiling TeslaSwiftCombine TeslaSwift+Combine.swift
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Combine/TeslaSwift+Combine.swift:66:101: warning: reference to static property 'allWithLocation' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 64 |     }
 65 |
 66 |     public func getAllData(_ vehicle: Vehicle, endpoints: [AllStatesEndpoints] = AllStatesEndpoints.allWithLocation) -> Future<VehicleExtended, Error> {
    |                                                                                                     `- warning: reference to static property 'allWithLocation' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 67 |         Future { promise in
 68 |             Task {
/Users/admin/builder/spi-builder-workspace/Sources/TeslaSwift/TeslaEndpoint.swift:61:23: note: static property declared here
 59 |
 60 |     public static var all: [AllStatesEndpoints] = [.chargeState, .climateState, .closuresState, .driveState, .guiSettings, .vehicleConfig, .vehicleState]
 61 |     public static var allWithLocation: [AllStatesEndpoints] = [.chargeState, .climateState, .closuresState, .locationData, .guiSettings, .vehicleConfig, .vehicleState]
    |                       `- note: static property declared here
 62 | }
 63 |
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Combine/TeslaSwift+Combine.swift:16:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 14 |     public func revokeToken() -> Future<Bool, Error> {
 15 |         Future { promise in
 16 |             Task {
    |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 17 |                 do {
 18 |                     let result = try await self.revokeToken()
    |                                            `- note: closure captures 'self' which is accessible to code in the current task
 19 |                     promise(.success(result))
 20 |                 } catch let error {
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Combine/TeslaSwift+Combine.swift:29:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 27 |     public func getVehicles() -> Future<[Vehicle], Error> {
 28 |         Future { promise in
 29 |             Task {
    |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 30 |                 do {
 31 |                     let result = try await self.getVehicles()
    |                                            `- note: closure captures 'self' which is accessible to code in the current task
 32 |                     promise(.success(result))
 33 |                 } catch let error {
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Combine/TeslaSwift+Combine.swift:42:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 40 |     public func getVehicle(_ vehicleID: VehicleId) -> Future<Vehicle, Error> {
 41 |         Future { promise in
 42 |             Task {
    |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 43 |                 do {
 44 |                     let result = try await self.getVehicle(vehicleID)
    |                                                            `- note: closure captures 'vehicleID' which is accessible to code in the current task
 45 |                     promise(.success(result))
 46 |                 } catch let error {
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Combine/TeslaSwift+Combine.swift:55:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 53 |     public func getVehicle(_ vehicle: Vehicle) -> Future<Vehicle, Error> {
 54 |         Future { promise in
 55 |             Task {
    |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 56 |                 do {
 57 |                     let result = try await self.getVehicle(vehicle)
    |                                                            `- note: closure captures 'vehicle' which is accessible to code in the current task
 58 |                     promise(.success(result))
 59 |                 } catch let error {
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Combine/TeslaSwift+Combine.swift:68:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 66 |     public func getAllData(_ vehicle: Vehicle, endpoints: [AllStatesEndpoints] = AllStatesEndpoints.allWithLocation) -> Future<VehicleExtended, Error> {
 67 |         Future { promise in
 68 |             Task {
    |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 69 |                 do {
 70 |                     let result = try await self.getAllData(vehicle, endpoints: endpoints)
    |                                                                                `- note: closure captures 'endpoints' which is accessible to code in the current task
 71 |                     promise(.success(result))
 72 |                 } catch let error {
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Combine/TeslaSwift+Combine.swift:81:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 79 |     public func getVehicleMobileAccessState(_ vehicle: Vehicle) -> Future<Bool, Error> {
 80 |         Future { promise in
 81 |             Task {
    |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 82 |                 do {
 83 |                     let result = try await self.getVehicleMobileAccessState(vehicle)
    |                                                                             `- note: closure captures 'vehicle' which is accessible to code in the current task
 84 |                     promise(.success(result))
 85 |                 } catch let error {
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Combine/TeslaSwift+Combine.swift:94:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 92 |     public func wakeUp(_ vehicle: Vehicle) -> Future<Vehicle, Error> {
 93 |         Future { promise in
 94 |             Task {
    |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 95 |                 do {
 96 |                     let result = try await self.wakeUp(vehicle)
    |                                                        `- note: closure captures 'vehicle' which is accessible to code in the current task
 97 |                     promise(.success(result))
 98 |                 } catch let error {
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Combine/TeslaSwift+Combine.swift:107:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
105 |     public func sendCommandToVehicle(_ vehicle: Vehicle, command: VehicleCommand) -> Future<CommandResponse, Error> {
106 |         Future { promise in
107 |             Task {
    |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
108 |                 do {
109 |                     let result = try await self.sendCommandToVehicle(vehicle, command: command)
    |                                            |                         |                 `- note: closure captures non-Sendable 'command'
    |                                            |                         `- note: closure captures non-Sendable 'vehicle'
    |                                            `- note: closure captures non-Sendable 'self'
110 |                     promise(.success(result))
    |                     `- note: closure captures non-Sendable 'promise'
111 |                 } catch let error {
112 |                     promise(.failure(error))
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Combine/TeslaSwift+Combine.swift:120:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
118 |     public func getNearbyChargingSite(vehicle: Vehicle) -> Future<NearbyChargingSites, Error> {
119 |         Future { promise in
120 |             Task {
    |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
121 |                 do {
122 |                     let result = try await self.getNearbyChargingSites(vehicle)
    |                                                                        `- note: closure captures 'vehicle' which is accessible to code in the current task
123 |                     promise(.success(result))
124 |                 } catch let error {
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Combine/TeslaSwift+Combine.swift:133:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
131 |     public func getProducts() -> Future<[Product], Error> {
132 |         Future { promise in
133 |             Task {
    |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
134 |                 do {
135 |                     let result = try await self.getProducts()
    |                                            `- note: closure captures 'self' which is accessible to code in the current task
136 |                     promise(.success(result))
137 |                 } catch let error {
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Combine/TeslaSwift+Combine.swift:146:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
144 |     public func getEnergySiteStatus(siteID: SiteId) -> Future<EnergySiteStatus, Error> {
145 |         Future { promise in
146 |             Task {
    |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
147 |                 do {
148 |                     let result = try await self.getEnergySiteStatus(siteID: siteID)
    |                                                                             `- note: closure captures 'siteID' which is accessible to code in the current task
149 |                     promise(.success(result))
150 |                 } catch let error {
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Combine/TeslaSwift+Combine.swift:159:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
157 |     public func getEnergySiteLiveStatus(siteID: SiteId) -> Future<EnergySiteLiveStatus, Error> {
158 |         Future { promise in
159 |             Task {
    |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
160 |                 do {
161 |                     let result = try await self.getEnergySiteLiveStatus(siteID: siteID)
    |                                                                                 `- note: closure captures 'siteID' which is accessible to code in the current task
162 |                     promise(.success(result))
163 |                 } catch let error {
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Combine/TeslaSwift+Combine.swift:172:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
170 |     public func getEnergySiteInfo(siteID: SiteId) -> Future<EnergySiteInfo, Error> {
171 |         Future { promise in
172 |             Task {
    |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
173 |                 do {
174 |                     let result = try await self.getEnergySiteInfo(siteID: siteID)
    |                                                                           `- note: closure captures 'siteID' which is accessible to code in the current task
175 |                     promise(.success(result))
176 |                 } catch let error {
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Combine/TeslaSwift+Combine.swift:184:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
182 |     public func getEnergySiteHistory(siteID: SiteId, period: EnergySiteHistory.Period) -> Future<EnergySiteHistory, Error> {
183 |         Future { promise in
184 |             Task {
    |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
185 |                 do {
186 |                     let result = try await self.getEnergySiteHistory(siteID: siteID, period: period)
    |                                                                                              `- note: closure captures 'period' which is accessible to code in the current task
187 |                     promise(.success(result))
188 |                 } catch let error {
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Combine/TeslaSwift+Combine.swift:198:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
196 |     public func getBatteryStatus(batteryID: BatteryId) -> Future<BatteryStatus, Error> {
197 |         Future { promise in
198 |             Task {
    |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
199 |                 do {
200 |                     let result = try await self.getBatteryStatus(batteryID: batteryID)
    |                                                                             `- note: closure captures 'batteryID' which is accessible to code in the current task
201 |                     promise(.success(result))
202 |                 } catch let error {
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Combine/TeslaSwift+Combine.swift:211:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
209 |     public func getBatteryData(batteryID: BatteryId) -> Future<BatteryData, Error> {
210 |         Future { promise in
211 |             Task {
    |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
212 |                 do {
213 |                     let result = try await self.getBatteryData(batteryID: batteryID)
    |                                                                           `- note: closure captures 'batteryID' which is accessible to code in the current task
214 |                     promise(.success(result))
215 |                 } catch let error {
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Combine/TeslaSwift+Combine.swift:224:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
222 |     public func getBatteryPowerHistory(batteryID: BatteryId) -> Future<BatteryPowerHistory, Error> {
223 |         Future { promise in
224 |             Task {
    |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
225 |                 do {
226 |                     let result = try await self.getBatteryPowerHistory(batteryID: batteryID)
    |                                                                                   `- note: closure captures 'batteryID' which is accessible to code in the current task
227 |                     promise(.success(result))
228 |                 } catch let error {
[82/86] Emitting module TeslaSwiftCombine
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Combine/TeslaSwift+Combine.swift:66:101: warning: reference to static property 'allWithLocation' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 64 |     }
 65 |
 66 |     public func getAllData(_ vehicle: Vehicle, endpoints: [AllStatesEndpoints] = AllStatesEndpoints.allWithLocation) -> Future<VehicleExtended, Error> {
    |                                                                                                     `- warning: reference to static property 'allWithLocation' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 67 |         Future { promise in
 68 |             Task {
/Users/admin/builder/spi-builder-workspace/Sources/TeslaSwift/TeslaEndpoint.swift:61:23: note: static property declared here
 59 |
 60 |     public static var all: [AllStatesEndpoints] = [.chargeState, .climateState, .closuresState, .driveState, .guiSettings, .vehicleConfig, .vehicleState]
 61 |     public static var allWithLocation: [AllStatesEndpoints] = [.chargeState, .climateState, .closuresState, .locationData, .guiSettings, .vehicleConfig, .vehicleState]
    |                       `- note: static property declared here
 62 | }
 63 |
[83/86] Compiling TeslaSwiftStreaming StreamEvent.swift
[84/86] Emitting module TeslaSwiftStreaming
[85/86] Compiling TeslaSwiftStreaming StreamControl.swift
[86/86] Compiling TeslaSwiftStreaming TeslaStreaming.swift
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Streaming/TeslaStreaming.swift:137:21: warning: capture of 'dataReceived' with non-sendable type '(TeslaStreamingEvent) -> Void' in a '@Sendable' closure
135 |                 case let .failure(error):
136 |                     //logDebug("Stream disconnected \(code):\(error)", debuggingEnabled: self.debuggingEnabled)
137 |                     dataReceived(TeslaStreamingEvent.error(NSError(domain: "TeslaStreamingError", code: Int(404), userInfo: ["error": error])))
    |                     |- warning: capture of 'dataReceived' with non-sendable type '(TeslaStreamingEvent) -> Void' in a '@Sendable' closure
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
138 |             }
139 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Streaming/TeslaStreaming.swift:71:22: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 69 |         if reloadsVehicle {
 70 |             return AsyncThrowingStream { continuation in
 71 |                 Task {
    |                      `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 72 |                     do {
 73 |                         let freshVehicle = try await reloadVehicle(vehicle: vehicle)
    |                                                                             `- note: closure captures 'vehicle' which is accessible to code in the current task
 74 |                         self.startStream(vehicle: freshVehicle, dataReceived: { data in
 75 |                             continuation.yield(data)
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Streaming/TeslaStreaming.swift:75:42: warning: sending 'data' risks causing data races; this is an error in the Swift 6 language mode
 73 |                         let freshVehicle = try await reloadVehicle(vehicle: vehicle)
 74 |                         self.startStream(vehicle: freshVehicle, dataReceived: { data in
 75 |                             continuation.yield(data)
    |                                          |- warning: sending 'data' risks causing data races; this is an error in the Swift 6 language mode
    |                                          `- note: task-isolated 'data' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
 76 |                             if data == .disconnected {
 77 |                                 continuation.finish()
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Streaming/TeslaStreaming.swift:88:34: warning: sending 'data' risks causing data races; this is an error in the Swift 6 language mode
 86 |             return AsyncThrowingStream { continuation in
 87 |                 startStream(vehicle: vehicle, dataReceived: { data in
 88 |                     continuation.yield(data)
    |                                  |- warning: sending 'data' risks causing data races; this is an error in the Swift 6 language mode
    |                                  `- note: task-isolated 'data' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
 89 |                     if data == .disconnected {
 90 |                         continuation.finish()
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Streaming/TeslaStreaming.swift:190:102: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
188 |                 case let .error(error):
189 |                     DispatchQueue.main.async {
190 |                         Self.logDebug("Stream error:\(String(describing: error))", debuggingEnabled: self.debuggingEnabled)
    |                                                                                                      |- 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
191 |                         dataReceived(TeslaStreamingEvent.error(NSError(domain: "TeslaStreamingError", code: 0, userInfo: ["error": error ?? ""])))
192 |                     }
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/Streaming/TeslaStreaming.swift:191:25: warning: sending 'dataReceived' risks causing data races; this is an error in the Swift 6 language mode
189 |                     DispatchQueue.main.async {
190 |                         Self.logDebug("Stream error:\(String(describing: error))", debuggingEnabled: self.debuggingEnabled)
191 |                         dataReceived(TeslaStreamingEvent.error(NSError(domain: "TeslaStreamingError", code: 0, userInfo: ["error": error ?? ""])))
    |                         |- warning: sending 'dataReceived' risks causing data races; this is an error in the Swift 6 language mode
    |                         `- note: task-isolated 'dataReceived' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
192 |                     }
193 |                 case let .viabilityChanged(viability):
error: emit-module command failed with exit code 1 (use -v to see invocation)
[87/88] Emitting module TeslaSwiftStreamingCombine
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/StreamingCombine/TeslaSwift+StreamingCombine.swift:12:11: error: cannot find type 'TeslaStreaming' in scope
10 | import TeslaSwift
11 |
12 | extension TeslaStreaming  {
   |           `- error: cannot find type 'TeslaStreaming' in scope
13 |     public func streamPublisher(vehicle: Vehicle) -> TeslaStreamingPublisher {
14 |         return TeslaStreamingPublisher(vehicle: vehicle, stream: self)
[88/88] Compiling TeslaSwiftStreamingCombine TeslaSwift+StreamingCombine.swift
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/StreamingCombine/TeslaSwift+StreamingCombine.swift:12:11: error: cannot find type 'TeslaStreaming' in scope
10 | import TeslaSwift
11 |
12 | extension TeslaStreaming  {
   |           `- error: cannot find type 'TeslaStreaming' in scope
13 |     public func streamPublisher(vehicle: Vehicle) -> TeslaStreamingPublisher {
14 |         return TeslaStreamingPublisher(vehicle: vehicle, stream: self)
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/StreamingCombine/TeslaSwift+StreamingCombine.swift:13:54: error: cannot find type 'TeslaStreamingPublisher' in scope
11 |
12 | extension TeslaStreaming  {
13 |     public func streamPublisher(vehicle: Vehicle) -> TeslaStreamingPublisher {
   |                                                      `- error: cannot find type 'TeslaStreamingPublisher' in scope
14 |         return TeslaStreamingPublisher(vehicle: vehicle, stream: self)
15 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/StreamingCombine/TeslaSwift+StreamingCombine.swift:18:35: error: cannot find type 'TeslaStreamingEvent' in scope
16 |
17 |     public struct TeslaStreamingPublisher: Publisher, Cancellable {
18 |         public typealias Output = TeslaStreamingEvent
   |                                   `- error: cannot find type 'TeslaStreamingEvent' in scope
19 |         public typealias Failure = Error
20 |
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/StreamingCombine/TeslaSwift+StreamingCombine.swift:22:21: error: cannot find type 'TeslaStreaming' in scope
20 |
21 |         let vehicle: Vehicle
22 |         let stream: TeslaStreaming
   |                     `- error: cannot find type 'TeslaStreaming' in scope
23 |
24 |         init(vehicle: Vehicle, stream: TeslaStreaming) {
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/StreamingCombine/TeslaSwift+StreamingCombine.swift:24:40: error: cannot find type 'TeslaStreaming' in scope
22 |         let stream: TeslaStreaming
23 |
24 |         init(vehicle: Vehicle, stream: TeslaStreaming) {
   |                                        `- error: cannot find type 'TeslaStreaming' in scope
25 |             self.vehicle = vehicle
26 |             self.stream = stream
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/StreamingCombine/TeslaSwift+StreamingCombine.swift:29:68: error: cannot find type 'TeslaStreamingPublisher' in scope
27 |         }
28 |
29 |         public func receive<S>(subscriber: S) where S: Subscriber, TeslaStreamingPublisher.Failure == S.Failure, TeslaStreamingPublisher.Output == S.Input {
   |                                                                    `- error: cannot find type 'TeslaStreamingPublisher' in scope
30 |
31 |             Task {
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/StreamingCombine/TeslaSwift+StreamingCombine.swift:29:114: error: cannot find type 'TeslaStreamingPublisher' in scope
27 |         }
28 |
29 |         public func receive<S>(subscriber: S) where S: Subscriber, TeslaStreamingPublisher.Failure == S.Failure, TeslaStreamingPublisher.Output == S.Input {
   |                                                                                                                  `- error: cannot find type 'TeslaStreamingPublisher' in scope
30 |
31 |             Task {
warning: 'starscream': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/.build/checkouts/Starscream/Sources/Info.plist
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/67] Compiling TeslaSwift DriveState.swift
[3/67] Compiling TeslaSwift EnergySite.swift
[4/69] Emitting module Starscream
[5/69] Compiling Starscream Transport.swift
[6/69] Compiling Starscream resource_bundle_accessor.swift
[7/69] Compiling TeslaSwift CommandResponse.swift
[8/69] Compiling TeslaSwift Distance.swift
[9/69] Compiling TeslaSwift ChargeState.swift
[10/69] Compiling TeslaSwift ClimateState.swift
[11/69] Compiling TeslaSwift Codable+JSONString.swift
[12/69] Compiling TeslaSwift RemoteStartDriveCommandOptions.swift
[13/69] Compiling TeslaSwift RemoteSteeringWheelHeaterRequestOptions.swift
[14/69] Compiling TeslaSwift ScheduledChargingCommandOptions.swift
[15/69] Compiling TeslaSwift ScheduledDepartureCommandOptions.swift
[16/69] Compiling TeslaSwift SentryModeCommandOptions.swift
[17/74] Compiling TeslaSwift ErrorMessage.swift
[18/74] Compiling TeslaSwift GenericResponse.swift
[19/74] Compiling TeslaSwift ChargeHistory.swift
[20/74] Compiling TeslaSwift ChargeLimitPercentageCommandOptions.swift
[21/74] Compiling TeslaSwift BatteryPowerHistory.swift
[22/74] Compiling TeslaSwift BatteryStatus.swift
[23/74] Compiling TeslaSwift ChargeAmpsCommandOptions.swift
[24/74] Compiling TeslaSwift EnergySiteInfo.swift
[25/74] Compiling TeslaSwift EnergySiteLiveStatus.swift
[26/74] Compiling TeslaSwift EnergySiteStatus.swift
[27/74] Compiling TeslaSwift Authentication.swift
[28/74] Compiling TeslaSwift BatteryData.swift
[30/74] Compiling TeslaSwift Partner.swift
[31/74] Compiling TeslaSwift Product.swift
[32/74] Compiling TeslaSwift Region.swift
[33/74] Compiling TeslaSwift RemoteSeatHeaterRequestOptions.swift
[34/74] Compiling TeslaSwift GuiSettings.swift
[35/74] Compiling TeslaSwift HomeLinkCommandOptions.swift
[36/74] Compiling TeslaSwift MaxDefrostCommandOptions.swift
[37/74] Compiling TeslaSwift Me.swift
[38/74] Compiling TeslaSwift NearbyChargingSites.swift
[39/74] Compiling TeslaSwift SetSunRoofCommandOptions.swift
[40/74] Compiling TeslaSwift SetTemperatureCommandOptions.swift
[41/74] Compiling TeslaSwift ShareToVehicleOptions.swift
[42/74] Compiling TeslaSwift SoftwareUpdate.swift
[43/74] Compiling TeslaSwift Speed.swift
[44/74] Compiling TeslaSwift SpeedLimitOptions.swift
[45/74] Compiling TeslaSwift ValetCommandOptions.swift
[46/74] Compiling TeslaSwift Vehicle.swift
[47/74] Compiling TeslaSwift VehicleConfig.swift
[48/74] Compiling TeslaSwift VehicleExtended.swift
[54/74] Emitting module TeslaSwift
[70/74] Compiling TeslaSwift VehicleState.swift
[71/74] Compiling TeslaSwift WindowControlCommandOptions.swift
[72/74] Compiling TeslaSwift TeslaEndpoint.swift
[73/74] Compiling TeslaSwift TeslaSwift.swift
[74/74] Compiling TeslaSwift VehicleCommands.swift
[75/80] Emitting module TeslaSwiftCombine
[76/80] Compiling TeslaSwiftCombine TeslaSwift+Combine.swift
[77/80] Compiling TeslaSwiftStreaming StreamEvent.swift
[78/80] Emitting module TeslaSwiftStreaming
[79/80] Compiling TeslaSwiftStreaming TeslaStreaming.swift
[80/80] Compiling TeslaSwiftStreaming StreamControl.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[81/82] Emitting module TeslaSwiftStreamingCombine
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/StreamingCombine/TeslaSwift+StreamingCombine.swift:12:11: error: cannot find type 'TeslaStreaming' in scope
10 | import TeslaSwift
11 |
12 | extension TeslaStreaming  {
   |           `- error: cannot find type 'TeslaStreaming' in scope
13 |     public func streamPublisher(vehicle: Vehicle) -> TeslaStreamingPublisher {
14 |         return TeslaStreamingPublisher(vehicle: vehicle, stream: self)
[82/82] Compiling TeslaSwiftStreamingCombine TeslaSwift+StreamingCombine.swift
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/StreamingCombine/TeslaSwift+StreamingCombine.swift:12:11: error: cannot find type 'TeslaStreaming' in scope
10 | import TeslaSwift
11 |
12 | extension TeslaStreaming  {
   |           `- error: cannot find type 'TeslaStreaming' in scope
13 |     public func streamPublisher(vehicle: Vehicle) -> TeslaStreamingPublisher {
14 |         return TeslaStreamingPublisher(vehicle: vehicle, stream: self)
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/StreamingCombine/TeslaSwift+StreamingCombine.swift:13:54: error: cannot find type 'TeslaStreamingPublisher' in scope
11 |
12 | extension TeslaStreaming  {
13 |     public func streamPublisher(vehicle: Vehicle) -> TeslaStreamingPublisher {
   |                                                      `- error: cannot find type 'TeslaStreamingPublisher' in scope
14 |         return TeslaStreamingPublisher(vehicle: vehicle, stream: self)
15 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/StreamingCombine/TeslaSwift+StreamingCombine.swift:18:35: error: cannot find type 'TeslaStreamingEvent' in scope
16 |
17 |     public struct TeslaStreamingPublisher: Publisher, Cancellable {
18 |         public typealias Output = TeslaStreamingEvent
   |                                   `- error: cannot find type 'TeslaStreamingEvent' in scope
19 |         public typealias Failure = Error
20 |
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/StreamingCombine/TeslaSwift+StreamingCombine.swift:22:21: error: cannot find type 'TeslaStreaming' in scope
20 |
21 |         let vehicle: Vehicle
22 |         let stream: TeslaStreaming
   |                     `- error: cannot find type 'TeslaStreaming' in scope
23 |
24 |         init(vehicle: Vehicle, stream: TeslaStreaming) {
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/StreamingCombine/TeslaSwift+StreamingCombine.swift:24:40: error: cannot find type 'TeslaStreaming' in scope
22 |         let stream: TeslaStreaming
23 |
24 |         init(vehicle: Vehicle, stream: TeslaStreaming) {
   |                                        `- error: cannot find type 'TeslaStreaming' in scope
25 |             self.vehicle = vehicle
26 |             self.stream = stream
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/StreamingCombine/TeslaSwift+StreamingCombine.swift:29:68: error: cannot find type 'TeslaStreamingPublisher' in scope
27 |         }
28 |
29 |         public func receive<S>(subscriber: S) where S: Subscriber, TeslaStreamingPublisher.Failure == S.Failure, TeslaStreamingPublisher.Output == S.Input {
   |                                                                    `- error: cannot find type 'TeslaStreamingPublisher' in scope
30 |
31 |             Task {
/Users/admin/builder/spi-builder-workspace/Sources/Extensions/StreamingCombine/TeslaSwift+StreamingCombine.swift:29:114: error: cannot find type 'TeslaStreamingPublisher' in scope
27 |         }
28 |
29 |         public func receive<S>(subscriber: S) where S: Subscriber, TeslaStreamingPublisher.Failure == S.Failure, TeslaStreamingPublisher.Output == S.Input {
   |                                                                                                                  `- error: cannot find type 'TeslaStreamingPublisher' in scope
30 |
31 |             Task {
warning: 'starscream': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/.build/checkouts/Starscream/Sources/Info.plist
BUILD FAILURE 6.1 macosSpm