The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build TeslaSwift, reference 12.2.0 (0c2ff1), with Swift 6.2 (beta) for Wasm on 26 Jul 2025 14:02:39 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: 12.2.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.2.0     -> FETCH_HEAD
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 12.2.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-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/5040] Fetching starscream
Fetched https://github.com/daltoniam/Starscream.git from cache (1.12s)
Computing version for https://github.com/daltoniam/Starscream.git
Computed https://github.com/daltoniam/Starscream.git at 4.0.8 (4.61s)
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
[5/7] Copying PrivacyInfo.xcprivacy
[6/7] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/72] 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 |
[9/78] Compiling TeslaSwift VehicleExtended.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/78] Compiling TeslaSwift VehicleState.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/78] Compiling TeslaSwift WindowControlCommandOptions.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/78] Compiling TeslaSwift TeslaEndpoint.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/78] Compiling TeslaSwift TeslaSwift.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 |
[14/78] Compiling TeslaSwift VehicleCommands.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/78] 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 {
[16/78] 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 {
[17/78] 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 {
[18/80] 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 |
[19/80] 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 |
[20/80] 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 |
[21/80] 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 |
[22/80] 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 |
[23/80] 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 |
[24/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 |
[25/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 |
[26/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 |
[27/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 |
[28/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 |
[29/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 |
[30/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 |
[31/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 |
[32/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 |
[33/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 |
[34/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 |
[35/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 |
[36/80] 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 {
[37/80] 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 {
[38/80] 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 {
[39/80] 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 {
[40/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 {
[41/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 {
[42/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 {
[43/80] Compiling TeslaSwift ChargeState.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 ClimateState.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 {
[45/80] Compiling TeslaSwift Codable+JSONString.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 {
[46/80] Compiling TeslaSwift CommandResponse.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 {
[47/80] Compiling TeslaSwift Distance.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 {
[48/80] Compiling TeslaSwift DriveState.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)
[49/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 {
[50/80] Compiling TeslaSwift EnergySiteHistory.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 TeslaSwift EnergySiteInfo.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 TeslaSwift EnergySiteLiveStatus.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 {
[53/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 |
[54/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 |
[55/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 |
[56/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 |
[57/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 |
[58/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 |
/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 |
/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 |
[72/80] 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 {
/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 |
BUILD FAILURE 6.2 wasm