The Swift Package Index logo.Swift Package Index

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

Build Information

Failed to build TeslaSwift, reference 11.2.0 (d10c3f), with Swift 5.8 for macOS (SPM) on 29 Oct 2024 20:18:51 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.55.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jonasman/TeslaSwift.git
Reference: 11.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jonasman/TeslaSwift
 * tag               11.2.0     -> FETCH_HEAD
HEAD is now at d10c3fb Merge branch 'master' of https://github.com/jonasman/TeslaSwift
Cloned https://github.com/jonasman/TeslaSwift.git
Revision (git rev-parse @):
d10c3fb4ad2d8f946ef47a57610cd832c1172f64
SUCCESS checkout https://github.com/jonasman/TeslaSwift.git at 11.2.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.8
Building package at path:  $PWD
https://github.com/jonasman/TeslaSwift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Building for debugging...
[0/1] Copying PrivacyInfo.xcprivacy
[2/68] Emitting module Starscream
[3/70] Compiling Starscream Transport.swift
[4/70] Compiling Starscream resource_bundle_accessor.swift
[5/70] Compiling TeslaSwift RemoteSteeringWheelHeaterRequestOptions.swift
[6/70] Compiling TeslaSwift ScheduledChargingCommandOptions.swift
[7/70] Compiling TeslaSwift ScheduledDepartureCommandOptions.swift
[8/70] Compiling TeslaSwift SentryModeCommandOptions.swift
[9/70] Compiling TeslaSwift SetSunRoofCommandOptions.swift
[10/75] Compiling TeslaSwift Distance.swift
[11/75] Compiling TeslaSwift DriveState.swift
[12/75] Compiling TeslaSwift EnergySite.swift
[13/75] Compiling TeslaSwift EnergySiteHistory.swift
[14/75] Compiling TeslaSwift EnergySiteInfo.swift
[15/75] Compiling TeslaSwift ChargeLimitPercentageCommandOptions.swift
[16/75] Compiling TeslaSwift ChargeState.swift
[17/75] Compiling TeslaSwift ClimateState.swift
[18/75] Compiling TeslaSwift Codable+JSONString.swift
[19/75] Compiling TeslaSwift CommandResponse.swift
[20/75] Compiling TeslaSwift ValetCommandOptions.swift
[21/75] Compiling TeslaSwift Vehicle.swift
[22/75] Compiling TeslaSwift VehicleConfig.swift
[23/75] Compiling TeslaSwift VehicleExtended.swift
[24/75] Compiling TeslaSwift VehicleState.swift
[25/75] Compiling TeslaSwift Partner.swift
[26/75] Compiling TeslaSwift Product.swift
[27/75] Compiling TeslaSwift Region.swift
[28/75] Compiling TeslaSwift RemoteSeatHeaterRequestOptions.swift
[29/75] Compiling TeslaSwift RemoteStartDriveCommandOptions.swift
[30/75] Compiling Starscream FoundationSecurity.swift
[31/75] Compiling Starscream Engine.swift
[32/75] Compiling TeslaSwift ErrorMessage.swift
[35/75] Emitting module TeslaSwift
[36/75] Compiling TeslaSwift SetTemperatureCommandOptions.swift
[37/75] Compiling TeslaSwift ShareToVehicleOptions.swift
[38/75] Compiling TeslaSwift SoftwareUpdate.swift
[39/75] Compiling TeslaSwift Speed.swift
[40/75] Compiling Starscream StringHTTPHandler.swift
[41/75] Compiling TeslaSwift Authentication.swift
[42/75] Compiling TeslaSwift BatteryData.swift
[43/75] Compiling TeslaSwift BatteryPowerHistory.swift
[44/75] Compiling TeslaSwift BatteryStatus.swift
[45/75] Compiling TeslaSwift ChargeAmpsCommandOptions.swift
[46/75] Compiling TeslaSwift ChargeHistory.swift
[47/75] Compiling TeslaSwift HomeLinkCommandOptions.swift
[48/75] Compiling TeslaSwift MaxDefrostCommandOptions.swift
[49/75] Compiling TeslaSwift Me.swift
[50/75] Compiling Starscream Framer.swift
[51/75] Compiling Starscream HTTPHandler.swift
[71/75] Compiling TeslaSwift WindowControlCommandOptions.swift
/Users/admin/builder/spi-builder-workspace/Sources/TeslaSwift/TeslaSwift.swift:755:39: error: '>' is not a postfix unary operator
        if case let Optional<Encodable>.some(body) = body as Any {
                                      ^
/Users/admin/builder/spi-builder-workspace/Sources/TeslaSwift/TeslaSwift.swift:773:39: error: '>' is not a postfix unary operator
        if case let Optional<Encodable>.some(body) = body as Any, let jsonString = body.jsonString {
                                      ^
[72/75] Compiling TeslaSwift TeslaEndpoint.swift
/Users/admin/builder/spi-builder-workspace/Sources/TeslaSwift/TeslaSwift.swift:755:39: error: '>' is not a postfix unary operator
        if case let Optional<Encodable>.some(body) = body as Any {
                                      ^
/Users/admin/builder/spi-builder-workspace/Sources/TeslaSwift/TeslaSwift.swift:773:39: error: '>' is not a postfix unary operator
        if case let Optional<Encodable>.some(body) = body as Any, let jsonString = body.jsonString {
                                      ^
[73/75] Compiling TeslaSwift TeslaSwift.swift
/Users/admin/builder/spi-builder-workspace/Sources/TeslaSwift/TeslaSwift.swift:755:39: error: '>' is not a postfix unary operator
        if case let Optional<Encodable>.some(body) = body as Any {
                                      ^
/Users/admin/builder/spi-builder-workspace/Sources/TeslaSwift/TeslaSwift.swift:773:39: error: '>' is not a postfix unary operator
        if case let Optional<Encodable>.some(body) = body as Any, let jsonString = body.jsonString {
                                      ^
[74/75] Compiling TeslaSwift TeslaWebLoginViewContoller.swift
/Users/admin/builder/spi-builder-workspace/Sources/TeslaSwift/TeslaSwift.swift:755:39: error: '>' is not a postfix unary operator
        if case let Optional<Encodable>.some(body) = body as Any {
                                      ^
/Users/admin/builder/spi-builder-workspace/Sources/TeslaSwift/TeslaSwift.swift:773:39: error: '>' is not a postfix unary operator
        if case let Optional<Encodable>.some(body) = body as Any, let jsonString = body.jsonString {
                                      ^
[75/75] Compiling TeslaSwift VehicleCommands.swift
/Users/admin/builder/spi-builder-workspace/Sources/TeslaSwift/TeslaSwift.swift:755:39: error: '>' is not a postfix unary operator
        if case let Optional<Encodable>.some(body) = body as Any {
                                      ^
/Users/admin/builder/spi-builder-workspace/Sources/TeslaSwift/TeslaSwift.swift:773:39: error: '>' is not a postfix unary operator
        if case let Optional<Encodable>.some(body) = body as Any, let jsonString = body.jsonString {
                                      ^
Fetching https://github.com/daltoniam/Starscream.git
[1/4902] Fetching starscream
Fetched https://github.com/daltoniam/Starscream.git (1.68s)
Computing version for https://github.com/daltoniam/Starscream.git
Computed https://github.com/daltoniam/Starscream.git at 4.0.8 (0.77s)
Creating working copy for https://github.com/daltoniam/Starscream.git
Working copy of https://github.com/daltoniam/Starscream.git resolved at 4.0.8
BUILD FAILURE 5.8 macosSpm