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 SmartDeviceLink, reference develop (2c3d56), with Swift 6.2 (beta) for Wasm on 20 Jun 2025 07:24: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/smartdevicelink/sdl_ios.git
Reference: develop
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/smartdevicelink/sdl_ios
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at 2c3d561 Merge pull request #2123 from smartdevicelink/master
Submodule path 'bson_c_lib': checked out '48d38d5b7a9b6cffc8171087b68bee5f4649e67d'
Submodule path 'generator/rpc_spec': checked out '6537500b45f65e02d884da9d73d6820ba7b0b1f5'
Submodule 'bson_c_lib' (https://github.com/smartdevicelink/bson_c_lib.git) registered for path 'bson_c_lib'
Submodule 'generator/rpc_spec' (https://github.com/smartdevicelink/rpc_spec.git) registered for path 'generator/rpc_spec'
Cloning into '/host/spi-builder-workspace/bson_c_lib'...
Cloning into '/host/spi-builder-workspace/generator/rpc_spec'...
Cloned https://github.com/smartdevicelink/sdl_ios.git
Revision (git rev-parse @):
2c3d561468ee67a4b298e4976a1ac2699853c11e
SUCCESS checkout https://github.com/smartdevicelink/sdl_ios.git at develop
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/smartdevicelink/sdl_ios.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/smartdevicelink/bson_c_lib.git
[1/834] Fetching bson_c_lib
Fetched https://github.com/smartdevicelink/bson_c_lib.git from cache (0.33s)
Computing version for https://github.com/smartdevicelink/bson_c_lib.git
Computed https://github.com/smartdevicelink/bson_c_lib.git at 1.2.5 (0.79s)
Creating working copy for https://github.com/smartdevicelink/bson_c_lib.git
Working copy of https://github.com/smartdevicelink/bson_c_lib.git resolved at 1.2.5
Building for debugging...
[0/578] Copying SDLLockScreen.strings
[0/578] Write sources
[3/578] Copying SDLLockScreen.strings
[5/578] Copying SDLLockScreen.storyboard
[7/578] Copying SDLLockScreen.strings
[7/578] Copying Info.plist
[9/578] Copying SDLAssets.xcassets
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/SmartDeviceLink.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/SmartDeviceLink.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[10/578] Compiling SDLWindowTypeCapabilities.m
[10/578] Compiling SmartDeviceLink resource_bundle_accessor.m
[10/578] Compiling SDLWindowCapability.m
[10/578] Compiling SDLWindowState.m
[10/578] Compiling SDLWiperStatus.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/SmartDeviceLink.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
    2 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[10/578] Compiling SDLWindowStatus.m
[10/578] Compiling SDLWindowType.m
[10/578] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 wasm