Build Information
Failed to build TeslaSwift, reference master (06aa43
), with Swift 6.2 (beta) for Wasm on 23 Jun 2025 06:07:07 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/jonasman/TeslaSwift
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 06aa436 Support Invalid RefreshToken
Cloned https://github.com/jonasman/TeslaSwift.git
Revision (git rev-parse @):
06aa43605511ba87de7d8f625ba8c9f59d260a06
SUCCESS checkout https://github.com/jonasman/TeslaSwift.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/jonasman/TeslaSwift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/daltoniam/Starscream.git
[1/5033] Fetching starscream
Fetched https://github.com/daltoniam/Starscream.git from cache (0.90s)
Computing version for https://github.com/daltoniam/Starscream.git
Computed https://github.com/daltoniam/Starscream.git at 4.0.8 (5.59s)
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: 'starscream': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Info.plist
Building for debugging...
[0/7] Write sources
[0/7] Copying PrivacyInfo.xcprivacy
[0/7] Write sources
[6/7] Write swift-version-24593BA9C3E375BF.txt
[8/72] Compiling TeslaSwift SoftwareUpdate.swift
/host/spi-builder-workspace/Sources/TeslaSwift/Model/Authentication.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | import CryptoKit
11 |
[9/72] Compiling TeslaSwift Speed.swift
/host/spi-builder-workspace/Sources/TeslaSwift/Model/Authentication.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | import CryptoKit
11 |
[10/72] Compiling TeslaSwift SpeedLimitOptions.swift
/host/spi-builder-workspace/Sources/TeslaSwift/Model/Authentication.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | import CryptoKit
11 |
[11/72] Compiling TeslaSwift ValetCommandOptions.swift
/host/spi-builder-workspace/Sources/TeslaSwift/Model/Authentication.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | import CryptoKit
11 |
[12/72] Compiling TeslaSwift Vehicle.swift
/host/spi-builder-workspace/Sources/TeslaSwift/Model/Authentication.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | import CryptoKit
11 |
[13/72] Compiling TeslaSwift VehicleConfig.swift
/host/spi-builder-workspace/Sources/TeslaSwift/Model/Authentication.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | import CryptoKit
11 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/78] Emitting module Starscream
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/Compression.swift:23:8: error: no such module 'Foundation'
21 | //////////////////////////////////////////////////////////////////////////////////////////////////
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | public protocol CompressionHandler {
[15/80] Compiling TeslaSwift ScheduledChargingCommandOptions.swift
/host/spi-builder-workspace/Sources/TeslaSwift/Model/Authentication.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | import CryptoKit
11 |
[16/80] Compiling TeslaSwift ScheduledDepartureCommandOptions.swift
/host/spi-builder-workspace/Sources/TeslaSwift/Model/Authentication.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | import CryptoKit
11 |
[17/80] Compiling TeslaSwift SentryModeCommandOptions.swift
/host/spi-builder-workspace/Sources/TeslaSwift/Model/Authentication.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | import CryptoKit
11 |
[18/80] Compiling TeslaSwift SetSunRoofCommandOptions.swift
/host/spi-builder-workspace/Sources/TeslaSwift/Model/Authentication.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | import CryptoKit
11 |
[19/80] Compiling TeslaSwift SetTemperatureCommandOptions.swift
/host/spi-builder-workspace/Sources/TeslaSwift/Model/Authentication.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | import CryptoKit
11 |
[20/80] Compiling TeslaSwift ShareToVehicleOptions.swift
/host/spi-builder-workspace/Sources/TeslaSwift/Model/Authentication.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | import CryptoKit
11 |
[21/80] Compiling TeslaSwift EnergySiteStatus.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/Compression.swift:23:8: error: no such module 'Foundation'
21 | //////////////////////////////////////////////////////////////////////////////////////////////////
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | public protocol CompressionHandler {
[22/80] Compiling TeslaSwift ErrorMessage.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/Compression.swift:23:8: error: no such module 'Foundation'
21 | //////////////////////////////////////////////////////////////////////////////////////////////////
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | public protocol CompressionHandler {
[23/80] Compiling TeslaSwift GenericResponse.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/Compression.swift:23:8: error: no such module 'Foundation'
21 | //////////////////////////////////////////////////////////////////////////////////////////////////
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | public protocol CompressionHandler {
[24/80] Compiling TeslaSwift ChargeState.swift
/host/spi-builder-workspace/Sources/TeslaSwift/Model/Authentication.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | import CryptoKit
11 |
[25/80] Compiling TeslaSwift ClimateState.swift
/host/spi-builder-workspace/Sources/TeslaSwift/Model/Authentication.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | import CryptoKit
11 |
[26/80] Compiling TeslaSwift Codable+JSONString.swift
/host/spi-builder-workspace/Sources/TeslaSwift/Model/Authentication.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | import CryptoKit
11 |
[27/80] Compiling TeslaSwift CommandResponse.swift
/host/spi-builder-workspace/Sources/TeslaSwift/Model/Authentication.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | import CryptoKit
11 |
[28/80] Compiling TeslaSwift Distance.swift
/host/spi-builder-workspace/Sources/TeslaSwift/Model/Authentication.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | import CryptoKit
11 |
[29/80] Compiling TeslaSwift DriveState.swift
/host/spi-builder-workspace/Sources/TeslaSwift/Model/Authentication.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | import CryptoKit
11 |
[30/80] Compiling Starscream Transport.swift
/host/spi-builder-workspace/Sources/TeslaSwift/Model/Authentication.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | import CryptoKit
11 |
[31/80] Compiling TeslaSwift EnergySiteHistory.swift
/host/spi-builder-workspace/Sources/TeslaSwift/Model/Authentication.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | import CryptoKit
11 |
[32/80] Compiling TeslaSwift EnergySiteInfo.swift
/host/spi-builder-workspace/Sources/TeslaSwift/Model/Authentication.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | import CryptoKit
11 |
[33/80] Compiling TeslaSwift EnergySiteLiveStatus.swift
/host/spi-builder-workspace/Sources/TeslaSwift/Model/Authentication.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | import CryptoKit
11 |
/host/spi-builder-workspace/Sources/TeslaSwift/Model/Authentication.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | import CryptoKit
11 |
/host/spi-builder-workspace/Sources/TeslaSwift/Model/Authentication.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | import CryptoKit
11 |
/host/spi-builder-workspace/Sources/TeslaSwift/Model/Authentication.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | import CryptoKit
11 |
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/Compression.swift:23:8: error: no such module 'Foundation'
21 | //////////////////////////////////////////////////////////////////////////////////////////////////
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | public protocol CompressionHandler {
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/Compression.swift:23:8: error: no such module 'Foundation'
21 | //////////////////////////////////////////////////////////////////////////////////////////////////
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | public protocol CompressionHandler {
[39/80] Compiling TeslaSwift ChargeLimitPercentageCommandOptions.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/Compression.swift:23:8: error: no such module 'Foundation'
21 | //////////////////////////////////////////////////////////////////////////////////////////////////
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | public protocol CompressionHandler {
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/Compression.swift:23:8: error: no such module 'Foundation'
21 | //////////////////////////////////////////////////////////////////////////////////////////////////
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | public protocol CompressionHandler {
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/Compression.swift:23:8: error: no such module 'Foundation'
21 | //////////////////////////////////////////////////////////////////////////////////////////////////
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | public protocol CompressionHandler {
[42/80] Compiling TeslaSwift Authentication.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/Compression.swift:23:8: error: no such module 'Foundation'
21 | //////////////////////////////////////////////////////////////////////////////////////////////////
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | public protocol CompressionHandler {
[43/80] Compiling TeslaSwift BatteryData.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/Compression.swift:23:8: error: no such module 'Foundation'
21 | //////////////////////////////////////////////////////////////////////////////////////////////////
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | public protocol CompressionHandler {
[44/80] Compiling TeslaSwift BatteryPowerHistory.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/Compression.swift:23:8: error: no such module 'Foundation'
21 | //////////////////////////////////////////////////////////////////////////////////////////////////
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | public protocol CompressionHandler {
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/Compression.swift:23:8: error: no such module 'Foundation'
21 | //////////////////////////////////////////////////////////////////////////////////////////////////
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | public protocol CompressionHandler {
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/Compression.swift:23:8: error: no such module 'Foundation'
21 | //////////////////////////////////////////////////////////////////////////////////////////////////
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | public protocol CompressionHandler {
[47/80] Compiling Starscream resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/TeslaSwift/Model/Authentication.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | import CryptoKit
11 |
[48/80] Compiling TeslaSwift HomeLinkCommandOptions.swift
/host/spi-builder-workspace/Sources/TeslaSwift/Model/Authentication.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | import CryptoKit
11 |
[49/80] Compiling TeslaSwift MaxDefrostCommandOptions.swift
/host/spi-builder-workspace/Sources/TeslaSwift/Model/Authentication.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | import CryptoKit
11 |
[50/80] Compiling TeslaSwift Me.swift
/host/spi-builder-workspace/Sources/TeslaSwift/Model/Authentication.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | import CryptoKit
11 |
[51/80] Compiling TeslaSwift NearbyChargingSites.swift
/host/spi-builder-workspace/Sources/TeslaSwift/Model/Authentication.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | import CryptoKit
11 |
[52/80] Compiling TeslaSwift OpenTrunkOptions.swift
/host/spi-builder-workspace/Sources/TeslaSwift/Model/Authentication.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | import CryptoKit
11 |
[53/80] Compiling TeslaSwift Partner.swift
/host/spi-builder-workspace/Sources/TeslaSwift/Model/Authentication.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | import CryptoKit
11 |
[54/80] Compiling TeslaSwift Product.swift
/host/spi-builder-workspace/Sources/TeslaSwift/Model/Authentication.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | import CryptoKit
11 |
[55/80] Compiling TeslaSwift Region.swift
/host/spi-builder-workspace/Sources/TeslaSwift/Model/Authentication.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | import CryptoKit
11 |
[56/80] Compiling TeslaSwift RemoteSeatHeaterRequestOptions.swift
/host/spi-builder-workspace/Sources/TeslaSwift/Model/Authentication.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | import CryptoKit
11 |
[57/80] Compiling TeslaSwift RemoteStartDriveCommandOptions.swift
/host/spi-builder-workspace/Sources/TeslaSwift/Model/Authentication.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | import CryptoKit
11 |
[58/80] Compiling TeslaSwift RemoteSteeringWheelHeaterRequestOptions.swift
/host/spi-builder-workspace/Sources/TeslaSwift/Model/Authentication.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | import CryptoKit
11 |
[59/80] Compiling TeslaSwift BatteryStatus.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/Compression.swift:23:8: error: no such module 'Foundation'
21 | //////////////////////////////////////////////////////////////////////////////////////////////////
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | public protocol CompressionHandler {
[60/80] Compiling TeslaSwift ChargeAmpsCommandOptions.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/Compression.swift:23:8: error: no such module 'Foundation'
21 | //////////////////////////////////////////////////////////////////////////////////////////////////
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | public protocol CompressionHandler {
[61/80] Compiling TeslaSwift ChargeHistory.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/Compression.swift:23:8: error: no such module 'Foundation'
21 | //////////////////////////////////////////////////////////////////////////////////////////////////
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | public protocol CompressionHandler {
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/Compression.swift:23:8: error: no such module 'Foundation'
21 | //////////////////////////////////////////////////////////////////////////////////////////////////
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | public protocol CompressionHandler {
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/Compression.swift:23:8: error: no such module 'Foundation'
21 | //////////////////////////////////////////////////////////////////////////////////////////////////
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | public protocol CompressionHandler {
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/Compression.swift:23:8: error: no such module 'Foundation'
21 | //////////////////////////////////////////////////////////////////////////////////////////////////
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | public protocol CompressionHandler {
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/Compression.swift:23:8: error: no such module 'Foundation'
21 | //////////////////////////////////////////////////////////////////////////////////////////////////
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | public protocol CompressionHandler {
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/Compression.swift:23:8: error: no such module 'Foundation'
21 | //////////////////////////////////////////////////////////////////////////////////////////////////
22 |
23 | import Foundation
| `- error: no such module 'Foundation'
24 |
25 | public protocol CompressionHandler {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[67/80] Emitting module TeslaSwift
/host/spi-builder-workspace/Sources/TeslaSwift/Model/Authentication.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | import CryptoKit
11 |
/host/spi-builder-workspace/Sources/TeslaSwift/Model/Authentication.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | import CryptoKit
11 |
/host/spi-builder-workspace/Sources/TeslaSwift/Model/Authentication.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | import CryptoKit
11 |
/host/spi-builder-workspace/Sources/TeslaSwift/Model/Authentication.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | import CryptoKit
11 |
/host/spi-builder-workspace/Sources/TeslaSwift/Model/Authentication.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | import CryptoKit
11 |
/host/spi-builder-workspace/Sources/TeslaSwift/Model/Authentication.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | import CryptoKit
11 |
/host/spi-builder-workspace/Sources/TeslaSwift/Model/Authentication.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | import CryptoKit
11 |
/host/spi-builder-workspace/Sources/TeslaSwift/Model/Authentication.swift:9:8: error: no such module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- error: no such module 'Foundation'
10 | import CryptoKit
11 |
BUILD FAILURE 6.2 wasm