Build Information
Failed to build TeslaSwift, reference 12.1.0 (06aa43
), with Swift 6.2 (beta) for Wasm on 23 Jun 2025 06:15:31 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-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: 12.1.0
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
* tag 12.1.0 -> FETCH_HEAD
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 12.1.0
========================================
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-4609320-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.45s)
Computing version for https://github.com/daltoniam/Starscream.git
Computed https://github.com/daltoniam/Starscream.git at 4.0.8 (2.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
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 Starscream FoundationTransport.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 {
[9/72] Compiling Starscream TCPTransport.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 {
[10/74] Compiling Starscream Transport.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 {
[11/74] Compiling Starscream resource_bundle_accessor.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 {
[12/74] Compiling Starscream WebSocketServer.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 {
[13/74] Compiling Starscream WebSocket.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 {
[14/74] 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 |
[15/74] 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 |
[16/74] 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 |
[17/74] 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 |
[18/74] 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 |
[19/74] 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 |
[20/74] 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 |
[21/74] 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 |
[22/74] 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 |
[23/74] 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 |
[24/74] 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 |
[25/74] 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 |
[26/74] 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 |
[27/74] 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 |
[28/74] 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 |
[29/74] 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 |
[30/74] 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 |
[31/74] 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 |
/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/74] 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 |
[34/74] 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 |
[35/74] 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 |
[36/74] 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 |
[37/74] 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 |
[38/80] Compiling Starscream FoundationSecurity.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 {
[39/80] Compiling Starscream Security.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 {
[40/80] Compiling Starscream Server.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 {
[41/80] Compiling Starscream Framer.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 {
[42/80] Compiling Starscream HTTPHandler.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 Starscream StringHTTPHandler.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/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 |
[50/80] Compiling Starscream FoundationHTTPHandler.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 {
[51/80] Compiling Starscream FoundationHTTPServerHandler.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 {
[52/80] Compiling Starscream FrameCollector.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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[53/80] 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 {
[54/80] Compiling Starscream Compression.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 {
[55/80] Compiling Starscream WSCompression.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 {
[56/80] Compiling Starscream Data+Extensions.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 {
[57/80] Compiling Starscream Engine.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 {
[58/80] Compiling Starscream NativeEngine.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 {
[59/80] Compiling Starscream WSEngine.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/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 |
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