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 master (d10c3f), with Swift 5.8 for macOS (SPM) on 29 Oct 2024 20:19: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: 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 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 master
========================================
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 TeslaSwift
[3/73] Compiling TeslaSwift ValetCommandOptions.swift
[4/73] Compiling TeslaSwift Vehicle.swift
[5/73] Compiling TeslaSwift VehicleConfig.swift
[6/73] Compiling TeslaSwift VehicleExtended.swift
[7/73] Compiling TeslaSwift VehicleState.swift
[8/73] Emitting module Starscream
[9/73] Compiling TeslaSwift Authentication.swift
[10/73] Compiling TeslaSwift BatteryData.swift
[11/75] Compiling TeslaSwift RemoteSteeringWheelHeaterRequestOptions.swift
[12/75] Compiling TeslaSwift ScheduledChargingCommandOptions.swift
[13/75] Compiling TeslaSwift ScheduledDepartureCommandOptions.swift
[14/75] Compiling TeslaSwift SentryModeCommandOptions.swift
[15/75] Compiling TeslaSwift SetSunRoofCommandOptions.swift
[16/75] Compiling Starscream FrameCollector.swift
[17/75] Compiling Starscream WebSocketServer.swift
[18/75] Compiling Starscream WebSocket.swift
[19/75] Compiling Starscream Transport.swift
[20/75] Compiling Starscream resource_bundle_accessor.swift
[21/75] Compiling TeslaSwift SetTemperatureCommandOptions.swift
[22/75] Compiling TeslaSwift ShareToVehicleOptions.swift
[23/75] Compiling TeslaSwift SoftwareUpdate.swift
[24/75] Compiling TeslaSwift Speed.swift
[25/75] Compiling TeslaSwift SpeedLimitOptions.swift
[26/75] Compiling TeslaSwift Partner.swift
[27/75] Compiling TeslaSwift Product.swift
[28/75] Compiling TeslaSwift Region.swift
[29/75] Compiling TeslaSwift RemoteSeatHeaterRequestOptions.swift
[30/75] Compiling TeslaSwift RemoteStartDriveCommandOptions.swift
[31/75] Compiling TeslaSwift HomeLinkCommandOptions.swift
[32/75] Compiling TeslaSwift MaxDefrostCommandOptions.swift
[33/75] Compiling TeslaSwift Me.swift
[34/75] Compiling TeslaSwift NearbyChargingSites.swift
[35/75] Compiling TeslaSwift OpenTrunkOptions.swift
[36/75] Compiling TeslaSwift Distance.swift
[37/75] Compiling TeslaSwift DriveState.swift
[38/75] Compiling Starscream StringHTTPHandler.swift
[39/75] Compiling Starscream FoundationSecurity.swift
[40/75] Compiling Starscream FoundationHTTPServerHandler.swift
[41/75] Compiling TeslaSwift ChargeLimitPercentageCommandOptions.swift
[42/75] Compiling TeslaSwift ChargeState.swift
[43/75] Compiling TeslaSwift ClimateState.swift
[44/75] Compiling TeslaSwift Codable+JSONString.swift
[45/75] Compiling TeslaSwift CommandResponse.swift
[53/75] Compiling TeslaSwift BatteryPowerHistory.swift
[54/75] Compiling TeslaSwift BatteryStatus.swift
[61/75] Compiling TeslaSwift ChargeAmpsCommandOptions.swift
[62/75] Compiling TeslaSwift ChargeHistory.swift
[63/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 {
                                      ^
[64/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 {
                                      ^
[65/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 {
                                      ^
[66/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 {
                                      ^
[67/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.77s)
Computing version for https://github.com/daltoniam/Starscream.git
Computed https://github.com/daltoniam/Starscream.git at 4.0.8 (0.71s)
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